/* ============================================
   ULTRA HACKER THEME - SISTEMA RTP v2.0
   100% Mobile-First | Portuguese | Square Images
   ============================================ */

:root {
    /* Ultra Dark Color Palette - Deep Navy Blue Theme */
    --bg-primary: #050a1e;
    --bg-secondary: #0a0e27;
    --bg-tertiary: #0d1529;
    --bg-card: #0d1126;
    --bg-console: #000000;
    
    /* Neon Accent Colors */
    --accent-cyan: #00f0ff;
    --accent-green: #00ff88;
    --accent-blue: #0088ff;
    --accent-purple: #b800ff;
    --accent-red: #ff0055;
    --accent-yellow: #ffd700;
    --accent-orange: #ff6600;
    
    /* Text Colors */
    --text-primary: #e0e6ff;
    --text-secondary: #8b95c0;
    --text-muted: #4a5578;
    --text-highlight: #00f0ff;
    
    /* Effects */
    --border-color: #1e2847;
    --glow-cyan: 0 0 20px rgba(0, 240, 255, 0.4);
    --glow-green: 0 0 20px rgba(0, 255, 136, 0.4);
    --glow-red: 0 0 20px rgba(255, 0, 85, 0.4);
    
    /* Fonts */
    --font-primary: 'Orbitron', sans-serif;
    --font-mono: 'Share Tech Mono', monospace;
}

/* ============================================
   RESET & BASE
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--font-primary);
    background: linear-gradient(135deg, #030814 0%, #050a1e 50%, #0a0e27 100%);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* ============================================
   TERMINAL BACKGROUND
   ============================================ */

.terminal-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.grid-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 240, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 240, 255, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    animation: gridMove 25s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(40px, 40px); }
}

.scan-line {
    position: absolute;
    top: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--accent-cyan), 
        transparent);
    box-shadow: 0 0 15px var(--accent-cyan);
    animation: scanLine 5s linear infinite;
}

@keyframes scanLine {
    0% { transform: translateY(0); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateY(100vh); opacity: 0; }
}

.data-stream {
    position: absolute;
    top: -45%;
    left: 0;
    width: 100%;
    height: 200%;
    opacity: 0.03;
    font-family: var(--font-mono);
    font-size: 20px;
    color: var(--accent-green);
    overflow: hidden;
    animation: dataStream 20s linear infinite;
}

@keyframes dataStream {
    0% { transform: translateY(0); }
    100% { transform: translateY(10%); }
}

/* ============================================
   SYSTEM STATUS BAR
   ============================================ */

.system-status-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 36px;
    background: linear-gradient(180deg, #000000 0%, #0a0e27 100%);
    border-bottom: 1px solid var(--accent-cyan);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
    z-index: 1000;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 1px;
    box-shadow: 0 2px 10px rgba(0, 240, 255, 0.2);
}

.status-group {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Three-column layout: left | center (online) | right */
.status-group-left  { flex: 1; justify-content: flex-start; }
.status-group-right { flex: 1; justify-content: flex-end; }

/* Online count item sits in the middle column, perfectly centered */
.status-item-center {
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

#onlineViewerCount {
    min-width: 2.8em;
    text-align: center;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.status-icon {
    color: var(--accent-green);
    font-size: 8px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.status-label {
    color: var(--text-muted);
    text-transform: uppercase;
}

.status-value {
    color: var(--accent-cyan);
    font-weight: 700;
}

.status-online {
    color: var(--accent-green);
}

/* Online counter value in status bar — bigger + glowing */
#onlineViewerCount {
    font-size: 13px;
    font-weight: 900;
    color: #00ff88 !important;
    text-shadow: 0 0 8px rgba(0, 255, 136, 0.7);
    letter-spacing: 0.5px;
}

/* ============================================
   MAIN HEADER
   ============================================ */

.main-header {
    position: sticky;
    top: 64px;  /* 36px status bar + 28px ticker */
    background: rgba(5, 10, 30, 0.98);
    backdrop-filter: blur(15px);
    border-bottom: 2px solid var(--accent-cyan);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.7), var(--glow-cyan);
    z-index: 999;
    padding: 5px 0;
    margin-top: 64px; /* 36px status bar + 28px ticker */
}

.terminal-prompt {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--accent-green);
    padding: 4px 0;
    text-align: center;
    background: var(--bg-console);
    border-bottom: 1px solid var(--border-color);
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding-left: 15px;
    padding-right: 15px;
}


.prompt-symbol {
    color: var(--accent-cyan);
}

.prompt-command {
    color: var(--accent-green);
    margin-left: 10px;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0px;
    padding: 6px 0;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 3px;
    font-weight: 900;
    font-size: 16px;
}

.logo-bracket {
    color: var(--accent-cyan);
    font-size: 18px;
}

.logo-text {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
}

.logo-best-rtp {
    font-family: var(--font-mono);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #ffd700;
    background: rgba(255, 215, 0, 0.12);
    border: 1px solid rgba(255, 215, 0, 0.5);
    border-radius: 3px;
    padding: 1px 5px;
    text-shadow: 0 0 6px rgba(255, 215, 0, 0.6);
    align-self: center;
    white-space: nowrap;
}

.version-tag {
    background: var(--bg-tertiary);
    border: 1px solid var(--accent-cyan);
    color: var(--accent-cyan);
    padding: 3px 8px;
    border-radius: 2px;
    font-size: 9px;
    font-family: var(--font-mono);
    font-weight: 700;
    margin-right: -49px;
    margin-left: 71px;
    position: relative;
}

.header-center {
    flex: 1;
    text-align: center;
    min-width: 180px;
    padding: 0 10px;
}

.main-title {
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: linear-gradient(135deg, #00f0ff, #00ff88);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    flex-wrap: wrap;
    line-height: 1.2;
}

.title-prefix, .title-suffix {
    color: var(--accent-cyan);
    font-size: 12px;
}

.subtitle {
    font-family: var(--font-mono);
    font-size: 9px;
    color: var(--text-secondary);
    letter-spacing: 1px;
    margin-top: 2px;
}

.header-right {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.system-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.info-item {
    font-family: var(--font-mono);
    font-size: 10px;
    display: flex;
    gap: 5px;
}

.info-label {
    color: var(--text-muted);
}

.info-value {
    color: var(--accent-cyan);
    font-weight: 700;
}

/* ============================================
   CONTAINER
   ============================================ */

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
    z-index: 1;
}

.main-content {
    padding-top: 20px;
}

/* ============================================
   LOAD MORE BUTTON
   ============================================ */

.load-more-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    padding-bottom: 20px;
    width: 100%;
}

.load-more-btn {
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-tertiary));
    border: 1px solid var(--accent-cyan);
    border-radius: 8px;
    padding: 12px 25px;
    color: var(--accent-cyan);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.1);
    letter-spacing: 1px;
    min-width: 200px;
    justify-content: center;
}

.load-more-btn:hover {
    background: rgba(0, 240, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
    transform: translateY(-2px);
    border-color: var(--accent-green);
    color: var(--accent-green);
}

.load-more-btn:active {
    transform: translateY(0);
}

.load-more-btn .btn-icon {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.load-more-btn:hover .btn-icon {
    transform: translateY(2px);
}

.load-more-btn .btn-count {
    background: var(--bg-console);
    padding: 2px 6px;
    border-radius: 4px;
    color: var(--accent-green);
    font-size: 10px;
    border: 1px solid var(--border-color);
}

/* ============================================
   CONSOLE SECTION
   ============================================ */

.console-section {
    margin-bottom: 20px;
}

.console-window {
    background: var(--bg-console);
    border: 1px solid var(--accent-cyan);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--glow-cyan);
    transition: all 0.3s ease;
}

.console-header {
    background: var(--bg-tertiary);
    padding: 5px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--accent-cyan);
    cursor: pointer;  /* added to show it's clickable */
}

.console-title {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    color: var(--accent-cyan);
    display: flex;
    align-items: center;
    gap: 8px;
}

.console-icon {
    color: var(--accent-green);
    animation: pulse 2s ease-in-out infinite;
}

.console-controls {
    display: flex;
    gap: 6px;
}

.control-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.control-minimize { background: var(--accent-yellow); }
.control-maximize { background: var(--accent-green); }
.control-close { background: var(--accent-red); }

.console-body {
    padding: 8px;
    font-family: var(--font-mono);
    font-size: 10px;
    max-height: 300px;  /* default height */
    transition: max-height 0.3s ease;
    overflow: hidden;
}

.console-line {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 3px 0;
    color: var(--text-secondary);
}

.console-prompt {
    color: var(--accent-cyan);
    font-weight: 700;
    min-width: 90px;
}

.console-text {
    flex: 1;
}

.console-status {
    font-weight: 700;
}

.console-ok {
    color: var(--accent-green);
}

.console-active {
    color: var(--accent-green);
    animation: pulse 2s ease-in-out infinite;
}

.console-window.minimized .console-body {
    max-height: 0;
    padding: 0;
}

.console-minimize-icon {
    transition: transform 0.3s ease;
}

.console-window.minimized .console-minimize-icon {
    transform: rotate(180deg);
}

/* ============================================
   BANNER AND TIMER WRAPPER
   ============================================ */

.banner-timer-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 10px;
}

/* Desktop: Side by side layout */
@media (min-width: 1024px) {
    .banner-timer-wrapper {
        flex-direction: row;
        gap: 15px;
        align-items: stretch;
        height: 380px;
    }
}

/* ============================================
   TIMER SECTION
   ============================================ */

.timer-section {
    margin-bottom: 0;
}

/* Timer Split Wrapper - Side by side on all screens */
.timer-split-wrapper {
    display: flex;
    flex-direction: row;
    gap: 10px;
    width: 100%;
    height: 100%;
}

/* ============================================
   ANIMATED GRADIENT BORDER - @property method
   ============================================ */

/* Define custom property for gradient angle animation */
@property --border-angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

/* Side Banner Container - Disco Neon Snake Border Effect */
.side-banner-container {
    display: flex;
    flex: 1;
    min-width: 0;
    min-height: 0;
    border-radius: 10px;
    position: relative;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.3s ease;
    
    /* The animated gradient border */
    --border-angle: 0deg;
    border: 3px solid transparent;
    background: 
        linear-gradient(var(--bg-secondary), var(--bg-tertiary)) padding-box,
        conic-gradient(from var(--border-angle), #ffd700, #b800ff, #ffd700, #b800ff, #ffd700) border-box;
    animation: snakeRotate 3s linear infinite;
}

/* Glow effect */
.side-banner-container::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 14px;
    background: conic-gradient(from var(--border-angle), #ffd700, #b800ff, #ffd700, #b800ff, #ffd700);
    filter: blur(12px);
    opacity: 0.6;
    z-index: -1;
    animation: snakeRotate 3s linear infinite;
}

@keyframes snakeRotate {
    to {
        --border-angle: 360deg;
    }
}

/* Inner content wrapper */
.side-banner-carousel {
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-tertiary));
    border-radius: 7px;
    overflow: hidden;
    width: 100%;
    height: 100%;
    position: relative;
}

/* Side Banner Link - Clickable hover effects */
.side-banner-link:hover {
    transform: scale(1.02);
    animation: snakeRotate 1.5s linear infinite;
}

.side-banner-link:hover::before {
    opacity: 0.9;
    filter: blur(15px);
    animation: snakeRotate 1.5s linear infinite;
}

.side-banner-link:active {
    transform: scale(0.98);
}

/* Mobile: Timer container takes half width and centers content */
.timer-section .timer-container {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Desktop: Timer takes 1 part (25% width) with split layout */
@media (min-width: 1024px) {
    .timer-section {
        flex: 0 0 25%;
        display: flex;
    }
    
    .timer-split-wrapper {
        flex-direction: column;
        height: 100%;
    }
    
    .timer-container {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        flex: 1;
        padding-top: 15px;
    }
    
    .timer-display {
        font-size: 42px;
    }
    
    /* Side Banner - Full width in column layout on desktop */
    .side-banner-container {
        width: 100%;
        flex: 1;
    }
}

/* ============================================
   MOBILE BANNER ROW (< 1024px)
   5 platform images in a single horizontal strip,
   timer sits alone below.
   ============================================ */

/* Hidden on desktop — shown only on mobile */
.mobile-banner-row {
    display: none;
}

@media (max-width: 1023px) {
    /* Switch timer-split wrapper to column so images are on top, timer below */
    .timer-split-wrapper {
        flex-direction: column;
        gap: 8px;
    }

    /* Row: flex container for the 5 fixed slots */
    .mobile-banner-row {
        display: flex;
        flex-direction: row;
        gap: 5px;
        width: 100%;
        padding: 6px 0;
        order: 1;
        align-items: stretch;
    }

    /* Timer alone, full width, below the images */
    .timer-container {
        order: 2;
        width: 100%;
        flex: none;
    }

    /* Hide the desktop carousel on mobile */
    .side-banner-container {
        display: none !important;
    }

    /* Never show the desktop-only ganhos clone in the left column on mobile */
    .timer-split-wrapper .ganhos-panel.ganhos-panel-desktop {
        display: none !important;
    }

    /*
     * Each slot is a FIXED positioned container.
     * overflow:hidden clips the outgoing/incoming images.
     * position:relative is required for the absolute <img> children.
     */
    .mb-item {
        position: relative;
        display: block;
        flex-shrink: 0;
        min-width: 0;
        aspect-ratio: 1 / 1;
        border-radius: 8px;
        overflow: hidden;
        border: 1px solid transparent;
        background:
            linear-gradient(var(--bg-secondary), var(--bg-tertiary)) padding-box,
            conic-gradient(from 0deg, #3f3535, #3f3535, #3f3535) border-box;
    }

    /* Both images fill the entire slot */
    .mb-img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: contain;
        display: block;
        transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
    }

    /* Current image: visible at centre */
    /* Initial positions — all motion is driven by JS inline styles */
    .mb-img-cur { transform: translateX(0); }
    .mb-img-nxt { transform: translateX(100%); }

    /* Square slots: 1 flex unit, 1:1 ratio */
    .mb-square {
        flex: 1 1 0;
        aspect-ratio: 1 / 1;
    }

    /* Long/center slot: 2 flex units — plus animated snake border */
    .mb-long {
        flex: 2 1 0;
        aspect-ratio: unset;
        --border-angle: 0deg;
        border: 3px solid transparent;
        background:
            linear-gradient(var(--bg-secondary), var(--bg-tertiary)) padding-box,
            conic-gradient(from var(--border-angle), #ffd700, #b800ff, #ffd700, #b800ff, #ffd700) border-box;
        animation: snakeRotate 2s linear infinite;
    }

    /* Outer glow that follows the snake on the long slot */
    .mb-long::before {
        content: '';
        position: absolute;
        inset: -4px;
        border-radius: 12px;
        background: conic-gradient(from var(--border-angle), #ffd700, #b800ff, #ffd700, #b800ff, #ffd700);
        filter: blur(10px);
        opacity: 0.75;
        z-index: -1;
        animation: snakeRotate 2s linear infinite;
        pointer-events: none;
    }
}

.timer-container {
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-tertiary));
    border: 2px solid var(--accent-cyan);
    border-radius: 10px;
    padding: 0px 0px; 
    text-align: center;
    box-shadow: var(--glow-cyan);
    position: relative;
    overflow: hidden;
    margin-top: 0px;
    padding-top: 0px; /* Reduced top padding to make container shorter */
}

.timer-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.timer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.timer-label {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-secondary);
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.timer-icon {
    color: var(--accent-cyan);
    font-size: 16px;
}

.timer-cycle {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--accent-green);
    background: var(--bg-console);
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid var(--accent-green);
}

