/* Minimal Layout - No Header/Sidebar */

/* ============================================
   GLOBAL POPUP/MODAL CENTERING
   ============================================ */
.modal {
    position: fixed !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
    max-height: 90vh !important;
    overflow-y: auto !important;
}

.ngdialog {
    position: fixed !important;
    inset: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 10000 !important;
}

.ngdialog-content {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    margin: auto !important;
    max-height: 90vh !important;
    overflow-y: auto !important;
}

/* ============================================
   GPU ACCELERATION & PERFORMANCE
   ============================================ */
.top-winners-list,
.bonus-icon-item,
.bonus-icon-img img,
.guest-action-buttons .btn-login,
.slideshow-login-btn,
.netflix-game-card,
.carousel-category-icon__img,
.glass-winner-card {
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Performance: Reduce backdrop blur on scroll containers */
.netflix-carousel-wrapper,
.game-grid,
.content-wrapper {
    contain: layout style;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Smoother animation timing for all animated elements */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   TOP WINNERS BAR - Compact horizontal scroll
   ============================================ */
.top-winners-bar {
    width: 100%;
    overflow: hidden;
    padding: 8px 0;
    background: transparent;
}

.top-winners-list {
    display: flex;
    gap: 12px;
    padding: 0 10px;
    margin: 0;
    list-style: none;
    animation: scrollWinners 15s linear infinite;
}

.top-winners-list:hover {
    animation-play-state: paused;
}

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

.top-winner-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    white-space: nowrap;
    flex-shrink: 0;
}

.top-winner-img {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    object-fit: cover;
}

.top-winner-name {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.top-winner-amount {
    font-size: 13px;
    font-weight: 700;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hide old winners section */
.main-content__first-screen .glass-winners {
    display: none !important;
}

/* ============================================
   SLIDESHOW LOGIN BUTTON - Bottom Center
   ============================================ */
.mobile-slider__content {
    position: absolute !important;
    bottom: 20px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: auto !important;
    z-index: 100;
}

.slideshow-login-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
}

.slideshow-login-btn {
    padding: 16px 50px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff;
    background: linear-gradient(135deg, rgba(15, 15, 25, 0.9), rgba(10, 10, 20, 0.95));
    border: 2px solid transparent;
    border-radius: 50px;
    cursor: pointer;
    position: relative;
    overflow: visible;
    transition: all 0.3s ease;
    animation: rainbowTextGlow 4s linear infinite;
}

.slideshow-login-btn::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 52px;
    background: linear-gradient(90deg, #ff0000, #ff7f00, #ffff00, #00ff00, #0080ff, #8b00ff, #ff00ff, #ff0000);
    background-size: 400% 100%;
    z-index: -1;
    animation: rainbowBorderFlow 3s linear infinite;
}

.slideshow-login-btn::after {
    content: '';
    position: absolute;
    inset: 2px;
    border-radius: 48px;
    background: linear-gradient(135deg, rgba(15, 15, 30, 0.98), rgba(5, 5, 15, 0.99));
    z-index: -1;
}

.slideshow-deposit-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 12px 40px;
    background: linear-gradient(135deg, #10b981, #059669);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    color: #fff;
    transition: all 0.3s ease;
}

.slideshow-deposit-btn .balance-display {
    font-size: 18px;
    font-weight: 800;
}

.slideshow-deposit-btn .deposit-text {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

.slideshow-deposit-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4);
}

/* ============================================
   BONUS ICON IMAGES - Full screen width (flex-based)
   ============================================ */
.bonus-icon-img {
    width: 100%;
    max-width: none;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 2px;
    box-sizing: border-box;
}

.bonus-icon-img img {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.4));
    transition: all 0.3s ease;
}

.bonus-icon-item:hover .bonus-icon-img img {
    transform: scale(1.05);
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.5));
}

/* Bonus icons in action bar - FULL WIDTH row on mobile */
@media (max-width: 1023px) {
    .slideshow-action-bar .bonus-icons-row {
        display: flex !important;
        flex-wrap: nowrap !important;
        justify-content: stretch !important;
        gap: 0 !important;
        width: 100vw !important;
        margin-left: calc(-50vw + 50%) !important;
        padding: 0 !important;
    }
    
    .slideshow-action-bar .bonus-icon-item {
        flex: 1 1 0;
        padding: 0;
        min-width: 0;
        min-height: auto;
        background: transparent;
        border: none;
    }
}

/* Desktop: keep centered layout */
@media (min-width: 1024px) {
    .slideshow-action-bar .bonus-icons-row {
        display: flex !important;
        flex-wrap: nowrap !important;
        justify-content: center !important;
        gap: 20px !important;
        width: auto !important;
        margin-left: 0 !important;
        padding: 0 !important;
    }
    
    .slideshow-action-bar .bonus-icon-item {
        flex: 0 0 auto;
        padding: 10px;
        min-width: auto;
        min-height: auto;
        background: transparent;
        border: none;
    }
    
    .slideshow-action-bar .bonus-icon-img {
        width: 120px;
    }
}

.slideshow-action-bar .bonus-icon-item::before,
.slideshow-action-bar .bonus-icon-item::after {
    display: none;
}

/* ============================================
   AUTO-SCROLL WINNERS
   ============================================ */
.glass-winners__list {
    animation: autoScrollWinners 20s linear infinite;
}

.glass-winners__list:hover {
    animation-play-state: paused;
}

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

/* Duplicate winners for seamless loop */
.main-content__latest-winners.glass-winners {
    overflow: hidden !important;
}

/* Mobile responsive - Elegant compact design */
@media (max-width: 768px) {
    .mobile-slider__content {
        bottom: 10px !important;
    }
    
    .slideshow-login-btn {
        padding: 12px 35px;
        font-size: 14px;
    }
    
    .slideshow-action-bar {
        padding: 12px 0;
    }
    
    /* Compact winner cards */
    .glass-winners {
        padding: 10px !important;
        margin: 8px auto !important;
    }
    
    .glass-winners__title {
        font-size: 14px !important;
        margin-bottom: 8px !important;
    }
    
    .glass-winner-card {
        min-width: 200px !important;
        padding: 8px 10px !important;
        gap: 8px !important;
    }
    
    .glass-winner-card__img {
        width: 40px !important;
        height: 40px !important;
    }
    
    .glass-winner-card__name {
        font-size: 11px !important;
    }
    
    .glass-winner-card__game {
        font-size: 9px !important;
    }
    
    .glass-winner-card__amount {
        font-size: 13px !important;
    }
}

@media (max-width: 480px) {
    .slideshow-action-bar {
        padding: 10px 0;
    }
    
    /* Ultra-compact winner cards */
    .glass-winner-card {
        min-width: 180px !important;
        padding: 6px 8px !important;
    }
    
    .glass-winner-card__img {
        width: 35px !important;
        height: 35px !important;
        border-radius: 6px !important;
    }
    
    .glass-winner-card__amount {
        font-size: 12px !important;
    }
}

@media (max-width: 360px) {
    .glass-winner-card {
        min-width: 160px !important;
    }
}

/* Hide header and sidebar completely */
.carcass > header,
.mobile-menu,
.top-bar,
.sticky-games-menu-mob,
.header-auth,
.mobile-menu__wrap {
    display: none !important;
}

/* Remove sidebar spacing */
.carcass {
    padding-left: 0 !important;
}

.carcass__body {
    margin-left: 0 !important;
    width: 100% !important;
}

/* Premium Action Bar */
.slideshow-action-bar {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
    background: transparent;
    border: none;
    gap: 15px;
    width: 100%;
    clear: both;
    position: relative;
    z-index: 50;
    overflow: visible;
}

@supports (backdrop-filter: blur(20px)) {
    .slideshow-action-bar {
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
}

.slideshow-action-bar::before,
.slideshow-action-bar::after {
    display: none;
}

/* Fix main content first screen layout */
.main-content__first-screen {
    display: flex;
    flex-direction: column !important;
    width: 100% !important;
}

.main-content__slider {
    width: 100% !important;
    max-width: 100% !important;
}

/* Desktop: Winners next to bonus icons */
@media (min-width: 1024px) {
    .slideshow-action-bar {
        flex-direction: row !important;
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
    }
    .bonus-icons-row {
        flex: 0 0 auto;
        margin-bottom: 0;
    }
    .main-content__latest-winners.glass-winners {
        position: relative !important;
        top: auto !important;
        right: auto !important;
        width: auto !important;
        max-width: 400px !important;
        margin: 0 !important;
        flex: 0 0 auto;
    }
}

/* Reposition the winners panel below action bar */
.main-content__latest-winners.glass-winners {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 20px auto !important;
    z-index: 10;
}

/* Mobile: Winners horizontal scroll */
@media (max-width: 1023px) {
    .main-content__latest-winners.glass-winners {
        padding: 15px !important;
    }
    .glass-winners__list {
        display: flex !important;
        flex-direction: row !important;
        overflow-x: auto !important;
        gap: 12px !important;
        padding-bottom: 10px !important;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }
    .glass-winner-card {
        flex: 0 0 auto !important;
        min-width: 260px !important;
        scroll-snap-align: start;
    }
}

/* Premium Bonus Icons Row - Full screen width */
.bonus-icons-row {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-evenly;
    align-items: center;
    gap: 0;
    margin-bottom: 10px;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 0;
    box-sizing: border-box;
}

.bonus-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
    padding: 14px;
    border-radius: 16px;
    background: rgba(30, 30, 50, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.25);
    min-width: auto;
    min-height: auto;
    position: relative;
    overflow: visible;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.bonus-icon-item::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 18px;
    background: linear-gradient(90deg, #ff0000, #ff7f00, #ffff00, #00ff00, #0080ff, #8b00ff, #ff00ff, #ff0000);
    background-size: 400% 100%;
    z-index: -1;
    animation: rainbowGlowMove 4s linear infinite;
    opacity: 0.6;
}

.bonus-icon-item::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.1);
    z-index: -1;
}

