/* ==========================================
   BONUS GRINDERS - MASTER STYLE SHEET
   ========================================== */

@import url('https://cdn.jsdelivr.net/gh/lipis/flag-icons@7.2.3/css/flag-icons.min.css');

*, *::before, *::after {
    box-sizing: border-box;
}

:root {
    --bg-dark: #050A07;       /* Deep Greenish Black */
    --toxic-lime: #9EFF00;    /* Neon Lime */
    --text-white: #FFFFFF;
    --text-dark: #121A15;
    --bg-light: #E7EADF;      /* Concrete Light Gray-Green */
    --card-body-bg: #FFFFFF;
}

html, body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: 'Outfit', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: clip;
    width: 100%;
    scroll-behavior: smooth;
}

.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: clip;
    width: 100%;
}

/* Top Dark Section (contains navbar + hero) */
.top-dark-section {
    background-color: var(--bg-dark);
    position: relative;
    overflow: hidden;
    width: 100%;
    z-index: 2;
}

/* Video Background Styling with Neon Green Tint Filter */
.video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    z-index: 1;
    opacity: 0.16; /* Soft blending */
    /* CSS Filter Alchemy: converts grayscale video particles into glowing neon green */
    filter: grayscale(1) sepia(1) saturate(12) hue-rotate(75deg) brightness(1.1) contrast(1.1);
}

/* ==========================================
   AMBIENT MOTION DESIGN EFFECTS
   ========================================== */

/* 1. Cyber 3D perspective grid */
.grid-overlay {
    display: none;
    position: absolute;
    bottom: -150px;
    left: -50%;
    width: 200%;
    height: 100%;
    background-image: 
        linear-gradient(to right, rgba(158, 255, 0, 0.22) 2px, transparent 2px),
        linear-gradient(to bottom, rgba(158, 255, 0, 0.22) 2px, transparent 2px);
    background-size: 60px 60px;
    transform: perspective(800px) rotateX(55deg) translate3d(var(--grid-shift-x, 0px), var(--grid-shift-y, 0px), 0);
    transform-origin: bottom center;
    pointer-events: none;
    z-index: 1;
    transition: transform 0.15s cubic-bezier(0.1, 0.8, 0.3, 1);
}
.top-dark-section.active-grid .grid-overlay {
    display: block;
}

/* 2. Tech Scanline */
.scanline {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(180deg, transparent, rgba(158, 255, 0, 0.3), transparent);
    box-shadow: 0 0 15px rgba(158, 255, 0, 0.2);
    opacity: 0.12;
    pointer-events: none;
    z-index: 1;
    animation: techScan 6s linear infinite;
}
@keyframes techScan {
    0% { top: -10%; }
    100% { top: 110%; }
}
.top-dark-section.active-scanline .scanline {
    display: block;
}

/* 3. Floating Mesh Spheres (Aurora) */
.mesh-sphere-1, .mesh-sphere-2 {
    display: none;
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}
.mesh-sphere-1 {
    top: -50px;
    left: 10%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(158, 255, 0, 0.28), transparent 70%);
    filter: blur(50px);
    animation: driftOne 22s ease-in-out infinite alternate;
}
.mesh-sphere-2 {
    bottom: 50px;
    right: 8%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(112, 0, 255, 0.32), transparent 70%);
    filter: blur(60px);
    animation: driftTwo 28s ease-in-out infinite alternate;
}
@keyframes driftOne {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(120px, 60px) scale(1.15); }
}
@keyframes driftTwo {
    0% { transform: translate(0, 0) scale(1.1); }
    100% { transform: translate(-100px, -80px) scale(0.9); }
}
.top-dark-section.active-mesh .mesh-sphere-1,
.top-dark-section.active-mesh .mesh-sphere-2 {
    display: block;
}