.timer-display {
    font-family: var(--font-mono);
    /* Mobile: Smaller font for side-by-side layout */
    font-size: 36px;
    font-weight: 700;
    color: var(--accent-green);
    text-shadow: var(--glow-green);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px; /* Reduced gap between numbers and separator */
    margin-top: -10px; /* Reduced top margin to make container shorter */
    margin-bottom: -5px; /* Reduced bottom margin */
}

.timer-separator {
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.timer-progress {
    width: 100%;
    margin-bottom: 5px; /* Reduced bottom margin to make container shorter */
    padding: 0 10px;
}


/* Adjust progress bar to be thinner */
.timer-progress-bar {
    flex: 1;
    min-width: 0;
    height: 4px; /* Reduced height */
    background: var(--bg-console);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--accent-cyan);
    position: relative;
}

.timer-progress-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-green));
    box-shadow: 0 0 10px var(--accent-cyan);
    transition: width 1s linear;
}

.timer-progress-text {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 9px;
    color: var(--text-muted);
    margin-top: 5px;
}

#progressPercent {
    color: var(--accent-cyan);
    font-weight: 700;
}

.timer-info {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.info-dot {
    width: 6px;
    height: 6px;
    background: var(--accent-cyan);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

/* ============================================
   SECTION HEADERS
   ============================================ */

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    padding: 10px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-primary);
}

.section-icon {
    color: var(--accent-cyan);
    font-size: 14px;
    animation: pulse 2s ease-in-out infinite;
}

.section-badge {
    background: var(--accent-green);
    color: var(--bg-console);
    padding: 3px 10px;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 700;
}

.section-stats {
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: var(--font-mono);
    font-size: 11px;
}

.stats-value {
    color: var(--accent-green);
    font-weight: 700;
}

.stats-separator {
    color: var(--text-muted);
}

.stats-total {
    color: var(--text-secondary);
}

.section-refresh {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-muted);
}

.refresh-icon {
    color: var(--accent-cyan);
    animation: spin 2s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ============================================
   SIDE BANNER CAROUSEL (DESKTOP TIMER SPLIT)
   ============================================ */

/* Note: .side-banner-carousel is styled above in the snake border section */

.side-banner-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 0;
}

.side-banner-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.side-banner-slide a {
    display: flex;
    width: 100%;
    height: 100%;
    position: relative;
    align-items: center;
    justify-content: center;
    /* Inset so wide logos (e.g. POPTIG) are not clipped by the rounded card edge */
    padding: 6px 10px;
    box-sizing: border-box;
}

.side-banner-slide img {
    width: 100%;
    height: 100%;
    /* cover crops wide art in a tall slot; contain keeps the full logo visible */
    object-fit: contain;
    object-position: center;
}

.side-banner-slide.active {
    display: flex;
}

/* EM BREVE overlay for side banner - centered on top border (half inside, half outside) */
.em-breve-overlay {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    border: 1.5px solid var(--accent-yellow);
    border-radius: 4px;
    padding: 4px 10px;
    font-family: var(--font-mono);
    font-size: 8px;
    font-weight: 400;
    color: var(--accent-yellow);
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.8);
    letter-spacing: 1px;
    z-index: 20;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
    animation: emBrevePulse 2s ease-in-out infinite;
    white-space: nowrap;
}

@keyframes emBrevePulse {
    0%, 100% {
        opacity: 1;
        transform: translateX(-50%) translateY(-50%) scale(1);
    }
    50% {
        opacity: 0.9;
        transform: translateX(-50%) translateY(-50%) scale(1.05);
    }
}

/* Side Banner Dots */
.side-banner-dots {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
}

.side-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.side-dot.active {
    background: var(--accent-cyan);
    box-shadow: var(--glow-cyan);
    width: 16px;
    border-radius: 4px;
}

/* Shimmer effect for side banner */
.side-banner-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.1), transparent);
    animation: shimmer 4s infinite;
    z-index: 5;
    pointer-events: none;
}

/* ============================================
   CAROUSEL
   ============================================ */

.banner-carousel {
    padding-bottom: 0px;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 820px;
    overflow: hidden;
    border-radius: 10px;
    border: 2px solid var(--accent-cyan);
    box-shadow: var(--glow-cyan);
    padding-right: -10px;
    margin-right: -10px;
    object-fit: stretch;
}

/* Desktop: Banner takes 3 parts (75% width) */
@media (min-width: 1024px) {
    .banner-carousel {
        flex: 1;
        display: flex;
        min-height: 380px;
    }
    
    .carousel-container {
        height: 380px;
        width: 100%;
        aspect-ratio: auto;
    }
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    display: block;
    text-decoration: none;
    cursor: pointer;
}

.carousel-slide--disabled {
    cursor: default;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: stretch;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 60%, rgba(5, 10, 30, 0.9) 100%);
    padding-right: -10px;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 240, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid var(--accent-cyan);
    color: var(--accent-cyan);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover, .carousel-btn:active {
    background: var(--accent-cyan);
    color: var(--bg-console);
    box-shadow: var(--glow-cyan);
}

.carousel-btn-prev { left: 10px; }
.carousel-btn-next { right: 10px; }

.carousel-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--accent-cyan);
    box-shadow: var(--glow-cyan);
    width: 24px;
    border-radius: 4px;
}

/* ============================================
   PROVIDER SECTION
   ============================================ */

.provider-section {
    margin-bottom: -10px;
}

.provider-selector {
    width: 100%;
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-tertiary));
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-mono);
    color: var(--text-primary);
}

.provider-selector:hover, .provider-selector:active {
    border-color: var(--accent-cyan);
    box-shadow: var(--glow-cyan);
}

.selector-icon {
    color: var(--accent-cyan);
    font-size: 14px;
    transition: transform 0.3s ease;
}

.provider-menu.active ~ .provider-selector .selector-icon {
    transform: rotate(180deg);
}

.selector-name {
    flex: 1;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
}

.selector-count {
    color: var(--accent-green);
    font-size: 12px;
    font-weight: 700;
}

.selector-status {
    color: var(--accent-green);
    font-size: 12px;
    animation: pulse 2s ease-in-out infinite;
}

.provider-menu {
    background: var(--bg-console);
    border: 2px solid var(--accent-cyan);
    border-radius: 10px;
    margin-top: 10px;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: var(--glow-cyan);
}

.provider-menu.active {
    max-height: 600px;
    opacity: 1;
}

.provider-menu-header {
    background: var(--bg-tertiary);
    padding: 12px 15px;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    color: var(--accent-cyan);
    border-bottom: 1px solid var(--accent-cyan);
    display: flex;
    align-items: center;
    gap: 8px;
}

.menu-icon {
    color: var(--accent-green);
}

.provider-item {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border-color);
    padding: 14px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-mono);
    color: var(--text-primary);
    min-height: 48px;
}

.provider-item:last-child {
    border-bottom: none;
}

.provider-item:hover, .provider-item:active {
    background: var(--bg-tertiary);
}

.provider-item.active {
    background: rgba(0, 240, 255, 0.1);
    border-left: 3px solid var(--accent-cyan);
}

.provider-indicator {
    color: var(--text-muted);
    font-size: 10px;
}

.provider-item.active .provider-indicator {
    color: var(--accent-green);
    animation: pulse 2s ease-in-out infinite;
}

.provider-text {
    flex: 1;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}

.provider-game-count {
    color: var(--accent-cyan);
    font-size: 11px;
    font-weight: 700;
}

.provider-arrow {
    color: var(--text-muted);
    font-size: 14px;
}

/* ============================================
   GAMES GRID - MOBILE FIRST
   ============================================ */

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
    margin-top: 15px;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.games-grid.refreshing {
    animation: gridPulse 0.6s ease;
}

@keyframes gridPulse {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(0.98);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* ============================================
   GAME CARDS - SQUARE IMAGES (1:1)
   ============================================ */

.game-card {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.game-card:hover, .game-card:active {
    transform: translateY(-4px);
    border-color: var(--accent-cyan);
    box-shadow: 0 8px 25px rgba(0, 240, 255, 0.4);
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent, rgba(0, 240, 255, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.game-card:hover::before, .game-card:active::before {
    opacity: 1;
}

/* CRITICAL: SQUARE IMAGES (318:416 RATIO) */
.game-image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: var(--bg-console);
}

.game-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.game-card:hover .game-image, .game-card:active .game-image {
    transform: scale(1.05);
}

.game-priority-badge {
    position: absolute;
    top: 6px;
    left: 6px;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    border: 1px solid;
    padding: 3px 8px;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1px;
    z-index: 2;
}

.priority-1 { border-color: #ffd700; color: #ffd700; box-shadow: 0 0 10px rgba(255, 215, 0, 0.5); }
.priority-2 { border-color: #ff4081; color: #ff4081; box-shadow: 0 0 10px rgba(255, 64, 129, 0.5); }
.priority-3 { border-color: #00ff88; color: #00ff88; box-shadow: 0 0 10px rgba(0, 255, 136, 0.5); }

.game-info {
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.game-provider {
    font-family: var(--font-mono);
    font-size: 9px;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.game-rtp-container {
    display: flex;
    flex-direction: column; /* Changed from row to column to stack text and bar */
    background: var(--bg-console);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 8px 10px;
    gap: 4px; /* Added gap between text row and bar */
}

.rtp-text-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.rtp-label {
    font-family: var(--font-mono);
    font-size: 9px;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.rtp-value {
    font-family: var(--font-mono);
    font-size: 18px;
    font-weight: 900;
    letter-spacing: 1px;
}

.rtp-high {
    color: var(--accent-green);
    text-shadow: var(--glow-green);
}

.rtp-medium {
    color: var(--accent-yellow);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.rtp-low {
    color: var(--accent-red);
    text-shadow: var(--glow-red);
}

.game-multiplier {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-tertiary);
    border-radius: 6px;
    padding: 6px 10px;
    border: 1px solid var(--border-color);
}

.multiplier-value {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 1px;
}

.multiplier-low { color: var(--text-secondary); }
.multiplier-medium { color: var(--accent-yellow); }
.multiplier-high { color: var(--accent-green); }

.multiplier-icons {
    display: flex;
    gap: 3px;
    font-size: 11px;
}

.icon-check { color: var(--accent-green); }
.icon-cross { color: var(--accent-red); opacity: 0.5; }

/* ============================================
   FLOATING TELEGRAM ICON (mobile-first)
   ============================================ */

.floating-telegram {
    position: fixed;
    right: 12px;
    bottom: calc(96px + env(safe-area-inset-bottom)); /* keep above floating timer */
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #229ed9, #0088cc);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    box-shadow: 0 6px 22px rgba(0, 136, 204, 0.45);
    border: 2px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: box-shadow 0.25s ease;
    -webkit-tap-highlight-color: transparent;
    animation: socialBreathe 2s ease-in-out infinite;
}

.floating-telegram:hover {
    box-shadow: 0 10px 28px rgba(0, 136, 204, 0.65);
    animation: socialBreathe 1s ease-in-out infinite;
}

.floating-telegram:active {
    transform: scale(0.92);
    animation: none;
}

.telegram-icon {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.35));
}

/* Breathing animation for social buttons */
@keyframes socialBreathe {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.08);
    }
}


.floating-whatsapp {
    position: fixed;
    right: 12px;
    bottom: calc(160px + env(safe-area-inset-bottom)); /* above telegram button */
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25d366, #128c7e);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    box-shadow: 0 6px 22px rgba(37, 211, 102, 0.45);
    border: 2px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: box-shadow 0.25s ease;
    -webkit-tap-highlight-color: transparent;
    animation: socialBreathe 2s ease-in-out infinite;
}

.floating-whatsapp:hover {
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.65);
    animation: socialBreathe 1s ease-in-out infinite;
}

.floating-whatsapp:active {
    transform: scale(0.92);
    animation: none;
}

.whatsapp-icon {
    width: 32px;
    height: 32px;
    color: #ffffff;
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.35));
}

/* Very short screens: tuck closer to bottom */
@media (max-height: 640px) {
    .floating-telegram {
        bottom: calc(76px + env(safe-area-inset-bottom));
        width: 50px;
        height: 50px;
    }
    .telegram-icon { width: 100%; height: 100%; }
    
    .floating-whatsapp {
        bottom: calc(134px + env(safe-area-inset-bottom));
        width: 50px;
        height: 50px;
    }
    .whatsapp-icon { width: 28px; height: 28px; }
}

/* Tablets+ can float mid-right if space allows */
@media (min-width: 768px) and (min-height: 820px) {
    .floating-telegram {
        bottom: auto;
        top: 50%;
    }
    
    .floating-whatsapp {
        bottom: auto;
        top: calc(50% - 70px);
    }
}

/* ============================================
   FLOATING TIMER BUTTON - FUTURISTIC EFFECTS
   ============================================ */

.floating-timer-button {
    position: fixed;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-primary);
    padding: 12px 20px;
    border-radius: 15px;
    font-family: var(--font-mono);
    cursor: pointer;
    z-index: 999;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 200px;
    min-height: 80px;
    overflow: visible;
    
    /* Solid dark background */
    background: linear-gradient(135deg, #0a0e27, #0d1529);
    border: none;
    isolation: isolate;
}

/* Animated snake border */
.floating-timer-button::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 18px;
    background: conic-gradient(from var(--border-angle), #ffd700, #b800ff, #ffd700, #b800ff, #ffd700);
    z-index: -2;
    animation: connectorSnakeRotate 3s linear infinite;
}

/* Inner mask to show only the border */
.floating-timer-button::after {
    content: '';
    position: absolute; 
    inset: 0;
    border-radius: 15px;
    background: linear-gradient(135deg, #0a0e27, #0d1529);
    z-index: -1;
}

/* Glow effect - separate element needed, using box-shadow instead */
.floating-timer-button {
    box-shadow: 
        0 0 15px rgba(255, 215, 0, 0.3),
        0 0 30px rgba(184, 0, 255, 0.2);
}

@keyframes connectorSnakeRotate {
    to {
        --border-angle: 360deg;
    }
}

/* floatingPulse removed - now using snake border effect */

@keyframes rotateGradient {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes scanEffect {
    0% { left: -100%; opacity: 0; }
    50% { opacity: 1; }
    100% { left: 100%; opacity: 0; }
}

.floating-timer-button:hover {
    transform: translateX(-50%) translateY(-5px) scale(1.05);
    box-shadow: 
        0 0 25px rgba(255, 215, 0, 0.5),
        0 0 50px rgba(184, 0, 255, 0.4);
}

.floating-timer-button:hover::before {
    animation: connectorSnakeRotate 1.5s linear infinite;
}

.floating-timer-button:active {
    transform: translateX(-50%) translateY(-2px) scale(0.98);
    animation: none;
}

.floating-timer-text {
    font-size: 12px;
    font-weight: 900;
    color: var(--accent-cyan);
    text-shadow: var(--glow-cyan);
    letter-spacing: 2px;
    margin-bottom: 2px;
}

.floating-timer-display {
    font-size: 20px;
    font-weight: bold;
    color: var(--accent-green);
    text-shadow: var(--glow-green);
    display: flex;
    align-items: center;
    gap: 4px;
    letter-spacing: 1px;
}

.floating-timer-clock {
    font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", emoji, sans-serif;
    font-size: 16px;
    line-height: 1;
    flex-shrink: 0;
    text-shadow: none;
}

.floating-timer-separator {
    animation: blink 1s step-end infinite;
}

.floating-timer-progress {
    width: 100%;
    height: 3px;
    background: var(--bg-console);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.floating-timer-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-green));
    border-radius: 2px;
    transition: width 0.1s ease;
    box-shadow: 0 0 8px var(--accent-cyan);
}

.floating-timer-pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    background: rgba(0, 240, 255, 0.2);
    animation: timerPulse 3s infinite;
    pointer-events: none;
}

@keyframes timerPulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.3;
    }
    100% {
        transform: scale(1);
        opacity: 0.7;
    }
}

