.t-opt:hover { background: rgba(59, 130, 246, 0.1) !important; }
:root { --bg-dark: #0f1116; --sidebar-bg: #161920; --card-bg: #1c212c; --accent: #3b82f6; --border: #2d333f; --text-main: #f8fafc; --text-gray: #94a3b8; }
        * { box-sizing: border-box; -webkit-font-smoothing: antialiased; }
        body { font-family: 'Inter', sans-serif; background-color: var(--bg-dark); color: var(--text-main); margin: 0; display: flex; height: 100vh; overflow: hidden; }

        aside { width: 320px; background: var(--sidebar-bg); border-right: 1px solid var(--border); display: flex; flex-direction: column; height: 100vh; flex-shrink: 0; z-index: 1000; }
        .sidebar-header { padding: 45px 30px; border-bottom: 1px solid var(--border); flex-shrink: 0; }
        .brand { font-weight: 800; font-size: 1.5rem; color: var(--accent); text-decoration: none; letter-spacing: -0.5px; }
        .brand span { color: #fff; }

        nav { flex: 1; overflow-y: auto; padding: 25px 15px; scrollbar-width: thin; scrollbar-color: var(--border) transparent; }
        nav a { display: flex; justify-content: space-between; align-items: center; padding: 12px 18px; color: var(--text-gray); text-decoration: none; border-radius: 12px; margin-bottom: 5px; font-size: 0.95rem; transition: 0.2s; border: 1px solid transparent; position: relative; overflow: hidden; }
        nav a::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 2px; background: linear-gradient(90deg, transparent, var(--accent), transparent); transition: 0.5s; }
        nav a:hover::before { left: 100%; }
        nav a:hover { background: rgba(255,255,255,0.04); color: #fff; }
        nav a.active { background: rgba(59, 130, 246, 0.1); color: var(--accent); border-color: rgba(59, 130, 246, 0.2); font-weight: 600; }
        .cat-meta { display: flex; align-items: center; gap: 12px; }

        .fixed-footer { padding: 25px 30px; border-top: 1px solid var(--border); background: var(--sidebar-bg); font-size: 0.7rem; color: var(--text-gray); text-align: center; line-height: 1.6; flex-shrink: 0; width: 100%; }

        main { flex: 1; overflow-y: auto; padding: 60px; position: relative; background: radial-gradient(circle at 10% 10%, rgba(59, 130, 246, 0.04), transparent 40%); }
        .seo-intro { max-width: 100%; margin-bottom: 50px; }
        .seo-intro h1 { font-size: 2.8rem; font-weight: 800; margin-bottom: 15px; letter-spacing: -1.5px; }
        .grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }

        .tile { background: var(--card-bg); border: 1px solid var(--border); border-radius: 20px; padding: 30px 20px 20px 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 250px; position: relative; overflow: hidden; animation: fadeInScale 0.5s ease-out backwards; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
        .tile:hover { border-color: var(--accent); transform: translateY(-10px) scale(1.03); box-shadow: 0 15px 30px rgba(59, 130, 246, 0.15); }
        .tile::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 2px; background: linear-gradient(90deg, transparent, var(--accent), transparent); transition: 0.5s; }
        .tile:hover::before { left: 100%; }
        
        .tile img { max-width: 80px; width: auto; height: auto; margin-bottom: 20px; image-rendering: pixelated; }
        .tile .emoji-display { font-size: 4rem; margin-bottom: 20px; line-height: 1; cursor: default; }
        .smiley-name { font-size: 0.75rem; color: var(--text-gray); margin-bottom: 12px; font-weight: 600; text-align: center; width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0.8; }

        .btn-group { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
        .copy-trigger { background: var(--bg-dark); border: 1px solid var(--border); color: var(--text-gray); padding: 12px 5px; border-radius: 10px; font-family: 'Fira Code'; font-size: 0.65rem; cursor: pointer; text-transform: uppercase; transition: 0.2s; position: relative; overflow: hidden; }
        .copy-trigger:hover { border-color: var(--accent); color: #fff; background: rgba(59, 130, 246, 0.1); }

        .btn-full { text-decoration: none; text-align: center; display: block; color: var(--text-gray); background: rgba(255, 255, 255, 0.03); border: 1px solid var(--border); border-radius: 8px; transition: 0.3s; font-size: 0.65rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; position: relative; overflow: hidden; line-height: 2.5; grid-column: span 2; margin-top: 4px; }
        .btn-full::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 2px; background: linear-gradient(90deg, transparent, var(--accent), transparent); transition: 0.4s; }
        .btn-full:hover::before { left: 100%; }
        .btn-full:hover { background: var(--accent); color: #fff; border-color: var(--accent); box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3); }

        .pagination { margin: 60px 0; display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
        .page-link { padding: 10px 16px; background: var(--card-bg); border: 1px solid var(--border); color: var(--text-gray); text-decoration: none; border-radius: 8px; font-family: 'Fira Code'; position: relative; overflow: hidden; transition: 0.3s; }
        .page-link::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 2px; background: linear-gradient(90deg, transparent, var(--accent), transparent); transition: 0.4s; }
        .page-link:hover::before { left: 100%; }
        .page-link:hover { border-color: var(--accent); color: #fff; transform: translateY(-2px); }
        .page-link.active { background: var(--accent); color: #fff; border-color: var(--accent); }

        .btt-btn { position: fixed; bottom: 30px; right: 30px; background: var(--accent); color: #fff; width: 45px; height: 45px; border-radius: 50%; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: 0.3s; z-index: 1000; }
        .btt-btn.visible { opacity: 1; visibility: visible; }

        @keyframes fadeInScale { from { opacity: 0; transform: scale(0.9) translateY(20px); } to { opacity: 1; transform: scale(1) translateY(0); } }