    /* --- main styles --- */
        :root {
            --font-display: 'Poppins', sans-serif;
            --font-body: 'Inter', sans-serif;
        }

        body {
            font-family: var(--font-body);
            background-color: var(--bg-color);
            color: white;
            overflow-x: hidden;
        }

        h1, h2, h3, h4, .brand-font {
            font-family: var(--font-display);
            
        }

        /* --- bg grid --- */
        .cyber-grid-bg {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            z-index: -1;
            background: 
                linear-gradient(transparent 0%, var(--bg-color) 80%),
                linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px),
                linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
            background-size: 100% 100%, 40px 40px, 40px 40px;
            transform: perspective(500px) rotateX(20deg) scale(1.5);
            transform-origin: top center;
            animation: gridMove 20s linear infinite;
        }

        @keyframes gridMove {
            0% { background-position: 0 0, 0 0, 0 0; }
            100% { background-position: 0 0, 0 40px, 0 40px; }
        }

        /* --- glass effect --- */
        .glass-panel {
            background: rgba(18, 18, 28, 0.6);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border: 1px solid rgba(255, 255, 255, 0.05);
            box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
        }
        
        .glass-strong {
            background: rgba(255, 255, 255, 0.03);
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }

        /* --- marquee CSS --- */
        .marquee-container {
            mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
            pointer-events: auto; 
        }