/* 4. Cyber Accents (Telemetry Hud widgets) */
.cyber-accent-top-left,
.cyber-accent-bottom-left,
.cyber-accent-bottom-right,
.cyber-accent-clock {
    display: none;
    position: absolute;
    font-family: monospace;
    font-size: 10px;
    color: rgba(158, 255, 0, 0.4);
    letter-spacing: 1px;
    pointer-events: none;
    z-index: 4;
}
.cyber-accent-top-left {
    top: 30px;
    left: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.status-indicator {
    width: 6px;
    height: 6px;
    background-color: var(--toxic-lime);
    border-radius: 50%;
    box-shadow: 0 0 5px var(--toxic-lime);
    animation: blinkStatus 1.5s infinite;
}
@keyframes blinkStatus {
    0% { opacity: 0.3; }
    50% { opacity: 1; }
    100% { opacity: 0.3; }
}

.cyber-accent-bottom-left {
    bottom: 120px;
    left: 50px;
}
.cyber-accent-bottom-right {
    bottom: 120px;
    right: 50px;
}
.cyber-accent-clock {
    top: 30px;
    right: 250px; /* Shift to not overlap counters */
}

/* Apply display flex when active */
.top-dark-section.active-accents .cyber-accent-top-left { display: flex; }
.top-dark-section.active-accents .cyber-accent-bottom-left { display: block; }
.top-dark-section.active-accents .cyber-accent-bottom-right { display: block; }
.top-dark-section.active-accents .cyber-accent-clock { display: block; }


/* ==========================================
   HUD CONTROL PANEL
   ========================================== */
.ambient-control-panel {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 8px 16px;
    border-radius: 40px;
    z-index: 10;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.panel-title {
    font-family: monospace;
    font-size: 9px;
    color: #A3B5A8;
    margin-right: 6px;
    letter-spacing: 1px;
}

.toggle-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #7A8F80;
    font-family: monospace;
    font-size: 9px;
    font-weight: bold;
    padding: 4px 10px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.toggle-btn:hover {
    border-color: rgba(158, 255, 0, 0.3);
    color: var(--text-white);
}

.toggle-btn.active {
    background: rgba(158, 255, 0, 0.06);
    border-color: var(--toxic-lime);
    color: var(--toxic-lime);
    text-shadow: 0 0 5px rgba(158, 255, 0, 0.4);
}


/* ==========================================
   NAVIGATION & HERO ELEMENTS
   ========================================== */
.nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 50px;
    background: transparent;
    z-index: 10;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #FFFFFF;
    text-decoration: none;
}

.back-link {
    color: var(--toxic-lime);
    text-decoration: none;
    font-family: monospace;
    font-size: 11px;
    font-weight: bold;
    border: 1px solid rgba(158, 255, 0, 0.3);
    padding: 6px 14px;
    border-radius: 20px;
    letter-spacing: 1px;
    transition: all 0.2s ease;
    margin-right: 5px;
}

.back-link:hover {
    background-color: var(--toxic-lime);
    color: #000;
}

.logo-icon {
    width: 32px;
    height: 32px;
    filter: drop-shadow(0 0 5px var(--toxic-lime));
}

.logo-text {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 800;
    font-size: 20px;
    letter-spacing: 1.5px;
    color: #FFFFFF;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}
.matrix-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(158, 255, 0, 0.1);
    color: #FFFFFF;
    border: 1px solid rgba(158, 255, 0, 0.3);
    padding: 10px 22px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    text-decoration: none;
    text-transform: uppercase;
    font-family: 'Space Grotesk', sans-serif;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
    animation: breathingGlow 2.5s infinite ease-in-out;
}
/* Breathing Neon Aura */
@keyframes breathingGlow {
    0%, 100% {
        box-shadow: 0 0 6px rgba(158, 255, 0, 0.15), inset 0 0 2px rgba(158, 255, 0, 0.05);
        border-color: rgba(158, 255, 0, 0.3);
    }
    50% {
        box-shadow: 0 0 16px rgba(158, 255, 0, 0.4), inset 0 0 4px rgba(158, 255, 0, 0.15);
        border-color: rgba(158, 255, 0, 0.7);
    }
}

/* Moving Shimmer Flare */
.matrix-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    animation: shimmerSweep 3.5s infinite ease-in-out;
}

@keyframes shimmerSweep {
    0% { left: -150%; }
    40%, 100% { left: 150%; }
}

.matrix-crosshair {
    width: 14px;
    height: 14px;
    color: var(--toxic-lime);
    animation: spinCrosshair 3s infinite linear;
    display: inline-block;
}