/* ============================================
   POPUP BANNER WITH SHOCKWAVE EFFECT
   ============================================ */

.popup-banner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(15px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
    overflow: visible;
}

.popup-banner-overlay.active {
    display: flex;
    opacity: 1;
}

.popup-banner-container {
    position: relative;
    max-width: 560px;
    width: 90%;
    height: auto;
    border-radius: 20px;
    overflow: visible;
    animation: popupBannerAppear 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    transform-origin: center center;
    padding: 0;
    margin: 0;
}

@keyframes popupBannerAppear {
    0% {
        transform: scale(0.5) rotate(-5deg);
        opacity: 0;
    }
    50% {
        transform: scale(1.05) rotate(2deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

.popup-banner-image-wrapper {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 732 / 320;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 0 40px rgba(255, 215, 0, 0.6),
        0 0 80px rgba(184, 0, 255, 0.4),
        0 0 120px rgba(0, 240, 255, 0.3),
        inset 0 0 30px rgba(255, 215, 0, 0.2);
    background: linear-gradient(var(--bg-secondary), var(--bg-tertiary));
    animation: borderGlow 3s ease-in-out infinite;
}

.popup-banner-image-wrapper::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 22px;
    background: conic-gradient(from 0deg, #ffd700, #b800ff, #00f0ff, #00ff88, #ffd700);
    z-index: -1;
    animation: borderRotate 4s linear infinite;
    opacity: 0.9;
}

.popup-banner-image-wrapper::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 19px;
    background: linear-gradient(var(--bg-secondary), var(--bg-tertiary));
    z-index: -1;
}

@keyframes borderRotate {
    to {
        transform: rotate(360deg);
    }
}

@keyframes borderGlow {
    0%, 100% {
        box-shadow: 
            0 0 40px rgba(255, 215, 0, 0.6),
            0 0 80px rgba(184, 0, 255, 0.4),
            0 0 120px rgba(0, 240, 255, 0.3),
            inset 0 0 30px rgba(255, 215, 0, 0.2);
    }
    50% {
        box-shadow: 
            0 0 60px rgba(255, 215, 0, 0.8),
            0 0 100px rgba(184, 0, 255, 0.6),
            0 0 140px rgba(0, 240, 255, 0.5),
            inset 0 0 40px rgba(255, 215, 0, 0.3);
    }
}

.popup-banner-link {
    display: block;
    width: 100%;
    height: auto;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.popup-banner-link:hover {
    transform: scale(1.02);
}

.popup-banner-link:active {
    transform: scale(0.98);
}

.popup-banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 17px;
    animation: imagePulse 3s ease-in-out infinite;
    pointer-events: none;
    position: absolute;
    top: 0;
    left: 0;
}

/* Stylish Register Button */
.popup-register-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    margin-top: 15px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #ffd700 0%, #ff8c00 50%, #ffd700 100%);
    background-size: 200% 200%;
    border: none;
    border-radius: 12px;
    color: #000;
    font-family: var(--font-primary);
    font-size: 18px;
    font-weight: 900;
    letter-spacing: 2px;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 
        0 4px 15px rgba(255, 215, 0, 0.5),
        0 8px 30px rgba(255, 140, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    animation: buttonShine 3s ease-in-out infinite;
    z-index: 5;
}

@keyframes buttonShine {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.popup-register-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transition: left 0.6s ease;
}

.popup-register-btn:hover::before {
    left: 100%;
}

.popup-register-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 6px 25px rgba(255, 215, 0, 0.7),
        0 12px 40px rgba(255, 140, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.popup-register-btn:active {
    transform: translateY(-1px) scale(0.98);
}

.register-btn-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(255, 215, 0, 0.3) 0%, transparent 70%);
    animation: btnGlowPulse 2s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes btnGlowPulse {
    0%, 100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.register-btn-text {
    position: relative;
    z-index: 2;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.register-btn-icon {
    position: relative;
    z-index: 2;
    font-size: 16px;
    animation: iconBounce 1.5s ease-in-out infinite;
}

@keyframes iconBounce {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(5px);
    }
}

.popup-register-btn:hover .register-btn-icon {
    animation: none;
    transform: translateX(8px);
}

@keyframes imagePulse {
    0%, 100% {
        filter: brightness(1) saturate(1);
    }
    50% {
        filter: brightness(1.1) saturate(1.2);
    }
}

/* ============================================
   POPUP BANNER CAROUSEL
   ============================================ */

.popup-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 17px;
}

.popup-carousel-track {
    display: flex;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.popup-carousel-slide {
    min-width: 100%;
    flex-shrink: 0;
}

/* Disable the scale-on-hover inside the carousel to avoid clipping */
.popup-carousel .popup-banner-link:hover {
    transform: none;
}

.popup-carousel .popup-banner-link {
    display: block;
    width: 100%;
    height: auto;
}

/* EM BREVE on PopFoi popup slide — above banner image, clicks pass through to link */
.popup-carousel .popup-banner-image-wrapper .platform-hot {
    z-index: 5;
    pointer-events: none;
}

/* Arrow navigation buttons */
.popup-carousel-prev,
.popup-carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 30px;
    line-height: 1;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s;
    padding: 0;
}

.popup-carousel-prev { left: 10px; }
.popup-carousel-next { right: 10px; }

.popup-carousel-prev:hover,
.popup-carousel-next:hover {
    background: rgba(255, 215, 0, 0.75);
    color: #000;
    transform: translateY(-50%) scale(1.1);
}

/* Slide dots */
.popup-carousel-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 20;
}

.popup-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: background 0.25s, transform 0.25s;
    border: none;
}

.popup-dot.active {
    background: #ffd700;
    transform: scale(1.35);
    box-shadow: 0 0 6px rgba(255, 215, 0, 0.8);
}

.popup-banner-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.3) 0%, transparent 70%);
    animation: glowPulse 2s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes glowPulse {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

/* Shockwave rings - Slow, thin waves emanating from container edges outward periodically */
.shockwave-ring {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid;
    border-radius: 20px;
    pointer-events: none;
    z-index: -2;
    margin: 0;
    box-sizing: border-box;
}

.shockwave-ring-1 {
    border-color: rgba(255, 215, 0, 0.8);
    animation: shockwaveEmanate 6s ease-out 0s infinite;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
}

.shockwave-ring-2 {
    border-color: rgba(184, 0, 255, 0.7);
    animation: shockwaveEmanate 6s ease-out 2s infinite;
    box-shadow: 0 0 20px rgba(184, 0, 255, 0.5);
}

.shockwave-ring-3 {
    border-color: rgba(0, 240, 255, 0.6);
    animation: shockwaveEmanate 6s ease-out 4s infinite;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
}

@keyframes shockwaveEmanate {
    0% {
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        opacity: 0.9;
        border-width: 1px;
    }
    15% {
        opacity: 0.8;
        border-width: 1px;
    }
    40% {
        opacity: 0.5;
        border-width: 1px;
    }
    70% {
        opacity: 0.2;
        border-width: 1px;
    }
    100% {
        top: -300px;
        left: -300px;
        right: -300px;
        bottom: -300px;
        opacity: 0;
        border-width: 1px;
    }
}

/* Close button */
.popup-banner-close {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, rgba(255, 0, 85, 0.9), rgba(184, 0, 255, 0.9));
    border: 3px solid var(--accent-red);
    border-radius: 50%;
    color: white;
    font-size: 28px;
    font-weight: 900;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 
        0 0 20px rgba(255, 0, 85, 0.6),
        0 0 40px rgba(184, 0, 255, 0.4);
    animation: closeButtonPulse 2s ease-in-out infinite;
}

@keyframes closeButtonPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 
            0 0 20px rgba(255, 0, 85, 0.6),
            0 0 40px rgba(184, 0, 255, 0.4);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 
            0 0 30px rgba(255, 0, 85, 0.8),
            0 0 60px rgba(184, 0, 255, 0.6);
    }
}

.popup-banner-close:hover {
    transform: scale(1.15) rotate(90deg);
    background: linear-gradient(135deg, var(--accent-red), var(--accent-purple));
    box-shadow: 
        0 0 30px rgba(255, 0, 85, 0.9),
        0 0 60px rgba(184, 0, 255, 0.7);
}

.popup-banner-close:active {
    transform: scale(0.95) rotate(90deg);
}

.popup-banner-close span {
    line-height: 1;
    display: block;
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .popup-banner-container {
        max-width: 500px;
        width: 92%;
        height: auto;
    }
    
    .popup-banner-close {
        width: 40px;
        height: 40px;
        font-size: 24px;
        top: -12px;
        right: -12px;
    }
    
    .popup-register-btn {
        padding: 14px 24px;
        font-size: 15px;
        letter-spacing: 1.5px;
        margin-top: 12px;
    }
    
    .register-btn-icon {
        font-size: 14px;
    }
    
    @keyframes slowShockwaveExpand {
        0% {
            width: 0;
            height: 0;
            opacity: 0.8;
            border-width: 1px;
        }
        20% {
            opacity: 0.6;
            border-width: 1px;
        }
        50% {
            opacity: 0.3;
            border-width: 1px;
        }
        100% {
            width: 600px;
            height: 600px;
            opacity: 0;
            border-width: 1px;
        }
    }
}

@media (max-width: 480px) {
    .popup-banner-container {
        max-width: 96%;
        width: 96%;
        height: auto;
    }

    
    
    .popup-banner-close {
        width: 35px;
        height: 35px;
        font-size: 20px;
        top: -10px;
        right: -10px;
    }
    
    .popup-register-btn {
        padding: 12px 20px;
        font-size: 13px;
        letter-spacing: 1px;
        margin-top: 10px;
        gap: 8px;
    }
    
    .register-btn-icon {
        font-size: 12px;
    }
    
    @keyframes shockwaveEmanate {
        100% {
            top: -100px;
            left: -100px;
            right: -100px;
            bottom: -100px;
        }
    }
}

/* ============================================
   MODAL - MOBILE OPTIMIZED
   ============================================ */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 15px;
    overflow-y: auto;
}

.modal-overlay.active {
    display: flex;
}

.modal-container {
    background: var(--bg-secondary);
    border: 2px solid var(--accent-cyan);
    border-radius: 12px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--glow-cyan);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 0, 85, 0.2);
    border: 2px solid var(--accent-red);
    color: var(--accent-red);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.modal-close:hover, .modal-close:active {
    background: var(--accent-red);
    color: white;
}

.modal-header {
    padding: 25px 20px 20px;
    border-bottom: 1px solid var(--accent-cyan);
}

.modal-terminal {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--accent-green);
    margin-bottom: 10px;
}

.terminal-prompt-modal {
    color: var(--accent-cyan);
}

.terminal-command-modal {
    color: var(--accent-green);
    margin-left: 8px;
}

.modal-title {
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 8px;
    color: var(--accent-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.modal-bracket {
    font-size: 26px;
}

.modal-subtitle {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-secondary);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.modal-icon {
    color: var(--accent-green);
}

.modal-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 15px;
    background: var(--bg-console);
    border-bottom: 1px solid var(--border-color);
}

.modal-stat {
    font-family: var(--font-mono);
    font-size: 10px;
    display: flex;
    gap: 5px;
}

.stat-label {
    color: var(--text-muted);
}

.stat-value {
    color: var(--accent-cyan);
    font-weight: 700;
}

.stat-online {
    color: var(--accent-green);
}

.modal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
    padding: 20px;
}

.platform-card {
    position: relative;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    overflow: visible;
    cursor: pointer;
    transition: all 0.3s ease;
    aspect-ratio: 3 / 2;
    display: block;
    min-height: 80px;
}