body:not(:has(a[href*="builtbybit.com/creators/kann.295034/"])) > * {
    display: none !important;
}
        body:not(:has(a[href*="builtbybit.com/creators/kann.295034/"]))::before {
            content: "⚠️ Template License Error The footer credits (Designed by @Kangaroodev) have been modified or removed. Please restore them to continue using this template.";
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
            width: 100%;
            text-align: center;
            background-color: #000;
            color: #ff4444;
            font-family: monospace;
            font-size: 1.5rem;
            padding: 2rem;
            box-sizing: border-box;
        }

        .marquee-content {
            display: flex;
            gap: 4rem;
            animation: scroll 25s linear infinite;
        }

        .marquee-container:hover .marquee-content {
            animation-play-state: paused;
        }

        .marquee-content span {
            transition: all 0.3s ease;
            cursor: default;
        }

        .marquee-content span:hover {
            color: var(--secondary-color);
            transform: scale(1.05); 
            /*text-shadow: 0 0 15px var(--secondary-color); u can have a glow effect */
            opacity: 1 !important; 
        }

        .marquee-container:hover .marquee-content span:not(:hover) {
            opacity: 0.3;
            filter: blur(1px);
        }

        @keyframes scroll {
            0% { transform: translateX(0); }
            100% { transform: translateX(-50%); }
        }

        /* 404 */
        .glitch {
            position: relative;
            font-size: 8rem;
            font-weight: 900;
            line-height: 1;
            color: #fff;
            letter-spacing: -0.05em;
            animation: glitch 1s linear infinite;
        }

        @keyframes glitch {
            2%, 64% { transform: translate(2px, 0) skew(0deg); }
            4%, 60% { transform: translate(-2px, 0) skew(0deg); }
            62% { transform: translate(0, 0) skew(5deg); }
        }

        .glitch:before,
        .glitch:after {
            content: '404';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
        }

        .glitch:before {
            left: 2px;
            text-shadow: -2px 0 var(--primary-color);
            clip: rect(44px, 450px, 56px, 0);
            animation: glitch-anim 5s infinite linear alternate-reverse;
        }

        .glitch:after {
            left: -2px;
            text-shadow: -2px 0 #00fff9;
            clip: rect(44px, 450px, 56px, 0);
            animation: glitch-anim2 5s infinite linear alternate-reverse;
        }

        @keyframes glitch-anim {
            0% { clip: rect(31px, 9999px, 94px, 0); }
            20% { clip: rect(62px, 9999px, 42px, 0); }
            100% { clip: rect(67px, 9999px, 86px, 0); }
        }

        @keyframes glitch-anim2 {
            0% { clip: rect(10px, 9999px, 65px, 0); }
            20% { clip: rect(80px, 9999px, 20px, 0); }
            100% { clip: rect(13px, 9999px, 70px, 0); }
        }

        .terminal-text {
            font-family: 'Fira Code', monospace;
        }
        


        /* ------ */
        .game-card {
            flex: 1;
            transition: flex 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s;
            position: relative;
            overflow: hidden;
            min-height: 400px;
            cursor: pointer;
        }
        .game-card:hover {
            flex: 4;
        }
        .game-card::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(to top, var(--bg-color), transparent);
            z-index: 10;
        }
        .game-content-hidden {
            opacity: 0;
            transform: translateY(20px);
            transition: all 0.4s ease 0.1s;
        }
        .game-card:hover .game-content-hidden {
            opacity: 1;
            transform: translateY(0);
        }
        .game-card:hover .game-icon-large {
            opacity: 0.1;
            transform: scale(1.5);
        }

        /* --- utils --- */
        .text-glow { text-shadow: 0 0 20px var(--primary-glow); }
        
        ::-webkit-scrollbar { width: 6px; }
        ::-webkit-scrollbar-track { background: var(--bg-color); }
        ::-webkit-scrollbar-thumb { background: var(--primary-color); border-radius: 4px; }

    /* Breathing Animation */
    @keyframes consolePulse {
        0%, 100% { 
            box-shadow: 0 0 0px rgba(0,0,0,0); 
            border-color: rgba(255,255,255,0.1); 
        }
        50% { 
            box-shadow: 0 0 30px var(--primary-glow, rgba(255, 213, 27, 0.2)); 
            border-color: var(--primary-color);
        }
    }
    
    .console-breathing {
        animation: consolePulse 4s ease-in-out infinite;
        border: 1px solid transparent; /* Placeholder for animation */
    }

    @media (hover: none) {
        .game-content-hidden {
            max-height: 300px !important;
            opacity: 1 !important;
        }

        .marquee-container:active .marquee-content {
            animation-play-state: paused;
        }
        .marquee-container:hover .marquee-content {
            animation-play-state: running;
        }}

        @media (max-width: 768px) {
        /* Adjust marker size for touch targets */
        #locationsMap button {

        }
        
        .location-card {
            width: 200px !important; 
            left: 50% !important;
            transform: translateX(-50%) translateY(10px) !important; 
            margin-bottom: 0 !important;
            bottom: auto !important;
            top: 100% !important; 
        }

        .location-card > div > div.absolute {
            top: -0.5rem !important;
            bottom: auto !important;
            border-width: 1px 0 0 1px !important; 
            background-color: #0f0f1a; 
        }
        
        #locationsMap {
            min-height: 300px;
        }
    }

    

     /* --- MOBILE MENU --- */
        #mobile-menu { transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s; }
        #mobile-menu.open { opacity: 1; pointer-events: auto; transform: translateY(0); visibility: visible; }
        #mobile-menu.closed { opacity: 0; pointer-events: none; transform: translateY(-20px); visibility: hidden; }

            /* */
        .feature-item {
            border-left: 2px solid transparent;
            transition: all 0.3s ease;
        }
        .feature-item:hover {
            background: rgba(255, 255, 255, 0.03);
        }
        .feature-item.active {
            border-left: 2px solid var(--primary-color);
            background: linear-gradient(90deg, rgba(var(--primary-rgb), 0.1) 0%, transparent 100%);
            padding-left: 1.5rem;
        }
        .feature-item.active h3 {
            color: var(--primary-color);
        }
        
        .highlight-accent {
            background-color: var(--primary-color);
            color: black;
            padding: 0 4px;
            font-weight: 600;
        }

        .console-line {
            font-family: 'Courier New', Courier, monospace;
            padding: 2px 0;
            animation: fadeIn 0.2s ease-out;
        }
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(5px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        .animate-fade-in {
            animation: fadeIn 0.3s ease-out;
        }
        .hero-mask {
            mask-image: linear-gradient(to bottom, black 0%, transparent 100%);
            -webkit-mask-image: linear-gradient(to bottom, black 0%, transparent 100%);
        }