@keyframes spinCrosshair {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.matrix-btn:hover {
    background: var(--toxic-lime);
    color: #000;
    border-color: var(--toxic-lime);
    box-shadow: 0 0 15px rgba(158, 255, 0, 0.25);
    transform: translateY(-1px);
}

.matrix-btn:hover .matrix-crosshair {
    color: #000;
    animation: spinCrosshair 1s infinite linear; /* Spins faster on hover! */
}

.live-counter {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 1px;
}

/* Lang Dropdown Styling */
.lang-selector {
    position: relative;
    display: inline-block;
    z-index: 99999;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #FFF;
    padding: 8px 12px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-transform: uppercase;
    font-family: inherit;
    transition: all 0.2s ease;
    min-width: 76px;
    box-sizing: border-box;
}

.lang-btn:hover {
    border-color: var(--toxic-lime);
    box-shadow: 0 0 10px rgba(158, 255, 0, 0.2);
}

.lang-dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: 100%; /* Sits flush against the button bottom border */
    background-color: #0A0F0B;
    border: 1px solid rgba(158, 255, 0, 0.2);
    border-radius: 12px;
    width: 100%;
    min-width: 76px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.8);
    z-index: 999999 !important;
    padding: 6px 0;
    margin-top: 5px; /* Creates visual gap */
    box-sizing: border-box;
}

/* Invisible helper pseudo-element to act as a bridge and prevent pointer-leave events */
.lang-dropdown::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 0;
    width: 100%;
    height: 12px;
    background: transparent;
}

.lang-dropdown a {
    color: #FFFFFF;
    padding: 10px 14px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
    text-align: left;
}

.lang-dropdown a:hover {
    background-color: rgba(158, 255, 0, 0.05);
    color: var(--toxic-lime);
}

.lang-selector:hover .lang-dropdown,
.lang-selector:focus-within .lang-dropdown,
.lang-selector.open .lang-dropdown,
.lang-selector.active .lang-dropdown {
    display: block !important;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--toxic-lime);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--toxic-lime);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.9); opacity: 0.6; }
    50% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.6; }
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 20px 120px 20px;
    position: relative;
    width: 100%;
}

.hero-content {
    max-width: 920px;
    z-index: 2;
    position: relative;
}

.section-tag {
    font-size: 13px;
    color: var(--toxic-lime);
    letter-spacing: 2px;
    font-weight: 800;
    display: block;
    margin-bottom: 15px;
}

.hero-title {
    font-family: 'Permanent Marker', cursive;
    font-size: 78px;
    line-height: 0.9;
    color: var(--toxic-lime);
    margin: 0 0 25px 0;
    text-shadow: 0 0 20px rgba(158, 255, 0, 0.15);
    transform: rotate(-1.5deg);
}

.hero-desc {
    font-size: 18px;
    color: #A3B5A8;
    line-height: 1.35;
    margin-bottom: 30px;
}

.hero-desc span {
    display: block;
    margin-bottom: 4px;
}

.hero-desc span:last-child {
    margin-bottom: 0;
}

.view-more {
    font-size: 14px;
    font-weight: 800;
    color: var(--text-white);
    text-decoration: none;
    border-bottom: 2px solid var(--toxic-lime);
    padding-bottom: 5px;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 35px;
}


/* ==========================================
   FILTER CONTAINER BUTTONS
   ========================================== */

.filter-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 0;
    position: relative;
    z-index: 5;
}

.filter-btn {
    background-color: rgba(255, 255, 255, 0.05);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    padding: 10px 22px;
    font-size: 12px;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    line-height: 1;
}

.filter-btn:hover {
    border-color: var(--toxic-lime);
    color: var(--text-white);
    transform: translateY(-1px);
}

.filter-btn.active {
    background-color: var(--toxic-lime);
    border-color: var(--toxic-lime);
    color: #000;
    box-shadow: 0 0 15px var(--toxic-lime);
}

.filter-btn.active svg {
    opacity: 1;
}


/* ==========================================
   CARDS CONTAINER (LIGHT SECTION)
   ========================================== */
.bottom-section {
    background-color: var(--bg-light);
    border-radius: 40px 40px 0 0;
    padding: 40px 30px;
    position: relative;
    z-index: 3;
    margin-top: -80px; /* Overlaps bottom elements */
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1320px;
    margin: 0 auto;
    padding: 20px 10px 40px 10px;
    box-sizing: border-box;
}

/* Casino Offer Cards */
.protocol-card {
    background-color: var(--card-body-bg);
    border-radius: 24px;
    overflow: hidden;
    margin-top: 0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
}