.platform-card:hover, .platform-card:active {
    transform: translateY(-4px);
    border-color: var(--accent-cyan);
    box-shadow: 0 8px 25px rgba(0, 240, 255, 0.4);
}

.platform-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    padding: 8px;
}

/* EM BREVE overlay for platform cards - centered at top, visible outside container */
.em-breve-overlay-platform {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    border: 1.5px solid var(--accent-yellow);
    border-radius: 4px;
    padding: 3px 8px;
    font-family: var(--font-mono);
    font-size: 7px;
    font-weight: 400;
    color: var(--accent-yellow);
    text-shadow: 0 0 6px rgba(255, 215, 0, 0.8);
    letter-spacing: 0.8px;
    z-index: 10;
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.5);
    animation: emBrevePulse 2s ease-in-out infinite;
    pointer-events: none;
    white-space: nowrap;
}

.platform-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent, rgba(0, 240, 255, 0.2));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.platform-card:hover .platform-overlay, .platform-card:active .platform-overlay {
    opacity: 1;
}

.platform-status {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 255, 136, 0.9);
    color: var(--bg-console);
    padding: 4px 10px;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
}

.status-dot {
    width: 5px;
    height: 5px;
    background: var(--bg-console);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

/* ============================================
   PLATFORM GOLD & HOT BADGE
   ============================================ */
.platform-gold {
    border-color: #FFD700 !important;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.4) !important;
    position: relative;
    overflow: hidden;
}

.platform-gold::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right,
        transparent 0%,
        rgba(255, 215, 0, 0.4) 50%,
        transparent 100%
    );
    transform: skewX(-25deg);
    animation: shine-sweep 3s infinite linear;
    pointer-events: none;
    z-index: 2;
}

@keyframes shine-sweep {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

.platform-hot {
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient(135deg, #FFD700, #FFAA00);
    color: #000;
    font-size: 10px;
    font-weight: 900;
    padding: 2px 8px;
    border-bottom-left-radius: 8px;
    z-index: 3;
    box-shadow: -2px 2px 5px rgba(0,0,0,0.5);
    font-family: var(--font-primary);
    animation: pulse-gold 2s infinite;
}

@keyframes pulse-gold {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

/* EM BREVE Badge - Similar to HOT badge */
.em-breve-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient(135deg, #FFD700, #FFAA00);
    color: #000;
    font-size: 10px;
    font-weight: 900;
    padding: 2px 8px;
    border-bottom-left-radius: 8px;
    z-index: 3;
    box-shadow: -2px 2px 5px rgba(0,0,0,0.5);
    font-family: var(--font-primary);
    animation: pulse-gold 2s infinite;
}

/* ============================================
   RTP PROGRESS BAR
   ============================================ */
.rtp-bar-container {
    width: 100%;
    height: 4px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 2px;
    margin-top: 0; /* Removed margin since it's now inside the flex container with gap */
    overflow: hidden;
    position: relative;
}

.rtp-bar-fill {
    height: 100%;
    border-radius: 2px;
    transition: width 1s ease-out;
    box-shadow: 0 0 5px currentColor;
    position: relative;
}

.rtp-fill-high {
    background: var(--accent-green);
    color: var(--accent-green);
}

.rtp-fill-medium {
    background: var(--accent-yellow);
    color: var(--accent-yellow);
}

.rtp-fill-low {
    background: var(--accent-red);
    color: var(--accent-red);
}

/* ============================================
   RESPONSIVE - MOBILE FIRST
   ============================================ */

/* Base mobile layout - 3 games per row */
.games-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 15px;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Extra small phones (smaller than 360px) */
@media (max-width: 359px) {
    .games-grid {
        gap: 6px; /* Smaller gap for very small screens */
    }
    
    .game-card {
        border-width: 1px; /* Thinner borders */
    }
    
    .game-info {
        padding: 6px; /* Less padding */
    }
    
    .game-rtp-container {
        padding: 6px 8px;
    }
    
    .rtp-value {
        font-size: 16px; /* Slightly smaller font */
    }
    
    .main-title {
        font-size: 12px;
        letter-spacing: 0.5px;
        gap: 1px;
    }
    
    .title-prefix, .title-suffix {
        font-size: 10px;
    }
    
    .subtitle {
        font-size: 8px;
    }
    
    .timer-display {
        font-size: 32px;
    }
}

/* Standard mobile phones (360px-479px) */
@media (min-width: 360px) and (max-width: 479px) {
    .timer-display {
        font-size: 38px;
    }
}

/* Continue standard mobile phones */
@media (min-width: 360px) and (max-width: 479px) {
    .main-title {
        font-size: 16px;
        letter-spacing: 0.8px;
        gap: 1px;
    }
    
    .title-prefix, .title-suffix {
        font-size: 11px;
    }
    
    .subtitle {
        font-size: 8px;
    }
    
    .header-center {
        min-width: 160px;
        padding: 0 8px;
    }
}

/* Larger phones / small tablets */
@media (min-width: 480px) {
    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 12px;
    }
    
    .main-title {
        font-size: 15px;
        letter-spacing: 1.2px;
    }
    
    .title-prefix, .title-suffix {
        font-size: 13px;
    }
}

/* Tablets */
@media (min-width: 768px) {
    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 15px;
    }
    
    .system-status-bar {
        height: 40px;
        font-size: 11px;
    }
    
    .main-title {
        font-size: 22px;

    }
    
    .timer-display {
        font-size: 52px;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 15px;
    }
}

/* Large phones / small tablets */
@media (min-width: 480px) {
    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .modal-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}

/* Tablets */
@media (min-width: 768px) {
    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }
    
    .system-status-bar {
        height: 40px;
        font-size: 11px;
    }
    
    .main-title {
        font-size: 22px;
    }
    
    .timer-display {
        font-size: 52px;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 15px;
    }
    
    .modal-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }
}

/* ============================================
   CODE PROTECTION
   ============================================ */

/* Disable text selection */
* {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
}

/* Allow text selection only for input fields */
input, textarea {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

/* Disable right-click context menu */
body {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide scrollbars to prevent inspection */
::-webkit-scrollbar {
    width: 0px;
    background: transparent;
}

/* Disable drag and drop */
img, a {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
}

/* ============================================
   STYLISH SHRINK/EXPAND ANIMATIONS
   ============================================ */

/* Main interface shrink/expand animation */
.interface-shrink {
    animation: shrinkInterface 2s ease-in-out infinite;
    transform-origin: center center;
}

.interface-expand {
    animation: expandInterface 2s ease-in-out infinite;
    transform-origin: center center;
}

@keyframes shrinkInterface {
    0% {
        transform: scale(1);
        opacity: 1;
        filter: brightness(1) saturate(1);
    }
    25% {
        transform: scale(0.95);
        opacity: 0.9;
        filter: brightness(1.1) saturate(1.2);
    }
    50% {
        transform: scale(0.9);
        opacity: 0.8;
        filter: brightness(1.2) saturate(1.4);
        box-shadow: 0 0 40px rgba(0, 240, 255, 0.6), 0 0 80px rgba(0, 255, 136, 0.3);
    }
    75% {
        transform: scale(0.95);
        opacity: 0.9;
        filter: brightness(1.1) saturate(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
        filter: brightness(1) saturate(1);
    }
}

@keyframes expandInterface {
    0% {
        transform: scale(1);
        opacity: 1;
        filter: brightness(1) saturate(1);
    }
    25% {
        transform: scale(1.05);
        opacity: 0.95;
        filter: brightness(1.1) saturate(1.2);
    }
    50% {
        transform: scale(1.1);
        opacity: 0.9;
        filter: brightness(1.2) saturate(1.4);
        box-shadow: 0 0 40px rgba(0, 255, 136, 0.6), 0 0 80px rgba(0, 240, 255, 0.3);
    }
    75% {
        transform: scale(1.05);
        opacity: 0.95;
        filter: brightness(1.1) saturate(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
        filter: brightness(1) saturate(1);
    }
}

/* Futuristic morphing animation for containers */
.futuristic-morph {
    animation: futuristicMorph 3s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

@keyframes futuristicMorph {
    0% {
        border-radius: 10px;
        transform: perspective(1000px) rotateX(0deg) rotateY(0deg);
    }
    25% {
        border-radius: 15px 5px 15px 5px;
        transform: perspective(1000px) rotateX(2deg) rotateY(-1deg);
    }
    50% {
        border-radius: 5px 15px 5px 15px;
        transform: perspective(1000px) rotateX(-1deg) rotateY(2deg);
    }
    75% {
        border-radius: 20px 10px 20px 10px;
        transform: perspective(1000px) rotateX(1deg) rotateY(-2deg);
    }
    100% {
        border-radius: 10px;
        transform: perspective(1000px) rotateX(0deg) rotateY(0deg);
    }
}

/* Holographic effect for game cards */
.holographic-effect {
    position: relative;
    overflow: hidden;
}

.holographic-effect::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(0, 240, 255, 0.1) 50%,
        transparent 70%
    );
    animation: holographicSweep 4s ease-in-out infinite;
    z-index: 1;
    pointer-events: none;
}

@keyframes holographicSweep {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
        opacity: 0;
    }
}

/* Pulsing energy rings */
.energy-rings {
    position: relative;
}

.energy-rings::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border: 2px solid var(--accent-cyan);
    border-radius: 50%;
    animation: energyRings 3s ease-out infinite;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: -1;
}

@keyframes energyRings {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
        border-width: 3px;
    }
    50% {
        width: 200px;
        height: 200px;
        opacity: 0.5;
        border-width: 2px;
    }
    100% {
        width: 400px;
        height: 400px;
        opacity: 0;
        border-width: 1px;
    }
}

/* Animation control classes */
.animate-shrink {
    animation: shrinkInterface 2s ease-in-out;
}

.animate-expand {
    animation: expandInterface 2s ease-in-out;
}

.animate-morph {
    animation: futuristicMorph 3s ease-in-out infinite;
}

/* ============================================
   FLOATING JOGO RESPONSÁVEL BUTTON
   ============================================ */

.floating-jogo-responsavel {
    position: fixed;
    right: 12px;
    bottom: calc(224px + env(safe-area-inset-bottom));
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6600, #ff0055);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    box-shadow: 0 6px 22px rgba(255, 0, 85, 0.45);
    border: 2px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: box-shadow 0.25s ease;
    -webkit-tap-highlight-color: transparent;
    text-decoration: none;
}

.floating-jogo-responsavel:hover {
    box-shadow: 0 10px 28px rgba(255, 0, 85, 0.65);
}

.floating-jogo-responsavel:active {
    transform: scale(0.92);
}

.jogo-responsavel-icon {
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 0.5px;
}

/* Very short screens */
@media (max-height: 640px) {
    .floating-jogo-responsavel {
        bottom: calc(76px + env(safe-area-inset-bottom));
        width: 50px;
        height: 50px;
    }
    .jogo-responsavel-icon { font-size: 12px; }
}

/* Tablets+ - position mid-right */
@media (min-width: 768px) and (min-height: 820px) {
    .floating-jogo-responsavel {
        bottom: auto;
        top: calc(50% - 140px);
    }
}

/* ============================================
   SITE FOOTER - 18+ BADGE
   ============================================ */

.site-footer {
    background: linear-gradient(180deg, transparent 0%, #050a1e 30%, #0a0e27 100%);
    border-top: 1px solid var(--border-color);
    padding: 24px 16px;
    margin-top: 40px;
    margin-bottom: 100px;
}

@media (min-width: 768px) {
    .site-footer {
        margin-bottom: 25px;
    }
}

.footer-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    padding-right: 5px;
    margin-left: 60px;
}

@media (max-width: 767px) {
    .footer-container {
        margin-left: 5px;
        margin-right: 50px;
    }
}

.footer-badge-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    flex-wrap: nowrap;
    margin-bottom: 12px;
}

.footer-age-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 32px;
    flex-shrink: 0;
    padding: 0 10px;
    background: linear-gradient(135deg, var(--accent-red), #cc0044);
    color: #ffffff;
    font-family: var(--font-primary);
    font-size: 18px;
    font-weight: 900;
    letter-spacing: 1px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(255, 0, 85, 0.3);
}

.footer-disclaimer {
    color: var(--text-secondary);
    font-size: 12px;
    font-family: var(--font-mono);
    letter-spacing: 0.5px;
}

.footer-links {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-link {
    color: var(--accent-cyan);
    font-size: 11px;
    text-decoration: none;
    font-family: var(--font-mono);
}

.footer-link:hover {
    text-decoration: underline;
}

.footer-separator {
    color: var(--text-muted);
    font-size: 10px;
}

/* ============================================
   JOGO RESPONSÁVEL PAGE
   ============================================ */

.status-link {
    color: var(--accent-cyan);
    font-size: 10px;
    text-decoration: none;
    font-family: var(--font-mono);
}

.status-link:hover {
    text-decoration: underline;
}

.responsible-gaming-content {
    padding: 20px 0 40px;
}

.rg-section {
    margin-bottom: 32px;
}

.rg-section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.rg-icon {
    color: var(--accent-green);
    font-size: 14px;
}

.rg-title {
    font-family: var(--font-primary);
    font-size: 16px;
    color: var(--accent-cyan);
    letter-spacing: 2px;
}

.rg-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 16px;
}

.rg-text {
    color: var(--text-primary);
    font-size: 14px;
    line-height: 1.7;
}

.rg-intro {
    color: var(--text-secondary);
    font-size: 13px;
    margin-bottom: 12px;
}

.rg-checklist {
    list-style: none;
    padding: 0;
}

.rg-checklist li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
    color: var(--text-primary);
    font-size: 14px;
}

.rg-checklist li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--accent-cyan);
}

.rg-disclaimer {
    margin-top: 16px;
    color: var(--accent-yellow);
    font-size: 13px;
}

.rg-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rg-link {
    display: block;
    padding: 12px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--accent-cyan);
    text-decoration: none;
    font-size: 13px;
    transition: border-color 0.2s, background 0.2s;
}

.rg-link:hover {
    border-color: var(--accent-cyan);
    background: rgba(0, 240, 255, 0.05);
}

.rg-tips {
    list-style: none;
    padding: 0;
}

.rg-tips li {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    color: var(--text-primary);
    font-size: 14px;
    line-height: 1.6;
}