/* Rainbow glow animation for glass cards */
@keyframes rainbowGlowMove {
    0% { background-position: 0% 50%; }
    100% { background-position: 400% 50%; }
}

.bonus-icon-item:hover {
    transform: scale(1.1);
}

/* Smaller bonus icons variant */
.bonus-icons-row--small {
    gap: 24px;
    justify-content: center;
}

.bonus-icons-row--small .bonus-icon-item {
    padding: 6px;
    border-radius: 10px;
    background: transparent;
    border: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
}

.bonus-icons-row--small .bonus-icon-item::before,
.bonus-icons-row--small .bonus-icon-item::after {
    display: none;
}

.bonus-icons-row--small .bonus-icon-img {
    width: 45px;
    height: 45px;
}

.bonus-icons-row--small .bonus-icon-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* Bonus icon text labels */
.bonus-icon-label {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
    text-align: center;
    -webkit-text-stroke: 1px #555555;
    paint-order: stroke fill;
}

.bonus-icon-item:hover .bonus-icon-label {
    color: #ffdd00;
    text-shadow: 0 0 15px rgba(255, 221, 0, 0.8);
}

/* SVG Icon Container */
.bonus-icon-svg {
    width: 48px;
    height: 48px;
    margin-bottom: 10px;
    position: relative;
}

.bonus-icon-svg svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
    transition: all 0.4s ease;
}

.bonus-icon-item:hover .bonus-icon-svg svg {
    filter: drop-shadow(0 6px 12px rgba(0,0,0,0.4));
    transform: scale(1.1);
}

/* Wheel icon CONTINUOUS spin animation */
.bonus-icon-item[data-bonus="wheel"] .icon-wheel {
    animation: spinWheelContinuous 8s linear infinite;
    transform-origin: center center;
}

.bonus-icon-item[data-bonus="wheel"]:hover .icon-wheel {
    animation: spinWheelFast 1.5s linear infinite;
}

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

@keyframes spinWheelFast {
    from { transform: rotate(0deg) scale(1.1); }
    to { transform: rotate(360deg) scale(1.1); }
}

/* Jackpot STAR icon CONTINUOUS blink animation */
.bonus-icon-item[data-bonus="jackpot"] .icon-jackpot {
    animation: starBlink 2s ease-in-out infinite;
}

.bonus-icon-item[data-bonus="jackpot"]:hover .icon-jackpot {
    animation: starBlinkFast 0.6s ease-in-out infinite;
}

@keyframes starBlink {
    0%, 100% { 
        opacity: 1;
        filter: drop-shadow(0 4px 8px rgba(251, 191, 36, 0.3));
        transform: scale(1);
    }
    50% { 
        opacity: 0.6;
        filter: drop-shadow(0 4px 20px rgba(251, 191, 36, 0.8));
        transform: scale(1.05);
    }
}

@keyframes starBlinkFast {
    0%, 100% { 
        opacity: 1;
        filter: drop-shadow(0 6px 15px rgba(251, 191, 36, 0.5));
        transform: scale(1.1);
    }
    50% { 
        opacity: 0.4;
        filter: drop-shadow(0 6px 30px rgba(251, 191, 36, 1));
        transform: scale(1.2);
    }
}

/* Daily icon CONTINUOUS checkmark pop-out animation */
.bonus-icon-item[data-bonus="daily"] .icon-daily {
    animation: checkPopContinuous 3s ease-in-out infinite;
}

.bonus-icon-item[data-bonus="daily"]:hover .icon-daily {
    animation: checkPopFast 0.8s ease-in-out infinite;
}

@keyframes checkPopContinuous {
    0%, 100% { 
        transform: scale(1);
        filter: drop-shadow(0 4px 8px rgba(16, 185, 129, 0.3));
    }
    15% { 
        transform: scale(1.15) rotate(-5deg);
        filter: drop-shadow(0 6px 20px rgba(16, 185, 129, 0.7));
    }
    30% {
        transform: scale(0.95) rotate(3deg);
    }
    45% {
        transform: scale(1.08);
        filter: drop-shadow(0 4px 15px rgba(16, 185, 129, 0.5));
    }
    60% {
        transform: scale(1);
    }
}

@keyframes checkPopFast {
    0%, 100% { 
        transform: scale(1.1);
        filter: drop-shadow(0 6px 12px rgba(16, 185, 129, 0.5));
    }
    50% { 
        transform: scale(1.3) rotate(-10deg);
        filter: drop-shadow(0 8px 25px rgba(16, 185, 129, 1));
    }
}

/* Achieve icon CONTINUOUS shine animation */
.bonus-icon-item[data-bonus="achieve"] .icon-achieve {
    animation: achieveShineContinuous 2.5s ease-in-out infinite;
}

.bonus-icon-item[data-bonus="achieve"]:hover .icon-achieve {
    animation: achieveShineIntense 1s ease-in-out infinite;
}

@keyframes achieveShineContinuous {
    0%, 100% { 
        filter: drop-shadow(0 4px 8px rgba(139, 92, 246, 0.3)); 
        transform: scale(1);
    }
    50% { 
        filter: drop-shadow(0 6px 20px rgba(139, 92, 246, 0.6)) brightness(1.1); 
        transform: scale(1.05);
    }
}

@keyframes achieveShineIntense {
    0%, 100% { 
        filter: drop-shadow(0 6px 12px rgba(139, 92, 246, 0.5));
        transform: scale(1.1); 
    }
    50% { 
        filter: drop-shadow(0 8px 35px rgba(139, 92, 246, 0.9)) brightness(1.2);
        transform: scale(1.2); 
    }
}

.bonus-icon-item span {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    text-align: center;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.bonus-icon-item:hover span {
    color: #fff;
    text-shadow: 0 0 10px rgba(255,255,255,0.3);
}

/* Inline Login Button in Bonus Row */
.bonus-icons-row .btn-login {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    color: #fff !important;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border: none !important;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.bonus-icons-row .btn-login:hover {
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.5);
}

.bonus-icons-row .user-balance-inline {
    cursor: pointer;
}

.bonus-icons-row .balance-amount-inline {
    font-weight: 700;
    font-size: 14px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Guest View - Premium NEON RAINBOW Glow Login Button */
.guest-action-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.guest-action-buttons .btn-login {
    position: relative;
    padding: 18px 55px;
    border-radius: 16px;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    cursor: pointer;
    background: linear-gradient(135deg, rgba(15, 15, 25, 0.95) 0%, rgba(10, 10, 20, 0.98) 100%);
    color: #fff;
    border: 2px solid transparent;
    background-clip: padding-box;
    transition: transform 0.3s ease;
    overflow: visible;
    z-index: 1;
    animation: rainbowTextGlow 4s linear infinite;
}

/* Rainbow border glow effect */
.guest-action-buttons .btn-login::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 18px;
    background: linear-gradient(
        90deg,
        #ff0000,
        #ff7f00,
        #ffff00,
        #00ff00,
        #0080ff,
        #8b00ff,
        #ff00ff,
        #ff0000
    );
    background-size: 400% 100%;
    z-index: -2;
    animation: rainbowBorderFlow 3s linear infinite;
    filter: blur(0px);
}

/* Inner dark background to make rainbow border visible */
.guest-action-buttons .btn-login::after {
    content: '';
    position: absolute;
    inset: 2px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(15, 15, 30, 0.98) 0%, rgba(5, 5, 15, 0.99) 100%);
    z-index: -1;
}

/* Rainbow border animation - smoother with longer duration */
@keyframes rainbowBorderFlow {
    0% { background-position: 0% 50%; }
    100% { background-position: 400% 50%; }
}