@media (max-width: 768px) {
    /* Reduce lateral padding of light-grey background container */
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 16px 4px 60px 4px !important; /* Minimize grid horizontal padding */
    }
    
    /* Horizontal protocol-card layout on mobile using clean CSS Grid */
    .protocol-card {
        display: grid !important;
        grid-template-columns: 70px 1fr 82px !important;
        gap: 10px !important;
        padding: 12px 10px !important;
        min-height: 98px !important;
        height: auto !important;
        max-height: none !important;
        border-radius: 16px !important;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08) !important;
        align-items: center !important; /* Vertically align direct children */
    }
    
    .protocol-card:hover {
        transform: none !important;
    }
    

    .card-header-green {
        grid-column: 1 !important;
        width: 70px !important;
        height: 70px !important;
        min-width: 70px !important;
        border-radius: 12px !important;
        padding: 0 !important;
        flex-shrink: 0 !important;
        align-self: center !important;
    }
    
    .logo-container-header {
        padding: 6px !important;
        width: 100% !important;
        height: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .card-body {
        grid-column: 2 !important;
        padding: 0 !important;
        text-align: left !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        min-width: 0 !important;
    }
    
    .card-body h3 {
        font-size: 13px !important;
        margin: 0 0 2px 0 !important;
        font-weight: 800 !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
    
    .card-desc {
        font-size: 11px !important;
        margin-bottom: 0 !important;
        color: #4A564E !important;
        font-weight: 500 !important;
        line-height: 1.3 !important;
    }
    
    .specs-box {
        border: none !important;
        background: transparent !important;
        padding: 6px 0 0 0 !important;
        margin-bottom: 0 !important;
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        gap: 6px !important;
        justify-content: flex-start !important;
        width: 100% !important;
    }
    .specs-box .spec-row {
        flex: 0 1 auto !important;
        width: auto !important;
        margin-bottom: 0 !important;
        font-size: 9px !important;
        background: rgba(0, 0, 0, 0.03) !important;
        border: 1px solid rgba(0, 0, 0, 0.05) !important;
        border-radius: 6px !important;
        padding: 3px 6px !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 3px !important;
        box-sizing: border-box !important;
    }
    
    .specs-box .spec-row span {
        font-size: 9px !important;
        color: #7A8F80 !important;
    }
    
    .specs-box .spec-row strong {
        font-size: 9px !important;
        color: var(--text-dark) !important;
        font-weight: 700 !important;
    }
    
    /* Hide promotional code copy box inside list view to keep layout tidy */
    .code-copy-box {
        display: none !important;
    }
    
    /* Circular CTA button on the right, centered vertically */
    .btn-earn {
        grid-column: 3 !important;
        grid-row: 1 / span 2 !important;
        align-self: center !important;
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        border-radius: 50% !important;
        padding: 0 !important;
        margin-top: 0 !important;
        margin-left: auto !important;
        flex-shrink: 0 !important;
        font-size: 0 !important; /* Hides text "READ REVIEW & CLAIM" */
        border: 2px solid var(--toxic-lime) !important;
        background-color: var(--toxic-lime) !important;
        box-shadow: none !important;
        display: inline-flex !important;
        justify-content: center !important;
        align-items: center !important;
    }
    
    .btn-earn .cta-arrow {
        width: 16px !important;
        height: 16px !important;
        stroke: #000 !important;
        margin: 0 !important;
    }

    

/* Carousel HUD Navigation Controls */
.carousel-hud-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 600px;
    margin: 20px auto 10px auto;
    padding: 0 20px;
    gap: 24px;
}

.carousel-arrow {
    background-color: transparent;
    border: 1px solid rgba(10, 15, 11, 0.15);
    color: var(--text-dark);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.carousel-arrow:hover {
    border-color: var(--toxic-lime);
    background-color: var(--toxic-lime);
    color: #000;
    box-shadow: 0 4px 12px rgba(158, 255, 0, 0.25);
}

.carousel-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    background: rgba(10, 15, 11, 0.15);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.carousel-dot.active {
    background: var(--toxic-lime);
    box-shadow: 0 0 8px var(--toxic-lime);
    transform: scale(1.3);
}

}

.protocol-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 50px rgba(158, 255, 0, 0.15);
}

