/* ============================================
   CASINO PAGE - FRESH IMPLEMENTATION
   ============================================ */

   .casino-content {
    width: 100%;
    padding: 0;
    margin: 0;
    min-height: calc(100vh - 70px);
    box-sizing: border-box;
    overflow-x: hidden;
}

/* Hide casino elements when casino content is not active */
.sports-content.active ~ .casino-content,
body:not(:has(.casino-content.active)) .casino-content {
    display: none;
}

/* Ensure casino elements only show when casino is active */
.casino-content:not(.active) {
    display: none !important;
}

.casino-content.active {
    display: block;
}

/* ============================================
   BANNERS
   ============================================ */
.casino-banners-container {
    position: relative;
    width: 100%;
    padding: 0 15px; /* Same padding as filters */
    margin: 0 auto 20px;
    max-width: 1200px; /* Same max-width as filters */
    box-sizing: border-box;
}

.casino-banners-visible {
    width: 100%;
    overflow: hidden;
    position: relative; /* For dots positioning */
    border-radius: 12px;
}

.casino-banners-wrapper {
    display: flex;
    transition: transform 0.5s ease;
    gap: 0;
    will-change: transform;
    flex-wrap: nowrap;
    align-items: center; /* Center banners vertically */
    justify-content: flex-start; /* Align banners to start for proper transform */
}

.casino-banner-item {
    flex: 0 0 100%;
    width: 100%;
    height: 500px; /* Increased height for desktop */
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
}

.casino-banner-item a {
    display: block;
    width: 100%;
    height: 100%;
}

.casino-banner-item img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Show full image without cropping */
    object-position: center; /* Center the image */
    border-radius: 12px;
    display: block;
    margin: 0 auto; /* Center horizontally */
}

/* Navigation Arrows */
.casino-banner-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    transition: all 0.3s;
    font-size: 1.5rem;
}

.casino-banner-nav:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.casino-banner-nav.prev {
    left: 15px;
}

.casino-banner-nav.next {
    right: 15px;
}

.casino-banner-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.casino-banner-nav:disabled:hover {
    transform: translateY(-50%);
}

/* Dots overlay - Minimalist, inside image at bottom */
.casino-banners-dots {
    position: absolute;
    bottom: 15px; /* Inside image, at bottom margin */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px; /* Small gap */
    z-index: 10;
    pointer-events: none; /* Allow clicks to pass through container */
    align-items: center;
    justify-content: center;
    width: 100%; /* Full width to center properly */
}


.casino-banner-dot {
    width: 4px; /* Much smaller */
    height: 4px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none; /* No border for minimalist look */
    cursor: pointer;
    transition: all 0.2s;
    pointer-events: auto; /* Make dots clickable */
}

.casino-banner-dot:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.3);
}

.casino-banner-dot.active {
    background: rgba(255, 255, 255, 0.9);
    width: 6px; /* Slightly larger when active */
    height: 6px;
}

/* ============================================
   FILTERS
   ============================================ */
.casino-filters-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 20px;
    padding: 0 15px;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    box-sizing: border-box;
}

.casino-filters-nav {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    flex: 1;
    padding: 5px 0;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.casino-filters-nav::-webkit-scrollbar {
    display: none;
}

.filter-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.3s;
    font-size: 14px;
    font-weight: 500;
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
}

.filter-btn.active {
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    border-color: #2563eb;
    color: #fff;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.filter-btn i {
    font-size: 16px;
}

.filter-btn img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

/* Search */
.casino-search-container {
    position: relative;
    min-width: 250px;
    max-width: 300px;
}

.casino-search-container i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.5);
    pointer-events: none;
}

.casino-search-input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
}

.casino-search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.casino-search-input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* ============================================
   GAMES
   ============================================ */
.casino-games-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px 100px;
    min-height: 400px;
}

.casino-games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

/* ============================================
   GAME CATEGORIES
   ============================================ */
.game-category-section {
    margin-bottom: 40px;
    width: 100%;
}

.game-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 0 5px;
}

.category-title-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.category-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    color: #2563eb;
    font-size: 20px;
}

.category-title {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.category-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.carousel-nav-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    font-size: 14px;
}

.carousel-nav-btn:hover:not(:disabled) {
    background: rgba(37, 99, 235, 0.3);
    border-color: #2563eb;
    transform: scale(1.1);
}

