/* roulang page: index */
:root {
            --bg-deep: #0a0a0f;
            --bg-card: #12121a;
            --bg-card-hover: #191924;
            --bg-panel: #161622;
            --neon-purple: #a855f7;
            --neon-magenta: #ec4899;
            --neon-cyan: #06b6d4;
            --text-bright: #f8fafc;
            --text-muted: #94a3b8;
            --border-neon: rgba(168, 85, 247, 0.28);
            --border-cyan: rgba(6, 182, 212, 0.28);
            --border-subtle: rgba(255, 255, 255, 0.08);
            --radius-md: 12px;
            --radius-lg: 16px;
        }

        /* Reset & Base */
        *, *::before, *::after { box-sizing: border-box; }
        body {
            background-color: var(--bg-deep);
            color: var(--text-bright);
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
            line-height: 1.75;
            margin: 0;
            padding: 0;
            background-image: 
                radial-gradient(circle at 15% 20%, rgba(168, 85, 247, 0.08) 0%, transparent 40%),
                radial-gradient(circle at 85% 65%, rgba(6, 182, 212, 0.07) 0%, transparent 45%);
            background-attachment: fixed;
            -webkit-font-smoothing: antialiased;
        }
        a { color: inherit; text-decoration: none; transition: all 0.25s ease; }
        a:hover { color: var(--neon-cyan); }
        h1, h2, h3, h4, h5, h6 { color: var(--text-bright); font-weight: 700; margin-bottom: 0.75rem; letter-spacing: -0.02em; }
        p { color: var(--text-muted); margin-bottom: 1.25rem; }

        /* Neon UI Components */
        .neon-pill {
            display: inline-flex;
            align-items: center;
            padding: 0.3rem 0.85rem;
            font-size: 0.8rem;
            font-weight: 600;
            border-radius: 9999px;
            background: rgba(168, 85, 247, 0.12);
            color: var(--neon-purple);
            border: 1px solid var(--border-neon);
            margin-bottom: 1rem;
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }
        .neon-pill.cyan {
            background: rgba(6, 182, 212, 0.12);
            color: var(--neon-cyan);
            border-color: var(--border-cyan);
        }
        .neon-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, var(--neon-purple), var(--neon-magenta));
            color: #fff !important;
            font-weight: 600;
            padding: 0.85rem 1.85rem;
            border-radius: 9999px;
            box-shadow: 0 4px 20px -5px rgba(236, 72, 153, 0.5);
            border: none;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }
        .neon-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 30px -5px rgba(236, 72, 153, 0.7);
            color: #fff;
        }
        .ghost-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: rgba(255, 255, 255, 0.04);
            color: var(--text-bright) !important;
            font-weight: 600;
            padding: 0.85rem 1.85rem;
            border-radius: 9999px;
            border: 1px solid var(--border-subtle);
            cursor: pointer;
            transition: all 0.3s ease;
        }
        .ghost-btn:hover {
            background: rgba(255, 255, 255, 0.08);
            border-color: var(--border-cyan);
            color: var(--neon-cyan) !important;
        }

        /* Neon Dark Card */
        .neon-card {
            background: var(--bg-card);
            border: 1px solid var(--border-neon);
            border-radius: var(--radius-md);
            padding: 1.75rem;
            height: 100%;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
        }
        .neon-card::before {
            content: '';
            position: absolute;
            top: 0; left: 0; right: 0;
            height: 2px;
            background: linear-gradient(90deg, transparent, var(--neon-purple), var(--neon-cyan), transparent);
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        .neon-card:hover {
            background: var(--bg-card-hover);
            transform: translateY(-4px);
            border-color: rgba(168, 85, 247, 0.5);
            box-shadow: 0 16px 36px -12px rgba(168, 85, 247, 0.2);
        }
        .neon-card:hover::before { opacity: 1; }

        /* Site Header */
        .site-header {
            position: sticky;
            top: 0;
            z-index: 1000;
            background: rgba(10, 10, 15, 0.88);
            backdrop-filter: blur(14px);
            border-bottom: 1px solid rgba(168, 85, 247, 0.2);
            padding: 0.9rem 0;
        }
        .nav-wrap {
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        .brand-logo {
            font-size: 1.22rem;
            font-weight: 800;
            color: #fff;
            letter-spacing: -0.01em;
            display: flex;
            align-items: center;
            gap: 0.5rem;}
        .brand-logo .dot {
            width: 9px;
            height: 9px;
            border-radius: 50%;
            background: var(--neon-magenta);
            box-shadow: 0 0 10px var(--neon-magenta);
        }
        .brand-logo:hover {
            color: #fff;
            text-shadow: 0 0 15px rgba(236, 72, 153, 0.6);
        }
        .nav-menu {
            display: flex;
            align-items: center;
            list-style: none;
            margin: 0;
            padding: 0;
            gap: 1.8rem;
        }
        .nav-link {
            font-size: 0.95rem;
            font-weight: 500;
            color: var(--text-muted);
            padding: 0.35rem 0;
            position: relative;
        }
        .nav-link:hover, .nav-link.active {
            color: var(--text-bright);
        }
        .nav-link.active::after {
            content: '';
            position: absolute;
            bottom: -4px;
            left: 0;
            width: 100%;
            height: 2px;
            background: linear-gradient(90deg, var(--neon-magenta), var(--neon-cyan));
            box-shadow: 0 0 8px var(--neon-magenta);
        }

        /* Section Layouts */
        .page-section {
            padding: 5rem 0;
            position: relative;
        }
        .page-section.border-b {
            border-bottom: 1px solid var(--border-subtle);
        }
        .section-header {
            margin-bottom: 3.2rem;
            max-width: 780px;
        }
        .section-header.text-center {
            margin-left: auto;
            margin-right: auto;
        }
        .section-header h2 {
            font-size: 2.15rem;
            line-height: 1.25;
            margin-bottom: 0.85rem;
        }

        /* Hero Section */
        .hero-section {
            padding: 5.5rem 0 4rem;
            border-bottom: 1px solid var(--border-subtle);
            background: radial-gradient(circle at 60% 30%, rgba(168, 85, 247, 0.12) 0%, transparent 60%);
        }
        .hero-title {
            font-size: 3rem;
            line-height: 1.15;
            margin-bottom: 1.4rem;
            font-weight: 800;
        }
        .hero-title span {
            background: linear-gradient(135deg, #fff 30%, var(--neon-magenta) 75%, var(--neon-cyan) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        .hero-desc {
            font-size: 1.06rem;
            color: var(--text-muted);
            line-height: 1.85;
            margin-bottom: 2rem;
        }
        .hero-specs-bar {
            margin-top: 2.5rem;
            padding: 1.25rem 1.5rem;
            background: rgba(18, 18, 26, 0.7);
            border: 1px solid var(--border-subtle);
            border-radius: var(--radius-md);
            display: flex;
            flex-wrap: wrap;
            gap: 1.5rem;
        }
        .spec-item {
            display: flex;
            align-items: center;
            gap: 0.6rem;
            font-size: 0.88rem;
            color: var(--text-bright);
        }
        .spec-item i {
            display: inline-block;
            width: 7px;
            height: 7px;
            border-radius: 50%;
            background: var(--neon-cyan);
            box-shadow: 0 0 6px var(--neon-cyan);
        }
        .hero-dashboard-preview {
            background: var(--bg-panel);
            border: 1px solid var(--border-neon);
            border-radius: var(--radius-lg);
            padding: 1.75rem;
            box-shadow: 0 20px 50px -15px rgba(0,0,0,0.7), inset 0 0 30px rgba(168, 85, 247, 0.05);
            position: relative;
        }
        .preview-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid var(--border-subtle);
            padding-bottom: 1rem;
            margin-bottom: 1.25rem;
        }
        .preview-signals {
            display: flex;
            gap: 6px;
        }
        .preview-signals span {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.15);
        }
        .preview-signals span:nth-child(1) { background: #ef4444; }
        .preview-signals span:nth-child(2) { background: #f59e0b; }
        .preview-signals span:nth-child(3) { background: #10b981; }
        .mockup-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1rem;
        }
        .mockup-slot {
            background: rgba(10, 10, 15, 0.7);
            border: 1px solid var(--border-subtle);
            border-radius: 8px;
            padding: 1rem;
        }
        .mockup-slot .label {
            font-size: 0.75rem;
            color: var(--neon-cyan);
            margin-bottom: 0.35rem;
        }
        .mockup-slot .val {
            font-size: 1.15rem;
            font-weight: 700;
            color: #fff;
        }

        /* KPI Boards */
        .kpi-num {
            font-size: 2.6rem;
            font-weight: 800;
            line-height: 1;
            background: linear-gradient(135deg, #fff, var(--neon-purple));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            margin-bottom: 0.5rem;
            font-family: Consolas, Monaco, monospace;
        }

        /* Steps */
        .step-num {
            display: inline-block;
            font-family: Consolas, Monaco, monospace;
            font-size: 1.4rem;
            font-weight: 800;
            color: var(--neon-magenta);
            margin-bottom: 0.5rem;
        }

        /* Category Exploration Poster */
        .cat-poster-card {
            background: var(--bg-card);
            border: 1px solid var(--border-subtle);
            border-radius: var(--radius-md);
            padding: 1.5rem;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            height: 100%;
            transition: all 0.3s ease;
        }
        .cat-poster-card:hover {
            border-color: var(--neon-cyan);
            transform: translateY(-4px);
            box-shadow: 0 12px 28px -8px rgba(6, 182, 212, 0.25);
        }

        /* Media Stream Cards */
        .stream-card {
            background: var(--bg-card);
            border: 1px solid var(--border-subtle);
            border-radius: var(--radius-md);
            padding: 1.25rem;
            height: 100%;
            transition: all 0.3s ease;
        }
        .stream-card:hover {
            border-color: var(--neon-purple);
            transform: translateY(-3px);
        }
        .stream-thumb {
            width: 100%;
            height: 150px;
            background: linear-gradient(135deg, #1f1f2e, #13131c);
            border-radius: 8px;
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow: hidden;
            border: 1px solid var(--border-subtle);
        }
        .stream-thumb::after {
            content: '4K HDR 60FPS';
            position: absolute;
            top: 8px;
            right: 8px;
            background: rgba(0,0,0,0.75);
            color: var(--neon-cyan);
            font-size: 0.65rem;
            font-weight: 700;
            padding: 2px 6px;
            border-radius: 4px;
            border: 1px solid var(--border-cyan);
        }
        .play-icon-symbol {
            width: 44px;
            height: 44px;
            border-radius: 50%;
            background: rgba(236, 72, 153, 0.2);
            border: 1px solid var(--neon-magenta);
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            font-size: 1.1rem;
        }

        /* Ultimate CTA */
        .ultimate-cta-box {
            background: radial-gradient(circle at 50% 50%, rgba(168, 85, 247, 0.16) 0%, rgba(18, 18, 26, 0.95) 75%);
            border: 1px solid var(--neon-purple);
            border-radius: var(--radius-lg);
            padding: 4rem 2rem;
            text-align: center;
            box-shadow: 0 0 50px -15px rgba(168, 85, 247, 0.3);
        }

        /* Site Footer */
        .site-footer {
            background: #08080c;
            border-top: 1px solid var(--border-subtle);
            padding: 4rem 0 2.5rem;
            font-size: 0.9rem;
            color: var(--text-muted);
        }
        .footer-brand {
            font-size: 1.2rem;
            font-weight: 800;
            color: #fff;
            margin-bottom: 1rem;
            display: block;
        }
        .footer-title {
            color: #fff;
            font-size: 1rem;
            font-weight: 600;
            margin-bottom: 1.25rem;
        }
        .footer-list {
            list-style: none;
            margin: 0;
            padding: 0;
        }
        .footer-list li {
            margin-bottom: 0.6rem;
        }
        .footer-list a:hover {
            color: var(--neon-magenta);
        }
        .footer-copyright {
            margin-top: 3rem;
            padding-top: 1.5rem;
            border-top: 1px solid rgba(255, 255, 255, 0.05);
            font-size: 0.82rem;
            text-align: center;
            color: #64748b;
        }

        /* Responsive Breakpoints */
        @media screen and (max-width: 1023px) {
            .hero-title { font-size: 2.35rem; }
            .section-header h2 { font-size: 1.85rem; }
            .hero-dashboard-preview { margin-top: 2rem; }
        }
        @media screen and (max-width: 639px) {
            .hero-title { font-size: 1.95rem; }
            .hero-specs-bar { flex-direction: column; gap: 0.8rem; }
            .nav-menu { gap: 1rem; }
            .ultimate-cta-box { padding: 2.5rem 1.25rem; }
            .mockup-grid { grid-template-columns: 1fr; }
        }

/* roulang page: category1 */
:root {
      --bg-deep: #0a0a0f;
      --bg-card: #12121a;
      --bg-card-hover: #191924;
      --bg-panel: #161622;
      --neon-purple: #a855f7;
      --neon-magenta: #ec4899;
      --neon-cyan: #06b6d4;
      --text-bright: #f8fafc;
      --text-muted: #94a3b8;
      --border-neon: rgba(168, 85, 247, 0.28);
      --border-cyan: rgba(6, 182, 212, 0.28);
      --border-subtle: rgba(255, 255, 255, 0.08);
      --radius-md: 12px;
      --radius-lg: 16px;
    }

    body {
      background-color: var(--bg-deep);
      color: var(--text-bright);
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
      line-height: 1.75;
      margin: 0;
      padding: 0;
      background-image: 
        radial-gradient(circle at 15% 20%, rgba(168, 85, 247, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 85% 65%, rgba(6, 182, 212, 0.07) 0%, transparent 45%);
      background-attachment: fixed;
      -webkit-font-smoothing: antialiased;
    }

    a { color: inherit; text-decoration: none; transition: all 0.25s ease; }
    a:hover { color: var(--neon-cyan); }

    /* Site Header */
    .site-header {
      position: sticky;
      top: 0;
      z-index: 1000;
      background: rgba(10, 10, 15, 0.88);
      backdrop-filter: blur(14px);
      border-bottom: 1px solid rgba(168, 85, 247, 0.2);
      padding: 0.9rem 0;
    }
    .nav-wrap {
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .brand-logo {
      font-size: 1.22rem;
      font-weight: 800;
      color: #fff;
      letter-spacing: -0.01em;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }
    .brand-logo .dot {
      width: 9px;
      height: 9px;
      border-radius: 50%;
      background: var(--neon-magenta);
      box-shadow: 0 0 10px var(--neon-magenta);
    }
    .brand-logo:hover {
      color: #fff;
      text-shadow: 0 0 15px rgba(236, 72, 153, 0.6);
    }
    .nav-menu {
      display: flex;
      align-items: center;
      list-style: none;
      margin: 0;
      padding: 0;
      gap: 1.8rem;
    }
    .nav-link {
      font-size: 0.95rem;
      font-weight: 500;
      color: var(--text-muted);
      padding: 0.35rem 0;
      position: relative;
    }
    .nav-link:hover, .nav-link.active {
      color: var(--text-bright);
    }
    .nav-link.active::after {
      content: '';
      position: absolute;
      bottom: -4px;
      left: 0;
      width: 100%;
      height: 2px;
      background: linear-gradient(90deg, var(--neon-magenta), var(--neon-cyan));
      box-shadow: 0 0 8px var(--neon-magenta);
    }

    /* Buttons & Badges */
    .neon-pill {
      display: inline-flex;
      align-items: center;
      padding: 0.3rem 0.85rem;
      font-size: 0.8rem;
      font-weight: 600;
      border-radius: 9999px;
      background: rgba(168, 85, 247, 0.12);
      color: var(--neon-purple);
      border: 1px solid var(--border-neon);
      margin-bottom: 1rem;
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }
    .neon-pill.cyan {
      background: rgba(6, 182, 212, 0.12);
      color: var(--neon-cyan);
      border-color: var(--border-cyan);
    }
    .neon-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background: linear-gradient(135deg, var(--neon-purple), var(--neon-magenta));
      color: #fff !important;
      font-weight: 600;
      padding: 0.85rem 1.85rem;
      border-radius: 9999px;
      box-shadow: 0 4px 20px -5px rgba(236, 72, 153, 0.5);
      border: none;
      cursor: pointer;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .neon-btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 30px -5px rgba(236, 72, 153, 0.7);
      color: #fff;
    }
    .ghost-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background: rgba(255, 255, 255, 0.04);
      color: var(--text-bright) !important;
      font-weight: 600;
      padding: 0.85rem 1.85rem;
      border-radius: 9999px;
      border: 1px solid var(--border-subtle);
      cursor: pointer;
      transition: all 0.3s ease;
    }
    .ghost-btn:hover {
      background: rgba(255, 255, 255, 0.08);
      border-color: var(--border-cyan);
      color: var(--neon-cyan) !important;
    }

    /* Section Global */
    .page-section {
      padding: 4.5rem 0;
      position: relative;
    }
    .page-section.border-b {
      border-bottom: 1px solid var(--border-subtle);
    }
    .section-header {
      margin-bottom: 2.8rem;
    }

    /* Hero Search & Filter Section */
    .cat-hero-section {
      padding: 4rem 0 3rem;
      background: linear-gradient(180deg, rgba(168, 85, 247, 0.06) 0%, transparent 100%);
      border-bottom: 1px solid var(--border-subtle);
    }
    .cat-hero-h1 {
      font-size: 2.4rem;
      font-weight: 800;
      line-height: 1.25;
      margin-bottom: 1rem;
      background: linear-gradient(135deg, #ffffff 40%, var(--neon-purple) 80%, var(--neon-cyan) 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }
    .cat-hero-desc {
      font-size: 1.05rem;
      color: var(--text-muted);
      max-width: 780px;
      margin-bottom: 2.2rem;
    }
    .search-filter-box {
      background: var(--bg-panel);
      border: 1px solid var(--border-neon);
      border-radius: var(--radius-lg);
      padding: 1.8rem;
      box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    }
    .search-input-group {
      display: flex;
      gap: 0.8rem;
      margin-bottom: 1.5rem;
    }
    .search-input {
      flex: 1;
      background: rgba(0, 0, 0, 0.4);
      border: 1px solid var(--border-subtle);
      border-radius: 9999px;
      padding: 0.8rem 1.4rem;
      color: #fff;
      font-size: 0.95rem;
      outline: none;
      transition: border-color 0.3s;
    }
    .search-input:focus {
      border-color: var(--neon-cyan);
      box-shadow: 0 0 12px rgba(6, 182, 212, 0.3);
    }
    .filter-chips-row {
      display: flex;
      flex-wrap: wrap;
      gap: 0.6rem;
      align-items: center;
      margin-top: 0.8rem;
    }
    .filter-label {
      font-size: 0.85rem;
      color: var(--text-muted);
      min-width: 65px;
      font-weight: 600;
    }
    .filter-chip {
      font-size: 0.82rem;
      padding: 0.3rem 0.9rem;
      border-radius: 6px;
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid var(--border-subtle);
      color: var(--text-muted);
      cursor: pointer;
      transition: all 0.2s ease;
    }
    .filter-chip:hover {
      border-color: var(--border-cyan);
      color: var(--neon-cyan);
    }
    .filter-chip.active {
      background: rgba(168, 85, 247, 0.2);
      border-color: var(--neon-purple);
      color: #fff;
      font-weight: 600;
    }

    /* Metrics Bar (Block 2) */
    .metrics-bar {
      background: rgba(18, 18, 26, 0.7);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-md);
      padding: 1.2rem 1.6rem;
      margin-top: 2rem;
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 1.2rem;
    }
    .metric-stat-item {
      display: flex;
      align-items: center;
      gap: 0.6rem;
    }
    .metric-num {
      font-size: 1.35rem;
      font-weight: 800;
      color: var(--neon-cyan);
      font-family: monospace;
    }
    .metric-text {
      font-size: 0.82rem;
      color: var(--text-muted);
    }
    .reset-filter-btn {
      font-size: 0.82rem;
      color: var(--neon-magenta);
      background: none;
      border: 1px dashed rgba(236, 72, 153, 0.4);
      padding: 0.35rem 0.9rem;
      border-radius: 6px;
      cursor: pointer;
      transition: all 0.2s ease;
    }
    .reset-filter-btn:hover {
      background: rgba(236, 72, 153, 0.15);
      border-color: var(--neon-magenta);
    }

    /* Media Grid Cards (Block 3) */
    .media-card {
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-md);
      overflow: hidden;
      height: 100%;
      display: flex;
      flex-direction: column;
      position: relative;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .media-card:hover {
      transform: translateY(-5px);
      border-color: var(--border-neon);
      box-shadow: 0 16px 36px -12px rgba(168, 85, 247, 0.25);
    }
    .media-thumb-wrap {
      position: relative;
      aspect-ratio: 16 / 10;
      background: #1a1a26;
      overflow: hidden;
    }
    .media-thumb-mockup {
      width: 100%;
      height: 100%;
      background: linear-gradient(135deg, #1e1b2e 0%, #0d1117 100%);
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
    }
    .media-thumb-overlay {
      position: absolute;
      inset: 0;
      background: radial-gradient(circle at center, rgba(168, 85, 247, 0.2), transparent 70%);
      opacity: 0.6;
    }
    .play-hover-icon {
      position: absolute;
      width: 44px;
      height: 44px;
      border-radius: 50%;
      background: rgba(236, 72, 153, 0.85);
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      font-size: 1.1rem;
      transform: scale(0.85);
      opacity: 0;
      transition: all 0.25s ease;
    }
    .media-card:hover .play-hover-icon {
      transform: scale(1);
      opacity: 1;
    }
    .card-badge-top {
      position: absolute;
      top: 10px;
      left: 10px;
      background: rgba(10, 10, 15, 0.75);
      border: 1px solid var(--border-neon);
      backdrop-filter: blur(8px);
      font-size: 0.72rem;
      font-weight: 700;
      color: var(--neon-purple);
      padding: 0.2rem 0.55rem;
      border-radius: 4px;
      z-index: 2;
    }
    .card-quality-top {
      position: absolute;
      top: 10px;
      right: 10px;
      background: rgba(6, 182, 212, 0.2);
      border: 1px solid var(--border-cyan);
      backdrop-filter: blur(8px);
      font-size: 0.7rem;
      font-weight: 700;
      color: var(--neon-cyan);
      padding: 0.15rem 0.5rem;
      border-radius: 4px;
      z-index: 2;
    }
    .card-duration-bottom {
      position: absolute;
      bottom: 8px;
      right: 10px;
      background: rgba(0, 0, 0, 0.75);
      font-size: 0.7rem;
      color: #e2e8f0;
      padding: 0.15rem 0.45rem;
      border-radius: 4px;
      z-index: 2;
    }
    .media-body {
      padding: 1.25rem;
      display: flex;
      flex-direction: column;
      flex: 1;
    }
    .media-title {
      font-size: 1.02rem;
      font-weight: 700;
      color: var(--text-bright);
      line-height: 1.45;
      margin-bottom: 0.6rem;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
    .media-card:hover .media-title {
      color: var(--neon-cyan);
    }
    .media-tags-list {
      display: flex;
      gap: 0.45rem;
      flex-wrap: wrap;
      margin-bottom: 0.9rem;
    }
    .tag-item {
      font-size: 0.72rem;
      color: var(--text-muted);
      background: rgba(255, 255, 255, 0.04);
      padding: 0.15rem 0.5rem;
      border-radius: 4px;
    }
    .media-footer-meta {
      margin-top: auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
      border-top: 1px solid var(--border-subtle);
      padding-top: 0.8rem;
      font-size: 0.78rem;
      color: #64748b;
    }

    /* Pagination (Block 4) */
    .pagination-bar {
      margin-top: 3.5rem;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      flex-wrap: wrap;
    }
    .page-btn {
      min-width: 40px;
      height: 40px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: 8px;
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      color: var(--text-muted);
      font-size: 0.9rem;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.2s ease;
    }
    .page-btn:hover {
      border-color: var(--border-cyan);
      color: var(--neon-cyan);
    }
    .page-btn.active {
      background: linear-gradient(135deg, var(--neon-purple), var(--neon-magenta));
      border-color: transparent;
      color: #fff;
      box-shadow: 0 0 12px rgba(168, 85, 247, 0.4);
    }

    /* Tag Cloud Matrix (Block 5) */
    .tagcloud-box {
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-lg);
      padding: 2.2rem;
    }
    .pill-cloud {
      display: flex;
      flex-wrap: wrap;
      gap: 0.75rem;
    }
    .cloud-pill-item {
      display: inline-flex;
      align-items: center;
      gap: 0.45rem;
      padding: 0.45rem 1.1rem;
      border-radius: 9999px;
      background: rgba(255, 255, 255, 0.03);
      border: 1px solid var(--border-subtle);
      font-size: 0.86rem;
      color: #cbd5e1;
      transition: all 0.25s ease;
    }
    .cloud-pill-item:hover {
      border-color: var(--neon-purple);
      color: #fff;
      background: rgba(168, 85, 247, 0.15);
      transform: translateY(-2px);
    }
    .cloud-count {
      font-size: 0.72rem;
      color: var(--neon-cyan);
      background: rgba(6, 182, 212, 0.12);
      padding: 0.1rem 0.4rem;
      border-radius: 9999px;
    }

    /* Foundation Accordion Overrides (Block 6) */
    .accordion {
      background: transparent;
      border: none;
    }
    .accordion-item {
      background: var(--bg-card);
      border: 1px solid var(--border-subtle) !important;
      border-radius: var(--radius-md) !important;
      margin-bottom: 1rem;
      overflow: hidden;
    }
    .accordion-title {
      background: var(--bg-card) !important;
      color: var(--text-bright) !important;
      font-size: 1.05rem !important;
      font-weight: 700 !important;
      padding: 1.25rem 1.5rem !important;
      border: none !important;
      transition: all 0.25s ease;
      position: relative;
    }
    .accordion-title:hover {
      color: var(--neon-cyan) !important;
      background: var(--bg-card-hover) !important;
    }
    .accordion-title::before {
      color: var(--neon-magenta) !important;
    }
    .accordion-content {
      background: var(--bg-panel) !important;
      border: none !important;
      color: var(--text-muted) !important;
      font-size: 0.92rem !important;
      line-height: 1.8 !important;
      padding: 1.25rem 1.5rem !important;
      border-top: 1px solid var(--border-subtle) !important;
    }

    /* Bottom CTA Section (Block 7) */
    .cat-cta-banner {
      background: linear-gradient(135deg, rgba(168, 85, 247, 0.15) 0%, rgba(6, 182, 212, 0.12) 100%);
      border: 1px solid var(--border-neon);
      border-radius: var(--radius-lg);
      padding: 3rem 2.5rem;
      position: relative;
      overflow: hidden;
    }
    .cat-cta-banner::after {
      content: '';
      position: absolute;
      top: -50%;
      right: -20%;
      width: 400px;
      height: 400px;
      background: radial-gradient(circle, rgba(236, 72, 153, 0.18) 0%, transparent 70%);
      border-radius: 50%;
      pointer-events: none;
    }

    /* Site Footer */
    .site-footer {
      background: #08080c;
      border-top: 1px solid var(--border-subtle);
      padding: 4.5rem 0 2rem;
      color: #94a3b8;
    }
    .footer-brand {
      font-size: 1.15rem;
      font-weight: 800;
      color: #fff;
      margin-bottom: 0.8rem;
      display: inline-block;
    }
    .footer-title {
      font-size: 0.95rem;
      font-weight: 700;
      color: var(--text-bright);
      margin-bottom: 1.2rem;
      position: relative;
    }
    .footer-list {
      list-style: none;
      margin: 0;
      padding: 0;
    }
    .footer-list li {
      margin-bottom: 0.6rem;
      font-size: 0.86rem;
    }
    .footer-list a {
      color: #94a3b8;
    }
    .footer-list a:hover {
      color: var(--neon-cyan);
    }
    .footer-copyright {
      margin-top: 3.5rem;
      padding-top: 1.8rem;
      border-top: 1px solid rgba(255, 255, 255, 0.05);
      font-size: 0.8rem;
      color: #64748b;
      text-align: center;
    }

    @media print, screen and (max-width: 63.99875em) {
      .cat-hero-h1 { font-size: 1.95rem; }
      .nav-menu { gap: 1rem; }
    }
    @media print, screen and (max-width: 39.99875em) {
      .cat-hero-h1 { font-size: 1.55rem; }
      .search-input-group { flex-direction: column; }
      .metrics-bar { flex-direction: column; align-items: flex-start; }
      .brand-logo { font-size: 1.05rem; }
      .site-header { padding: 0.75rem 0; }
    }
