        :root {
            --bg-dark: #0f0f0f;
            --bg-card: #1a1a1a;
            --gold-primary: #d4af37;
            --gold-light: #f3e5ab;
            --text-main: #ffffff;
            --text-muted: #a0a0a0;
        }

        * { margin: 0; padding: 0; box-sizing: border-box; }

        body {
            font-family: 'Montserrat', sans-serif;
            background-color: var(--bg-dark);
            color: var(--text-main);
            overflow-x: hidden;
        }

        /* --- Age & Cookie Banner Overlay --- */
        .age-cookie-banner {
            position: fixed; top: 0; left: 0; width: 100%; height: 100%;
            background: rgba(0,0,0,0.95); z-index: 9999; /* Stays on top of everything */
            display: flex; justify-content: center; align-items: center;
            opacity: 0; pointer-events: none; transition: opacity 0.5s ease;
            backdrop-filter: blur(10px);
        }
        .age-cookie-banner.active { opacity: 1; pointer-events: auto; }
        .banner-content {
            background: var(--bg-card); padding: 40px; border-radius: 12px;
            border: 2px solid var(--gold-primary); text-align: center; max-width: 500px; width: 90%;
            box-shadow: 0 0 50px rgba(212, 175, 55, 0.3);
        }
        .banner-content img { height: 50px; margin-bottom: 20px; }
        .banner-content h2 { color: var(--gold-light); margin-bottom: 15px; font-family: 'Playfair Display', serif; }
        .banner-content p { color: var(--text-muted); margin-bottom: 25px; line-height: 1.6; font-size: 0.95rem; }
        .banner-buttons { display: flex; gap: 15px; justify-content: center; }
        
        .btn-accept {
            background: var(--gold-primary); color: #000; border: none;
            padding: 12px 25px; border-radius: 5px; font-weight: bold; cursor: pointer; transition: 0.3s;
            font-family: 'Montserrat', sans-serif;
        }
        .btn-accept:hover { background: var(--gold-light); }
        
        .btn-reject {
            background: transparent; color: var(--text-muted); border: 1px solid var(--text-muted);
            padding: 12px 25px; border-radius: 5px; cursor: pointer; transition: 0.3s;
            font-family: 'Montserrat', sans-serif; font-weight: 600;
        }
        .btn-reject:hover { border-color: #fff; color: #fff; }

        /* --- Prevent scrolling when banner is open --- */
        body.locked { overflow: hidden; }

        /* --- Header --- */
        header {
            background: linear-gradient(180deg, #000000 0%, #1a1a1a 100%);
            padding: 15px 40px;
            border-bottom: 2px solid var(--gold-primary);
            display: flex;
            justify-content: center; 
            align-items: center;
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: 0 4px 15px rgba(0,0,0,0.8);
        }

        .logo-img { height: 110px; width: auto; }

        .lang-select {
            position: absolute; right: 40px; top: 50%; transform: translateY(-50%);
            background: #333; color: var(--gold-primary); border: 1px solid var(--gold-primary);
            padding: 5px 10px; border-radius: 4px; font-family: 'Montserrat', sans-serif;
            font-weight: bold; cursor: pointer;
        }

        .nearest-btn {
            position: absolute; 
            left: 40px; /* Aligns to left edge matching language right edge */
            top: 50%; 
            transform: translateY(-50%);
            z-index: 50;
            background: #333; /* Matched language box color */
            color: var(--gold-primary);
            border: 1px solid var(--gold-primary); 
            border-radius: 4px;
            padding: 5px 10px; 
            display: flex; align-items: center; gap: 8px;
            cursor: pointer; font-family: 'Montserrat', sans-serif; font-weight: bold;
            transition: all 0.3s ease; 
        }
        .nearest-btn:hover { background: var(--gold-primary); color: #000; }
        /* --- Hero --- */
        .hero { text-align: center; padding: 40px 20px 20px 20px; background: radial-gradient(circle at center, #2c2c2c 0%, #0f0f0f 70%); }
        .hero h1 { font-family: 'Playfair Display', serif; font-size: 2.5rem; color: var(--gold-light); margin-bottom: 10px; }
        .hero p { color: var(--text-muted); max-width: 600px; margin: 0 auto; }

        /* --- Big Logo in Hero --- */
        .hero-logo {
            height: 180px; 
            width: auto;
            margin: 25px auto 5px auto;
            display: block;
            filter: drop-shadow(0 6px 12px rgba(0,0,0,0.6));
        }

        /* --- Golden Gradient Text (Matches SVG Pattern) --- */
        .macedonia-gold-text {
            font-family: 'Montserrat', sans-serif;
            font-size: 2.5rem;
            font-weight: 700;
            letter-spacing: 10px;
            text-transform: uppercase;
            margin: 5px 0 25px 0;
            background: linear-gradient(to bottom, #f9d898 0%, #db8e27 50%, #f6d18d 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            color: transparent;
            filter: drop-shadow(4px 4px 4px rgba(0,0,0,0.9));
        }

        /* --- Container --- */
        .container { max-width: 1200px; margin: 0 auto; padding: 20px; }

        .section-title {
            border-left: 4px solid var(--gold-primary); padding-left: 15px;
            font-size: 1.5rem; margin: 30px 0 20px 0; text-transform: uppercase;
            letter-spacing: 1px; color: var(--text-main);
        }

        /* --- Map Wrapper & Nearest Button --- */
        #map-wrapper { position: relative; width: 100%; margin-bottom: 40px; margin-top: 0px;}
        
        

        /* --- STATIC PNG MAP CONTAINER --- */
        #map-container {
            width: 100%; aspect-ratio: 1.25; max-height: 900px;
            border: 2px solid var(--gold-primary); border-radius: 8px; 
            box-shadow: 0 0 30px rgba(0,0,0,0.8); background-color: #0f0f0f;
            background-image: url('./img/map.png'); background-size: 110% 130%; 
            background-position: center; background-repeat: no-repeat;
            position: relative; overflow: hidden;
        }
      
        .city-pin {
            position: absolute; transform: translate(-50%, -50%) scale(0); opacity: 0;
            display: flex; flex-direction: column; align-items: center;
            cursor: pointer; transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.5s ease; z-index: 10;
        }
        .city-pin.show { transform: translate(-50%, -50%) scale(1); opacity: 1; }
        .city-pin:hover { z-index: 20; transform: translate(-50%, -50%) scale(1.15); }
        
        .pin-dot {
            background-color: var(--gold-primary); width: 16px; height: 16px; border-radius: 50%;
            border: 2px solid #fff; box-shadow: 0 0 15px var(--gold-primary); margin-bottom: 5px;
        }
        .city-pin:hover .pin-dot { background-color: #fff; border-color: var(--gold-primary); }

        .pin-label {
            background: rgba(0, 0, 0, 0.8); color: #fff; padding: 4px 8px;
            border-radius: 4px; font-size: 0.8rem; font-weight: 600; white-space: nowrap;
            border: 1px solid var(--gold-primary); box-shadow: 0 4px 10px rgba(0,0,0,0.5); pointer-events: none; 
        }
        .pin-count { color: var(--gold-primary); margin-left: 4px; font-weight: 700; }

        /* --- Grid & Cards --- */
        .grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 25px; }
        .card { background: var(--bg-card); border: 1px solid #333; border-radius: 8px; overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease; cursor: pointer; position: relative; }
        .card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(212, 175, 55, 0.15); border-color: var(--gold-primary); }

        .card-slider { height: 180px; position: relative; background-color: #111; overflow: hidden; }
        .slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; opacity: 0; transition: opacity 1s ease-in-out; z-index: 1; }
        .slide.active { opacity: 1; z-index: 2; }
        .slider-overlay { position: absolute; bottom: 0; left: 0; right: 0; height: 50%; background: linear-gradient(to top, var(--bg-card), transparent); z-index: 3; pointer-events: none; }

        .card-body { padding: 20px; text-align: left; }
        .card-city { color: var(--gold-primary); font-size: 0.8rem; text-transform: uppercase; font-weight: 700; margin-bottom: 5px; }
        .card-title { font-size: 1.2rem; margin-bottom: 10px; font-weight: 600; }
        .card-address { color: var(--text-muted); font-size: 0.9rem; }

        /* --- Horizontal Slider for Multi-Location Cities --- */
        .city-card-slider-container {
            display: flex; overflow-x: auto; gap: 20px; padding: 10px 5px 25px 5px;
            scroll-snap-type: x mandatory; scrollbar-width: thin;
        }
        .city-card-slider-container::-webkit-scrollbar { height: 8px; }
        .city-card-slider-container::-webkit-scrollbar-thumb { background: var(--gold-primary); border-radius: 4px; }
        .city-card-slider-container .card { min-width: 300px; flex-shrink: 0; scroll-snap-align: start; }

        /* --- Modal --- */
        .modal-overlay {
            position: fixed; top: 0; left: 0; width: 100%; height: 100%;
            background: rgba(0,0,0,0.9); display: flex; justify-content: center; align-items: center;
            opacity: 0; pointer-events: none; transition: opacity 0.3s ease; z-index: 2000; backdrop-filter: blur(5px);
        }
        .modal-overlay.active { opacity: 1; pointer-events: auto; }

        .modal {
            background: var(--bg-card); width: 90%; max-width: 1000px; max-height: 90vh;
            border-radius: 12px; border: 1px solid var(--gold-primary); display: flex; flex-direction: column;
            box-shadow: 0 0 50px rgba(212, 175, 55, 0.2);
        }
        .modal-header { padding: 20px 30px; background: #222; border-bottom: 1px solid #333; display: flex; justify-content: space-between; align-items: center; }
        .modal-header h2 { color: var(--gold-light); font-family: 'Playfair Display', serif; margin: 0; display:flex; align-items:center; gap:15px; }
        .close-btn { background: none; border: none; color: var(--text-muted); font-size: 2rem; cursor: pointer; transition: color 0.3s; }
        .close-btn:hover { color: var(--gold-primary); }

        .modal-content { padding: 30px; overflow-y: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
        .modal-content.single-col { grid-template-columns: 1fr; display: block; }

        /* --- STANDARD JACKPOT SIZES (Modal) --- */
        .jackpot-display {
            background-color: transparent; background-size: 100% 100%; background-position: center; background-repeat: no-repeat;
            padding: 45px 30px 35px 30px; margin-top: 0px; text-align: center; margin-bottom: 10px; 
            min-height: 90px; display: flex; flex-direction: column; justify-content: center; align-items: center;
            position: relative; z-index: 1;
        }
        
        .jackpot-digits-container { position: absolute; top: 60px; width: 100%; display: flex; justify-content: center; }
        
        .section-heading { display: flex; align-items: center; color: white; margin-bottom: 15px; border-bottom: 1px solid #333; padding-bottom: 10px; }
        .section-heading img { height: 26px; margin-right: 10px; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.8)); }

        .spinning-value-wrapper { display: inline-flex; align-items: flex-end; position: relative; padding: 10px 15px; border-radius: 12px; z-index: 2; overflow: hidden; }
        .spin-window { display: inline-block; height: 70px; overflow: hidden; vertical-align: bottom; margin: 0 2px; }
        
        .spin-track { display: flex; flex-direction: column; transform: translateY(0); transition: transform 1.5s cubic-bezier(0.2, 0.8, 0.2, 1); }
        .spin-track.decimal-fast { animation: continuousSpin 0.3s linear infinite; }
        .spin-track.decimal-slow { animation: continuousSpin 3s linear infinite; }
        
        @keyframes continuousSpin {
            0% { transform: translateY(0%); }
            100% { transform: translateY(-50%); } 
        }

        .spin-track > div { height: 70px; display: flex; justify-content: center; align-items: center; }
        .spin-track img { height: 100%; width: auto; object-fit: contain; }
        .static-char-img { height: 70px; width: auto; object-fit: contain; vertical-align: bottom; margin: 0 2px; }

        .currency-info { text-align: center; color: var(--gold-primary); font-size: 0.9rem; font-style: italic; margin-top: 10px; letter-spacing: 1px; opacity: 0.8; }

        /* --- GLOBAL JACKPOT OVERRIDES --- */
        #global-jackpot-container .jackpot-display {
            padding: 90px 40px 60px 40px; min-height: 90px; margin-top: 10px;
            max-width: 1000px; margin-left: auto; margin-right: auto;
        }
        #global-jackpot-container .spin-window { height: 110px; margin: 0 4px; }
        #global-jackpot-container .spin-track > div { height: 110px; }
        #global-jackpot-container .static-char-img { height: 110px; margin: 0 4px; }

        /* --- FIRE ANIMATION OVERLAY --- */
        .fire-active .spinning-value-wrapper::before {
            content: ''; position: absolute; bottom: 0; left: 0; right: 0; top: 0;
            background: linear-gradient(to top, rgba(255, 0, 0, 0.9) 0%, rgba(255, 115, 0, 0.8) 50%, rgba(255, 251, 0, 0.4) 80%, transparent 100%);
            background-size: 100% 200%; animation: fireInner 1s linear infinite; z-index: -1; 
        }
        @keyframes fireInner { 0% { background-position: 0% 100%; } 100% { background-position: 0% 0%; } }

        .history-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
        .history-table th { text-align: left; color: var(--gold-primary); padding: 10px; border-bottom: 1px solid #444; }
        .history-table td { padding: 12px 10px; border-bottom: 1px solid #222; color: #ddd; }
        .win-amount { color: var(--gold-light); font-weight: bold; }
        .game-icon { height: 26px; width: auto; vertical-align: middle; filter: drop-shadow(0 2px 2px rgba(0,0,0,0.5)); }
        .modal-header-content { display: flex; flex-direction: column; gap: 8px; }
        .btn-directions {
            background: var(--gold-primary); color: #000;
            padding: 6px 12px; border-radius: 5px; font-size: 0.85rem; font-weight: bold;
            text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
            transition: 0.3s; width: fit-content;
            font-family: 'Montserrat', sans-serif;
        }
        .btn-directions:hover { background: var(--gold-light); }
        .btn-directions svg { width: 14px; height: 14px; }
        /* --- MOBILE RESPONSIVENESS --- */
        @media (max-width: 768px) {
            header { padding: 10px 20px; }
            .logo-img { height: 60px; }
            .hero-logo { height: 80px; margin-top: 15px; }
            .macedonia-gold-text { font-size: 1.6rem; letter-spacing: 6px; }
            .hero h1 { font-size: 1.8rem; }
            .hero { padding: 20px 10px; }
            .lang-select { right: 15px; font-size: 0.6rem; padding: 6px 6px; }
            .nearest-btn { left: 15px; padding: 6px 6px; font-size: 0.6rem; gap: 4px; }
            .nearest-btn svg { width: 10px; height: 10px; }
            #map-container { aspect-ratio: 1; min-height: 350px; }
           
            .banner-buttons { flex-direction: column; }
            
            .modal-content { grid-template-columns: 1fr; padding: 15px; gap: 20px; }
            .jackpot-display { padding: 20px 10px 15px 10px; min-height: 80px; margin-top: 10px; }
            .jackpot-digits-container { top: 40px; }
            .spinning-value-wrapper { padding: 4px 6px; }
            .spin-window { height: 30px; margin: 0 1px; }
            .spin-track > div { height: 30px; }
            .static-char-img { height: 30px; margin: 0 1px; }
            
            #global-jackpot-container .jackpot-display { padding: 30px 10px 20px 10px; min-height: 100px; margin-top: 10px; }
            #global-jackpot-container .spin-window { height: 40px; margin: 0 1px; }
            #global-jackpot-container .spin-track > div { height: 40px; }
            #global-jackpot-container .static-char-img { height: 40px; margin: 0 1px; }
            
            .history-table { font-size: 0.75rem; }
            .history-table th, .history-table td { padding: 8px 4px; }
            .game-icon { height: 20px; } /* Shrink game image for mobile */
            .modal-header h2 { font-size: 1.2rem; }
            .modal-header h2 img { height: 28px !important; }
            .modal-header-content { display: flex; flex-direction: column; gap: 8px; }
           .btn-directions {
            background: var(--gold-primary); color: #000;
            padding: 6px 12px; border-radius: 5px; font-size: 0.85rem; font-weight: bold;
            text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
            transition: 0.3s; width: fit-content;
            font-family: 'Montserrat', sans-serif;
        }
        .btn-directions:hover { background: var(--gold-light); }
        .btn-directions svg { width: 14px; height: 14px; }
        }
        @media (max-width: 400px) {
            .hero-logo { height: 60px; margin-top: 10px; }
            .macedonia-gold-text { font-size: 1.3rem; letter-spacing: 4px; }
            .spin-window { height: 20px !important; }
            .spin-track > div { height: 20px !important; }
            .static-char-img { height: 20px !important; }
            #global-jackpot-container .spin-window { height: 30px !important; }
            #global-jackpot-container .spin-track > div { height: 30px !important; }
            #global-jackpot-container .static-char-img { height: 30px !important; }
        }
        