.carousel-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.view-all-btn {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.view-all-btn:hover {
    background: rgba(37, 99, 235, 0.2);
    border-color: #2563eb;
    color: #fff;
}

.game-category-carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.game-category-list {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    padding: 5px 0;
    -ms-overflow-style: none;
    scrollbar-width: thin;
    scrollbar-color: rgba(37, 99, 235, 0.3) transparent;
}

/* Mobile: Force 3 games visible with scaling */
@media (max-width: 768px) {
    .game-category-list {
        gap: 10px;
        padding: 5px;
        /* Calculate scale to fit exactly 3 games */
        --mobile-scale: 1;
    }
    
    .game-category-list .casino-game-card {
        width: calc(33.333% - 7px) !important;
        min-width: calc(33.333% - 7px) !important;
        max-width: calc(33.333% - 7px) !important;
        flex-shrink: 0;
        transform-origin: center center;
    }
    
    /* Scale down if needed to fit 3 games perfectly */
    @media (max-width: 480px) {
        .game-category-list {
            --mobile-scale: 0.95;
        }
        
        .game-category-list .casino-game-card {
            transform: scale(var(--mobile-scale));
        }
    }
    
    @media (max-width: 360px) {
        .game-category-list {
            --mobile-scale: 0.85;
        }
    }
}

.game-category-list::-webkit-scrollbar {
    height: 6px;
}

.game-category-list::-webkit-scrollbar-track {
    background: transparent;
}

.game-category-list::-webkit-scrollbar-thumb {
    background: rgba(37, 99, 235, 0.3);
    border-radius: 3px;
}

.game-category-list::-webkit-scrollbar-thumb:hover {
    background: rgba(37, 99, 235, 0.5);
}

.game-category-list.dragging {
    cursor: grabbing;
    scroll-behavior: auto;
}

.game-category-list.dragging .casino-game-card {
    pointer-events: none;
}

.game-category-list .casino-game-card {
    flex-shrink: 0;
    width: 200px;
    min-width: 200px;
}

/* Mobile: 3 games per row in carousel with scaling */
@media (max-width: 768px) {
    .game-category-list {
        gap: 8px;
        padding: 5px;
        /* Force exactly 3 games visible */
        overflow-x: auto;
        scroll-snap-type: x mandatory;
    }
    
    .game-category-list .casino-game-card {
        width: calc(33.333% - 6px) !important;
        min-width: calc(33.333% - 6px) !important;
        max-width: calc(33.333% - 6px) !important;
        flex-shrink: 0;
        scroll-snap-align: start;
    }
    
    /* Scale down on smaller screens to ensure 3 fit */
    @media (max-width: 480px) {
        .game-category-list {
            --mobile-card-scale: 0.95;
        }
        
        .game-category-list .casino-game-card {
            transform: scale(var(--mobile-card-scale));
            transform-origin: center center;
        }
    }
    
    @media (max-width: 360px) {
        .game-category-list {
            --mobile-card-scale: 0.88;
        }
    }
}

/* Category View (All Games) */
.category-view-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding: 0 5px;
}

.back-to-categories-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.back-to-categories-btn:hover {
    background: rgba(37, 99, 235, 0.2);
    border-color: #2563eb;
    color: #fff;
}

.back-to-categories-btn i {
    font-size: 16px;
}

.category-view-title {
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

.casino-game-card {
    background: transparent;
    border: none;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
}

.casino-game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.4);
}

.game-card-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 130%; /* Aumentado para mostrar a foto completa */
    overflow: hidden;
    background: transparent;
    border-radius: 10px;
}

.game-card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.casino-game-card:hover .game-card-overlay {
    opacity: 1;
}

.play-game-btn {
    padding: 12px 24px;
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.play-game-btn:hover {
    transform: scale(1.05);
}


/* Loading & Error */
.loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    color: rgba(255, 255, 255, 0.7);
}

.loading-spinner i {
    font-size: 48px;
    margin-bottom: 20px;
    color: #2563eb;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.error-message {
    padding: 40px 20px;
    text-align: center;
    color: #3b82f6;
}

.error-message p {
    margin: 0;
    word-wrap: break-word;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .casino-banner-item {
        flex: 0 0 calc(50% - 7.5px);
        width: calc(50% - 7.5px);
        height: 260px;
    }
    
    .casino-games-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 15px;
    }
    
    .game-category-section {
        margin-bottom: 30px;
    }
    
    .game-category-header {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .category-title {
        font-size: 18px;
    }
    
    .category-actions {
        flex-wrap: wrap;
    }
    
    .game-category-list .casino-game-card {
        width: 160px;
        min-width: 160px;
    }
    
    .category-view-title {
        font-size: 20px;
    }
    
    /* Tablet: 3 games per row in grid view */
    .casino-games-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
}

