*,
        *::before,
        *::after {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
            -webkit-font-smoothing: antialiased;
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
            background: #fff;
            color: #1a1a1a;
            line-height: 1.6;
            overflow-x: hidden;
        }

        a {
            color: inherit;
            text-decoration: none;
        }

        img {
            max-width: 100%;
            display: block;
        }

        /* Canvas */
        #dot-canvas {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 0;
            pointer-events: none;
        }

        /* Navbar */
        .navbar {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 100;
            padding: 0 48px;
            height: 64px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            background: rgba(255, 255, 255, 0.75);
            backdrop-filter: blur(24px);
            -webkit-backdrop-filter: blur(24px);
            border-bottom: 1px solid rgba(0, 0, 0, 0.06);
        }

        .navbar-brand {
            font-size: 18px;
            font-weight: 700;
            letter-spacing: -0.5px;
            color: #111;
        }

        .navbar-links {
            display: flex;
            gap: 36px;
            list-style: none;
        }

        .navbar-links a {
            font-size: 14px;
            font-weight: 500;
            color: #555;
            transition: color .3s;
        }

        .navbar-links a:hover {
            color: #111;
        }

        .menu-toggle {
            display: none;
            background: none;
            border: none;
            cursor: pointer;
            width: 24px;
            height: 18px;
            position: relative;
            z-index: 110;
        }

        .menu-toggle span {
            display: block;
            width: 100%;
            height: 1.5px;
            background: #111;
            position: absolute;
            left: 0;
            transition: all .3s;
        }

        .menu-toggle span:nth-child(1) {
            top: 0;
        }

        .menu-toggle span:nth-child(2) {
            top: 50%;
            transform: translateY(-50%);
        }

        .menu-toggle span:nth-child(3) {
            bottom: 0;
        }

        .menu-toggle.active span:nth-child(1) {
            top: 50%;
            transform: translateY(-50%) rotate(45deg);
        }

        .menu-toggle.active span:nth-child(2) {
            opacity: 0;
        }

        .menu-toggle.active span:nth-child(3) {
            bottom: 50%;
            transform: translateY(50%) rotate(-45deg);
        }

        /* Sections */
        .section {
            position: relative;
            z-index: 1;
            padding: 120px 48px 100px;
        }

        .section-label {
            font-size: 11px;
            font-weight: 600;
            letter-spacing: 3px;
            text-transform: uppercase;
            color: #999;
            margin-bottom: 20px;
            text-align: center;
        }

        .section-heading {
            font-size: clamp(28px, 4vw, 46px);
            font-weight: 700;
            letter-spacing: -1.5px;
            color: #111;
            text-align: center;
            margin-bottom: 16px;
            line-height: 1.15;
        }

        .section-subtitle {
            font-size: 16px;
            font-weight: 400;
            color: #666;
            text-align: center;
            max-width: 520px;
            margin: 0 auto 64px;
            line-height: 1.7;
        }

        /* Hero */
        .hero {
            position: relative;
            z-index: 1;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
            padding: 120px 24px 80px;
        }

        .hero-tag {
            display: inline-block;
            font-size: 12px;
            font-weight: 600;
            letter-spacing: 2px;
            text-transform: uppercase;
            color: #fff;
            background: #111;
            padding: 6px 16px;
            border-radius: 100px;
            margin-bottom: 24px;
        }

        .hero-stats {
            display: flex;
            gap: 12px;
            justify-content: center;
            flex-wrap: wrap;
            margin-bottom: 24px;
        }

        .stat-badge {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            font-size: 13px;
            font-weight: 500;
            color: #555;
            background: rgba(255, 255, 255, 0.6);
            border: 1px solid #eee;
            padding: 6px 14px;
            border-radius: 100px;
            backdrop-filter: blur(4px);
        }

        .stat-badge span {
            font-family: monospace;
            font-weight: 700;
            color: #111;
        }

        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-size: 13px;
            font-weight: 500;
            color: #666;
            background: rgba(255, 255, 255, 0.8);
            border: 1px solid #e5e5e5;
            padding: 6px 16px;
            border-radius: 100px;
            margin-bottom: 24px;
            backdrop-filter: blur(4px);
        }

        .hero-badge span {
            font-family: 'Inter', monospace;
            font-weight: 700;
            color: #111;
        }

        .hero-title {
            font-size: clamp(38px, 6.5vw, 88px);
            font-weight: 800;
            letter-spacing: -3px;
            line-height: 1.05;
            max-width: 860px;
            margin-bottom: 28px;
            background: linear-gradient(135deg, #1a1a1a 0%, #3b6df5 55%, #e0453a 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .hero-subtitle {
            font-size: clamp(15px, 1.5vw, 18px);
            font-weight: 400;
            color: #555;
            max-width: 520px;
            line-height: 1.8;
            margin-bottom: 48px;
        }

        .hero-actions {
            display: flex;
            gap: 16px;
            flex-wrap: wrap;
            justify-content: center;
        }

        /* Floating sponsor widget */
        .float-sponsor {
            position: fixed;
            bottom: 28px;
            right: 24px;
            width: 220px;
            z-index: 500;
            border-radius: 14px;
            overflow: hidden;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
            background: #fff;
            opacity: 1;
            transform: translateY(0);
            transition: opacity .3s ease, transform .3s ease;
        }

        .float-sponsor.fs-hidden {
            opacity: 0;
            pointer-events: none;
            transform: translateY(10px);
        }

        .float-sponsor a {
            display: block;
            text-decoration: none;
        }

        .float-sponsor img {
            display: block;
            width: 100%;
            height: auto;
        }

        .float-sponsor-bar {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 5px 9px;
            background: #f5f5f5;
        }

        .float-sponsor-tag {
            font-size: 10px;
            font-weight: 600;
            letter-spacing: .8px;
            color: #999;
            text-transform: uppercase;
        }

        .float-sponsor-close {
            background: none;
            border: none;
            cursor: pointer;
            padding: 2px 4px;
            color: #bbb;
            font-size: 14px;
            line-height: 1;
            border-radius: 4px;
            transition: color .2s, background .2s;
        }

        .float-sponsor-close:hover {
            color: #555;
            background: rgba(0, 0, 0, 0.06);
        }

        [data-theme="dark"] .float-sponsor {
            background: #1c1c1c;
        }

        [data-theme="dark"] .float-sponsor-bar {
            background: #242424;
        }

        [data-theme="dark"] .float-sponsor-tag {
            color: #555;
        }

        [data-theme="dark"] .float-sponsor-close {
            color: #666;
        }

        [data-theme="dark"] .float-sponsor-close:hover {
            color: #d8d8d8;
            background: rgba(255, 255, 255, 0.07);
        }

        @media (max-width: 600px) {
            .float-sponsor {
                width: 180px;
                bottom: 16px;
                right: 12px;
            }
        }

        /* Buttons */
        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 14px 36px;
            font-family: 'Inter', sans-serif;
            font-size: 14px;
            font-weight: 500;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            transition: all .3s cubic-bezier(.4, 0, .2, 1);
        }

        .btn-primary {
            background: #111;
            color: #fff;
        }

        .btn-primary:hover {
            background: #333;
            transform: translateY(-2px);
            box-shadow: 0 8px 32px rgba(0, 0, 0, .15);
        }

        .btn-secondary {
            background: transparent;
            color: #333;
            border: 1px solid rgba(0, 0, 0, .2);
        }

        .btn-secondary:hover {
            color: #111;
            border-color: #111;
            transform: translateY(-2px);
        }

        /* Services */
        #services {
            padding-top: 100px;
        }

        .services-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
            max-width: 1200px;
            margin: 0 auto;
        }

        .service-card {
            background: #fff;
            border: 1px solid #e8e8e8;
            border-radius: 16px;
            padding: 40px 28px;
            transition: all .4s cubic-bezier(.4, 0, .2, 1);
        }

        .service-card:hover {
            border-color: #ccc;
            transform: translateY(-4px);
            box-shadow: 0 16px 48px rgba(0, 0, 0, .08);
        }

        .service-number {
            font-size: 12px;
            font-weight: 600;
            color: #ccc;
            letter-spacing: 2px;
            margin-bottom: 24px;
        }

        .service-title {
            font-size: 19px;
            font-weight: 600;
            color: #111;
            margin-bottom: 12px;
        }

        .service-desc {
            font-size: 14px;
            font-weight: 400;
            color: #666;
            line-height: 1.7;
        }

        .service-icon {
            width: 44px;
            height: 44px;
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .service-icon svg {
            width: 28px;
            height: 28px;
            stroke: #555;
            fill: none;
            stroke-width: 1.5;
        }

        /* Resources */
        #resources {
            padding-top: 100px;
        }

        .resources-toolbar {
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 16px;
            max-width: 1080px;
            margin: 0 auto 32px;
        }

        .filter-tabs {
            display: flex;
            gap: 6px;
            flex-wrap: wrap;
        }

        .filter-tab {
            font-family: 'Inter', sans-serif;
            font-size: 13px;
            font-weight: 500;
            padding: 8px 18px;
            border-radius: 100px;
            border: 1px solid #e5e5e5;
            background: #fff;
            color: #666;
            cursor: pointer;
            transition: all .25s;
        }

        .filter-tab:hover {
            border-color: #bbb;
            color: #333;
        }

        .filter-tab.active {
            background: #111;
            color: #fff;
            border-color: #111;
        }

        .search-box {
            position: relative;
            width: 240px;
        }

        .search-box input {
            width: 100%;
            padding: 9px 16px 9px 38px;
            font-family: 'Inter', sans-serif;
            font-size: 13px;
            border: 1px solid #e5e5e5;
            border-radius: 10px;
            background: #fff;
            color: #333;
            outline: none;
            transition: border-color .25s;
        }

        .search-box input::placeholder {
            color: #bbb;
        }

        .search-box input:focus {
            border-color: #999;
        }

        .search-box svg {
            position: absolute;
            left: 12px;
            top: 50%;
            transform: translateY(-50%);
            width: 16px;
            height: 16px;
            stroke: #bbb;
            fill: none;
            stroke-width: 2;
        }

        .resources-count {
            font-size: 13px;
            color: #999;
            text-align: center;
            max-width: 1080px;
            margin: 0 auto 24px;
        }

        .resources-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
            max-width: 1080px;
            margin: 0 auto;
        }

        .resource-card {
            background: #fff;
            border: 1px solid #e8e8e8;
            border-radius: 16px;
            padding: 28px;
            transition: all .35s cubic-bezier(.4, 0, .2, 1);
            display: flex;
            flex-direction: column;
            opacity: 0;
            transform: translateY(24px);
            animation: cardIn .5s cubic-bezier(.4, 0, .2, 1) forwards;
        }

        @keyframes cardIn {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .resource-card:hover {
            border-color: #ccc;
            transform: translateY(-3px);
            box-shadow: 0 12px 40px rgba(0, 0, 0, .07);
        }

        .resource-card-header {
            display: flex;
            align-items: center;
            gap: 14px;
            margin-bottom: 14px;
        }

        .resource-card-icon {
            width: 44px;
            height: 44px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .resource-card-icon svg {
            width: 22px;
            height: 22px;
            stroke-width: 1.8;
            fill: none;
        }

        .resource-card-icon.blue {
            background: #eef4ff;
        }

        .resource-card-icon.blue svg {
            stroke: #3b82f6;
        }

        .resource-card-icon.green {
            background: #eefbf4;
        }

        .resource-card-icon.green svg {
            stroke: #22c55e;
        }

        .resource-card-icon.purple {
            background: #f4eeff;
        }

        .resource-card-icon.purple svg {
            stroke: #8b5cf6;
        }

        .resource-card-icon.orange {
            background: #fff5ee;
        }

        .resource-card-icon.orange svg {
            stroke: #f97316;
        }

        .resource-card-icon.red {
            background: #ffeeee;
        }

        .resource-card-icon.red svg {
            stroke: #ef4444;
        }

        .resource-card-icon.teal {
            background: #eefbfb;
        }

        .resource-card-icon.teal svg {
            stroke: #14b8a6;
        }

        .resource-card-title {
            font-size: 16px;
            font-weight: 600;
            color: #111;
        }

        .resource-card-version {
            font-size: 12px;
            font-weight: 500;
            color: #999;
            margin-top: 2px;
        }

        .resource-card-desc {
            font-size: 13px;
            color: #666;
            line-height: 1.6;
            margin-bottom: 16px;
            flex-grow: 1;
        }

        .resource-card-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
            margin-bottom: 16px;
        }

        .resource-tag {
            font-size: 11px;
            font-weight: 500;
            color: #777;
            background: #f5f5f5;
            border: 1px solid #eee;
            padding: 3px 10px;
            border-radius: 100px;
        }

        .resource-links {
            display: flex;
            flex-direction: column;
            gap: 6px;
        }

        .resource-link-btn {
            display: flex;
            align-items: center;
            justify-content: space-between;
            width: 100%;
            padding: 10px 14px;
            font-family: 'Inter', sans-serif;
            font-size: 13px;
            font-weight: 500;
            color: #444;
            background: #f8f8f8;
            border: 1px solid #ebebeb;
            border-radius: 10px;
            cursor: pointer;
            transition: all .25s;
        }

        .resource-link-btn:hover {
            background: #111;
            color: #fff;
            border-color: #111;
        }

        .resource-link-btn.copied {
            background: #22c55e;
            color: #fff;
            border-color: #22c55e;
        }

        .resource-link-btn .link-label {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .resource-link-btn svg {
            width: 14px;
            height: 14px;
            stroke: currentColor;
            fill: none;
            stroke-width: 2;
            flex-shrink: 0;
        }

        .resource-link-btn .copy-hint {
            font-size: 11px;
            color: #aaa;
            transition: color .25s;
        }

        .resource-link-btn:hover .copy-hint {
            color: rgba(255, 255, 255, .6);
        }

        .resource-link-btn.copied .copy-hint {
            color: rgba(255, 255, 255, .8);
        }

        .resources-empty {
            text-align: center;
            padding: 80px 20px;
            color: #bbb;
            font-size: 15px;
            grid-column: 1 / -1;
        }

        /* Contact */
        #contact {
            padding-top: 100px;
            padding-bottom: 140px;
        }

        .contact-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 28px;
            max-width: 860px;
            margin: 0 auto;
        }

        .contact-card {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            padding: 40px 24px;
            border: 1px solid #e8e8e8;
            border-radius: 16px;
            background: #fff;
            transition: all .35s cubic-bezier(.4, 0, .2, 1);
        }

        .contact-card:hover {
            border-color: #ccc;
            transform: translateY(-4px);
            box-shadow: 0 12px 40px rgba(0, 0, 0, .07);
        }

        .contact-card img {
            width: 100%;
            max-width: 220px;
            height: auto;
            border-radius: 12px;
            margin-bottom: 20px;
            object-fit: contain;
            cursor: pointer;
            transition: transform .3s ease;
        }

        .contact-card img:hover {
            transform: scale(1.03);
        }

        /* Lightbox */
        .lightbox {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 300;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(0, 0, 0, .6);
            backdrop-filter: blur(8px);
            opacity: 0;
            pointer-events: none;
            transition: opacity .3s ease;
        }

        .lightbox.active {
            opacity: 1;
            pointer-events: auto;
            cursor: pointer;
        }

        .lightbox img {
            max-width: 90vw;
            max-height: 85vh;
            border-radius: 16px;
            box-shadow: 0 24px 80px rgba(0, 0, 0, .3);
            transform: scale(0.9);
            transition: transform .35s cubic-bezier(.4, 0, .2, 1);
        }

        .lightbox.active img {
            transform: scale(1);
        }

        .contact-card-title {
            font-size: 16px;
            font-weight: 600;
            color: #111;
            margin-bottom: 6px;
        }

        .contact-card-desc {
            font-size: 13px;
            color: #777;
        }

        .divider {
            width: 100%;
            max-width: 1200px;
            height: 1px;
            background: #eee;
            margin: 0 auto;
        }

        .footer {
            position: relative;
            z-index: 1;
            padding: 48px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            border-top: 1px solid #eee;
        }

        .footer-text {
            font-size: 13px;
            color: #aaa;
        }

        .footer-links {
            display: flex;
            gap: 24px;
            list-style: none;
        }

        .footer-links a {
            font-size: 13px;
            font-weight: 500;
            color: #999;
            transition: color .3s;
        }

        .footer-links a:hover {
            color: #333;
        }

        .toast {
            position: fixed;
            bottom: 32px;
            left: 50%;
            transform: translateX(-50%) translateY(80px);
            background: #111;
            color: #fff;
            font-family: 'Inter', sans-serif;
            font-size: 14px;
            font-weight: 500;
            padding: 12px 28px;
            border-radius: 10px;
            z-index: 200;
            opacity: 0;
            transition: all .35s cubic-bezier(.4, 0, .2, 1);
            pointer-events: none;
            box-shadow: 0 8px 32px rgba(0, 0, 0, .18);
            white-space: nowrap;
        }

        .toast.show {
            opacity: 1;
            transform: translateX(-50%) translateY(0);
        }

        .reveal {
            opacity: 0;
            transform: translateY(36px);
            transition: opacity .7s cubic-bezier(.4, 0, .2, 1), transform .7s cubic-bezier(.4, 0, .2, 1);
        }

        .reveal.visible {
            opacity: 1;
            transform: translateY(0);
        }

        @media (max-width: 1024px) {
            .services-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .resources-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 900px) {
            .navbar {
                padding: 0 24px;
            }

            .navbar-links {
                position: fixed;
                top: 0;
                right: -100%;
                width: 100%;
                height: 100vh;
                background: rgba(255, 255, 255, .98);
                flex-direction: column;
                align-items: center;
                justify-content: center;
                gap: 40px;
                transition: right .4s cubic-bezier(.4, 0, .2, 1);
            }

            .navbar-links.open {
                right: 0;
            }

            .navbar-links a {
                font-size: 22px;
                font-weight: 400;
            }

            .menu-toggle {
                display: block;
            }

            .section {
                padding: 80px 24px 64px;
            }

            .services-grid,
            .resources-grid {
                grid-template-columns: 1fr;
                gap: 16px;
            }

            .resources-toolbar {
                flex-direction: column;
                align-items: stretch;
            }

            .search-box {
                width: 100%;
            }

            .contact-grid {
                grid-template-columns: 1fr;
                gap: 16px;
                max-width: 320px;
            }

            .footer {
                flex-direction: column;
                gap: 20px;
                padding: 36px 24px;
                text-align: center;
            }

            .hero-title {
                letter-spacing: -1.5px;
            }
        }

        @media (max-width: 480px) {
            .hero {
                padding: 100px 20px 60px;
            }

            .btn {
                padding: 12px 28px;
                font-size: 13px;
                width: 100%;
            }

            .hero-actions {
                flex-direction: column;
                width: 100%;
                max-width: 300px;
            }
        }

        /* ── Visual Enhancements ──────────────────────────────── */
        .scroll-progress {
            position: absolute;
            bottom: 0;
            left: 0;
            height: 2px;
            background: linear-gradient(90deg, #3b6df5, #8b5cf6, #e0453a);
            width: 0%;
            transition: width 0.15s linear;
            z-index: 101;
        }

        [data-theme="dark"] .scroll-progress {
            background: linear-gradient(90deg, #6b8afc, #a78bfa, #f5a623);
        }

        .service-icon {
            background: linear-gradient(135deg, rgba(59, 109, 245, 0.1), rgba(59, 109, 245, 0.03));
            border-radius: 12px;
            transition: transform 0.35s cubic-bezier(.4, 0, .2, 1), background 0.35s;
        }

        .service-icon svg {
            transition: transform 0.35s cubic-bezier(.4, 0, .2, 1);
        }

        .service-card:hover .service-icon {
            transform: scale(1.1);
            background: linear-gradient(135deg, rgba(59, 109, 245, 0.18), rgba(59, 109, 245, 0.06));
        }

        .service-card:hover .service-icon svg {
            transform: rotate(8deg) scale(1.1);
        }

        [data-theme="dark"] .service-icon {
            background: linear-gradient(135deg, rgba(107, 138, 252, 0.12), rgba(107, 138, 252, 0.04));
        }

        [data-theme="dark"] .service-card:hover .service-icon {
            background: linear-gradient(135deg, rgba(107, 138, 252, 0.2), rgba(107, 138, 252, 0.08));
        }

        .resource-card-icon svg {
            transition: transform 0.3s cubic-bezier(.4, 0, .2, 1);
        }

        .resource-card:hover .resource-card-icon svg {
            transform: scale(1.15) rotate(5deg);
        }

        .resource-card {
            transform-style: preserve-3d;
        }

.modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.4);
            backdrop-filter: blur(8px);
            z-index: 400;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.4s ease;
        }

        .modal-overlay.active {
            opacity: 1;
            pointer-events: auto;
        }

        .modal-content {
            background: #fff;
            padding: 40px;
            border-radius: 20px;
            max-width: 520px;
            width: 90%;
            text-align: center;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
            transform: translateY(20px);
            transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .modal-overlay.active .modal-content {
            transform: translateY(0);
        }

        .modal-title {
            font-size: 24px;
            font-weight: 700;
            margin-bottom: 8px;
            color: #111;
        }

        .modal-subtitle {
            font-size: 14px;
            color: #666;
            margin-bottom: 24px;
            letter-spacing: 1px;
        }

        .modal-body {
            text-align: left;
            color: #444;
            font-size: 14px;
            line-height: 1.7;
            margin-bottom: 32px;
        }

        .modal-body ul {
            margin: 16px 0;
            padding-left: 20px;
        }

        .modal-body li {
            margin-bottom: 8px;
        }

        .modal-btn {
            width: 100%;
            font-size: 15px;
            padding: 14px;
        }

        /* =========================================
           Dark Theme Overrides  (harmonised palette)
           =========================================
           bg:      #111
           surface: #1c1c1c
           surface2:#242424
           border:  rgba(255,255,255,0.08)
           text1:   #d8d8d8
           text2:   #888
           text3:   #555
        ========================================= */
        html {
            transition: background .25s, color .25s;
        }

        [data-theme="dark"] body {
            background: #111;
            color: #d8d8d8;
        }

        /* Navbar */
        [data-theme="dark"] .navbar {
            background: rgba(17, 17, 17, 0.88);
            border-bottom: 1px solid rgba(255, 255, 255, 0.07);
        }

        [data-theme="dark"] .navbar-brand {
            color: #e8e8e8;
        }

        [data-theme="dark"] .navbar-links a {
            color: #999;
        }

        [data-theme="dark"] .navbar-links a:hover {
            color: #e8e8e8;
        }

        [data-theme="dark"] .menu-toggle span {
            background: #aaa;
        }

        /* Hero */
        [data-theme="dark"] .hero {
            background: #111;
        }

        [data-theme="dark"] .hero-tag {
            background: rgba(255, 255, 255, 0.05);
            border-color: rgba(255, 255, 255, 0.1);
            color: #888;
        }

        [data-theme="dark"] .hero-title {
            background: linear-gradient(135deg, #e8e8e8 0%, #8b9ffa 50%, #f5a623 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        [data-theme="dark"] .hero-subtitle {
            color: #777;
        }

        [data-theme="dark"] .stat-badge {
            background: rgba(255, 255, 255, 0.05);
            border-color: rgba(255, 255, 255, 0.1);
            color: #999;
        }

        /* Buttons */
        [data-theme="dark"] .btn-primary {
            background: #e0e0e0;
            color: #111;
        }

        [data-theme="dark"] .btn-primary:hover {
            background: #fff;
            box-shadow: none;
        }

        [data-theme="dark"] .btn-secondary {
            color: #999;
            border-color: rgba(255, 255, 255, 0.18);
        }

        [data-theme="dark"] .btn-secondary:hover {
            color: #e8e8e8;
            border-color: rgba(255, 255, 255, 0.45);
        }

        /* Sections / dividers */
        [data-theme="dark"] .section {
            background: #111;
        }

        [data-theme="dark"] .section-label {
            color: #555;
        }

        [data-theme="dark"] .section-heading {
            color: #e0e0e0;
        }

        [data-theme="dark"] .section-subtitle {
            color: #777;
        }

        [data-theme="dark"] .divider {
            background: rgba(255, 255, 255, 0.06);
        }

        /* Service cards */
        [data-theme="dark"] .service-card {
            background: #1c1c1c;
            border-color: rgba(255, 255, 255, 0.07);
        }

        [data-theme="dark"] .service-card:hover {
            background: #242424;
            border-color: rgba(255, 255, 255, 0.13);
        }

        [data-theme="dark"] .service-number {
            color: #3a3a3a;
        }

        [data-theme="dark"] .service-icon {
            background: rgba(255, 255, 255, 0.04);
        }

        [data-theme="dark"] .service-icon svg {
            stroke: #888;
        }

        [data-theme="dark"] .service-title {
            color: #d8d8d8;
        }

        [data-theme="dark"] .service-desc {
            color: #777;
        }

        /* Resource cards */
        [data-theme="dark"] .resource-card {
            background: #1c1c1c;
            border-color: rgba(255, 255, 255, 0.07);
        }

        [data-theme="dark"] .resource-card:hover {
            background: #222;
            border-color: rgba(255, 255, 255, 0.14);
        }

        [data-theme="dark"] .resource-name {
            color: #d8d8d8;
        }

        [data-theme="dark"] .resource-version {
            color: #555;
        }

        [data-theme="dark"] .resource-desc {
            color: #777;
        }

        [data-theme="dark"] .resource-tag {
            background: rgba(255, 255, 255, 0.06);
            color: #888;
        }

        [data-theme="dark"] .resource-link {
            background: rgba(255, 255, 255, 0.04);
            border-color: rgba(255, 255, 255, 0.09);
            color: #999;
        }

        [data-theme="dark"] .resource-link:hover {
            background: rgba(255, 255, 255, 0.1);
            color: #e0e0e0;
        }

        [data-theme="dark"] .search-box input {
            background: #1c1c1c;
            border-color: rgba(255, 255, 255, 0.1);
            color: #d0d0d0;
        }

        [data-theme="dark"] .search-box input::placeholder {
            color: #555;
        }

        [data-theme="dark"] .resources-count {
            color: #555;
        }

        [data-theme="dark"] .filter-tab {
            background: rgba(255, 255, 255, 0.05);
            color: #888;
            border-color: rgba(255, 255, 255, 0.08);
        }

        [data-theme="dark"] .filter-tab.active {
            background: #e0e0e0;
            color: #111;
            border-color: #e0e0e0;
        }

        [data-theme="dark"] .filter-tab:hover:not(.active) {
            background: rgba(255, 255, 255, 0.09);
            color: #ccc;
        }

        /* Contact cards */
        [data-theme="dark"] .contact-card {
            background: #1c1c1c;
            border-color: rgba(255, 255, 255, 0.07);
        }

        [data-theme="dark"] .contact-card:hover {
            background: #222;
        }

        [data-theme="dark"] .contact-card-title {
            color: #d8d8d8;
        }

        [data-theme="dark"] .contact-card-desc {
            color: #777;
        }

        /* Footer */
        [data-theme="dark"] .footer {
            background: #111;
            border-top: 1px solid rgba(255, 255, 255, 0.07);
        }

        [data-theme="dark"] .footer-text {
            color: #444;
        }

        [data-theme="dark"] .footer-links a {
            color: #555;
        }

        [data-theme="dark"] .footer-links a:hover {
            color: #d8d8d8;
        }

        /* Welcome modal */
        [data-theme="dark"] .modal-overlay {
            background: rgba(0, 0, 0, 0.8);
        }

        [data-theme="dark"] .modal-content {
            background: #1c1c1c;
        }

        [data-theme="dark"] .modal-title {
            color: #e0e0e0;
        }

        [data-theme="dark"] .modal-subtitle {
            color: #666;
        }

        [data-theme="dark"] .modal-body {
            color: #888;
        }

        [data-theme="dark"] .modal-btn {
            background: #e0e0e0;
            color: #111;
        }

        [data-theme="dark"] .modal-btn:hover {
            background: #fff;
        }

        /* Changelog ticker */
        [data-theme="dark"] .changelog-section {
            background: #1c1c1c;
            border-color: rgba(255, 255, 255, 0.07);
            color: #777;
        }

        [data-theme="dark"] .changelog-label {
            color: #d8d8d8;
        }

        /* Sponsor banner fallback */
        [data-theme="dark"] .hero-sponsor-fallback {
            background: #1c1c1c;
            border-color: rgba(255, 255, 255, 0.09);
            color: #444;
        }

        [data-theme="dark"] .hero-sponsor-fallback span {
            color: #555;
        }

        /* Theme toggle button */
        #themeToggle {
            background: transparent;
            border: 1px solid rgba(0, 0, 0, 0.14);
            border-radius: 8px;
            padding: 6px 8px;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            color: #555;
            transition: color .2s, border-color .2s;
            margin-right: 4px;
            width: 34px;
            height: 34px;
        }

        #themeToggle:hover {
            color: #111;
            border-color: rgba(0, 0, 0, 0.3);
        }

        #themeToggle svg {
            display: block;
        }

        [data-theme="dark"] #themeToggle {
            color: #888;
            border-color: rgba(255, 255, 255, 0.12);
        }

        [data-theme="dark"] #themeToggle:hover {
            color: #d8d8d8;
            border-color: rgba(255, 255, 255, 0.35);
        }

        /* Sponsor banner placeholder */
        .hero-sponsor-fallback {
            display: none;
            border: 2px dashed rgba(0, 0, 0, 0.12);
            border-radius: 14px;
            padding: 36px 24px;
            text-align: center;
            flex-direction: column;
            align-items: center;
            gap: 8px;
            width: 100%;
            box-sizing: border-box;
        }

        .hero-sponsor-fallback span:first-child {
            font-size: 14px;
            font-weight: 500;
            color: #bbb;
        }

        .hero-sponsor-fallback span:last-child {
            font-size: 12px;
            color: #ccc;
        }

