/* ============================================
   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;
}

/* ============================================
   HIDE SCROLLBARS - ALL BROWSERS
   ============================================ */

/* Hide scrollbars - Chrome, Safari, Opera, Edge (WebKit) */
*::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    background: transparent !important;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

/* Hide scrollbars - Firefox */
* {
    scrollbar-width: none !important;
}

html, body {
    scrollbar-width: none !important;
}

/* Hide scrollbars - IE and Edge Legacy */
* {
    -ms-overflow-style: none !important;
}

html, body {
    -ms-overflow-style: none !important;
}

/* Ensure content is still scrollable */
html, body {
    overflow: auto !important;
}

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;
}

/* ============================================
   SIMPLE MODE - CLEAN WHITE DESIGN
   ============================================ */

body.simple-mode {
    background: #ffffff;
}

body.simple-mode .terminal-bg,
body.simple-mode .grid-overlay,
body.simple-mode .scan-line,
body.simple-mode .data-stream {
    display: none !important;
}

/* Sticky Header - White Theme */
.sticky-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid #e0e0e0;
    backdrop-filter: blur(10px);
}

.header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    font-family: var(--font-mono);
    font-size: 12px;
}

.header-bar-centered {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    font-family: var(--font-mono);
    font-size: 12px;
    flex-wrap: wrap;
}

.header-left-group,
.header-center-group,
.header-right-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-label {
    color: #888888;
}

.header-value-green {
    color: #22c55e;
    font-weight: 700;
}

.header-value-cyan {
    color: #0ea5e9;
    font-weight: 700;
}

.status-dot-green {
    color: #22c55e;
    font-size: 10px;
    animation: pulse 2s ease-in-out infinite;
}

.header-separator {
    color: #cccccc;
    margin: 0 5px;
}

.header-dropdown {
    color: #0ea5e9;
    cursor: pointer;
    padding: 5px;
    transition: transform 0.3s;
}

.header-dropdown:hover {
    transform: scale(1.2);
}

/* Provider Dropdown - White Theme */
.provider-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 20px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    z-index: 1001;
    min-width: 180px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.provider-dropdown.active {
    display: block;
}

.provider-option {
    display: block;
    width: 100%;
    padding: 12px 16px;
    background: transparent;
    border: none;
    color: #333333;
    font-family: var(--font-mono);
    font-size: 11px;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s;
}

.provider-option:hover {
    background: #f5f5f5;
}

.provider-option.active {
    background: #e3f2fd;
    color: #0ea5e9;
}

/* Sticky Progress Bar - White Theme */
.sticky-progress {
    position: sticky;
    top: 45px;
    z-index: 999;
    height: 4px;
    background: #e5e5e5;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #0ea5e9, #22c55e);
    width: 0%;
    transition: width 0.1s linear;
}

/* Main Content Simple */
.main-content-simple {
    padding: 20px 0;
    background: transparent;
}

.container-wide {
    max-width: 1700px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Banner Section Simple */
.banner-section-simple {
    margin-bottom: 20px;
}

.carousel-container-simple {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 21/9;
}

.carousel-container-simple .carousel-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease;
}

.carousel-container-simple .carousel-slide {
    min-width: 100%;
    height: 100%;
}

.carousel-container-simple .carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    font-size: 30px;
    padding: 10px 15px;
    cursor: pointer;
    transition: background 0.3s;
    z-index: 10;
}