@media (max-width: 768px) {
    /* Mobile: Use same pattern as desktop, just adjust padding and height */
    .casino-banners-container {
        padding: 0;
        margin-bottom: 15px;
    }
    
    .casino-banners-visible {
        max-width: 100%;
        border-radius: 0;
        margin: 0;
    }
    
    .casino-banner-item {
        height: 250px; /* Smaller height on mobile */
        border-radius: 0;
    }
    
    .casino-banner-item img {
        border-radius: 0;
    }
    
    .casino-banner-nav {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }
    
    .casino-banner-nav.prev {
        left: 10px;
    }
    
    .casino-banner-nav.next {
        right: 10px;
    }
    
    .casino-banners-dots {
        bottom: 10px; /* Closer to bottom on mobile */
    }
    
    .casino-filters-container {
        padding: 0 5px; /* Minimal padding on mobile */
        margin-top: 15px;
        margin-bottom: 15px;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        max-width: 100%;
    }
    
    /* Show search bar on mobile, below filters */
    .casino-search-container {
        display: block !important;
        width: 100%;
        max-width: 100%;
        min-width: auto;
        order: 2;
    }
    
    .casino-filters-nav {
        order: 1;
        padding: 5px 0;
        gap: 8px;
        width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: thin;
        scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
        -webkit-overflow-scrolling: touch;
    }
    
    .casino-filters-nav::-webkit-scrollbar {
        display: block;
        height: 3px;
    }
    
    .casino-filters-nav::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.05);
    }
    
    .casino-filters-nav::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.3);
        border-radius: 2px;
    }
    
    .filter-btn {
        flex-direction: row;
        padding: 10px 16px;
        width: auto;
        height: auto;
        min-width: auto;
        border-radius: 8px;
        gap: 8px;
        font-size: 13px;
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    .filter-btn i,
    .filter-btn img {
        font-size: 16px;
        width: 18px;
        height: 18px;
    }
    
    .filter-btn span {
        font-size: 13px;
        line-height: 1.2;
    }
    
    .casino-search-input {
        font-size: 14px;
        padding: 12px 15px 12px 45px;
    }
    
    .casino-games-container {
        padding: 15px 10px 80px;
    }
    
    .casino-games-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    
    /* Ensure game cards fit 3 per row on mobile */
    .casino-games-grid .casino-game-card {
        width: 100%;
        min-width: 0;
    }
    
    .error-message {
        padding: 30px 15px;
    }
    
    .error-message p {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .casino-banner-item {
        height: 220px;
    }
}

@media (max-width: 360px) {
    .casino-banner-item {
        height: 200px;
    }
}

/* ============================================
   GAME CONTAINER (Fullscreen) - Same as Sports
   ============================================ */
.casino-game-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh; /* Dynamic viewport height for mobile browsers */
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0;
    padding: 0;
    background: #ffffff; /* White background */
    z-index: 99999 !important; /* Above everything */
    overflow: hidden;
    box-sizing: border-box;
    transition: left 0.3s ease, width 0.3s ease;
    pointer-events: none; /* Allow clicks to pass through to button */
}

.casino-game-container iframe {
    pointer-events: all; /* Re-enable clicks on iframe */
}

/* iOS Safari specific fixes */
@supports (-webkit-touch-callout: none) {
    .casino-game-container {
        height: -webkit-fill-available;
        min-height: 100vh;
        min-height: 100dvh;
    }
}


.casino-game-container.active {
    display: block !important;
}

/* Remove any limitations from parent containers when game is active */
.casino-game-container.active ~ .dashboard-main,
.sidebar.active ~ .dashboard-main:has(+ .casino-game-container.active),
body:has(.casino-game-container.active) .dashboard-main,
.dashboard-main:has(.casino-game-container.active) {
    padding: 0 !important;
    margin: 0 !important;
    margin-left: 0 !important;
    max-width: none !important;
    width: 100% !important;
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}

/* Ensure body and html don't have limitations */
body:has(.casino-game-container.active),
html:has(.casino-game-container.active) {
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #ffffff !important; /* White background */
}

/* Hide casino content completely when game is active */
body:has(.casino-game-container.active) #casinoContent,
body:has(.casino-game-container.active) .casino-content {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}

/* Hide header when game is active */
body:has(.casino-game-container.active) .dashboard-header,
.casino-game-container.active ~ .dashboard-header {
    display: none !important;
    z-index: -1 !important;
}

/* Hide mobile bottom nav when game is active */
body:has(.casino-game-container.active) .mobile-bottom-nav,
.casino-game-container.active ~ .mobile-bottom-nav {
    display: none !important;
    z-index: -1 !important;
}