.tip-bullet {
    color: var(--accent-green);
    flex-shrink: 0;
}

/* Allow text selection on Jogo Responsável content */
.responsible-gaming-content,
.site-footer {
    -webkit-user-select: text;
    user-select: text;
}

/* ============================================
   UTILITIES
   ============================================ */

.fade-in {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.hidden {
    display: none !important;
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-console);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-cyan);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-green);
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .game-card,
    .provider-item,
    .platform-card,
    .carousel-btn,
    .floating-timer-button {
        transition: none;
    }
    
    .game-card:active {
        transform: scale(0.98);
    }
}

/* ============================================
   MOBILE-SPECIFIC LOGO CENTERING
   ============================================ */

/* Center only POP REDE text on mobile */
@media (max-width: 767px) {
    .header-left {
        justify-content: center;
        width: 100%;
        margin-left: 30px;
    
    }
}

/* ============================================
   HACKER LOADING SCREEN
   ============================================ */

.loading-active {
    overflow: hidden !important;
}

.hacker-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Blur the site behind, don't cover it with solid color */
    background: rgba(3, 8, 20, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.hacker-loading-overlay.hacker-loading-done {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.hacker-terminal {
    width: 92%;
    max-width: 700px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
}

.hacker-terminal-header {
    background: #0d1126;
    border: 1px solid rgba(0, 240, 255, 0.25);
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hacker-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.hacker-dot-red { background: #ff5f56; }
.hacker-dot-yellow { background: #ffbd2e; }
.hacker-dot-green { background: #27c93f; }

.hacker-terminal-title {
    color: #888;
    font-family: var(--font-mono);
    font-size: 12px;
    margin-left: 10px;
}

.hacker-logo {
    background: #060c20;
    border-left: 1px solid rgba(0, 240, 255, 0.25);
    border-right: 1px solid rgba(0, 240, 255, 0.25);
    padding: 20px 14px 16px;
    text-align: center;
}

.hacker-logo-bracket {
    font-family: var(--font-primary), 'Orbitron', sans-serif;
    font-size: clamp(28px, 8vw, 52px);
    font-weight: 900;
    color: #00f0ff;
    text-shadow: 0 0 20px rgba(0, 240, 255, 0.7);
}

.hacker-logo-text {
    font-family: var(--font-primary), 'Orbitron', sans-serif;
    font-size: clamp(28px, 8vw, 52px);
    font-weight: 900;
    background: linear-gradient(135deg, #00f0ff 0%, #00ff88 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 4px;
    filter: drop-shadow(0 0 12px rgba(0, 240, 255, 0.5));
}

.hacker-logo-sub {
    font-family: 'Share Tech Mono', monospace;
    font-size: 10px;
    color: rgba(0, 240, 255, 0.5);
    letter-spacing: 3px;
    margin-top: 4px;
    text-transform: uppercase;
}

.hacker-terminal-body {
    background: #060c20;
    border-left: 1px solid rgba(0, 240, 255, 0.25);
    border-right: 1px solid rgba(0, 240, 255, 0.25);
    padding: 12px 14px;
    flex: 1;
    overflow-y: auto;
    min-height: 200px;
    max-height: 45vh;
    scrollbar-width: thin;
    scrollbar-color: #00f0ff33 transparent;
}

.hacker-terminal-body::-webkit-scrollbar {
    width: 4px;
}
.hacker-terminal-body::-webkit-scrollbar-track {
    background: transparent;
}
.hacker-terminal-body::-webkit-scrollbar-thumb {
    background: #00f0ff33;
    border-radius: 2px;
}

.hacker-line {
    font-family: 'Share Tech Mono', 'Courier New', monospace;
    font-size: 12px;
    line-height: 1.6;
    white-space: pre-wrap;
    word-break: break-all;
}

.hacker-cmd {
    color: #00ff88;
}

.hacker-output {
    color: #8b95c0;
}

.hacker-progress-bar {
    background: #060c20;
    border-left: 1px solid rgba(0, 240, 255, 0.25);
    border-right: 1px solid rgba(0, 240, 255, 0.25);
    height: 4px;
    overflow: hidden;
}

.hacker-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #00f0ff, #00ff88);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
    transition: width 0.3s ease;
}

.hacker-progress-text {
    background: #0d1126;
    border: 1px solid rgba(0, 240, 255, 0.25);
    border-top: none;
    border-radius: 0 0 8px 8px;
    padding: 6px;
    text-align: center;
    color: #00f0ff;
    font-family: 'Share Tech Mono', 'Courier New', monospace;
    font-size: 12px;
    letter-spacing: 2px;
}

/* Scanline effect on loading screen — subtle, doesn't cover the blurred bg */
.hacker-loading-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 3px,
        rgba(0, 240, 255, 0.008) 3px,
        rgba(0, 240, 255, 0.008) 4px
    );
    pointer-events: none;
    z-index: 1;
}

.hacker-terminal {
    z-index: 2;
}

/* ============================================
   ONLINE COUNTER PULSE
   ============================================ */

.online-pulse {
    color: #00ff88 !important;
    font-size: 10px;
    animation: onlinePulse 1.5s ease-in-out infinite;
}

@keyframes onlinePulse {
    0%, 100% { opacity: 1; text-shadow: 0 0 6px rgba(0, 255, 136, 0.8); }
    50% { opacity: 0.5; text-shadow: none; }
}

/* ============================================
   WIN TOAST NOTIFICATIONS
   ============================================ */

.win-toast-container {
    position: fixed;
    bottom: 100px;
    left: 16px;
    z-index: 9990;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
    max-width: 240px;
    min-width: 240px;
}

/* Rotating red outline + pulsing glow — only on each .win-toast popup (not the container) */
@keyframes winToastRedGlowPulse {
    0%, 100% {
        box-shadow:
            0 4px 22px rgba(0, 0, 0, 0.55),
            0 0 14px rgba(255, 40, 60, 0.55),
            0 0 28px rgba(255, 0, 30, 0.35);
    }
    50% {
        box-shadow:
            0 4px 28px rgba(0, 0, 0, 0.6),
            0 0 28px rgba(255, 60, 80, 0.85),
            0 0 48px rgba(255, 0, 40, 0.5),
            0 0 72px rgba(255, 30, 50, 0.25);
    }
}

.win-toast {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    isolation: isolate;
    /* Solid interior only — rotating red lives on masked ::after ring (no spin inside) */
    --border-angle: 0deg;
    --win-toast-ring: 2px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(10, 14, 39, 0.97), rgba(13, 17, 38, 0.97));
    padding: 10px 14px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    animation: winToastRedGlowPulse 1.8s ease-in-out infinite alternate;
    transform: translateX(-120%);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.5s ease;
    pointer-events: auto;
}

/* Content above the ring */
.win-toast > * {
    position: relative;
    z-index: 1;
}

/*
 * Rotating outline ONLY: conic gradient masked to a hollow ring (not the full box).
 * Removes the “spinning inside the card” look from padding-box/border-box + blurred ::before.
 */
.win-toast::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: var(--win-toast-ring);
    background: conic-gradient(
        from var(--border-angle),
        #ff2a2a,
        #ff0044,
        #ff6b6b,
        #cc0000,
        #ff3366,
        #ff2a2a
    );
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
    animation: snakeRotate 2.2s linear infinite;
    pointer-events: none;
    z-index: 0;
}

.win-toast-visible {
    transform: translateX(0);
    opacity: 1;
}

.win-toast-hiding {
    transform: translateX(-120%);
    opacity: 0;
    transition: transform 0.4s ease-in, opacity 0.4s ease-in;
}

.win-toast-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.win-toast-content {
    flex: 1;
    min-width: 0;
}

/* NEW: masked user ID as the "name" */
.win-toast-userid {
    font-family: var(--font-mono);
    font-size: 13px;
    color: #e0e6ff;
    font-weight: 700;
    letter-spacing: 1px;
}

/* REMOVED old .win-toast-title / .win-toast-game — replaced by .win-toast-bottom */

.win-toast-amount {
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 700;
    margin: 1px 0;
}

.win-amount-normal { color: #00ff88; }
.win-amount-medium { color: #00f0ff; text-shadow: 0 0 8px rgba(0, 240, 255, 0.4); }
.win-amount-big { color: #ffd700; text-shadow: 0 0 10px rgba(255, 215, 0, 0.5); }
.win-amount-jackpot {
    color: #ff6600;
    text-shadow: 0 0 15px rgba(255, 102, 0, 0.6);
    animation: jackpotGlow 0.6s ease-in-out infinite alternate;
}

@keyframes jackpotGlow {
    from { text-shadow: 0 0 10px rgba(255, 102, 0, 0.5); }
    to { text-shadow: 0 0 20px rgba(255, 102, 0, 0.9), 0 0 40px rgba(255, 215, 0, 0.3); }
}

.win-toast-bottom {
    font-family: var(--font-mono);
    font-size: 10px;
    color: #8b95c0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.win-toast-game { color: #8b95c0; }
.win-toast-platform { color: #00f0ff; font-weight: 700; }
.win-toast-time { color: #4a5578; }
.win-toast-sep { color: #4a5578; margin: 0 1px; }

/* Mobile adjustments for toast */
@media (max-width: 480px) {
    .win-toast-container {
        left: 8px;
        right: 8px;
        max-width: 240px;
        bottom: 120px;
    }
    .win-toast {
        padding: 8px 10px;
    }
    .win-toast-icon {
        font-size: 20px;
    }
    .win-toast-amount {
        font-size: 13px;
    }
}

/* ============================================
   PROMINENT ONLINE COUNTER BADGE (Header)
   ============================================ */

.online-counter-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 255, 136, 0.08);
    border: 1px solid rgba(0, 255, 136, 0.35);
    border-radius: 20px;
    padding: 5px 14px;
    margin-bottom: 6px;
    box-shadow: 0 0 12px rgba(0, 255, 136, 0.15);
}

.online-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00ff88;
    box-shadow: 0 0 8px rgba(0, 255, 136, 0.8);
    animation: livePulse 1.2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes livePulse {
    0%, 100% { transform: scale(1); opacity: 1; box-shadow: 0 0 8px rgba(0, 255, 136, 0.8); }
    50% { transform: scale(1.4); opacity: 0.7; box-shadow: 0 0 16px rgba(0, 255, 136, 0.4); }
}

.online-badge-count {
    font-family: var(--font-primary);
    font-size: 18px;
    font-weight: 900;
    color: #00ff88;
    text-shadow: 0 0 12px rgba(0, 255, 136, 0.6);
    letter-spacing: 1px;
    line-height: 1;
}

.online-badge-label {
    font-family: var(--font-mono);
    font-size: 10px;
    color: rgba(0, 255, 136, 0.7);
    letter-spacing: 2px;
    text-transform: uppercase;
}

@media (max-width: 767px) {
    /* Hide header badge on mobile — status bar counter is enough */
    .online-counter-badge {
        display: none;
    }
}

@media (min-width: 768px) {
    .online-counter-badge {
        padding: 5px 14px;
        margin-bottom: 6px;
    }
    .online-badge-count {
        font-size: 18px;
    }
}

/* ============================================
   LIVE ACTIVITY TICKER BAR
   ============================================ */

.live-activity-bar {
    position: fixed;
    top: 36px;
    left: 0;
    right: 0;
    height: 30px;
    background: linear-gradient(90deg,
        rgba(0,0,0,0) 0%,
        rgba(0, 255, 136, 0.07) 30%,
        rgba(0, 255, 136, 0.07) 70%,
        rgba(0,0,0,0) 100%
    ), #020a14;
    border-top: 1px solid rgba(0, 255, 136, 0.15);
    border-bottom: 1px solid rgba(0, 255, 136, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    z-index: 999;
    overflow: hidden;
}

.live-activity-label {
    font-family: var(--font-mono);
    font-size: 8px;
    font-weight: 700;
    color: #000;
    background: #00ff88;
    padding: 2px 7px;
    border-radius: 3px;
    letter-spacing: 2px;
    flex-shrink: 0;
    animation: liveBadgePulse 1.8s ease-in-out infinite;
}

@keyframes liveBadgePulse {
    0%, 100% { box-shadow: 0 0 6px rgba(0, 255, 136, 0.5); opacity: 1; }
    50%       { box-shadow: 0 0 16px rgba(0, 255, 136, 1);  opacity: 0.85; }
}

.live-activity-text {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 80vw;
    text-align: center;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.35s ease, transform 0.35s ease;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

.live-activity-text.ticker-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   1. HORÁRIO QUENTE STRIP
   ============================================ */

.hora-quente-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px;
    background: linear-gradient(135deg, rgba(255, 102, 0, 0.08), rgba(255, 215, 0, 0.06));
    border: 2px solid #ffe600;
    box-shadow: 0 0 10px rgba(255, 230, 0, 0.55), inset 0 0 6px rgba(255, 230, 0, 0.08);
    border-radius: 6px;
    padding: 6px 12px;
    margin: 8px 0 4px;
    font-family: var(--font-mono);
    font-size: 11px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hora-quente-strip::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255,150,0,0.05) 50%, transparent 100%);
    animation: horaQuenteSweep 3s ease-in-out infinite;
}

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

.hora-quente-fire { font-size: 16px; }

.hora-quente-label {
    color: #ffaa33;
    font-weight: 700;
    letter-spacing: 1px;
}

.hora-quente-time {
    color: #ffd700;
    font-weight: 900;
    font-size: 13px;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.6);
}

.hora-quente-countdown {
    color: rgba(255, 200, 100, 0.8);
    font-size: 11px;
}

.hora-quente-aproveita {
    display: block;
    width: 100%;
    text-align: center;
    color: rgba(51, 49, 43, 0.9);
    font-size: 11px;
    letter-spacing: 0.5px;
}

.hora-quente-strip.hora-quente-active {
    background: linear-gradient(135deg, rgb(255, 230, 0), rgb(255, 200, 0));
    border: 2px solid #ffe600;
    animation: horaAtivaGlow 1s ease-in-out infinite alternate;
}

@keyframes horaAtivaGlow {
    from { box-shadow: 0 0 12px rgba(255, 230, 0, 0.6), inset 0 0 6px rgba(255, 230, 0, 0.1); }
    to   { box-shadow: 0 0 28px rgba(255, 230, 0, 0.95), inset 0 0 10px rgba(255, 230, 0, 0.2); }
}

/* ============================================
   HORA-SINAL ROW (wrapper for hora-quente + retention-strip)
   ============================================ */

/* Mobile: stacked (default block flow) */
.hora-sinal-row {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Desktop: side by side */
@media (min-width: 1024px) {
    .hora-sinal-row {
        flex-direction: row;
        align-items: stretch;
        gap: 8px;
        margin: 8px 0 4px;
    }

    /* Each child takes equal space */
    .hora-sinal-row .hora-quente-strip,
    .hora-sinal-row .retention-strip {
        flex: 1;
        margin: 0;
    }

    /* Strip must fill full height of the row */
    .hora-sinal-row .hora-quente-strip {
        justify-content: center;
    }

    .hora-sinal-row .retention-strip {
        /* sinal-do-dia-panel should stretch to fill */
        align-items: stretch;
    }

    .hora-sinal-row .retention-strip .sinal-do-dia-panel {
        flex: 1;
        /* Match hora-quente-strip outline effect */
        background: linear-gradient(135deg, rgba(255, 102, 0, 0.08), rgba(255, 215, 0, 0.06));
        border: 2px solid #ffe600;
        border-left: 2px solid #ffe600; /* override the default cyan left-border */
        border-radius: 6px;
        box-shadow: 0 0 10px rgba(255, 230, 0, 0.55), inset 0 0 6px rgba(255, 230, 0, 0.08);
        position: relative;
        overflow: hidden;
    }

    /* Sweep animation mirror of hora-quente-strip::before */
    .hora-sinal-row .retention-strip .sinal-do-dia-panel::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg, transparent 0%, rgba(255, 150, 0, 0.05) 50%, transparent 100%);
        animation: horaQuenteSweep 3s ease-in-out infinite;
        pointer-events: none;
    }
}

/* ============================================
   2 + 9 + 4. RETENTION STRIP
   ============================================ */

.retention-strip {
    display: flex;
    gap: 6px;
    margin: 4px 0 8px;
    flex-wrap: nowrap;
}

/* Sinal do Dia */
.sinal-do-dia-panel {
    flex: 1;
    min-width: 0;
    background: linear-gradient(135deg, rgba(0,240,255,0.06), rgba(0,255,136,0.04));
    border: 1px solid rgba(0, 240, 255, 0.25);
    border-left: 3px solid #00f0ff;
    border-radius: 6px;
    padding: 7px 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    overflow: hidden;
}

.sinal-badge {
    background: rgba(0, 240, 255, 0.15);
    border: 1px solid rgba(0, 240, 255, 0.4);
    color: #00f0ff;
    font-family: var(--font-mono);
    font-size: 8px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    letter-spacing: 1px;
    white-space: nowrap;
    animation: sinalPulse 2.5s ease-in-out infinite;
}

@keyframes sinalPulse {
    0%, 100% { box-shadow: 0 0 4px rgba(0, 240, 255, 0.3); }
    50%       { box-shadow: 0 0 12px rgba(0, 240, 255, 0.7); }
}

.sinal-body {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    font-family: var(--font-mono);
    font-size: 10px;
}

.sinal-game {
    color: #e0e6ff;
    font-weight: 700;
    font-size: 12px;
}

.sinal-sep { color: #4a5578; }

.sinal-rtp { color: #8b95c0; }
.sinal-rtp strong { color: #00ff88; }

.sinal-mult {
    color: #ffd700;
    font-weight: 700;
    text-shadow: 0 0 6px rgba(255, 215, 0, 0.4);
}

/* Lucky Number panel removed */

/* Desktop-only ganhos clone lives in .timer-split-wrapper. It also has .ganhos-panel, which
   sets display:flex later in this file — single-class .ganhos-panel-desktop loses the cascade,
   so we tie both classes + ancestor to keep the clone hidden on mobile. */
.timer-split-wrapper .ganhos-panel.ganhos-panel-desktop {
    display: none;
    width: 100%;
    box-sizing: border-box;
}

@media (min-width: 1024px) {
    .timer-split-wrapper .ganhos-panel.ganhos-panel-desktop {
        display: flex;
    }

    /* Hide strip ganhos on desktop (ganhos-panel-desktop in timer area handles it) */
    .retention-strip .ganhos-panel:not(.ganhos-panel-desktop) {
        display: none;
    }
}


/* Ganhos de Hoje */
.ganhos-panel {
    flex: 1;
    min-width: 0;
    background: linear-gradient(135deg, rgba(0,255,136,0.07), rgba(0,240,255,0.04));
    border: 1px solid rgba(0, 255, 136, 0.25);
    border-radius: 6px;
    padding: 6px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    overflow: hidden;
}

.ganhos-label {
    font-family: var(--font-mono);
    font-size: 16px;
    color: rgba(0, 255, 136, 0.7);
    letter-spacing: 1px;
    text-align: center;
    white-space: nowrap;
}

.ganhos-value {
    font-family: var(--font-primary);
    font-size: 26px;
    font-weight: 900;
    color: #00ff88;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
    text-align: center;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.ganhos-value.ganhos-flash {
    color: #fff;
    text-shadow: 0 0 20px rgba(0, 255, 136, 1);
}

.ganhos-sub {
    font-family: var(--font-mono);
    font-size: 14px;
    color: #4a5578;
    text-align: center;
}

/* ============================================
   3. TELEGRAM FOMO NOTIFICATIONS
   ============================================ */

.tg-fomo-container {
    position: fixed;
    top: 80px;
    right: 16px;
    z-index: 9985;
    pointer-events: none;
}

.tg-fomo-notif {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(10,14,39,0.97), rgba(0,100,200,0.15));
    border: 1px solid rgba(0, 136, 255, 0.4);
    border-left: 3px solid #0088ff;
    border-radius: 8px;
    padding: 10px 14px;
    max-width: 300px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5), 0 0 15px rgba(0, 136, 255, 0.1);
    pointer-events: auto;
    transform: translateX(120%);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.5s ease;
}

.tg-fomo-notif.tg-fomo-visible {
    transform: translateX(0);
    opacity: 1;
}

.tg-fomo-icon {
    font-size: 18px;
    flex-shrink: 0;
}

.tg-fomo-text {
    font-family: var(--font-mono);
    font-size: 10px;
    color: #e0e6ff;
    flex: 1;
    line-height: 1.4;
}

.tg-fomo-cta {
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 700;
    color: #0088ff;
    white-space: nowrap;
    text-shadow: 0 0 6px rgba(0, 136, 255, 0.5);
}

/* ============================================
   5. CARD VIEWERS BADGE
   ============================================ */

.card-viewers-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    background: rgba(0, 0, 0, 0.75);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 4px;
    padding: 2px 5px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    pointer-events: none;
    backdrop-filter: blur(4px);
    z-index: 2;
}

/* ============================================
   6. RTP ALERT MODAL
   ============================================ */

.rtp-alert-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(6px);
    z-index: 99990;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    pointer-events: none;
}

.rtp-alert-overlay.rtp-alert-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.rtp-alert-box {
    position: relative;
    background: linear-gradient(135deg, #060c20, #0a1030);
    border: 1px solid rgba(255, 80, 0, 0.5);
    border-top: 3px solid #ff5500;
    border-radius: 12px;
    padding: 28px 24px 24px;
    text-align: center;
    max-width: 340px;
    width: 90%;
    box-shadow: 0 0 40px rgba(255, 80, 0, 0.25), 0 20px 60px rgba(0,0,0,0.6);
    animation: rtpAlertEntrance 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes rtpAlertEntrance {
    from { transform: scale(0.7); opacity: 0; }
    to   { transform: scale(1);   opacity: 1; }
}

.rtp-alert-close {
    position: absolute;
    top: 10px;
    right: 12px;
    background: none;
    border: none;
    color: #4a5578;
    font-size: 22px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
}
.rtp-alert-close:hover { color: #e0e6ff; }

.rtp-alert-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
}

.rtp-alert-icon {
    font-size: 20px;
    animation: alertFlash 0.8s ease-in-out infinite alternate;
}

@keyframes alertFlash {
    from { transform: scale(1); }
    to   { transform: scale(1.2); }
}

.rtp-alert-title {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    color: #ff6600;
    letter-spacing: 2px;
}

.rtp-alert-game-img-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 14px;
}
.rtp-alert-game-img {
    width: 110px;
    height: 160px;
    object-fit: fill;
    border-radius: 12px;
    border: 2px solid #00f0ff;
    box-shadow: 0 0 16px rgba(0,240,255,0.45);
}

.rtp-alert-rtp-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 14px;
}

.rtp-alert-rtp-label {
    font-family: var(--font-mono);
    font-size: 10px;
    color: #8b95c0;
    letter-spacing: 1px;
}

.rtp-alert-rtp-value {
    font-family: var(--font-primary);
    font-size: 32px;
    font-weight: 900;
    color: #00ff88;
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.7);
    line-height: 1;
}

.rtp-alert-message {
    font-family: var(--font-mono);
    font-size: 10px;
    color: #8b95c0;
    margin-bottom: 4px;
    letter-spacing: 1px;
}

.rtp-alert-countdown {
    font-family: var(--font-primary);
    font-size: 36px;
    font-weight: 900;
    color: #ff6600;
    text-shadow: 0 0 20px rgba(255, 102, 0, 0.6);
    letter-spacing: 2px;
    margin-bottom: 18px;
    line-height: 1;
}

.rtp-alert-btn {
    display: block;
    background: linear-gradient(135deg, #ff5500, #ff8800);
    color: #fff;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 2px;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    box-shadow: 0 0 20px rgba(255, 85, 0, 0.5);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    animation: btnPulseAlert 1.5s ease-in-out infinite alternate;
}

@keyframes btnPulseAlert {
    from { box-shadow: 0 0 15px rgba(255, 85, 0, 0.4); }
    to   { box-shadow: 0 0 35px rgba(255, 85, 0, 0.8); }
}

.rtp-alert-btn:hover {
    transform: scale(1.03);
}

/* ============================================
   7. CYCLE EXPIRY WARNING
   ============================================ */

.timer-expiry-warning .timer-display,
.timer-expiry-warning .floating-timer-display {
    animation: expiryFlash 0.5s ease-in-out infinite alternate !important;
}

@keyframes expiryFlash {
    from { color: inherit; text-shadow: none; }
    to   { color: #ff0055 !important; text-shadow: 0 0 20px rgba(255, 0, 85, 0.8) !important; }
}

.timer-expiry-warning {
    border-color: rgba(255, 0, 85, 0.6) !important;
    box-shadow: 0 0 20px rgba(255, 0, 85, 0.3) !important;
}

/* ============================================
   8. FAVORITO BADGE + GAME CARD STATES
   ============================================ */

.favorito-badge {
    position: absolute;
    top: 4px;
    left: 4px;
    background: linear-gradient(135deg, #ffd700, #ffaa00);
    color: #000;
    font-family: var(--font-mono);
    font-size: 8px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    z-index: 3;
    letter-spacing: 0.5px;
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
}

.game-favorito {
    box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.5), 0 0 15px rgba(255, 215, 0, 0.2) !important;
}

/* ============================================
   9. LUCKY CARD HIGHLIGHT
   ============================================ */

.lucky-card {
    box-shadow: 0 0 0 2px rgba(184, 0, 255, 0.4), 0 0 15px rgba(184, 0, 255, 0.15) !important;
}

.lucky-card .game-image-container::after {
    content: '🎲';
    position: absolute;
    bottom: 4px;
    left: 4px;
    font-size: 12px;
    z-index: 3;
    filter: drop-shadow(0 0 4px rgba(184,0,255,0.6));
}

/* ============================================
   MOBILE COMPACT OVERRIDES
   ============================================ */

@media (max-width: 480px) {
    .hora-quente-strip {
        padding: 5px 8px;
        font-size: 10px;
        gap: 3px;
        margin: 6px 0 3px;
    }
    .hora-quente-fire { font-size: 13px; }
    .hora-quente-time { font-size: 11px; }

    .retention-strip {
        gap: 4px;
        margin: 3px 0 6px;
    }

    .sinal-do-dia-panel {
        padding: 5px 8px;
        gap: 5px;
    }
    .sinal-badge { font-size: 7px; padding: 2px 5px; }
    .sinal-body  { font-size: 9px; gap: 4px; }
    .sinal-game  { font-size: 10px; }

    .ganhos-panel { padding: 6px 10px; }
    .ganhos-label { font-size: 9px; }
    .ganhos-value { font-size: 18px; }
    .ganhos-sub   { font-size: 9px; }
}

/* ── DevTools block overlay ── */
#_dtOverlay {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: #0a0e27;
    z-index: 2147483647;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ff4444;
    font-family: monospace;
    text-align: center;
    pointer-events: all;
    -webkit-user-select: none;
    user-select: none;
}

/* ==========================================================================
   CLEAN THEME — modern, minimal, mobile-first
   Apply via <body class="clean-theme">
   ========================================================================== */
.clean-theme {
    --c-bg:       #0c0e16;
    --c-surface:  #14161f;
    --c-card:     #191c27;
    --c-border:   #262938;
    --c-accent:   #22c997;
    --c-accent2:  #6366f1;
    --c-gold:     #f5a623;
    --c-red:      #ef4444;
    --c-text:     #e4e6ed;
    --c-muted:    #6c7293;
    --c-dim:      #3d4158;
    --c-radius:   10px;
    --c-font:     'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--c-bg);
    color: var(--c-text);
    font-family: var(--c-font);
    line-height: 1.5;
}

/* Force Inter font everywhere */
.clean-theme *,
.clean-theme *::before,
.clean-theme *::after { font-family: var(--c-font) !important; }

/* Hide hacker terminal background effects */
.clean-theme .terminal-bg { display: none; }

/* z-index stacking */
.clean-theme .main-content { position: relative; z-index: 1; }
.clean-theme .main-header { position: sticky; z-index: 998; }
.clean-theme .system-status-bar { position: fixed; z-index: 1000; }
.clean-theme .live-activity-bar { position: fixed; z-index: 999; }

/* ── Loading overlay ── */
.clean-theme .hacker-loading-overlay { background: var(--c-bg); }
.clean-theme .hacker-terminal {
    background: var(--c-card);
    border: 1px solid var(--c-border);
    border-radius: var(--c-radius);
    box-shadow: 0 16px 48px rgba(0,0,0,0.5);
    color: var(--c-text);
}
.clean-theme .hacker-terminal-header {
    background: var(--c-surface);
    border-bottom: 1px solid var(--c-border);
    color: var(--c-muted);
    border-radius: var(--c-radius) var(--c-radius) 0 0;
}
.clean-theme .hacker-logo-text { color: var(--c-accent); -webkit-text-fill-color: var(--c-accent); }
.clean-theme .hacker-progress-bar { background: var(--c-border); border: none; border-radius: 6px; }
.clean-theme .hacker-progress-fill { background: linear-gradient(90deg, var(--c-accent2), var(--c-accent)); border-radius: 6px; box-shadow: none; }

/* ── Status bar ── */
.clean-theme .system-status-bar {
    top: 0; left: 0; right: 0;
    height: 34px;
    background: var(--c-surface);
    border-bottom: 1px solid var(--c-border);
    border-radius: 0;
    box-shadow: none;
    padding: 0 12px;
    font-size: 10px;
    letter-spacing: 0.2px;
}
.clean-theme .status-group { gap: 10px; }
.clean-theme .status-label  { color: var(--c-dim); font-weight: 500; }
.clean-theme .status-value  { color: var(--c-text); font-weight: 600; }
.clean-theme .status-icon   { color: var(--c-accent); font-size: 7px; }
.clean-theme .status-online { color: var(--c-accent); }
.clean-theme #onlineViewerCount,
.clean-theme #nextUpdate { color: var(--c-accent) !important; font-weight: 700; text-shadow: none; }

/* ── Live ticker ── */
.clean-theme .live-activity-bar {
    top: 34px;
    height: 28px;
    background: var(--c-bg);
    border-bottom: 1px solid var(--c-border);
    border-radius: 0;
    box-shadow: none;
    padding: 0 14px;
}
.clean-theme .live-activity-label {
    background: var(--c-accent);
    color: var(--c-bg);
    font-weight: 700;
    font-size: 8px;
    border-radius: 4px;
    padding: 2px 7px;
    letter-spacing: 1px;
    box-shadow: none;
    animation: none;
}
.clean-theme .live-activity-text {
    color: var(--c-muted);
    font-size: 11px;
    font-weight: 500;
    text-shadow: none;
}

/* ── Header ── */
.clean-theme .main-header {
    padding: 0;
    background: var(--c-surface);
    backdrop-filter: none;
    border: none;
    border-bottom: 1px solid var(--c-border);
    box-shadow: none;
    margin-top: 62px; /* 34 + 28 */
    top: 62px;
}
.clean-theme .terminal-prompt { display: none; }
.clean-theme .header-content {
    padding: 10px 14px;
    gap: 6px;
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    border-radius: 0;
}
.clean-theme .logo-container {
    font-weight: 800;
    font-size: 15px;
    gap: 4px;
}
.clean-theme .logo-text {
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: var(--c-accent);
    background-clip: unset;
    color: var(--c-accent);
    letter-spacing: 1px;
}
.clean-theme .logo-bracket { color: var(--c-dim); font-size: 17px; }
.clean-theme .version-tag {
    background: var(--c-card);
    color: var(--c-muted);
    border: 1px solid var(--c-border);
    border-radius: 6px;
    font-size: 9px;
    padding: 2px 8px;
    margin: 0;
    position: static;
    box-shadow: none;
}
.clean-theme .main-title {
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: var(--c-text);
    background-clip: unset;
    color: var(--c-text);
    font-weight: 700;
    font-size: clamp(14px, 3.5vw, 20px);
    letter-spacing: -0.3px;
}
.clean-theme .title-prefix,
.clean-theme .title-suffix { display: none; }
.clean-theme .subtitle {
    color: var(--c-muted);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
    margin: 0;
}
.clean-theme .online-counter-badge {
    background: rgba(34,201,151,0.08);
    border: 1px solid rgba(34,201,151,0.25);
    border-radius: 20px;
    box-shadow: none;
}
.clean-theme .online-badge-dot { background: var(--c-accent); box-shadow: 0 0 4px var(--c-accent); }
.clean-theme .online-badge-count { color: var(--c-accent); text-shadow: none; }
.clean-theme .online-badge-label { color: var(--c-muted); }
.clean-theme .header-right .info-label { color: var(--c-dim); }
.clean-theme .header-right .info-value { color: var(--c-text); }

/* ── Main content & container ── */
.clean-theme .main-content { padding-top: 8px; }
.clean-theme .main-content .container { padding: 8px 10px 80px; }

/* ── Timer ── */
.clean-theme .timer-container {
    background: var(--c-card);
    border: 1px solid var(--c-border);
    border-radius: var(--c-radius);
    box-shadow: none;
    padding: 8px;
}
.clean-theme .timer-container::before { display: none; }
.clean-theme .timer-display {
    color: var(--c-text);
    font-weight: 800;
    text-shadow: none;
    font-size: clamp(28px, 8vw, 48px);
    margin: 0;
}
.clean-theme .timer-separator { color: var(--c-accent); }
.clean-theme .timer-progress-bar {
    background: var(--c-border);
    border: none;
    border-radius: 4px;
}
.clean-theme .timer-progress-bar::before {
    background: linear-gradient(90deg, var(--c-accent2), var(--c-accent));
    box-shadow: none;
    border-radius: 4px;
}
.clean-theme .timer-progress-text { color: var(--c-dim); }
.clean-theme #progressPercent { color: var(--c-accent); }

/* ── Side banner ── */
.clean-theme .side-banner-container {
    background: var(--c-card);
    border: 1px solid var(--c-border);
    border-radius: var(--c-radius);
    animation: none;
    box-shadow: none;
    padding: 0;
    overflow: hidden;
}
.clean-theme .side-banner-container::before { display: none; }
.clean-theme .side-banner-carousel { background: transparent; border-radius: 0; }
.clean-theme .side-banner-slide img { border-radius: 0; }
.clean-theme .platform-hot {
    background: var(--c-accent);
    color: var(--c-bg);
    font-weight: 700;
    border-radius: 0 0 0 8px;
    font-size: 9px;
    animation: none;
}

/* ── Carousel ── */
.clean-theme .carousel-container {
    border: 1px solid var(--c-border);
    border-radius: var(--c-radius);
    box-shadow: none;
    padding: 0;
    margin: 0;
    overflow: hidden;
    height: 380px;
}
.clean-theme .carousel-slide img { border-radius: 0; }
.clean-theme .carousel-overlay { background: linear-gradient(180deg, transparent 70%, rgba(12,14,22,0.8) 100%); }
.clean-theme .carousel-btn {
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    box-shadow: none;
    width: 32px;
    height: 32px;
    font-size: 16px;
}
.clean-theme .carousel-btn:hover,
.clean-theme .carousel-btn:active {
    background: var(--c-accent);
    color: var(--c-bg);
    border-color: var(--c-accent);
    box-shadow: none;
}
.clean-theme .carousel-dots .dot { background: rgba(255,255,255,0.25); border: none; box-shadow: none; }
.clean-theme .carousel-dots .dot.active { background: var(--c-accent); box-shadow: none; width: 20px; }

/* ── Hora quente strip ── */
/* On desktop the hora-sinal-row manages margin; strip resets its own */
@media (min-width: 1024px) {
    .clean-theme .hora-sinal-row .hora-quente-strip,
    .clean-theme .hora-sinal-row .retention-strip {
        margin: 0;
    }

    /* Mirror hora-quente-strip outline onto sinal-do-dia-panel in clean-theme */
    .clean-theme .hora-sinal-row .retention-strip .sinal-do-dia-panel {
        background: var(--c-card);
        border: 2px solid #ffe600;
        border-left: 2px solid #ffe600;
        border-radius: var(--c-radius);
        box-shadow: 0 0 10px rgba(255, 230, 0, 0.55), inset 0 0 6px rgba(255, 230, 0, 0.08);
    }

    /* Suppress the sweep animation in clean-theme (consistent with hora-quente-strip::before suppression) */
    .clean-theme .hora-sinal-row .retention-strip .sinal-do-dia-panel::before {
        display: none;
    }
}

.clean-theme .hora-quente-strip {
    background: var(--c-card);
    border: 2px solid #ffe600;
    box-shadow: 0 0 10px rgba(255, 230, 0, 0.55), inset 0 0 6px rgba(255, 230, 0, 0.08);
    border-radius: var(--c-radius);
    padding: 8px 12px;
    margin: 6px 0 4px;
}
.clean-theme .hora-quente-strip::before { display: none; }
.clean-theme .hora-quente-label { color: var(--c-muted); font-weight: 600; }
.clean-theme .hora-quente-time { color: var(--c-gold); font-weight: 800; text-shadow: none; }
.clean-theme .hora-quente-countdown { color: var(--c-dim); }
.clean-theme .hora-quente-strip.hora-quente-active {
    border: 2px solid #ffe600;
    background: rgba(255, 215, 0, 0.08);
    box-shadow: 0 0 14px rgba(255, 230, 0, 0.7), inset 0 0 8px rgba(255, 230, 0, 0.12);
    animation: none;
}

/* ── Retention strip ── */
.clean-theme .retention-strip { gap: 6px; }
.clean-theme .sinal-do-dia-panel {
    background: var(--c-card);
    border: 1px solid var(--c-border);
    border-left: 3px solid var(--c-accent);
    border-radius: var(--c-radius);
    box-shadow: none;
}
.clean-theme .sinal-badge {
    background: rgba(34,201,151,0.1);
    border: 1px solid rgba(34,201,151,0.25);
    color: var(--c-accent);
    font-weight: 700;
    border-radius: 4px;
    box-shadow: none;
    animation: none;
}
.clean-theme .sinal-game { color: var(--c-text); }
.clean-theme .sinal-sep { color: var(--c-dim); }
.clean-theme .sinal-rtp { color: var(--c-muted); }
.clean-theme .sinal-rtp strong { color: var(--c-accent); }
.clean-theme .sinal-mult { color: var(--c-gold); text-shadow: none; }

.clean-theme .ganhos-panel {
    background: var(--c-card);
    border: 1px solid var(--c-border);
    border-radius: var(--c-radius);
    box-shadow: none;
}
.clean-theme .ganhos-label { color: var(--c-muted); }
.clean-theme .ganhos-value { color: var(--c-accent); text-shadow: none; }
.clean-theme .ganhos-sub { color: var(--c-dim); }

/* ── Jogo Responsável page ── */
.clean-theme .status-link {
    color: var(--c-accent);
    font-family: var(--c-font);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.clean-theme .status-link:hover {
    color: var(--c-text);
    text-decoration: none;
}

.clean-theme .responsible-gaming-content {
    padding: 24px 0 48px;
}

.clean-theme .rg-section {
    margin-bottom: 28px;
}

.clean-theme .rg-section-header {
    gap: 10px;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--c-border);
}

.clean-theme .rg-icon {
    color: var(--c-accent);
    font-size: 13px;
}

.clean-theme .rg-title {
    font-family: var(--c-font);
    font-size: 15px;
    font-weight: 700;
    color: var(--c-text);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.clean-theme .rg-card {
    background: var(--c-card);
    border: 1px solid var(--c-border);
    border-left: 3px solid var(--c-accent);
    border-radius: var(--c-radius);
    padding: 16px 18px;
    box-shadow: none;
}

.clean-theme .rg-text {
    font-family: var(--c-font);
    color: var(--c-muted);
    font-size: 14px;
    line-height: 1.75;
}

.clean-theme .rg-text strong {
    color: var(--c-text);
    font-weight: 700;
}

.clean-theme .rg-intro {
    font-family: var(--c-font);
    color: var(--c-muted);
    font-size: 13px;
    margin-bottom: 14px;
}

.clean-theme .rg-checklist li {
    font-family: var(--c-font);
    color: var(--c-muted);
    font-size: 14px;
    padding: 8px 8px 8px 28px;
    border-radius: 6px;
    transition: background 0.15s;
}

.clean-theme .rg-checklist li:hover {
    background: rgba(34, 201, 151, 0.05);
}

.clean-theme .rg-checklist li::before {
    color: var(--c-accent);
    font-size: 12px;
}

.clean-theme .rg-disclaimer {
    margin-top: 16px;
    color: var(--c-gold);
    font-family: var(--c-font);
    font-size: 13px;
    font-weight: 600;
}

.clean-theme .rg-disclaimer strong {
    color: var(--c-gold);
}

.clean-theme .rg-link {
    background: var(--c-card);
    border: 1px solid var(--c-border);
    border-radius: var(--c-radius);
    color: var(--c-accent);
    font-family: var(--c-font);
    font-size: 13px;
    font-weight: 500;
    padding: 12px 16px;
    transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.clean-theme .rg-link:hover {
    border-color: var(--c-accent);
    background: rgba(34, 201, 151, 0.07);
    color: var(--c-text);
}

.clean-theme .rg-tips li {
    font-family: var(--c-font);
    color: var(--c-muted);
    font-size: 14px;
    padding: 7px 8px 7px 0;
    border-bottom: 1px solid var(--c-border);
    gap: 12px;
}

.clean-theme .rg-tips li:last-child {
    border-bottom: none;
}

.clean-theme .tip-bullet {
    color: var(--c-accent);
    font-size: 13px;
    margin-top: 1px;
}

/* ── Provider selector ── */
.clean-theme .provider-selector {
    background: var(--c-card);
    border: 1px solid var(--c-border);
    border-radius: var(--c-radius);
    box-shadow: none;
    padding: 12px 16px;
}
.clean-theme .provider-selector:hover,
.clean-theme .provider-selector:active {
    border-color: var(--c-accent);
    box-shadow: none;
}
.clean-theme .selector-icon { color: var(--c-accent); }
.clean-theme .selector-name { color: var(--c-text); font-weight: 600; }
.clean-theme .selector-count { color: var(--c-accent); }
.clean-theme .selector-status { color: var(--c-accent); animation: none; }

.clean-theme .provider-menu {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--c-radius);
    box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}
.clean-theme .provider-menu-header {
    background: var(--c-card);
    border-bottom: 1px solid var(--c-border);
    color: var(--c-muted);
}
.clean-theme .menu-icon { color: var(--c-accent); }
.clean-theme .provider-item {
    color: var(--c-text);
    border-bottom: 1px solid var(--c-border);
}
.clean-theme .provider-item:hover,
.clean-theme .provider-item:active { background: rgba(255,255,255,0.03); }
.clean-theme .provider-item.active {
    background: rgba(34,201,151,0.06);
    border-left: 3px solid var(--c-accent);
    color: var(--c-accent);
}
.clean-theme .provider-indicator { color: var(--c-dim); }
.clean-theme .provider-item.active .provider-indicator { color: var(--c-accent); animation: none; }
.clean-theme .provider-game-count { color: var(--c-muted); }
.clean-theme .provider-arrow { color: var(--c-dim); }

/* ── Game cards ── */
.clean-theme .game-card {
    background: var(--c-card);
    border: 1px solid var(--c-border);
    border-radius: var(--c-radius);
    box-shadow: none;
    overflow: hidden;
    transition: transform 0.18s ease, border-color 0.18s ease;
}
.clean-theme .game-card:hover,
.clean-theme .game-card:active {
    transform: translateY(-2px);
    border-color: rgba(34,201,151,0.4);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.clean-theme .game-card::before { display: none; }
.clean-theme .game-image-container { background: var(--c-surface); }
.clean-theme .game-info { padding: 8px 10px; gap: 6px; }
.clean-theme .game-provider { color: var(--c-dim); letter-spacing: 0.5px; }
.clean-theme .game-rtp-container {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: 8px;
}
.clean-theme .rtp-label { color: var(--c-dim); font-weight: 600; letter-spacing: 0.3px; }
.clean-theme .rtp-value { font-weight: 800; text-shadow: none; }
.clean-theme .rtp-high { color: var(--c-accent); text-shadow: none; }
.clean-theme .rtp-medium { color: var(--c-gold); text-shadow: none; }
.clean-theme .rtp-low { color: var(--c-red); text-shadow: none; }
.clean-theme .rtp-bar-container { background: var(--c-border); border-radius: 4px; }
.clean-theme .rtp-bar-fill { box-shadow: none; }
.clean-theme .rtp-fill-high { background: linear-gradient(90deg, var(--c-accent2), var(--c-accent)); }
.clean-theme .rtp-fill-medium { background: linear-gradient(90deg, #e5a620, var(--c-gold)); }
.clean-theme .rtp-fill-low { background: linear-gradient(90deg, #c93545, var(--c-red)); }
.clean-theme .game-multiplier {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: 6px;
}
.clean-theme .multiplier-high { color: var(--c-accent); }
.clean-theme .multiplier-medium { color: var(--c-gold); }
.clean-theme .multiplier-low { color: var(--c-dim); }
.clean-theme .game-priority-badge {
    background: rgba(0,0,0,0.75);
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow: none;
}
.clean-theme .priority-1 { border-color: var(--c-gold); color: var(--c-gold); box-shadow: none; }
.clean-theme .priority-2 { border-color: var(--c-red); color: var(--c-red); box-shadow: none; }
.clean-theme .priority-3 { border-color: var(--c-accent); color: var(--c-accent); box-shadow: none; }
.clean-theme .favorito-badge { background: rgba(245,166,35,0.15); color: var(--c-gold); box-shadow: none; }
.clean-theme .card-viewers-badge { background: rgba(0,0,0,0.6); border: 1px solid rgba(255,255,255,0.1); }

/* ── Console window ── */
.clean-theme .console-window {
    background: var(--c-card);
    border: 1px solid var(--c-border);
    border-radius: var(--c-radius);
    box-shadow: none;
}
.clean-theme .console-header {
    background: var(--c-surface);
    border-bottom: 1px solid var(--c-border);
}
.clean-theme .console-title { color: var(--c-muted); }
.clean-theme .console-icon { color: var(--c-accent); animation: none; }
.clean-theme .console-prompt { color: var(--c-accent); }
.clean-theme .console-ok { color: var(--c-accent); }
.clean-theme .console-active { color: var(--c-accent); animation: none; }
.clean-theme .section-header {
    background: var(--c-card);
    border: 1px solid var(--c-border);
    border-radius: 8px;
}
.clean-theme .section-icon { color: var(--c-accent); animation: none; }

/* ── Load more button ── */
.clean-theme .load-more-btn {
    background: var(--c-card);
    border: 1px solid var(--c-border);
    color: var(--c-text);
    border-radius: 8px;
    box-shadow: none;
    font-weight: 600;
}
.clean-theme .load-more-btn:hover {
    border-color: var(--c-accent);
    color: var(--c-accent);
    background: rgba(34,201,151,0.06);
    box-shadow: none;
    transform: none;
}
.clean-theme .load-more-btn .btn-count {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    color: var(--c-accent);
}

/* ── Footer ── */
.clean-theme .site-footer {
    background: var(--c-surface);
    border-top: 1px solid var(--c-border);
}
.clean-theme .footer-age-badge {
    background: var(--c-red);
    box-shadow: none;
}
.clean-theme .footer-disclaimer { color: var(--c-muted); }
.clean-theme .footer-link { color: var(--c-accent); }
.clean-theme .footer-separator { color: var(--c-dim); }

/* ── Win toast — card fill only; ring comes from base .win-toast::after ── */
.clean-theme .win-toast {
background: var(--c-card);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}
.clean-theme .win-toast-userid { color: var(--c-text); }
.clean-theme .win-toast-bottom { color: var(--c-muted); }
.clean-theme .win-toast-platform { color: var(--c-accent); }
.clean-theme .win-toast-time { color: var(--c-dim); }
.clean-theme .win-toast-sep { color: var(--c-dim); }

/* ── Telegram FOMO ── */
.clean-theme .tg-fomo-notif {
    background: var(--c-card);
    border: 1px solid var(--c-border);
    border-left: 3px solid var(--c-accent2);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.clean-theme .tg-fomo-text { color: var(--c-text); }
.clean-theme .tg-fomo-cta { color: var(--c-accent2); text-shadow: none; }

/* ── RTP Alert ── */
.clean-theme .rtp-alert-overlay { backdrop-filter: blur(8px); }
.clean-theme .rtp-alert-box {
    background: var(--c-card);
    border: 1px solid var(--c-border);
    border-top: 3px solid var(--c-gold);
    border-radius: var(--c-radius);
    box-shadow: 0 16px 48px rgba(0,0,0,0.6);
}
.clean-theme .rtp-alert-title { color: var(--c-gold); letter-spacing: 1px; }
.clean-theme .rtp-alert-rtp-value { color: var(--c-accent); text-shadow: none; }
.clean-theme .rtp-alert-rtp-label { color: var(--c-muted); }
.clean-theme .rtp-alert-message { color: var(--c-muted); }
.clean-theme .rtp-alert-countdown { color: var(--c-text); text-shadow: none; }
.clean-theme .rtp-alert-close { color: var(--c-dim); border: none; background: none; }
.clean-theme .rtp-alert-game-img { border: 1px solid var(--c-border); border-radius: var(--c-radius); box-shadow: none; }
.clean-theme .rtp-alert-btn {
    background: linear-gradient(135deg, var(--c-accent), #1db584);
    color: #fff;
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(34,201,151,0.3);
    animation: none;
}

/* ── Popup banner ── */
.clean-theme .popup-banner-image-wrapper {
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
    animation: none;
}
.clean-theme .popup-banner-image-wrapper::before { display: none; }
.clean-theme .popup-banner-image-wrapper::after { display: none; }
.clean-theme .popup-banner-image { animation: none; }
.clean-theme .popup-banner-glow { display: none; }
.clean-theme .shockwave-ring { display: none; }
.clean-theme .popup-register-btn {
    background: linear-gradient(135deg, var(--c-accent), #1db584);
    color: #fff;
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(34,201,151,0.3);
    animation: none;
}
.clean-theme .popup-register-btn:hover { box-shadow: 0 6px 24px rgba(34,201,151,0.4); }
.clean-theme .popup-banner-close {
    background: var(--c-card);
    border: 1px solid var(--c-border);
    color: var(--c-text);
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
    animation: none;
}
.clean-theme .popup-carousel-prev:hover,
.clean-theme .popup-carousel-next:hover { background: var(--c-accent); }
.clean-theme .popup-dot.active { background: var(--c-accent); box-shadow: none; }

/* ── Modal ── */
.clean-theme .modal-container {
    background: var(--c-card);
    border: 1px solid var(--c-border);
    border-radius: var(--c-radius);
    box-shadow: 0 24px 64px rgba(0,0,0,0.6);
}
.clean-theme .modal-header { border-bottom: 1px solid var(--c-border); }
.clean-theme .modal-terminal { color: var(--c-muted); }
.clean-theme .modal-title { color: var(--c-text); }
.clean-theme .modal-bracket { color: var(--c-accent); }
.clean-theme .modal-stats { background: var(--c-surface); border-bottom: 1px solid var(--c-border); }
.clean-theme .stat-value { color: var(--c-accent); }
.clean-theme .stat-online { color: var(--c-accent); }
.clean-theme .platform-card {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: 8px;
}
.clean-theme .platform-card:hover,
.clean-theme .platform-card:active {
    border-color: var(--c-accent);
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
    transform: translateY(-2px);
}
.clean-theme .platform-gold { border-color: var(--c-gold) !important; box-shadow: none !important; }
.clean-theme .platform-gold::after { display: none; }

/* ── Floating timer button ── */
.clean-theme .floating-timer-button {
    background: var(--c-card);
    border: 1px solid var(--c-border);
    border-radius: 12px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.5);
}
.clean-theme .floating-timer-button::before { display: none; }
.clean-theme .floating-timer-button::after {
    background: var(--c-card);
    border-radius: 12px;
}
.clean-theme .floating-timer-button:hover {
    box-shadow: 0 12px 36px rgba(0,0,0,0.6);
}
.clean-theme .floating-timer-text { color: var(--c-accent); text-shadow: none; letter-spacing: 1px; }
.clean-theme .floating-timer-display { color: var(--c-text); text-shadow: none; }
.clean-theme .floating-timer-progress { background: var(--c-border); }
.clean-theme .floating-timer-progress-bar { background: linear-gradient(90deg, var(--c-accent2), var(--c-accent)); box-shadow: none; }
.clean-theme .floating-timer-pulse { display: none; }

/* ── Floating social buttons ── */
.clean-theme .floating-telegram {
    background: #229ed9;
    border: none;
    box-shadow: 0 4px 16px rgba(34,158,217,0.35);
    animation: none;
}
.clean-theme .floating-whatsapp {
    background: #25d366;
    border: none;
    box-shadow: 0 4px 16px rgba(37,211,102,0.35);
    animation: none;
}
.clean-theme .floating-jogo-responsavel {
    background: var(--c-card);
    border: 1px solid var(--c-border);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* ── DevTools overlay ── */
.clean-theme #_dtOverlay { background: var(--c-bg); }

/* ── Scrollbar ── */
.clean-theme ::-webkit-scrollbar { width: 4px; }
.clean-theme ::-webkit-scrollbar-track { background: transparent; }
.clean-theme ::-webkit-scrollbar-thumb { background: var(--c-border); border-radius: 4px; }
.clean-theme ::-webkit-scrollbar-thumb:hover { background: var(--c-dim); }

/* ==========================================================================
   CLEAN THEME — Mobile overrides (≤768px)
   ========================================================================== */
@media (max-width: 768px) {
    /* Status bar — compact, hide SYNC and JOGOS */
    .clean-theme .system-status-bar { height: 32px; font-size: 9px; padding: 0 8px; }
    .clean-theme .status-group { gap: 6px; }
    .clean-theme .status-group:first-child .status-item:nth-child(2),
    .clean-theme .status-group:last-child .status-item:last-child { display: none; }

    /* Live ticker */
    .clean-theme .live-activity-bar { top: 32px; height: 26px; }

    /* Header — compact column */
    .clean-theme .main-header { margin-top: 58px; top: 58px; padding: 0; }
    .clean-theme .header-content {
        flex-direction: column;
        align-items: center;
        gap: 2px;
        padding: 6px 10px;
    }
    .clean-theme .header-left { margin-left: 0; justify-content: center; gap: 6px; }
    .clean-theme .header-center { padding: 0; min-width: 0; width: 100%; }
    .clean-theme .main-title { font-size: 14px; margin: 0; line-height: 1.2; display: inline; }
    .clean-theme .subtitle { font-size: 9px; margin: 0; }
    .clean-theme .header-right { display: none; }
    .clean-theme .version-tag { font-size: 8px; padding: 1px 6px; }

    /* Timer + banner — tighter */
    .clean-theme .banner-timer-wrapper { gap: 6px; margin-bottom: 6px; }
    .clean-theme .timer-split-wrapper { gap: 6px; }
    .clean-theme .timer-container { padding: 6px; }
    .clean-theme .timer-display { font-size: 30px !important; margin: 0 !important; }
    .clean-theme .timer-progress { margin-bottom: 2px; }
    .clean-theme .timer-progress-text span { font-size: 8px; }

    /* Side banner */
    .clean-theme .side-banner-container { overflow: hidden; }

    /* Carousel */
    .clean-theme .carousel-container { height: 160px; }

    /* Hora quente */
    .clean-theme .hora-quente-strip { padding: 6px 10px; margin: 4px 0; font-size: 10px; }

    /* Retention strip — wrap */
    .clean-theme .retention-strip { flex-wrap: wrap; gap: 6px; margin: 4px 0 6px; }
    .clean-theme .sinal-do-dia-panel { padding: 6px 8px; }
    .clean-theme .ganhos-panel { padding: 5px 8px; }

    /* Provider */
    .clean-theme .provider-selector { padding: 10px 14px; }
    .clean-theme .provider-section { margin-bottom: 0; }

    /* Games grid */
    .clean-theme .games-grid { gap: 6px; margin-top: 6px; }
    .clean-theme .game-card { border-radius: 8px; }
    .clean-theme .game-info { padding: 6px 8px; gap: 4px; }

    /* Floating elements */
    .clean-theme .floating-timer-button { bottom: 10px; min-width: 170px; padding: 8px 16px; }
    .clean-theme .floating-telegram { bottom: calc(76px + env(safe-area-inset-bottom)); width: 46px; height: 46px; }
    .clean-theme .floating-whatsapp { bottom: calc(130px + env(safe-area-inset-bottom)); width: 46px; height: 46px; }
    .clean-theme .floating-jogo-responsavel { bottom: calc(184px + env(safe-area-inset-bottom)); width: 46px; height: 46px; }

    /* Container */
    .clean-theme .main-content { padding-top: 6px; }
    .clean-theme .main-content .container { padding: 6px 8px 90px; }
}