/* Smooth rainbow pulse - gentler effect */
@keyframes smoothRainbowPulse {
    0%, 100% { 
        opacity: 0.7;
        filter: blur(4px);
    }
    50% { 
        opacity: 0.9;
        filter: blur(6px);
    }
}

/* Rainbow text glow animation */
@keyframes rainbowTextGlow {
    0% { 
        text-shadow: 
            0 0 10px #ff0000,
            0 0 20px #ff0000,
            0 0 40px #ff000080;
    }
    14% { 
        text-shadow: 
            0 0 10px #ff7f00,
            0 0 20px #ff7f00,
            0 0 40px #ff7f0080;
    }
    28% { 
        text-shadow: 
            0 0 10px #ffff00,
            0 0 20px #ffff00,
            0 0 40px #ffff0080;
    }
    42% { 
        text-shadow: 
            0 0 10px #00ff00,
            0 0 20px #00ff00,
            0 0 40px #00ff0080;
    }
    57% { 
        text-shadow: 
            0 0 10px #0080ff,
            0 0 20px #0080ff,
            0 0 40px #0080ff80;
    }
    71% { 
        text-shadow: 
            0 0 10px #8b00ff,
            0 0 20px #8b00ff,
            0 0 40px #8b00ff80;
    }
    85% { 
        text-shadow: 
            0 0 10px #ff00ff,
            0 0 20px #ff00ff,
            0 0 40px #ff00ff80;
    }
    100% { 
        text-shadow: 
            0 0 10px #ff0000,
            0 0 20px #ff0000,
            0 0 40px #ff000080;
    }
}

/* Outer rainbow glow effect */
.guest-action-buttons .btn-login {
    box-shadow: 
        0 0 20px rgba(255, 0, 128, 0.4),
        0 0 40px rgba(0, 255, 255, 0.3),
        0 0 60px rgba(255, 255, 0, 0.2);
    animation: rainbowTextGlow 4s linear infinite, rainbowOuterGlow 3s ease-in-out infinite;
}

@keyframes rainbowOuterGlow {
    0%, 100% { 
        box-shadow: 
            0 0 20px rgba(255, 0, 0, 0.5),
            0 0 40px rgba(255, 127, 0, 0.4),
            0 0 60px rgba(255, 0, 128, 0.3),
            0 10px 40px rgba(0, 0, 0, 0.5);
    }
    25% { 
        box-shadow: 
            0 0 20px rgba(0, 255, 0, 0.5),
            0 0 40px rgba(0, 255, 255, 0.4),
            0 0 60px rgba(0, 128, 255, 0.3),
            0 10px 40px rgba(0, 0, 0, 0.5);
    }
    50% { 
        box-shadow: 
            0 0 20px rgba(0, 128, 255, 0.5),
            0 0 40px rgba(139, 0, 255, 0.4),
            0 0 60px rgba(255, 0, 255, 0.3),
            0 10px 40px rgba(0, 0, 0, 0.5);
    }
    75% { 
        box-shadow: 
            0 0 20px rgba(255, 0, 255, 0.5),
            0 0 40px rgba(255, 0, 128, 0.4),
            0 0 60px rgba(255, 255, 0, 0.3),
            0 10px 40px rgba(0, 0, 0, 0.5);
    }
}

.guest-action-buttons .btn-login:hover {
    transform: translateY(-6px) scale(1.05);
    animation: rainbowTextGlow 2s linear infinite, rainbowOuterGlowIntense 1.5s ease-in-out infinite;
}

@keyframes rainbowOuterGlowIntense {
    0%, 100% { 
        box-shadow: 
            0 0 30px rgba(255, 0, 0, 0.7),
            0 0 60px rgba(255, 127, 0, 0.6),
            0 0 90px rgba(255, 0, 128, 0.5),
            0 15px 50px rgba(0, 0, 0, 0.6);
    }
    25% { 
        box-shadow: 
            0 0 30px rgba(0, 255, 0, 0.7),
            0 0 60px rgba(0, 255, 255, 0.6),
            0 0 90px rgba(0, 128, 255, 0.5),
            0 15px 50px rgba(0, 0, 0, 0.6);
    }
    50% { 
        box-shadow: 
            0 0 30px rgba(0, 128, 255, 0.7),
            0 0 60px rgba(139, 0, 255, 0.6),
            0 0 90px rgba(255, 0, 255, 0.5),
            0 15px 50px rgba(0, 0, 0, 0.6);
    }
    75% { 
        box-shadow: 
            0 0 30px rgba(255, 0, 255, 0.7),
            0 0 60px rgba(255, 0, 128, 0.6),
            0 0 90px rgba(255, 255, 0, 0.5),
            0 15px 50px rgba(0, 0, 0, 0.6);
    }
}

.guest-action-buttons .btn-login:active {
    transform: translateY(-3px) scale(1.02);
}