/* Hide sidebar when game is active - Desktop and Mobile */
body:has(.casino-game-container.active) .sidebar,
.casino-game-container.active ~ .sidebar,
body:has(.casino-game-container.active) .sidebar-overlay,
.casino-game-container.active ~ .sidebar-overlay {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateX(-100%) !important;
    z-index: -1 !important;
}

/* Hide ALL content when game is active - completely remove from view */
body:has(.casino-game-container.active) .casino-content,
body:has(.casino-game-container.active) .dashboard-main,
body:has(.casino-game-container.active) .casino-banners-container,
body:has(.casino-game-container.active) .casino-games-container,
body:has(.casino-game-container.active) .casino-filters-container,
body:has(.casino-game-container.active) .casino-search-container,
body:has(.casino-game-container.active) .game-category-carousel,
body:has(.casino-game-container.active) .casino-games-grid,
body:has(.casino-game-container.active) .game-category-list {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    z-index: -1 !important;
    pointer-events: none !important;
    height: 0 !important;
    overflow: hidden !important;
}

/* Hide Windows taskbar and browser UI when game is active */
body:has(.casino-game-container.active) {
    overflow: hidden !important;
}

.casino-game-container iframe {
    width: 100% !important;
    height: 100% !important;
    min-height: 100vh !important;
    min-height: 100dvh !important;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    box-sizing: border-box !important;
    background: #000 !important;
}

/* Back Button - Top Left - 30% smaller */
.casino-game-back-btn {
    position: fixed !important;
    top: 10px !important;
    left: 10px !important;
    width: 47.25px !important; /* 30% menor que 67.5px (67.5 * 0.7 = 47.25) */
    height: 47.25px !important; /* 30% menor que 67.5px */
    background: rgba(0, 0, 0, 0.7) !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 8px !important;
    color: #fff !important;
    font-size: 1.26rem !important; /* 30% menor que 1.8rem (1.8 * 0.7 = 1.26) */
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 100000 !important; /* Above game container */
    transition: all 0.3s !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5) !important;
    pointer-events: all !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Desktop: Add margins - 30% smaller */
@media (min-width: 769px) {
    .casino-game-back-btn {
        top: 28px !important; /* 30% menor que 40px (40 * 0.7 = 28) */
        left: 28px !important; /* 30% menor que 40px */
    }
}

.casino-game-back-btn:hover {
    background: rgba(0, 0, 0, 0.9) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    transform: scale(1.05) !important;
}

.casino-game-back-btn:active {
    transform: scale(0.95) !important;
    background: rgba(0, 0, 0, 1) !important;
}

/* Ensure button is always clickable - disable pointer events on children */
.casino-game-back-btn * {
    pointer-events: none !important;
}

/* Exit Confirmation Modal - Above everything */
.casino-exit-modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.8) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 1000000 !important; /* Above game container and back button */
    padding: 20px !important;
    box-sizing: border-box !important;
    pointer-events: all !important;
}

.casino-exit-modal-content {
    background: var(--dark-surface, #16213E);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 30px;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.casino-exit-modal-title {
    color: #ffd700;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
}

.casino-exit-modal-message {
    color: #fff;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 30px;
    text-align: center;
}

.casino-exit-modal-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.casino-exit-btn-cancel,
.casino-exit-btn-ok {
    flex: 1;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    min-width: 100px;
}

.casino-exit-btn-cancel {
    background: #dc2626;
    color: #fff;
}

.casino-exit-btn-cancel:hover {
    background: #b91c1c;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
}

.casino-exit-btn-ok {
    background: #22c55e;
    color: #fff;
}

.casino-exit-btn-ok:hover {
    background: #16a34a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.4);
}

.casino-exit-btn-cancel:active,
.casino-exit-btn-ok:active {
    transform: translateY(0);
}

/* Responsive adjustments for game container */
@media (max-width: 768px) {
    .casino-game-container {
        top: 0;
        height: 100vh;
    }
    
    .casino-game-back-btn {
        top: 8px;
        left: 8px;
        width: 60px; /* 25% menor que 80px */
        height: 60px; /* 25% menor que 80px */
        font-size: 1.5rem; /* 25% menor que 2rem */
    }
    
    .casino-exit-modal-content {
        padding: 25px 20px;
        max-width: 90%;
    }
    
    .casino-exit-modal-title {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    
    .casino-exit-modal-message {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }
    
    .casino-exit-modal-buttons {
        flex-direction: column;
        gap: 12px;
    }
    
    .casino-exit-btn-cancel,
    .casino-exit-btn-ok {
        width: 100%;
    }
}