.card-header-green {
    background-color: var(--toxic-lime);
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.icon-box {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-container-header {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.logo-container-header img,
.logo-container-header svg {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.casino-emoji {
    font-size: 32px;
}

.card-body {
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    color: var(--text-dark);
}

.card-body h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 10px 0;
    letter-spacing: 0.5px;
}

.card-desc {
    font-size: 14px;
    line-height: 1.5;
    color: #4A564E;
    margin-bottom: 20px;
    min-height: 84px;
}

/* Specs Row details */
.specs-box {
    border: 1px solid #E6EADF;
    background-color: #FAFBF9;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 20px;
    text-align: left;
    min-height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 8px;
    font-weight: 600;
}

.spec-row:last-child {
    margin-bottom: 0;
}

.spec-row span {
    color: #7A8F80;
}

.spec-row strong {
    color: var(--text-dark);
}

/* Promo Code Box */
.code-copy-box {
    border: 1px dashed #A3B5A8;
    border-radius: 12px;
    padding: 10px 14px;
    background-color: #FAFBF9;
    margin-bottom: 25px;
    text-align: left;
    min-height: 52px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.code-copy-box .lbl {
    font-size: 9px;
    color: #7A8F80;
    font-weight: 700;
    display: block;
    margin-bottom: 4px;
}

.code-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.code-val {
    font-family: monospace;
    font-size: 16px;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: 0.5px;
}

.copy-btn {
    background: transparent;
    border: 1px solid #D1D8D2;
    border-radius: 6px;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: bold;
    color: #4A564E;
    cursor: pointer;
    transition: all 0.2s ease;
}

.copy-btn:hover {
    border-color: var(--toxic-lime);
    color: #000;
    background-color: var(--toxic-lime);
}

.btn-earn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
    margin-top: auto;
    border: 2px solid #D1D8D2;
    border-radius: 30px;
    padding: 14px;
    color: var(--text-dark);
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 1.5px;
    transition: all 0.2s ease;
}

.btn-earn:hover {
    background-color: var(--toxic-lime);
    border-color: var(--toxic-lime);
    box-shadow: 0 4px 12px rgba(158, 255, 0, 0.3);
}

/* Responsiveness details */
@media (max-width: 768px) {
    .cyber-accent-top-left,
    .cyber-accent-bottom-left,
    .cyber-accent-bottom-right,
    .cyber-accent-clock,
    .ambient-control-panel {
        display: none !important; /* Hide HUD widgets and toggles on smaller screens */
    }
    .hero-container {
        padding-bottom: 140px;
    }
    .cards-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Premium Footer --- */
.site-footer {
    background-color: #050806;
    border-top: 1px solid rgba(158, 255, 0, 0.1);
    color: #8c9c90;
    padding: 50px 20px 30px 20px;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
}

.footer-container {
    max-width: 1320px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    padding-bottom: 30px;
}

.footer-brand .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-tagline {
    line-height: 1.6;
    color: #708075;
    max-width: 320px;
}

.footer-links-group h4,
.footer-compliance h4 {
    color: #fff;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #8c9c90;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--toxic-lime);
}

.compliance-text {
    line-height: 1.6;
    color: #64756a;
    font-size: 12px;
    margin-bottom: 16px;
}

.age-badge {
    display: inline-block;
    border: 2px solid #64756a;
    border-radius: 6px;
    padding: 2px 8px;
    font-weight: 800;
    font-size: 12px;
    color: #64756a;
}

.footer-bottom {
    max-width: 1320px;
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 40px;
    text-align: center;
    font-size: 11px;
    letter-spacing: 1px;
    color: #55635a;
}

@media (max-width: 767px) {
    .site-footer {
        padding: 40px 16px 20px 16px;
    }

/* ==========================================
   CASINO BONUS CALCULATOR & AGGREGATOR
   ========================================== */
.calculator-section {
    margin: 40px auto 20px auto;
    max-width: 900px;
    background: rgba(10, 15, 11, 0.4);
    border: 1px solid rgba(158, 255, 0, 0.15);
    border-radius: 24px;
    padding: 30px;
    box-sizing: border-box;
    backdrop-filter: blur(10px);
}

.calc-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;
    letter-spacing: 2px;
    color: #FFF;
    text-transform: uppercase;
    margin-bottom: 20px;
    text-align: center;
}

.calc-input-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 30px;
}

.calc-input-row {
    position: relative;
    width: 100%;
    max-width: 320px;
}

.calc-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(158, 255, 0, 0.3);
    border-radius: 12px;
    padding: 14px 20px 14px 45px;
    font-size: 20px;
    font-weight: 800;
    color: #FFF;
    font-family: 'Outfit', sans-serif;
    box-sizing: border-box;
    text-align: center;
    transition: all 0.25s ease;
}

.calc-input:focus {
    outline: none;
    border-color: var(--toxic-lime);
    box-shadow: 0 0 15px rgba(158, 255, 0, 0.25);
}

.calc-currency-symbol {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    font-weight: 800;
    color: var(--toxic-lime);
}

.calc-presets {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.calc-preset-chip {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #A3B5A8;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
}

.calc-preset-chip:hover, .calc-preset-chip.active {
    background: var(--toxic-lime);
    border-color: var(--toxic-lime);
    color: #000;
    box-shadow: 0 0 10px rgba(158, 255, 0, 0.2);
}

/* Aggregator Comparison Table */
.aggregator-table-container {
    width: 100%;
    overflow-x: auto;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.4);
    margin-top: 10px;
}

.aggregator-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Outfit', sans-serif;
    text-align: left;
    min-width: 850px;
}

.aggregator-table th {
    background: rgba(10, 15, 11, 0.8);
    color: #708075;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.aggregator-table td {
    padding: 16px 20px;
    font-size: 14px;
    color: #FFF;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.aggregator-table tr {
    transition: background 0.15s ease;
}

.aggregator-table tr:hover {
    background: rgba(158, 255, 0, 0.02);
}

.aggregator-table tr.row-locked {
    opacity: 0.35;
    background: rgba(255, 0, 0, 0.02);
}

.aggregator-table tr.row-locked td {
    color: #64756a;
}

/* Highlight Best Values */
.best-badge {
    background: rgba(158, 255, 0, 0.1);
    color: var(--toxic-lime);
    border: 1px solid rgba(158, 255, 0, 0.3);
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
    display: inline-block;
    box-shadow: 0 0 6px rgba(158, 255, 0, 0.1);
}

.status-badge {
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
    display: inline-block;
}

.status-badge.status-ready {
    background: rgba(0, 255, 100, 0.1);
    color: #00FF64;
}

.status-badge.status-locked {
    background: rgba(255, 0, 0, 0.1);
    color: #FF003C;
}

.row-locked .best-badge {
    background: rgba(255, 255, 255, 0.05);
    color: #55635a;
    border-color: transparent;
    box-shadow: none;
}
    .footer-container {
        grid-template-columns: 1fr;
        gap: 35px;
        padding-bottom: 20px;
    }
    .footer-links-group h4,
    .footer-compliance h4 {
        margin-bottom: 16px;
    }
    .nav-bar {
        padding: 15px 20px;
    }
}