.carousel-nav:hover {
    background: rgba(0, 0, 0, 0.6);
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

.carousel-container-simple .carousel-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.carousel-container-simple .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-container-simple .dot.active {
    background: #0ea5e9;
    width: 30px;
    border-radius: 5px;
}

/* Games Grid - 10 per row */
.games-grid-10 {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 10px;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
}

/* Responsive grid */
@media (max-width: 1600px) {
    .games-grid-10 {
        grid-template-columns: repeat(8, 1fr);
        max-width: 1300px;
    }
}

@media (max-width: 1200px) {
    .games-grid-10 {
        grid-template-columns: repeat(6, 1fr);
        max-width: 1000px;
    }
}

@media (max-width: 900px) {
    .games-grid-10 {
        grid-template-columns: repeat(4, 1fr);
        max-width: 700px;
    }
}

@media (max-width: 600px) {
    .games-grid-10 {
        grid-template-columns: repeat(3, 1fr);
        max-width: 100%;
    }
}

/* Simple Game Card - Non-clickable */
.game-card-simple {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.game-card-simple:hover {
    border-color: #0ea5e9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.game-card-simple .game-image-wrapper {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
}

.game-card-simple .game-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-card-simple .game-badge {
    position: absolute;
    top: 5px;
    left: 5px;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 8px;
    font-weight: 700;
    font-family: var(--font-mono);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.game-card-simple .badge-fortune {
    color: #ffffff;
    background: linear-gradient(135deg, #ffd700, #ffaa00);
    border: none;
}

.game-card-simple .badge-popular {
    color: #ffffff;
    background: linear-gradient(135deg, #ff4081, #e91e63);
    border: none;
}

.game-card-simple .badge-destaque {
    color: #ffffff;
    background: linear-gradient(135deg, #00e676, #00c853);
    border: none;
}

.game-card-simple .game-info-simple {
    padding: 8px;
    background: #f8f9fa;
}

.game-card-simple .rtp-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.game-card-simple .rtp-label {
    font-size: 9px;
    color: #888888;
    font-family: var(--font-mono);
}

.game-card-simple .rtp-value {
    font-size: 14px;
    font-weight: 900;
    font-family: var(--font-mono);
}

.game-card-simple .rtp-high {
    color: #22c55e;
}

.game-card-simple .rtp-medium {
    color: #f59e0b;
}

.game-card-simple .rtp-low {
    color: #ef4444;
}

.game-card-simple .rtp-bar {
    height: 3px;
    background: #e5e5e5;
    border-radius: 2px;
    overflow: hidden;
}

.game-card-simple .rtp-bar-fill {
    height: 100%;
    border-radius: 2px;
    transition: width 0.5s;
}

.game-card-simple .rtp-bar-high {
    background: #22c55e;
}

.game-card-simple .rtp-bar-medium {
    background: #f59e0b;
}

.game-card-simple .rtp-bar-low {
    background: #ef4444;
}

/* Load More Button Simple */
.load-more-btn-simple {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    max-width: 300px;
    margin: 20px auto;
    padding: 15px 25px;
    background: #0ea5e9;
    border: none;
    border-radius: 8px;
    color: #ffffff;
    font-family: var(--font-mono);
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 4px rgba(14, 165, 233, 0.3);
}

.load-more-btn-simple:hover {
    background: #0284c7;
    box-shadow: 0 4px 8px rgba(14, 165, 233, 0.4);
}

/* Games Section Simple */
.games-section-simple {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ============================================
   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;
}

/* Desktop: Center status bar elements */
@media (min-width: 1024px) {
    .system-status-bar {
        justify-content: center;
        gap: 40px;
    }
}

.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);
}

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

.main-header {
    position: sticky;
    top: 36px;
    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: 36px;
}

.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;
}

.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;
}

.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: 20px 0 100px;
}

/* ============================================
   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: 280px;
    }
}

/* ============================================
   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: visible;
    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;
    }
}

.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 {
    width: 100%;
    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 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    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: 180px;
    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;
    }
    
    .carousel-container {
        height: 100%;
        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;
}

.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-section {
    margin-bottom: 50px;
}

.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;
    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: 2px;
    letter-spacing: 1px;
}

.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;
    }
}

/* ============================================
   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 - Already handled above */
/* Removed duplicate - using global scrollbar hiding */

/* 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;
}

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

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

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

.hidden {
    display: none !important;
}

/* Scrollbar styles removed - scrollbars are hidden globally */
/* If you need visible scrollbars, remove the global hiding CSS above */

/* 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;
    
    }
}