.changelog-section {
                    max-width: 1080px;
                    margin: 0 auto 32px;
                    background: #f9f9f9;
                    border-radius: 12px;
                    padding: 12px 20px;
                    display: flex;
                    align-items: center;
                    gap: 16px;
                    font-size: 13px;
                    color: #555;
                    border: 1px solid #eee;
                }

                .changelog-label {
                    font-weight: 700;
                    color: #111;
                    flex-shrink: 0;
                }

                .changelog-list {
                    display: flex;
                    gap: 24px;
                    overflow: hidden;
                    width: 100%;
                }

                .changelog-item {
                    display: flex;
                    align-items: center;
                    gap: 8px;
                    white-space: nowrap;
                    animation: scrollText 20s linear infinite;
                }

                .changelog-date {
                    font-family: monospace;
                    color: #999;
                    background: #fff;
                    padding: 2px 6px;
                    border-radius: 4px;
                    border: 1px solid #eee;
                    font-size: 11px;
                }

                .changelog-name {
                    font-weight: 500;
                    color: #333;
                }

                @media (max-width: 768px) {
                    .changelog-section {
                        flex-direction: column;
                        align-items: flex-start;
                        gap: 12px;
                    }

                    .changelog-list {
                        flex-direction: column;
                        gap: 8px;
                        overflow-x: auto;
                        padding-bottom: 4px;
                    }
                }