.cta-arrow {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.btn-earn:hover .cta-arrow {
    transform: translate(2px, -2px);
}

.copy-icon {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    flex-shrink: 0;
}
.copy-btn:hover .copy-icon, .table-copy-btn:hover .copy-icon {
    transform: scale(1.15);
}

/* Desktop defaults for details & actions */
.protocol-card details {
    width: 100%;
}
.protocol-card summary {
    display: none; /* Hide summary accordion on desktop */
}
.card-actions-row {
    display: flex;
    gap: 12px;
    width: 100%;
    margin-top: auto;
}
.btn-play-now {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background-color: var(--toxic-lime);
    color: #000;
    border: 2px solid var(--toxic-lime);
    border-radius: 30px;
    padding: 14px;
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 1.5px;
    transition: all 0.2s ease;
    flex-grow: 2;
}
.btn-play-now:hover {
    box-shadow: 0 4px 12px rgba(158, 255, 0, 0.3);
}
.btn-review-link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    color: var(--text-dark);
    border: 2px solid #D1D8D2;
    border-radius: 30px;
    padding: 14px 22px;
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 1px;
    transition: all 0.2s ease;
}
.btn-review-link:hover {
    border-color: var(--text-dark);
    background-color: rgba(0,0,0,0.02);
}

@media (max-width: 768px) {
    
    /* Summary details container for mobile */
    .protocol-card details {
        grid-column: 2 / span 2 !important;
        display: block !important;
        width: 100% !important;
    }
    
    .protocol-card summary {
        display: block !important;
        font-size: 11px !important;
        color: #7A8F80 !important;
        font-weight: 700 !important;
        cursor: pointer !important;
        list-style: none !important;
        margin-top: 4px !important;
        outline: none !important;
        user-select: none !important;
    }
    .protocol-card summary::-webkit-details-marker {
        display: none !important;
    }
    
    .protocol-card summary .toggle-lbl::after {
        content: " ▾" !important;
    }
    .protocol-card details[open] summary .toggle-lbl::after {
        content: " ▴" !important;
    }
    
    /* Collapsed & expanded transitions */
    .protocol-card details .details-content {
        margin-top: 8px !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
    }
    
    
    /* Flat horizontal specs tags when expanded */
    .protocol-card details .specs-box {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        gap: 6px !important;
        padding: 0 !important;
        border: none !important;
        background: transparent !important;
        margin-bottom: 0 !important;
    }
    
    .protocol-card details .specs-box .spec-row {
        flex: 1 1 calc(50% - 6px) !important;
        background: rgba(0,0,0,0.03) !important;
        border: 1px solid rgba(0,0,0,0.05) !important;
        padding: 4px 6px !important;
        border-radius: 6px !important;
        font-size: 9px !important;
    }
    
    /* Action row in grid-column 3 on mobile (Play Now & Review stacked or compact) */
    .card-actions-row {
        grid-column: 3 !important;
        grid-row: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 5px !important;
        align-self: center !important;
        width: 82px !important;
        min-height: 73px !important;
        justify-content: center !important;
        transform: translateZ(0) !important;
        will-change: transform !important;
    }
    
    .btn-play-now,
    .btn-review-link {
        height: 34px !important;
        min-height: 34px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 20px !important;
        width: 100% !important;
        text-align: center !important;
        font-size: 10px !important;
        font-weight: 800 !important;
        letter-spacing: 0.5px !important;
        box-sizing: border-box !important;
        line-height: 1.1 !important;
        padding: 0 4px !important;
        margin: 0 !important;
    }

    .btn-play-now {
        background-color: var(--toxic-lime) !important;
        color: #000 !important;
        border: 2px solid var(--toxic-lime) !important;
    }

    .btn-review-link {
        background-color: #FAFBF9 !important;
        color: var(--text-dark) !important;
        border: 1.5px solid #A3B5A8 !important;
    }

    .btn-review-link:hover,
    .btn-review-link:active {
        border-color: var(--text-dark) !important;
        background-color: #EAECE6 !important;
    }
}