/* Premium Balance Display for Logged In Users */
.user-balance-display {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 16px 30px;
    background: linear-gradient(145deg, rgba(30, 30, 50, 0.9) 0%, rgba(20, 20, 40, 0.95) 100%);
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.user-balance-display .balance-amount {
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 10px rgba(251, 191, 36, 0.3);
    animation: balancePulse 3s ease-in-out infinite;
}

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

.user-balance-display .btn-deposit {
    position: relative;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.user-balance-display .btn-deposit:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

.user-balance-display .btn-profile {
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 13px;
    background: transparent;
    border: 2px solid rgba(255,255,255,0.3);
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.user-balance-display .btn-profile:hover {
    border-color: #38ef7d;
    background: rgba(56, 239, 125, 0.1);
}

.user-balance-display .btn-logout {
    padding: 8px 15px;
    border-radius: 15px;
    font-size: 12px;
    background: rgba(255,255,255,0.1);
    border: none;
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.user-balance-display .btn-logout:hover {
    background: rgba(255,100,100,0.2);
    color: #ff6b6b;
}

/* Language Selector - Compact */
.lang-selector-mini {
    position: relative;
}

.lang-selector-mini button {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 12px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    cursor: pointer;
    color: #fff;
    font-size: 12px;
}

.lang-selector-mini img {
    width: 20px;
    height: 15px;
    border-radius: 2px;
}

.lang-selector-mini ul {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(30,30,40,0.98);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 8px;
    padding: 5px;
    margin-top: 5px;
    display: none;
    z-index: 100;
}

.lang-selector-mini:hover ul {
    display: block;
}

.lang-selector-mini li {
    list-style: none;
    padding: 8px 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 6px;
    transition: background 0.2s ease;
}

.lang-selector-mini li:hover {
    background: rgba(255,255,255,0.1);
}

/* Premium Mobile Responsive */
@media (max-width: 768px) {
    .slideshow-action-bar {
        padding: 24px 16px;
        gap: 20px;
    }

    .bonus-icons-row {
        gap: 12px;
        width: 100%;
        justify-content: center;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding: 8px 4px;
    }

    .bonus-icon-item {
        min-width: 72px;
        min-height: 80px;
        padding: 14px 14px;
        border-radius: 16px;
        scroll-snap-align: center;
        flex-shrink: 0;
        background: 
            radial-gradient(circle at 30% -20%, rgba(56, 189, 248, 0.2), transparent 50%),
            radial-gradient(circle at 70% 120%, rgba(139, 92, 246, 0.15), transparent 50%),
            linear-gradient(145deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.03) 100%);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    }

    .bonus-icon-svg {
        width: 40px;
        height: 40px;
        margin-bottom: 8px;
    }

    .bonus-icon-item span {
        font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
        font-size: 10px;
        font-weight: 500;
        letter-spacing: 0.5px;
    }

    .guest-action-buttons {
        width: 100%;
        justify-content: center;
    }

    .guest-action-buttons .btn-login {
        width: auto;
        min-width: 200px;
        min-height: 52px;
        padding: 16px 40px;
        font-size: 14px;
        letter-spacing: 2px;
        border-radius: 14px;
    }

    .user-balance-display {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 12px;
        padding: 14px 20px;
        width: auto;
        max-width: 100%;
    }

    .user-balance-display .balance-amount {
        font-size: 22px;
    }

    .user-balance-display .btn-deposit {
        padding: 12px 24px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .slideshow-action-bar {
        padding: 20px 12px;
        gap: 18px;
    }

    .bonus-icons-row {
        gap: 10px;
        padding: 6px 2px;
    }

    .bonus-icon-item {
        min-width: 64px;
        min-height: 72px;
        padding: 12px 10px;
        border-radius: 14px;
    }

    .bonus-icon-svg {
        width: 34px;
        height: 34px;
        margin-bottom: 6px;
    }

    .bonus-icon-item span {
        font-size: 9px;
        font-weight: 500;
    }

    .guest-action-buttons .btn-login {
        min-width: 180px;
        min-height: 50px;
        padding: 14px 35px;
        font-size: 13px;
    }
}

@media (max-width: 360px) {
    .slideshow-action-bar {
        padding: 18px 10px;
        gap: 16px;
    }

    .bonus-icons-row {
        gap: 8px;
    }

    .bonus-icon-item {
        min-width: 56px;
        min-height: 64px;
        padding: 10px 8px;
        border-radius: 12px;
    }

    .bonus-icon-svg {
        width: 28px;
        height: 28px;
        margin-bottom: 5px;
    }

    .bonus-icon-item span {
        font-size: 8px;
    }

    .guest-action-buttons .btn-login {
        min-width: 160px;
        min-height: 48px;
        padding: 12px 30px;
        font-size: 12px;
    }
}

/* Floating Logo - Hidden (moved to footer) */
.floating-logo {
    display: none !important;
}

/* Premium Site Footer */
.site-footer {
    background: linear-gradient(180deg, #0a0a12 0%, #080810 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 30px 20px;
    text-align: center;
    margin-top: 30px;
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.3), rgba(16, 185, 129, 0.3), transparent);
}

.site-footer__content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.site-footer__logo {
    display: inline-block;
    transition: all 0.4s ease;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
}

.site-footer__logo img {
    height: 120px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    filter: drop-shadow(0 8px 24px rgba(255, 165, 0, 0.3));
    transition: all 0.4s ease;
}

.site-footer__logo:hover {
    transform: scale(1.05);
}

.site-footer__logo:hover img {
    filter: drop-shadow(0 12px 32px rgba(255, 165, 0, 0.5));
}

.site-footer__social {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.site-footer__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    color: #fff;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.site-footer__social-link:hover {
    transform: translateY(-4px) scale(1.05);
    background: linear-gradient(135deg, rgba(24, 119, 242, 0.2), rgba(24, 119, 242, 0.1));
    border-color: rgba(24, 119, 242, 0.5);
    box-shadow: 0 10px 30px rgba(24, 119, 242, 0.25);
}

.site-footer__social-link svg {
    width: 22px;
    height: 22px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.site-footer__copyright {
    color: rgba(255, 255, 255, 0.35);
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 12px;
    font-weight: 400;
    margin: 0;
    letter-spacing: 0.5px;
}

/* Footer Mobile Responsive - Horizontal Layout */
@media (max-width: 768px) {
    .site-footer {
        padding: 20px 16px;
        margin-top: 25px;
    }
    
    .site-footer__content {
        flex-direction: row;
        gap: 16px;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }
    
    .site-footer__logo {
        padding: 0;
        border-radius: 0;
        background: transparent;
        border: none;
    }
    
    .site-footer__logo img {
        height: 80px;
        max-width: 120px;
    }
    
    .site-footer__social-link {
        width: 44px;
        height: 44px;
        border-radius: 12px;
    }
    
    .site-footer__social-link svg {
        width: 20px;
        height: 20px;
    }
    
    .site-footer__copyright {
        font-size: 10px;
        width: 100%;
        text-align: center;
        margin-top: 8px;
    }
}

/* Footer Language Selector - Premium Glass */
.site-footer__language {
    margin: 8px 0;
}

.footer-lang-selector {
    position: relative;
    display: inline-block;
}

.footer-lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 11px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.footer-lang-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(56, 189, 248, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.footer-lang-btn img {
    width: 18px;
    height: 14px;
    border-radius: 2px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.footer-lang-btn svg {
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.footer-lang-btn:hover svg {
    opacity: 0.9;
}

.footer-lang-dropdown {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 15, 25, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 10px;
    margin-bottom: 10px;
    min-width: 160px;
    display: none;
    z-index: 100;
    box-shadow: 0 -15px 40px rgba(0, 0, 0, 0.5);
}

.footer-lang-selector:hover .footer-lang-dropdown {
    display: block;
}

.footer-lang-dropdown li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    cursor: pointer;
    border-radius: 10px;
    transition: all 0.3s ease;
    list-style: none;
}

.footer-lang-dropdown li:hover {
    background: rgba(56, 189, 248, 0.1);
    transform: translateX(4px);
}

.footer-lang-dropdown li img {
    width: 24px;
    height: 18px;
    border-radius: 3px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.footer-lang-dropdown li span {
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 13px;
    font-weight: 500;
}

@media (max-width: 768px) {
    .footer-lang-btn {
        padding: 8px 14px;
        font-size: 12px;
        border-radius: 10px;
    }
    
    .footer-lang-btn img {
        width: 20px;
        height: 15px;
    }
    
    .footer-lang-dropdown li {
        padding: 10px 14px;
    }
}

/* ========== BONUS MODAL POPUP ========== */
.bonus-popup-trigger {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(139, 92, 246, 0.15));
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.bonus-popup-trigger:hover {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.25), rgba(139, 92, 246, 0.25));
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(245, 158, 11, 0.3);
}
.bonus-trigger-icon { width: 36px; height: 36px; }
.bonus-trigger-icon svg { width: 100%; height: 100%; }
.bonus-trigger-text {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.bonus-trigger-badge {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 10px;
    min-width: 20px;
    text-align: center;
}

.bonus-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.bonus-modal-overlay.active { display: flex; }

.bonus-modal {
    position: relative;
    width: 100%;
    max-width: 420px;
    max-height: 85vh;
    background: linear-gradient(145deg, rgba(20, 20, 35, 0.98), rgba(10, 10, 20, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    overflow: hidden;
    overflow-y: auto;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6), 0 0 60px rgba(139, 92, 246, 0.15);
}
.bonus-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10;
}
.bonus-modal__close svg { width: 18px; height: 18px; color: #fff; }
.bonus-modal__close:hover { background: rgba(239, 68, 68, 0.3); }

.bonus-modal__header {
    padding: 20px 20px 12px;
    text-align: center;
    background: linear-gradient(180deg, rgba(139, 92, 246, 0.1), transparent);
}
.bonus-modal__title {
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.bonus-modal__subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.bonus-modal__tabs {
    display: flex;
    gap: 6px;
    padding: 0 16px 12px;
    justify-content: center;
    flex-wrap: wrap;
}
.bonus-modal__tab {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.6);
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}
.bonus-modal__tab svg { width: 18px; height: 18px; }
.bonus-modal__tab:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.bonus-modal__tab.active {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(245, 158, 11, 0.2));
    border-color: rgba(139, 92, 246, 0.5);
    color: #fff;
}

.bonus-modal__content {
    padding: 0 16px 20px;
    max-height: 60vh;
    overflow-y: auto;
}
.bonus-modal__panel { display: none; }
.bonus-modal__panel.active { display: block; }

.modal-wheel-container { text-align: center; }
.modal-wheel {
    position: relative;
    width: 220px;
    height: 220px;
    margin: 0 auto 20px;
}
.modal-wheel svg { width: 100%; height: 100%; transition: transform 4s cubic-bezier(0.17, 0.67, 0.12, 0.99); }
.modal-wheel-pointer {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 20px solid #FFD700;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}
.modal-spin-btn {
    padding: 14px 40px;
    background: linear-gradient(135deg, #10b981, #059669);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}
.modal-spin-btn:hover { transform: scale(1.05); box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4); }

.modal-jackpot-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.modal-jackpot-card {
    padding: 16px;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.15), rgba(245, 158, 11, 0.1));
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 14px;
    text-align: center;
}
.modal-jackpot-card--platinum { background: linear-gradient(135deg, rgba(229, 231, 235, 0.2), rgba(156, 163, 175, 0.1)); border-color: rgba(229, 231, 235, 0.4); }
.modal-jackpot-card--gold { background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(245, 158, 11, 0.1)); border-color: rgba(251, 191, 36, 0.4); }
.modal-jackpot-card--silver { background: linear-gradient(135deg, rgba(156, 163, 175, 0.2), rgba(107, 114, 128, 0.1)); border-color: rgba(156, 163, 175, 0.4); }
.modal-jackpot-card--bronze { background: linear-gradient(135deg, rgba(180, 83, 9, 0.2), rgba(146, 64, 14, 0.1)); border-color: rgba(180, 83, 9, 0.4); }
.modal-jackpot-name { font-size: 12px; font-weight: 600; color: rgba(255, 255, 255, 0.7); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; }
.modal-jackpot-amount { font-family: 'Poppins', sans-serif; font-size: 22px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.modal-jackpot-live { display: inline-block; padding: 3px 10px; background: rgba(239, 68, 68, 0.2); border: 1px solid rgba(239, 68, 68, 0.4); border-radius: 20px; font-size: 10px; font-weight: 700; color: #ef4444; animation: pulse 2s infinite; }

.modal-daily-streak { display: flex; gap: 10px; overflow-x: auto; padding: 10px 0; }
.modal-daily-day {
    flex-shrink: 0;
    width: 70px;
    padding: 14px 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    text-align: center;
}
.modal-daily-day.claimed { background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(5, 150, 105, 0.1)); border-color: rgba(16, 185, 129, 0.4); }
.modal-daily-day-num { display: block; font-size: 11px; color: rgba(255, 255, 255, 0.6); margin-bottom: 4px; }
.modal-daily-day-reward { display: block; font-size: 14px; font-weight: 700; color: #fff; }
.modal-daily-info { text-align: center; font-size: 13px; color: rgba(255, 255, 255, 0.5); margin-top: 16px; }

.modal-welcome-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.modal-welcome-card {
    padding: 16px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(124, 58, 237, 0.1));
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 14px;
    text-align: center;
}
.modal-welcome-badge { font-size: 10px; font-weight: 600; color: rgba(255, 255, 255, 0.6); text-transform: uppercase; margin-bottom: 6px; }
.modal-welcome-percent { font-family: 'Poppins', sans-serif; font-size: 32px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.modal-welcome-details { display: flex; justify-content: space-between; font-size: 11px; color: rgba(255, 255, 255, 0.5); margin-bottom: 12px; }
.modal-welcome-btn {
    display: block;
    width: 100%;
    padding: 10px;
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    border: none;
    border-radius: 8px;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}
.modal-welcome-btn:hover { transform: scale(1.02); }

.modal-empty-state { text-align: center; padding: 40px 20px; color: rgba(255, 255, 255, 0.5); }

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

@media (max-width: 480px) {
    .bonus-modal { max-width: 100%; border-radius: 20px 20px 0 0; max-height: 85vh; }
    .bonus-modal__title { font-size: 22px; }
    .bonus-modal__tabs { gap: 6px; }
    .bonus-modal__tab { padding: 8px 12px; font-size: 11px; }
    .modal-jackpot-grid, .modal-welcome-grid { grid-template-columns: 1fr; }
    .modal-wheel { width: 180px; height: 180px; }
}

/* ========== DRAGON EGG GAME ========== */
.dragon-egg-game { text-align: center; padding: 20px 0; }
.dragon-egg-title {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px;
    background: linear-gradient(135deg, #10b981, #22c55e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.dragon-egg-subtitle { font-size: 14px; color: rgba(255,255,255,0.7); margin: 0 0 24px; }
.dragon-egg-subtitle .prize-amount { color: #fbbf24; font-weight: 700; }
.dragon-eggs-container { display: flex; justify-content: center; gap: 20px; margin-bottom: 20px; }
.dragon-egg {
    position: relative;
    width: 100px;
    height: 120px;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: eggFloat 3s ease-in-out infinite;
}
.dragon-egg:nth-child(2) { animation-delay: 0.5s; }
.dragon-egg:nth-child(3) { animation-delay: 1s; }
.dragon-egg img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 8px 20px rgba(16, 185, 129, 0.4)); transition: all 0.3s ease; }
.dragon-egg:hover { transform: scale(1.15) translateY(-10px); }
.dragon-egg:hover img { filter: drop-shadow(0 15px 30px rgba(16, 185, 129, 0.6)); }
.dragon-egg.selected { animation: eggCrack 0.8s ease-out forwards; pointer-events: none; }
.dragon-egg.not-selected { opacity: 0.3; transform: scale(0.9); pointer-events: none; }
.egg-glow {
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.3), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.dragon-egg:hover .egg-glow { opacity: 1; }

@keyframes eggFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
@keyframes eggCrack {
    0% { transform: scale(1); }
    20% { transform: scale(1.2) rotate(-5deg); }
    40% { transform: scale(1.1) rotate(5deg); }
    60% { transform: scale(1.3) rotate(-3deg); filter: brightness(1.5); }
    80% { transform: scale(1.5); filter: brightness(2); opacity: 0.8; }
    100% { transform: scale(2); opacity: 0; }
}

.dragon-egg-result { display: none; }
.prize-reveal {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 30px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(34, 197, 94, 0.1));
    border: 2px solid rgba(16, 185, 129, 0.5);
    border-radius: 20px;
    animation: prizeReveal 0.5s ease-out;
}
.prize-text {
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textGlow 1s ease-in-out infinite;
}
.prize-value {
    font-family: 'Poppins', sans-serif;
    font-size: 48px;
    font-weight: 800;
    color: #10b981;
    text-shadow: 0 0 20px rgba(16, 185, 129, 0.6);
}
.prize-subtext { font-size: 14px; color: rgba(255,255,255,0.6); }
@keyframes prizeReveal {
    0% { transform: scale(0.5); opacity: 0; }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}
@keyframes textGlow {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.3); }
}
.dragon-egg-login-prompt { color: rgba(255,255,255,0.5); font-size: 13px; margin-top: 16px; }

/* ========== MORE MODAL ========== */
.more-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.more-modal-overlay.active { display: flex; }
.more-modal {
    position: relative;
    width: 100%;
    max-width: 550px;
    max-height: 90vh;
    background: linear-gradient(145deg, rgba(20, 20, 35, 0.98), rgba(10, 10, 20, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6), 0 0 60px rgba(56, 189, 248, 0.15);
}
.more-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10;
}
.more-modal__close svg { width: 18px; height: 18px; color: #fff; }
.more-modal__close:hover { background: rgba(239, 68, 68, 0.3); }
.more-modal__header {
    padding: 24px 24px 16px;
    text-align: center;
    background: linear-gradient(180deg, rgba(56, 189, 248, 0.1), transparent);
}
.more-modal__title {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin: 0;
}
.more-modal__tabs { display: flex; gap: 6px; padding: 0 16px 16px; justify-content: center; flex-wrap: wrap; }
.more-modal__tab {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.6);
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}
.more-modal__tab svg { width: 16px; height: 16px; }
.more-modal__tab:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.more-modal__tab.active {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.3), rgba(16, 185, 129, 0.2));
    border-color: rgba(56, 189, 248, 0.5);
    color: #fff;
}
.more-modal__content { padding: 0 20px 20px; max-height: 55vh; overflow-y: auto; }
.more-modal__panel { display: none; }
.more-modal__panel.active { display: block; }

/* History Tabs */
.history-tabs { display: flex; gap: 8px; margin-bottom: 16px; }
.history-subtab {
    flex: 1;
    padding: 10px;
    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.6);
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}
.history-subtab:hover { background: rgba(255,255,255,0.1); color: #fff; }
.history-subtab.active { background: rgba(56, 189, 248, 0.2); border-color: rgba(56, 189, 248, 0.4); color: #fff; }
.history-content { min-height: 100px; }
.history-list { max-height: 200px; overflow-y: auto; }
.history-empty, .history-login-prompt, .profile-login-prompt, .message-login-prompt { color: rgba(255,255,255,0.5); font-size: 13px; text-align: center; padding: 30px; }

/* Settings */
.settings-section { margin-bottom: 24px; }
.settings-title { font-size: 16px; font-weight: 600; color: #fff; margin: 0 0 16px; }
.settings-row { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.settings-row label { flex: 1; color: rgba(255,255,255,0.8); font-size: 14px; }
.volume-slider { flex: 2; accent-color: #10b981; }
.volume-value { width: 40px; text-align: right; color: rgba(255,255,255,0.6); font-size: 13px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; color: rgba(255,255,255,0.8); font-size: 13px; margin-bottom: 6px; }
.settings-input {
    width: 100%;
    padding: 12px 14px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    transition: all 0.3s ease;
}
.settings-input:focus { outline: none; border-color: rgba(56, 189, 248, 0.5); background: rgba(255,255,255,0.08); }
.settings-textarea {
    width: 100%;
    padding: 12px 14px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    resize: vertical;
    transition: all 0.3s ease;
}
.settings-textarea:focus { outline: none; border-color: rgba(56, 189, 248, 0.5); }
.settings-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #10b981, #059669);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}
.settings-btn:hover { transform: scale(1.02); box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3); }

/* Profile Card */
.profile-card { text-align: center; }
.profile-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(16, 185, 129, 0.2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(56, 189, 248, 0.4);
}
.profile-avatar svg { width: 40px; height: 40px; color: #38bdf8; }
.profile-details { text-align: left; }
.profile-row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.profile-row:last-child { border-bottom: none; }
.profile-label { color: rgba(255,255,255,0.6); font-size: 13px; }
.profile-value { color: #fff; font-size: 14px; font-weight: 500; }
.profile-value.balance { color: #10b981; font-weight: 700; }

/* Message Section */
.message-title { font-size: 16px; font-weight: 600; color: #fff; margin: 0 0 16px; }
.message-status { margin-top: 16px; padding: 12px; border-radius: 10px; text-align: center; font-size: 14px; }
.message-status.success { background: rgba(16, 185, 129, 0.2); color: #10b981; }
.message-status.error { background: rgba(239, 68, 68, 0.2); color: #ef4444; }

/* ========== CONFETTI ========== */
.confetti-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 99999;
    overflow: hidden;
}
.confetti-piece {
    position: absolute;
    width: 10px;
    height: 10px;
    top: -20px;
    animation: confettiFall 3s ease-out forwards;
}
@keyframes confettiFall {
    0% { transform: translateY(0) rotate(0deg); opacity: 1; }
    100% { transform: translateY(100vh) rotate(720deg); opacity: 0; }
}

@media (max-width: 480px) {
    .more-modal { max-width: 100%; border-radius: 20px 20px 0 0; }
    .more-modal__tabs { gap: 4px; }
    .more-modal__tab { padding: 8px 10px; font-size: 10px; }
    .dragon-eggs-container { gap: 12px; }
    .dragon-egg { width: 80px; height: 100px; }
    .prize-value { font-size: 36px; }
}

/* ========== PLAYER ACTION BAR ========== */
/* Hide old footer search bar */
.ls__fixed__btn { display: none !important; }

.player-action-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    margin: 15px 15px 20px;
    gap: 12px;
    flex-wrap: wrap;
    position: relative;
    overflow: visible;
    box-shadow: none;
}

.player-action-bar::before {
    display: none;
}

/* Search Section */
.player-action-bar__search {
    flex: 1;
    max-width: 280px;
    min-width: 180px;
    position: relative;
}

.player-search-input {
    width: 100%;
    padding: 12px 16px 12px 44px;
    border-radius: 25px;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(20, 20, 35, 0.9);
    color: #fff;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    outline: none;
}

.player-search-input::placeholder {
    color: rgba(255,255,255,0.4);
}

.player-search-input:focus {
    border-color: rgba(56, 189, 248, 0.5);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.1);
}

.player-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: rgba(255,255,255,0.4);
    pointer-events: none;
}

/* Premium Action Buttons */
.player-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    outline: none;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.player-btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.player-btn--withdraw {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a5a 50%, #d63031 100%);
    color: #fff;
    box-shadow: 0 4px 20px rgba(214, 48, 49, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.player-btn--withdraw:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(214, 48, 49, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

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

.player-btn--deposit {
    background: linear-gradient(135deg, #00b894 0%, #00a085 50%, #00876a 100%);
    color: #fff;
    box-shadow: 0 4px 20px rgba(0, 184, 148, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.player-btn--deposit:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(0, 184, 148, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

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

.player-btn--login {
    background: linear-gradient(135deg, #667eea 0%, #5a67d8 50%, #4c51bf 100%);
    color: #fff;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    padding: 14px 36px;
}

.player-btn--login:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

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

/* Balance Section */
.player-action-bar__balance {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    min-width: 140px;
}

.balance-label {
    font-size: 11px;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.balance-value {
    font-size: 20px;
    font-weight: 800;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Mobile Responsive - Single Row Layout */
@media (max-width: 768px) {
    .player-action-bar {
        flex-direction: row;
        flex-wrap: nowrap;
        padding: 8px 10px;
        gap: 8px;
        justify-content: space-between;
        align-items: center;
    }
    
    .player-action-bar__search {
        flex: 0 1 auto;
        min-width: 80px;
        max-width: 120px;
    }
    
    .player-search-input {
        padding: 8px 10px 8px 32px;
        font-size: 11px;
        border-radius: 20px;
    }
    
    .player-search-icon {
        width: 14px;
        height: 14px;
        left: 10px;
    }
    
    .player-action-bar__buttons {
        flex: 0 0 auto;
        gap: 6px;
    }
    
    .player-btn {
        padding: 6px 10px;
        font-size: 9px;
        letter-spacing: 0.5px;
        border-radius: 16px;
        gap: 4px;
    }
    
    .player-btn svg {
        width: 12px;
        height: 12px;
    }
    
    .player-action-bar__balance {
        flex: 0 1 auto;
        min-width: 60px;
        align-items: flex-end;
    }
    
    .balance-label {
        font-size: 8px;
        letter-spacing: 0.5px;
    }
    
    .balance-value {
        font-size: 12px;
    }
    
    .player-btn--login {
        padding: 6px 12px;
        font-size: 9px;
    }
}

@media (max-width: 480px) {
    .player-action-bar {
        padding: 6px 8px;
        gap: 6px;
    }
    
    .player-action-bar__search {
        min-width: 60px;
        max-width: 90px;
    }
    
    .player-search-input {
        padding: 6px 8px 6px 26px;
        font-size: 10px;
    }
    
    .player-search-icon {
        width: 12px;
        height: 12px;
        left: 8px;
    }
    
    .player-btn {
        padding: 5px 8px;
        font-size: 8px;
        gap: 3px;
    }
    
    .player-btn svg {
        width: 10px;
        height: 10px;
    }
    
    .balance-value {
        font-size: 11px;
    }
    
    .balance-label {
        font-size: 7px;
    }
}

/* ========== PREMIUM FORTUNE WHEEL ========== */
.premium-wheel-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    min-height: 500px;
    overflow: hidden;
}

.premium-wheel-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, #3d1a5c 0%, #1a0a2e 50%, #0a0a14 100%);
    overflow: hidden;
}

.premium-wheel-rays {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    transform: translate(-50%, -50%);
    background: conic-gradient(from 0deg, transparent 0deg, rgba(138, 43, 226, 0.1) 10deg, transparent 20deg, rgba(138, 43, 226, 0.05) 30deg, transparent 40deg);
    animation: rotateRays 30s linear infinite;
}

@keyframes rotateRays {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.premium-wheel-sparkles {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, rgba(255,255,255,0.8), transparent),
        radial-gradient(2px 2px at 40% 70%, rgba(255,255,255,0.6), transparent),
        radial-gradient(1px 1px at 60% 20%, rgba(255,255,255,0.7), transparent),
        radial-gradient(2px 2px at 80% 50%, rgba(255,255,255,0.5), transparent),
        radial-gradient(1px 1px at 10% 80%, rgba(255,255,255,0.6), transparent),
        radial-gradient(2px 2px at 90% 90%, rgba(255,255,255,0.4), transparent);
    animation: sparkle 3s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.premium-wheel-title {
    position: relative;
    z-index: 10;
    margin-bottom: 15px;
    padding: 12px 40px;
    background: linear-gradient(135deg, #FFD700, #FFA500, #FFD700);
    border-radius: 30px 30px 0 0;
    box-shadow: 0 4px 20px rgba(255, 165, 0, 0.5), inset 0 2px 0 rgba(255,255,255,0.3);
}

.wheel-title-text {
    font-size: 24px;
    font-weight: 900;
    color: #8B0000;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 1px 0 rgba(255,255,255,0.5);
}

.premium-wheel-pointer {
    position: absolute;
    top: 85px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 50px;
    z-index: 20;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.5));
    animation: pointerBounce 0.5s ease-in-out infinite;
}

@keyframes pointerBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(3px); }
}

.premium-wheel-frame {
    position: relative;
    width: 320px;
    height: 320px;
    z-index: 5;
}

.premium-wheel-lights {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.wheel-light {
    position: absolute;
    top: 0;
    left: 50%;
    width: 8px;
    height: 8px;
    margin-left: -4px;
    transform-origin: 4px 160px;
}

.wheel-light::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: #FFD700;
    border-radius: 50%;
    box-shadow: 0 0 8px 2px #FFD700;
    animation: lightBlink 1s ease-in-out infinite;
}

.wheel-light:nth-child(odd)::after {
    animation-delay: 0.5s;
}

@keyframes lightBlink {
    0%, 100% { opacity: 1; background: #FFD700; box-shadow: 0 0 8px 2px #FFD700; }
    50% { opacity: 0.4; background: #B8860B; box-shadow: 0 0 4px 1px #B8860B; }
}

.premium-wheel-inner {
    width: 100%;
    height: 100%;
    transition: transform 4s cubic-bezier(0.17, 0.67, 0.12, 0.99);
}

.premium-wheel-inner.spinning {
    transition: transform 5s cubic-bezier(0.17, 0.67, 0.12, 0.99);
}

.wheel-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.5));
}

.premium-wheel-actions {
    position: relative;
    z-index: 10;
    margin-top: 25px;
}

.premium-spin-btn {
    position: relative;
    padding: 18px 50px;
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #fff;
    background: linear-gradient(135deg, #FF6B35, #F72585, #7209B7);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(247, 37, 133, 0.5), inset 0 2px 0 rgba(255,255,255,0.2);
    transition: all 0.3s ease;
}

.premium-spin-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 40px rgba(247, 37, 133, 0.7), inset 0 2px 0 rgba(255,255,255,0.3);
}

.premium-spin-btn:active {
    transform: translateY(0) scale(0.98);
}

.spin-btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: btnShine 2s infinite;
}

@keyframes btnShine {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

.spin-btn-text {
    position: relative;
    z-index: 1;
}

.premium-spin-btn--login {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.5);
}

.premium-wheel-result {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.9);
    z-index: 30;
    animation: fadeIn 0.5s ease;
}

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

.result-celebration {
    text-align: center;
    animation: celebratePop 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes celebratePop {
    0% { transform: scale(0); }
    100% { transform: scale(1); }
}

.result-label {
    display: block;
    font-size: 24px;
    font-weight: 600;
    color: rgba(255,255,255,0.8);
    text-transform: uppercase;
    letter-spacing: 5px;
    margin-bottom: 10px;
}

.result-amount {
    display: block;
    font-size: 64px;
    font-weight: 900;
    background: linear-gradient(135deg, #FFD700, #FFA500, #FFD700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    filter: drop-shadow(0 4px 20px rgba(255, 165, 0, 0.5));
}

/* Mobile responsive */
@media (max-width: 480px) {
    .premium-wheel-container { padding: 10px; min-height: 450px; }
    .premium-wheel-frame { width: 280px; height: 280px; }
    .wheel-light { transform-origin: 4px 140px; }
    .premium-wheel-title { padding: 8px 25px; }
    .wheel-title-text { font-size: 18px; letter-spacing: 2px; }
    .premium-wheel-pointer { top: 70px; width: 35px; height: 45px; }
    .premium-spin-btn { padding: 14px 35px; font-size: 16px; }
    .result-amount { font-size: 48px; }
}

/* ========== MORE ICON WITH RAINBOW BORDER ========== */
.bonus-icon-item--more {
    flex-direction: column;
    gap: 6px;
}

.bonus-icon-img--more {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.more-icon-rainbow {
    width: calc(25vw - 15px);
    max-width: 100px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(20, 20, 40, 0.9), rgba(10, 10, 30, 0.95));
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.more-icon-rainbow::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 18px;
    background: linear-gradient(90deg, #ff0000, #ff7f00, #ffff00, #00ff00, #0080ff, #8b00ff, #ff00ff, #ff0000);
    background-size: 400% 100%;
    z-index: -1;
    animation: rainbowBorderFlow 3s linear infinite;
}

.more-icon-rainbow::after {
    content: '';
    position: absolute;
    inset: 2px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(20, 20, 40, 0.98), rgba(10, 10, 25, 0.99));
    z-index: 0;
}

.more-icon-rainbow svg {
    width: 50%;
    height: 50%;
    color: #fff;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.5));
    animation: moreIconPulse 2s ease-in-out infinite;
}

@keyframes moreIconPulse {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.5)); }
    50% { transform: scale(1.1); filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.8)); }
}

.bonus-icon-label {
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    animation: rainbowTextGlow 4s linear infinite;
}

@media (max-width: 768px) {
    .more-icon-rainbow {
        width: calc(25vw - 12px);
        max-width: 80px;
        border-radius: 12px;
    }
    .more-icon-rainbow::before { border-radius: 14px; }
    .more-icon-rainbow::after { border-radius: 10px; }
    .bonus-icon-label { font-size: 9px; letter-spacing: 1px; }
}

@media (max-width: 480px) {
    .more-icon-rainbow {
        width: calc(25vw - 8px);
        max-width: 70px;
        border-radius: 10px;
    }
    .more-icon-rainbow::before { border-radius: 12px; }
    .more-icon-rainbow::after { border-radius: 8px; }
    .bonus-icon-label { font-size: 8px; }
}

/* OVERRIDE - White Background */
body,
html,
.carcass,
.carcass__body,
.main-content {
    background: #ffffff !important;
    background-color: #ffffff !important;
}

/* Player Action Bar - Centered Layout */
.player-action-bar--centered {
    justify-content: center;
    gap: 16px;
}

.player-action-bar__balance-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 50px;
    min-width: 140px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.balance-value-large {
    font-size: 18px;
    font-weight: 800;
    background: linear-gradient(135deg, #ffd700 0%, #ffb347 50%, #ff8c00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.balance-label-small {
    font-size: 9px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 2px;
}

@media (max-width: 480px) {
    .player-action-bar--centered {
        flex-wrap: wrap;
        gap: 12px;
    }
    .player-action-bar__balance-center {
        order: -1;
        width: 100%;
        padding: 14px 24px;
        border-radius: 16px;
    }
    .balance-value-large {
        font-size: 22px;
    }
    .balance-label-small {
        font-size: 10px;
    }
    .player-btn {
        flex: 1;
        justify-content: center;
    }
}

/* ========== REFERRAL TRACKER STYLES ========== */
.referral-tracker {
    text-align: center;
}

.referral-tracker__header {
    margin-bottom: 25px;
}

.referral-tracker__title {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px 0;
}

.referral-tracker__subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.referral-tracker__stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
}

.referral-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 90px;
}

.referral-stat--highlight {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(5, 150, 105, 0.1) 100%);
    border-color: rgba(16, 185, 129, 0.3);
}

.referral-stat__value {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
}

.referral-stat--highlight .referral-stat__value {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.referral-stat__label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 5px;
}

.referral-tracker__code {
    margin-bottom: 20px;
}

.referral-code-label {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.referral-code-box {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 12px;
}

.referral-code {
    font-size: 20px;
    font-weight: 700;
    color: #fbbf24;
    letter-spacing: 3px;
}

.referral-copy-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.referral-copy-btn svg {
    width: 14px;
    height: 14px;
}

.referral-copy-btn:hover {
    transform: scale(1.05);
}

.referral-tracker__progress {
    margin-top: 15px;
}

.referral-progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.referral-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #10b981, #34d399);
    border-radius: 4px;
    transition: width 0.5s ease;
}

.referral-progress-text {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.referral-tracker__login {
    padding: 30px;
}

.referral-tracker__login p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
}

.referral-login-btn {
    padding: 12px 30px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.referral-login-btn:hover {
    transform: scale(1.05);
}

@media (max-width: 480px) {
    .referral-tracker__stats {
        flex-direction: column;
        gap: 10px;
    }
    .referral-stat {
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
    }
    .referral-stat__label {
        margin-top: 0;
    }
}

/* ========== CATEGORY PAGE STYLES ========== */
.category-page {
    padding: 20px 15px;
    max-width: 1400px;
    margin: 0 auto;
}

.category-page__header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.category-page__back {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 12px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-page__back svg {
    width: 18px;
    height: 18px;
}

.category-page__back:hover {
    transform: translateX(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.category-page__title {
    font-size: 28px;
    font-weight: 800;
    color: #1a1a2e;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.category-page__search {
    position: relative;
    max-width: 500px;
    margin-bottom: 30px;
}

.category-search-input {
    width: 100%;
    padding: 16px 20px 16px 50px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border: 2px solid transparent;
    border-radius: 16px;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    outline: none;
    transition: all 0.3s ease;
}

.category-search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.category-search-input:focus {
    border-color: #10b981;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
}

.category-search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: rgba(255, 255, 255, 0.5);
    pointer-events: none;
}

.category-page__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 15px;
}

.category-game-card {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-game-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.category-game-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-game-card__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-game-card:hover .category-game-card__overlay {
    opacity: 1;
}

.category-game-card__title {
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    display: block;
}

.category-game-card__badge {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 4px 10px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 6px;
}

.category-page__empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #666;
    font-size: 16px;
}

.category-page__pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.category-page__pagination .pagination {
    display: flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-page__pagination .pagination li a,
.category-page__pagination .pagination li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: #1a1a2e;
    color: #fff;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.category-page__pagination .pagination li.active span {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.category-page__pagination .pagination li a:hover {
    background: #2a2a4e;
}

@media (max-width: 768px) {
    .category-page__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .category-page__title {
        font-size: 22px;
    }
    
    .category-page__grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 10px;
    }
    
    .category-game-card {
        border-radius: 12px;
    }
}

@media (max-width: 480px) {
    .category-page {
        padding: 15px 10px;
    }
    
    .category-page__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    
    .category-search-input {
        padding: 14px 16px 14px 45px;
        font-size: 14px;
    }
}


/* ==========================================================================
   MOBILE CASINO LAYOUT — Full-screen app-like design (≤ 768px)
   ========================================================================== */

/* Hidden on desktop, shown on mobile */
.mobile-casino-layout {
    display: none;
}

@media (max-width: 768px) {
    /* Override white background for mobile casino */
    html, body {
        background: #130d2a !important;
        background-color: #130d2a !important;
        overflow: hidden !important;
        height: 100% !important;
    }

    /* Hide all desktop-only elements */
    .carcass__header,
    .carcass__sidebar,
    .top-winners-bar,
    .main-content__first-screen,
    .player-action-bar,
    .slideshow-action-bar,
    .category-section,
    .mobile-slider,
    .main-content__latest-winners,
    .carcass__body,
    .footer-minimal {
        display: none !important;
    }

    /* Show mobile layout */
    .mobile-casino-layout {
        display: flex;
        flex-direction: column;
        position: fixed;
        inset: 0;
        z-index: 9000;
        background: #130d2a;
        font-family: 'Poppins', sans-serif;
        overflow: hidden;
    }

    /* ── TOP HEADER ── */
    .mob-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 14px;
        background: rgba(30, 18, 60, 0.95);
        border-bottom: 1px solid rgba(255, 255, 255, 0.07);
        flex-shrink: 0;
        min-height: 54px;
        z-index: 10;
    }

    .mob-header__user-pill {
        display: flex;
        align-items: center;
        gap: 8px;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 215, 0, 0.25);
        border-radius: 50px;
        padding: 6px 14px 6px 8px;
        cursor: pointer;
        transition: background 0.2s;
    }

    .mob-header__user-pill:active { background: rgba(255, 255, 255, 0.14); }

    .mob-header__avatar {
        width: 28px;
        height: 28px;
        background: rgba(251, 191, 36, 0.15);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .mob-header__avatar svg { width: 18px; height: 18px; }

    .mob-header__username {
        font-size: 12px;
        font-weight: 600;
        color: rgba(255, 255, 255, 0.9);
        max-width: 80px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .mob-header__balance {
        font-size: 12px;
        font-weight: 700;
        color: #fbbf24;
    }

    .mob-header__login-text {
        font-size: 12px;
        font-weight: 600;
        color: rgba(255, 255, 255, 0.8);
    }

    .mob-header__logo {
        font-family: 'Poppins', sans-serif;
        font-size: 20px;
        font-weight: 800;
        font-style: italic;
        background: linear-gradient(135deg, #ff2d8f, #ff6ec7, #ff2d8f);
        background-size: 200% 100%;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        letter-spacing: -0.5px;
        animation: logoShimmer 3s ease-in-out infinite;
        text-shadow: none;
        filter: drop-shadow(0 0 8px rgba(255, 45, 143, 0.5));
    }

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

    /* ── BODY (sidebar + content) ── */
    .mob-body {
        display: flex;
        flex: 1;
        overflow: hidden;
        min-height: 0;
    }

    /* ── LEFT SIDEBAR ── */
    .mob-sidebar {
        width: 58px;
        flex-shrink: 0;
        background: rgba(20, 12, 45, 0.98);
        border-right: 1px solid rgba(255, 255, 255, 0.06);
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 8px 0;
        gap: 4px;
        overflow-y: auto;
        scrollbar-width: none;
    }
    .mob-sidebar::-webkit-scrollbar { display: none; }

    .mob-sidebar__item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
        width: 50px;
        padding: 10px 4px;
        background: transparent;
        border: none;
        border-radius: 12px;
        color: rgba(255, 255, 255, 0.4);
        cursor: pointer;
        transition: all 0.2s ease;
        -webkit-tap-highlight-color: transparent;
    }

    .mob-sidebar__item.active {
        background: rgba(255, 45, 143, 0.15);
        color: #ff2d8f;
        border: 1px solid rgba(255, 45, 143, 0.3);
    }

    .mob-sidebar__icon {
        width: 28px;
        height: 28px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mob-sidebar__icon svg { width: 22px; height: 22px; }

    .mob-sidebar__label {
        font-size: 8px;
        font-weight: 700;
        letter-spacing: 0.5px;
        text-transform: uppercase;
        line-height: 1;
    }

    /* ── SCROLLABLE CONTENT ── */
    .mob-content {
        flex: 1;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        background: #130d2a;
    }
    .mob-content::-webkit-scrollbar { display: none; }

    /* ── HERO BANNER ── */
    .mob-hero-banner {
        position: relative;
        width: 100%;
        height: 200px;
        overflow: hidden;
        border-radius: 0 0 16px 16px;
        flex-shrink: 0;
    }

    .mob-banner-slider {
        position: relative;
        width: 100%;
        height: 100%;
    }

    .mob-banner-slide {
        position: absolute;
        inset: 0;
        background-size: cover;
        background-position: center;
        opacity: 0;
        transition: opacity 0.6s ease;
    }

    .mob-banner-slide.active { opacity: 1; }

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

    .mob-banner-dot {
        width: 6px;
        height: 6px;
        border-radius: 3px;
        background: rgba(255, 255, 255, 0.4);
        transition: all 0.3s ease;
        cursor: pointer;
    }

    .mob-banner-dot.active {
        width: 18px;
        background: #fbbf24;
    }

    .mob-banner-balance {
        position: absolute;
        top: 10px;
        right: 12px;
        display: flex;
        align-items: center;
        gap: 6px;
        background: rgba(0, 0, 0, 0.55);
        border: 1px solid rgba(251, 191, 36, 0.4);
        border-radius: 20px;
        padding: 4px 12px 4px 6px;
        z-index: 3;
        backdrop-filter: blur(6px);
    }

    .mob-balance-coin {
        width: 22px;
        height: 22px;
        flex-shrink: 0;
    }

    .mob-balance-coin svg { width: 22px; height: 22px; }

    .mob-balance-amount {
        font-size: 14px;
        font-weight: 700;
        color: #fbbf24;
    }

    /* ── GAME GRID (2 columns) ── */
    .mob-game-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        padding: 12px 8px 16px;
    }

    .mob-game-card {
        display: block;
        text-decoration: none;
        border-radius: 12px;
        overflow: hidden;
        position: relative;
        -webkit-tap-highlight-color: transparent;
        transition: transform 0.15s ease;
    }

    .mob-game-card:active { transform: scale(0.96); }

    .mob-game-card__wrap {
        position: relative;
        width: 100%;
        padding-top: 75%;
        background: #1e1245;
        border-radius: 12px;
        overflow: hidden;
        border: 1px solid rgba(255, 255, 255, 0.08);
    }

    .mob-game-card__img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .mob-game-card__badge {
        position: absolute;
        top: 6px;
        left: 6px;
        background: linear-gradient(135deg, #ef4444, #dc2626);
        color: #fff;
        font-size: 9px;
        font-weight: 700;
        text-transform: uppercase;
        padding: 2px 7px;
        border-radius: 6px;
        letter-spacing: 0.5px;
        z-index: 2;
    }

    .mob-game-card__overlay {
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        transition: opacity 0.2s ease;
        border-radius: 12px;
    }

    .mob-game-card:active .mob-game-card__overlay { opacity: 1; }

    /* ── BOTTOM NAVIGATION ── */
    .mob-bottom-nav {
        display: flex;
        align-items: stretch;
        justify-content: space-around;
        background: rgba(15, 10, 35, 0.98);
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        padding: 6px 4px max(8px, env(safe-area-inset-bottom));
        flex-shrink: 0;
        z-index: 10;
        min-height: 60px;
    }

    .mob-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        flex: 1;
        background: transparent;
        border: none;
        color: rgba(255, 255, 255, 0.45);
        font-size: 8px;
        font-weight: 700;
        letter-spacing: 0.5px;
        text-transform: uppercase;
        cursor: pointer;
        padding: 4px 2px;
        min-height: 48px;
        -webkit-tap-highlight-color: transparent;
        transition: color 0.2s ease;
        font-family: 'Poppins', sans-serif;
    }

    .mob-nav-item svg {
        width: 20px;
        height: 20px;
        flex-shrink: 0;
    }

    .mob-nav-item:active { color: #ff2d8f; }

    .mob-nav-item--deposit { color: #10b981; }
    .mob-nav-item--deposit:active { color: #34d399; }

    .mob-nav-item--cashout { color: #ef4444; }
    .mob-nav-item--cashout:active { color: #f87171; }

    /* SPIN button — center, prominent */
    .mob-nav-item--spin {
        flex: 0 0 auto;
        width: 64px;
        position: relative;
        margin-top: -22px;
        color: #1a0a2e;
        padding: 0;
    }

    .mob-spin-ring {
        width: 54px;
        height: 54px;
        border-radius: 50%;
        background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 0 0 3px #130d2a, 0 0 0 5px rgba(251, 191, 36, 0.4), 0 6px 20px rgba(251, 191, 36, 0.5);
        animation: spinPulse 2s ease-in-out infinite;
        flex-shrink: 0;
    }

    .mob-spin-ring svg {
        width: 26px;
        height: 26px;
        color: #1a0a2e;
        fill: #1a0a2e;
    }

    .mob-nav-item--spin span {
        color: #fbbf24;
        font-size: 8px;
        margin-top: 4px;
    }

    @keyframes spinPulse {
        0%, 100% { box-shadow: 0 0 0 3px #130d2a, 0 0 0 5px rgba(251, 191, 36, 0.4), 0 6px 20px rgba(251, 191, 36, 0.5); }
        50% { box-shadow: 0 0 0 3px #130d2a, 0 0 0 7px rgba(251, 191, 36, 0.6), 0 8px 28px rgba(251, 191, 36, 0.7); }
    }
}

/* Ensure modals/overlays appear above mobile layout */
.bonus-modal-overlay,
.more-modal-overlay,
.ngdialog {
    z-index: 99999 !important;
}
