/* Page-specific body override */
body { overflow-x: hidden; }

/* NAV */
        

        

        

        

        .nav-btn:hover {
            color: var(--neon-cyan);
            background: rgba(0, 245, 255, 0.06);
            border-color: var(--border-glow);
        }

        .nav-btn.active {
            color: var(--neon-cyan);
            background: rgba(0, 245, 255, 0.1);
            border-color: var(--neon-cyan);
        }

        

        

        /* HERO HEADER */
        .hero {
            padding: 7rem 2rem 3rem;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 600px;
            height: 400px;
            background: radial-gradient(ellipse, rgba(0, 245, 255, 0.08) 0%, transparent 70%);
            pointer-events: none;
        }

        .hero-title {
            font-family: var(--font-display);
            font-size: 2.5rem;
            font-weight: 900;
            letter-spacing: 4px;
            margin-bottom: 0.8rem;
            background: linear-gradient(135deg, var(--neon-cyan), var(--neon-green));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .hero-subtitle {
            color: var(--text-secondary);
            font-size: 1.1rem;
            max-width: 600px;
            margin: 0 auto 1.5rem;
        }

        /* SEARCH BAR */
        .search-bar {
            max-width: 520px;
            margin: 0 auto 2rem;
            position: relative;
        }

        .search-input {
            width: 100%;
            padding: 0.8rem 1.2rem 0.8rem 3rem;
            background: var(--bg-secondary);
            border: 1px solid var(--border-glow);
            border-radius: 10px;
            color: var(--text-primary);
            font-family: var(--font-mono);
            font-size: 0.9rem;
            transition: all 0.2s;
        }

        .search-input::placeholder { color: var(--text-muted); }
        .search-input:focus {
            outline: none;
            border-color: var(--neon-cyan);
            box-shadow: 0 0 20px rgba(0, 245, 255, 0.15);
        }

        .search-icon {
            position: absolute;
            left: 1rem;
            top: 50%;
            transform: translateY(-50%);
            color: var(--text-muted);
            font-size: 1rem;
            pointer-events: none;
        }

        .search-count {
            text-align: center;
            color: var(--text-muted);
            font-family: var(--font-mono);
            font-size: 0.8rem;
            margin-bottom: 1rem;
            display: none;
        }

        /* CATEGORY NAV PILLS */
        .cat-nav {
            display: flex;
            gap: 0.5rem;
            justify-content: center;
            flex-wrap: wrap;
            padding: 0 2rem;
            margin-bottom: 2.5rem;
        }

        .cat-pill {
            font-family: var(--font-body);
            font-size: 0.8rem;
            font-weight: 600;
            padding: 0.4rem 1rem;
            border-radius: 20px;
            border: 1px solid var(--border-glow);
            background: var(--bg-secondary);
            color: var(--text-secondary);
            cursor: pointer;
            transition: all 0.2s;
            white-space: nowrap;
        }

        .cat-pill:hover {
            border-color: var(--neon-cyan);
            color: var(--text-primary);
            background: rgba(0, 245, 255, 0.08);
        }

        .cat-pill.active {
            border-color: var(--neon-cyan);
            background: rgba(0, 245, 255, 0.12);
            color: var(--neon-cyan);
            box-shadow: 0 0 10px rgba(0, 245, 255, 0.2);
        }

        /* CATEGORY SECTIONS */
        .resources-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem 4rem;
        }

        .category-section {
            margin-bottom: 3rem;
        }

        .category-header {
            display: flex;
            align-items: center;
            gap: 0.8rem;
            margin-bottom: 1.2rem;
            padding-bottom: 0.8rem;
            border-bottom: 1px solid var(--border-glow);
        }

        .category-icon {
            font-size: 1.5rem;
        }

        .category-title {
            font-family: var(--font-display);
            font-size: 1.1rem;
            font-weight: 700;
            letter-spacing: 2px;
            color: var(--neon-cyan);
            text-transform: uppercase;
        }

        .category-count {
            font-family: var(--font-mono);
            font-size: 0.7rem;
            color: var(--text-muted);
            margin-left: auto;
        }

        /* SUB-SECTION LABELS */
        .subsection-label {
            font-family: var(--font-body);
            font-size: 0.85rem;
            font-weight: 600;
            color: var(--neon-purple);
            margin: 1.5rem 0 0.8rem;
            padding-left: 0.3rem;
            letter-spacing: 1px;
            text-transform: uppercase;
        }

        .subsection-label:first-of-type {
            margin-top: 0;
        }

        /* RESOURCE CARDS GRID */
        .resource-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 1rem;
        }

        .resource-card {
            background: var(--bg-card);
            border: 1px solid rgba(0, 245, 255, 0.1);
            border-radius: 10px;
            padding: 1.1rem 1.2rem;
            transition: all 0.25s ease;
            cursor: pointer;
            text-decoration: none;
            display: flex;
            flex-direction: column;
            gap: 0.4rem;
            position: relative;
            overflow: hidden;
        }

        .resource-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 2px;
            background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple));
            opacity: 0;
            transition: opacity 0.25s;
        }

        .resource-card:hover {
            border-color: rgba(0, 245, 255, 0.3);
            transform: translateY(-2px);
            box-shadow: 0 4px 20px rgba(0, 245, 255, 0.1);
        }

        .resource-card:hover::before {
            opacity: 1;
        }

        .resource-name {
            font-family: var(--font-body);
            font-size: 1rem;
            font-weight: 600;
            color: var(--text-primary);
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .resource-tag {
            font-family: var(--font-mono);
            font-size: 0.6rem;
            padding: 0.15rem 0.5rem;
            border-radius: 3px;
            background: rgba(57, 255, 20, 0.12);
            color: var(--neon-green);
            text-transform: uppercase;
            letter-spacing: 0.5px;
            white-space: nowrap;
        }

        .resource-desc {
            font-size: 0.82rem;
            color: var(--text-secondary);
            line-height: 1.5;
        }

        .resource-url {
            font-family: var(--font-mono);
            font-size: 0.7rem;
            color: var(--text-muted);
            margin-top: auto;
            padding-top: 0.3rem;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .resource-card.hidden {
            display: none;
        }

        /* NO RESULTS */
        .no-results {
            text-align: center;
            padding: 3rem 1rem;
            color: var(--text-muted);
            font-size: 1rem;
            display: none;
        }

        .no-results.visible {
            display: block;
        }

        /* BACK TO TOP */
        .back-to-top {
            position: fixed;
            bottom: 2rem;
            right: 2rem;
            width: 44px;
            height: 44px;
            border-radius: 50%;
            background: var(--bg-secondary);
            border: 1px solid var(--border-glow);
            color: var(--neon-cyan);
            font-size: 1.2rem;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            pointer-events: none;
            transition: all 0.3s;
            z-index: 500;
        }

        .back-to-top.visible {
            opacity: 1;
            pointer-events: auto;
        }

        .back-to-top:hover {
            background: rgba(0, 245, 255, 0.1);
            box-shadow: var(--shadow-neon);
        }

        /* FOOTER */
        

        

        

        

        

        

        /* DISCLAIMER BANNER */
        .disclaimer {
            max-width: 1200px;
            margin: 0 auto 2rem;
            padding: 0.8rem 1.2rem;
            background: rgba(184, 41, 227, 0.08);
            border: 1px solid rgba(184, 41, 227, 0.2);
            border-radius: 8px;
            font-size: 0.78rem;
            color: var(--text-secondary);
            line-height: 1.5;
        }

        /* RESPONSIVE */
        @media (max-width: 768px) {
            /* Navigation handled by shared.css */
            .hero-title { font-size: 1.6rem; }
            .hero { padding: 5.5rem 1rem 2rem; }
            .resources-container { padding: 0 1rem 3rem; }
            .resource-grid { grid-template-columns: 1fr; }
            .cat-nav { padding: 0 1rem; }
            .category-title { font-size: 0.9rem; }
            .disclaimer { margin: 0 1rem 2rem; }
        }

        @media (max-width: 480px) {
            .hero-title { font-size: 1.3rem; }
            .cat-pill { font-size: 0.72rem; padding: 0.3rem 0.7rem; }
        }