/* Desktop display rules for helper classes */
.mobile-only {
    display: none !important;
}
.desktop-only {
    display: block !important;
}
.specs-box.desktop-only {
    display: flex !important;
}
.code-copy-box.desktop-only {
    display: flex !important;
}
.card-actions-row.desktop-only {
    display: flex !important;
}

@media (max-width: 768px) {
    .desktop-only,
    .specs-box.desktop-only,
    .code-copy-box.desktop-only,
    .btn-earn.desktop-only,
    .card-actions-row.desktop-only,
    p.desktop-only,
    a.desktop-only {
        display: none !important;
    }
    .mobile-only {
        display: block !important;
    }
    .mobile-only.mobile-bonus-title {
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        font-size: 11px !important;
        line-height: 1.3 !important;
        color: #4A564E !important;
        font-weight: 600 !important;
        height: 2.6em !important;
        margin-bottom: 2px !important;
    }
    .mobile-only.card-actions-row {
        display: flex !important;
    }
    details.mobile-only {
        display: block !important;
    }
}

/* ==========================================
   HAMBURGER MENU & DRAWER STYLES
   ========================================== */
.burger-trigger-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    padding: 8px 16px;
    border-radius: 30px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
    letter-spacing: 1px;
}
.burger-trigger-btn:hover {
    border-color: var(--toxic-lime);
    background: rgba(158, 255, 0, 0.1);
    color: var(--toxic-lime);
    box-shadow: 0 4px 14px rgba(158, 255, 0, 0.2);
}
.burger-icon-bars {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 16px;
}
.burger-icon-bars span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: currentColor;
    border-radius: 2px;
}

/* Nav Drawer Slide-over */
.nav-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    z-index: 999998 !important;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.nav-drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

.nav-drawer-panel {
    position: fixed;
    top: 0;
    right: -340px;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    background: #0b0f12;
    border-left: 1px solid rgba(158, 255, 0, 0.2);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.8);
    z-index: 999999 !important;
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
}
.nav-drawer-panel.active {
    right: 0;
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.drawer-close-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}
.drawer-close-btn:hover {
    background: var(--toxic-lime);
    color: #000;
}

.drawer-section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: #708075;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.drawer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.drawer-nav-item a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    color: #fff;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}
.drawer-nav-item a:hover {
    background: rgba(158, 255, 0, 0.1);
    border-color: rgba(158, 255, 0, 0.4);
    color: var(--toxic-lime);
    transform: translateX(4px);
}

/* Multi-column Footer Layout */
.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 36px;
}
@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 600px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}


/* ==========================================
   MASTER HEADER NAVIGATION (DESKTOP & MOBILE)
   ========================================== */

/* DESKTOP (> 768px): MENU > Language selector > ACTIVE PLAYERS (all 1 row, uniform 38px height) */
.nav-bar {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 25px 50px !important;
    background: transparent !important;
    position: relative !important;
    z-index: 99999 !important;
}

.logo {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.logo-icon {
    width: 32px !important;
    height: 32px !important;
    flex-shrink: 0 !important;
}

.logo-text {
    font-size: 18px !important;
    font-weight: 800 !important;
    white-space: nowrap !important;
    letter-spacing: 1px !important;
}

.nav-actions {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 12px !important;
    margin: 0 !important;
}

.nav-sub-row {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 12px !important;
    order: 1 !important; /* MENU & EN selector FIRST on desktop */
}

.live-counter {
    order: 2 !important; /* ACTIVE PLAYERS counter AFTER EN selector on desktop */
}

/* Uniform Pill Design on Desktop (38px height) */
.live-counter,
.burger-trigger-btn,
.lang-btn {
    height: 38px !important;
    padding: 0 16px !important;
    font-size: 12px !important;
    font-family: 'Space Grotesk', sans-serif !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    border-radius: 30px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
    line-height: 1 !important;
    transition: all 0.25s ease !important;
}

.burger-trigger-btn:hover,
.lang-btn:hover {
    border-color: var(--toxic-lime) !important;
    background: rgba(158, 255, 0, 0.1) !important;
    color: var(--toxic-lime) !important;
    box-shadow: 0 4px 14px rgba(158, 255, 0, 0.2) !important;
}

.lang-selector {
    position: relative !important;
    top: 0 !important;
    right: 0 !important;
    display: inline-block !important;
}

/* MOBILE (<= 768px): Stacked right side (counter top, MENU & EN below) */
@media (max-width: 768px) {
    .nav-bar {
        padding: 12px 14px !important;
        align-items: flex-start !important;
    }
    .logo {
        gap: 6px !important;
        margin-top: 4px !important;
    }
    .logo-icon {
        width: 24px !important;
        height: 24px !important;
    }
    .logo-text {
        font-size: 13px !important;
        letter-spacing: 0.5px !important;
    }
    .nav-actions {
        flex-direction: column !important;
        align-items: flex-end !important;
        gap: 6px !important;
    }
    .live-counter {
        order: 1 !important; /* Top right on mobile */
        align-self: flex-end !important;
    }
    .nav-sub-row {
        order: 2 !important; /* Under counter on mobile */
        gap: 6px !important;
    }
    .live-counter,
    .burger-trigger-btn,
    .lang-btn {
        height: 32px !important;
        padding: 0 12px !important;
        font-size: 11px !important;
        letter-spacing: 0.5px !important;
    }
}

/* Payment Chips & SVGs Sizing */
.pay-chip {
    display: inline-flex !important;
    align-items: center !important;
    gap: 9px !important;
    background: rgba(255,255,255,0.03) !important;
    border: 1px solid rgba(255,255,255,0.07) !important;
    border-radius: 12px !important;
    padding: 8px 14px !important;
    font-size: 12px !important;
    color: #c8d5cd !important;
    font-weight: 600 !important;
    transition: all 0.2s !important;
    max-height: 40px !important;
}

.pay-chip svg {
    width: 24px !important;
    height: 24px !important;
    max-width: 24px !important;
    max-height: 24px !important;
    flex-shrink: 0 !important;
    object-fit: contain !important;
}


/* ──────────────────────────────────────── */
/* Author Byline (E-E-A-T)                 */
/* ──────────────────────────────────────── */
.review-author-byline {
    font-size: 13px !important;
    color: #8FA896 !important;
    margin-top: 10px !important;
    margin-bottom: 20px !important;
    line-height: 1.5 !important;
    display: block !important;
}

.review-author-byline .author-link,
.review-author-byline .author-link:link,
.review-author-byline .author-link:visited,
.review-author-byline .author-link:active,
.review-author-byline .author-link:focus {
    color: #9EFF00 !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    transition: opacity 0.2s ease !important;
}

.review-author-byline .author-link:hover {
    color: #9EFF00 !important;
    opacity: 0.85 !important;
    text-decoration: none !important;
}

/* Language dropdown active state */
.lang-dropdown a.active {
    color: #9EFF00;
    font-weight: 600;
    pointer-events: none;
}
