/* --- SpinFrenzyCrew Frost Theme Variables --- */
:root {
    --arctic-blue: #3BC9FF;
    --ice-white: #F5FBFF;
    --steel-silver: #B9C6D2;
    --dark-navy: #08131F;
    --frost-glow: #6FFFE9;
    
    --primary: var(--arctic-blue);
    --accent: var(--ice-white);
    --secondary: var(--steel-silver);
    --bg-deep: var(--dark-navy);
    
    --glass-border: 1px solid rgba(59, 201, 255, 0.2);
    --glass-blur: blur(20px);
    
    --font-main: 'Outfit', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

/* HIDE SCROLLBARS GLOBALLY */
html, body { overflow-x: hidden; }
::-webkit-scrollbar { width: 0px; background: transparent; display: none; }
html { scrollbar-width: none; -ms-overflow-style: none; }

body {
    font-family: var(--font-main);
    background-color: var(--bg-deep);
    color: var(--ice-white);
    min-height: 100vh;
}

/* --- SCROLL LOCK CLASS --- */
body.no-scroll {
    overflow: hidden !important;
    position: fixed;
    width: 100%;
    height: 100%;
}

/* --- SCROLLING TICKER BANNER --- */
.ticker-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(90deg, rgba(59, 201, 255, 0.15), rgba(111, 255, 233, 0.15));
    border-bottom: 2px solid rgba(59, 201, 255, 0.3);
    padding: 0.8rem 0;
    z-index: 1000;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.ticker-content {
    display: flex;
    animation: tickerScroll 40s linear infinite;
    white-space: nowrap;
}

.ticker-item {
    display: inline-block;
    padding: 0 3rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--ice-white);
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(59, 201, 255, 0.5);
}

@keyframes tickerScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* --- Background --- */
.background-container {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1;
    background: radial-gradient(circle at 50% 0%, #0a1f2f 0%, #08131F 80%);
}
#matrixCanvas { width: 100%; height: 100%; opacity: 0.15; }
.vignette-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle, transparent 40%, #000 100%);
    pointer-events: none;
}

/* --- Main Layout --- */
.leaderboard-container {
    max-width: 1200px; margin: 0 auto; padding: 1rem;
    display: flex; flex-direction: column; gap: 2rem;
    min-height: 100vh;
    padding-top: 240px;
}

/* --- UI Elements --- */
.home-btn {
    display: none !important;
}

/* --- SITE LOGO --- */
.site-logo {
    position: absolute !important;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    height: 150px;
    width: auto;
    z-index: 999;
    filter: drop-shadow(0 4px 20px rgba(59, 201, 255, 0.6));
    transition: 0.3s;
    pointer-events: none;
    animation: frostPulse 3s ease-in-out infinite;
}

@keyframes frostPulse {
    0%, 100% { filter: drop-shadow(0 4px 20px rgba(59, 201, 255, 0.6)); }
    50% { filter: drop-shadow(0 4px 30px rgba(111, 255, 233, 0.8)); }
}

.live-indicator {
    position: absolute !important; 
    top: 75px; 
    right: 80px; 
    z-index: 999;
    background: rgba(8,19,31,0.8); 
    border: var(--glass-border); 
    padding: 8px 16px;
    border-radius: 30px; 
    display: flex; 
    align-items: center; 
    gap: 8px; 
    font-size: 0.8rem; 
    font-weight: 700; 
    text-decoration: none; 
    color: var(--ice-white);
    backdrop-filter: blur(10px);
    transition: 0.3s;
}
.live-indicator.online { 
    border-color: var(--frost-glow); 
    color: var(--frost-glow); 
    box-shadow: 0 0 15px rgba(111, 255, 233, 0.4);
}
.status-ping { 
    width: 8px; 
    height: 8px; 
    border-radius: 50%; 
    background: #ef4444; 
}
.live-indicator.online .status-ping { 
    background: var(--frost-glow); 
    box-shadow: 0 0 10px var(--frost-glow); 
    animation: frostPing 1.5s infinite; 
}

@keyframes frostPing { 
    0% { transform: scale(1); opacity: 1; } 
    100% { transform: scale(2); opacity: 0; } 
}

.hamburger-menu {
    position: absolute !important; 
    top: 75px; 
    right: 20px; 
    z-index: 2001; 
    width: 44px; 
    height: 44px; 
    background: var(--arctic-blue); 
    border-radius: 12px;
    display: flex; 
    align-items: center; 
    justify-content: center; 
    cursor: pointer;
    box-shadow: 0 0 20px rgba(59, 201, 255, 0.4); 
    transition: all 0.3s ease;
}

/* Move hamburger menu up when menu overlay is active */
.hamburger-menu.menu-open {
    position: fixed !important;
    top: 15px;
    right: 15px;
}

.hamburger-menu:hover { 
    transform: scale(1.05); 
    box-shadow: 0 0 30px rgba(111, 255, 233, 0.6);
}
.hamburger-inner { 
    width: 20px; 
    height: 2px; 
    background: #fff; 
    position: relative; 
}
.hamburger-inner::before, .hamburger-inner::after {
    content: ''; 
    position: absolute; 
    left: 0; 
    width: 20px; 
    height: 2px; 
    background: #fff;
}
.hamburger-inner::before { top: -6px; }
.hamburger-inner::after { top: 6px; }

/* --- MOBILE ADJUSTMENTS --- */
@media (max-width: 768px) {
    .ticker-banner {
        padding: 0.6rem 0;
    }
    
    .ticker-item {
        font-size: 0.8rem;
        padding: 0 2rem;
    }
    
    .home-btn { top: 15px; left: 15px; }
    .hamburger-menu { top: 65px; right: 15px; }
    
    /* Move hamburger menu up on mobile when menu is open */
    .hamburger-menu.menu-open {
        top: 15px;
        right: 70px;
    }
    
    .live-indicator { top: 65px; right: 70px; padding: 6px 12px; font-size: 0.7rem; }
    
    .leaderboard-container { 
        padding-top: 170px; 
    }
    
    .site-logo {
        top: 70px;
        height: 100px;
    }
}

/* --- TITLE SECTION --- */
.leaderboard-title-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.leaderboard-title {
    width: 100%;
    max-width: 800px;
}

.leaderboard-title svg text {
    animation: frostShimmer 4s ease-in-out infinite;
}

@keyframes frostShimmer {
    0%, 100% { 
        fill: var(--arctic-blue); 
        filter: drop-shadow(0 0 10px rgba(59, 201, 255, 0.6));
    }
    50% { 
        fill: var(--frost-glow); 
        filter: drop-shadow(0 0 20px rgba(111, 255, 233, 0.8));
    }
}

.prize-pool-subtitle {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--steel-silver);
    text-align: center;
    letter-spacing: 2px;
    margin-top: -0.5rem;
}

.prize-pool-amount {
    color: var(--arctic-blue);
    font-size: 1.5rem;
    font-weight: 900;
    text-shadow: 0 0 20px rgba(59, 201, 255, 0.6);
}

/* --- TIMER CONTAINER --- */
.timer-container {
    background: linear-gradient(135deg, rgba(59, 201, 255, 0.05), rgba(111, 255, 233, 0.05));
    border: 2px solid rgba(59, 201, 255, 0.3);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.5s ease-in-out;
}

#timer-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--arctic-blue);
    letter-spacing: 3px;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 15px rgba(59, 201, 255, 0.5);
}

.timer-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.timer-box {
    background: rgba(8, 19, 31, 0.6);
    border: 2px solid rgba(59, 201, 255, 0.3);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    min-width: 80px;
    transition: 0.3s;
}

.timer-box:hover {
    border-color: var(--frost-glow);
    box-shadow: 0 0 20px rgba(111, 255, 233, 0.3);
    transform: translateY(-2px);
}

.timer-time {
    display: block;
    font-size: 2rem;
    font-weight: 900;
    color: var(--arctic-blue);
    text-shadow: 0 0 10px rgba(59, 201, 255, 0.6);
}

.timer-label {
    display: block;
    font-size: 0.7rem;
    color: var(--steel-silver);
    font-weight: 600;
    letter-spacing: 1px;
    margin-top: 0.3rem;
}

.timer-separator {
    font-size: 2rem;
    font-weight: 900;
    color: var(--arctic-blue);
    opacity: 0.6;
    animation: blink 2s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 0.2; }
}

@media (max-width: 768px) {
    .timer-grid { gap: 0.5rem; }
    .timer-box { 
        padding: 0.8rem 1rem; 
        min-width: 60px; 
    }
    .timer-time { font-size: 1.5rem; }
    .timer-separator { font-size: 1.5rem; }
}

/* --- LOADING SCREEN --- */
.loading-screen {
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: var(--dark-navy); 
    z-index: 9999;
    display: flex; 
    align-items: center; 
    justify-content: center;
    flex-direction: column;
}

.loading-icons i {
    font-size: 4rem;
    color: var(--arctic-blue);
    animation: crystalSpin 2s linear infinite;
}

@keyframes crystalSpin {
    0% { 
        transform: rotate(0deg) scale(1); 
        filter: drop-shadow(0 0 10px rgba(59, 201, 255, 0.6));
    }
    50% { 
        transform: rotate(180deg) scale(1.1); 
        filter: drop-shadow(0 0 20px rgba(111, 255, 233, 0.8));
    }
    100% { 
        transform: rotate(360deg) scale(1); 
        filter: drop-shadow(0 0 10px rgba(59, 201, 255, 0.6));
    }
}

.loading-text {
    font-size: 1rem;
    letter-spacing: 5px;
    color: var(--arctic-blue);
    margin-top: 20px;
    font-weight: 900;
    animation: frostBlink 1s infinite;
}

@keyframes frostBlink {
    50% { opacity: 0.3; }
}

.loading-progress {
    width: 200px;
    height: 4px;
    background: rgba(59, 201, 255, 0.2);
    border-radius: 10px;
    margin-top: 20px;
    overflow: hidden;
}

.loading-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--arctic-blue), var(--frost-glow));
    width: 0%;
    animation: loadingBar 2s ease-in-out infinite;
    box-shadow: 0 0 10px var(--frost-glow);
}

@keyframes loadingBar {
    0% { width: 0%; }
    50% { width: 100%; }
    100% { width: 0%; }
}

/* --- PODIUM SECTION --- */
.podium {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 2rem;
    margin: 2rem 0;
    animation: slideUp 0.8s ease-out;
}

@keyframes slideUp {
    from { 
        opacity: 0; 
        transform: translateY(30px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

.podium-place {
    background: linear-gradient(135deg, rgba(59, 201, 255, 0.08), rgba(111, 255, 233, 0.05));
    border: 2px solid rgba(59, 201, 255, 0.3);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    min-width: 260px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.podium-place::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(59, 201, 255, 0.1), transparent);
    animation: frostShimmerPass 3s ease-in-out infinite;
}

@keyframes frostShimmerPass {
    0% { transform: translateX(-100%) translateY(-100%); }
    100% { transform: translateX(100%) translateY(100%); }
}

.podium-place:hover {
    transform: translateY(-10px);
    border-color: var(--frost-glow);
    box-shadow: 0 15px 40px rgba(111, 255, 233, 0.3);
}

.first-place {
    order: 2;
    min-height: 380px;
    border-color: var(--arctic-blue);
    animation: icyGlow 3s ease-in-out infinite;
}

@keyframes icyGlow {
    0%, 100% { 
        box-shadow: 0 10px 40px rgba(59, 201, 255, 0.4); 
    }
    50% { 
        box-shadow: 0 10px 60px rgba(111, 255, 233, 0.6); 
    }
}

.second-place {
    order: 1;
    min-height: 340px;
    border-color: var(--steel-silver);
}

.third-place {
    order: 3;
    min-height: 300px;
    border-color: rgba(185, 198, 210, 0.5);
}

.podium-rank-badge {
    background: linear-gradient(135deg, var(--arctic-blue), var(--frost-glow));
    color: var(--dark-navy);
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(59, 201, 255, 0.4);
}

.player-avatar-placeholder {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--arctic-blue), var(--frost-glow));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--dark-navy);
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 30px rgba(59, 201, 255, 0.5);
    border: 3px solid var(--ice-white);
}

.player-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--ice-white);
    margin-bottom: 0.8rem;
}

.wagered-amount {
    font-size: 1.1rem;
    color: var(--steel-silver);
    margin-bottom: 1.5rem;
}

.prize-tag {
    background: linear-gradient(135deg, var(--arctic-blue), var(--frost-glow));
    color: var(--dark-navy);
    padding: 1rem 2rem;
    border-radius: 30px;
    font-size: 1.5rem;
    font-weight: 900;
    display: inline-block;
    box-shadow: 0 5px 20px rgba(59, 201, 255, 0.5);
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

/* MOBILE PODIUM - 1ST, 2ND, 3RD ORDER */
@media (max-width: 768px) {
    .podium {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .podium-place {
        width: 100%;
        max-width: 320px;
        min-height: auto !important;
        padding: 2rem 1.5rem;
        min-width: auto;
    }
    
    /* Mobile Order: 1st at top, 2nd middle, 3rd bottom */
    .first-place { order: 1; }
    .second-place { order: 2; }
    .third-place { order: 3; }
    
    .player-avatar-placeholder {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    
    .player-name {
        font-size: 1.1rem;
    }
    
    .prize-tag {
        font-size: 1.3rem;
        padding: 0.8rem 1.5rem;
    }
}

/* --- LEADERBOARD TABLE --- */
.leaderboard-table-section {
    background: linear-gradient(135deg, rgba(59, 201, 255, 0.05), rgba(111, 255, 233, 0.03));
    border: 2px solid rgba(59, 201, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.table-header {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--arctic-blue);
    text-align: center;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
    text-shadow: 0 0 15px rgba(59, 201, 255, 0.5);
}

.leaderboard-table {
    width: 100%;
    border-collapse: collapse;
}

.leaderboard-table thead tr {
    background: rgba(59, 201, 255, 0.1);
    border-bottom: 2px solid rgba(59, 201, 255, 0.3);
}

.leaderboard-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 700;
    color: var(--arctic-blue);
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.leaderboard-table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(59, 201, 255, 0.1);
    color: var(--ice-white);
    font-size: 0.95rem;
}

.leaderboard-table tbody tr {
    transition: all 0.3s ease;
    animation: fadeIn 0.5s ease-in-out;
}

.leaderboard-table tbody tr:hover {
    background: rgba(59, 201, 255, 0.08);
    transform: translateX(5px);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.rank-number {
    font-weight: 800;
    color: var(--arctic-blue);
    font-size: 1.1rem;
}

.player-cell {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.table-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--arctic-blue), var(--frost-glow));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--dark-navy);
    font-size: 0.9rem;
    border: 2px solid var(--ice-white);
}

.wager-cell {
    font-weight: 700;
    color: var(--steel-silver);
}

.prize-pill {
    background: linear-gradient(135deg, var(--arctic-blue), var(--frost-glow));
    color: var(--dark-navy);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-weight: 800;
    font-size: 0.85rem;
    display: inline-block;
    box-shadow: 0 3px 10px rgba(59, 201, 255, 0.4);
}

.no-prize {
    color: var(--steel-silver);
    opacity: 0.5;
}

@media (max-width: 768px) {
    .leaderboard-table th,
    .leaderboard-table td {
        padding: 0.8rem 0.4rem;
        font-size: 0.75rem;
    }
    
    .table-avatar {
        width: 24px;
        height: 24px;
        font-size: 0.7rem;
    }
    
    .prize-pill {
        font-size: 0.65rem;
        padding: 3px 6px;
    }
}

/* --- NO DATA MESSAGE --- */
.no-data-message {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--steel-silver);
    font-size: 1.1rem;
    font-weight: 600;
}

/* --- RACE DISABLED --- */
.race-disabled-container {
    display: none;
    padding: 3rem 2rem;
}

.disabled-card {
    background: linear-gradient(135deg, rgba(59, 201, 255, 0.08), rgba(111, 255, 233, 0.05));
    border: 2px solid rgba(59, 201, 255, 0.3);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    backdrop-filter: blur(10px);
}

.disabled-icon {
    font-size: 4rem;
    color: var(--arctic-blue);
    margin-bottom: 1.5rem;
    animation: crystalSpin 3s linear infinite;
}

.disabled-card h2 {
    font-size: 2rem;
    font-weight: 900;
    color: var(--arctic-blue);
    letter-spacing: 3px;
    margin-bottom: 1rem;
}

.disabled-line {
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--arctic-blue), transparent);
    margin: 1.5rem auto;
}

.race-disabled-message {
    font-size: 1.2rem;
    color: var(--ice-white);
    margin-bottom: 2rem;
}

.discord-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    color: var(--steel-silver);
    font-size: 0.95rem;
}

/* --- HAMBURGER MENU --- */
.menu-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100%;
    background: linear-gradient(135deg, rgba(8, 19, 31, 0.98), rgba(15, 31, 46, 0.98));
    z-index: 2000;
    display: flex;
    flex-direction: column;
    transition: right 0.4s ease;
    border-left: 2px solid rgba(59, 201, 255, 0.3);
    box-shadow: -10px 0 40px rgba(0,0,0,0.5);
}

.menu-overlay.active {
    right: 0;
}

.menu-header {
    padding: 2rem;
    padding-top: 1.5rem;
    border-bottom: 2px solid rgba(59, 201, 255, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-close {
    background: rgba(239, 68, 68, 0.2);
    border: 2px solid rgba(239, 68, 68, 0.4);
    color: #ef4444;
    font-size: 1.5rem;
    cursor: pointer;
    transition: 0.3s;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 15px;
    right: 70px;
}

.menu-close:hover {
    background: rgba(239, 68, 68, 0.3);
    border-color: #ef4444;
    transform: rotate(90deg);
}

@media (max-width: 768px) {
    .menu-close {
        right: 120px;
        top: 15px;
    }
}

.menu-tabs {
    display: flex;
    border-bottom: 2px solid rgba(59, 201, 255, 0.2);
    background: rgba(8, 19, 31, 0.5);
}

.menu-tab {
    flex: 1;
    padding: 1rem;
    background: none;
    border: none;
    color: var(--steel-silver);
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: 0.3s;
    border-bottom: 3px solid transparent;
}

.menu-tab.active {
    color: var(--arctic-blue);
    border-bottom-color: var(--arctic-blue);
    background: rgba(59, 201, 255, 0.05);
}

.menu-content {
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.tab-content {
    padding: 0 2rem 2rem;
    display: none;
    flex: 1;
    overflow-y: auto;
}

.tab-content.active {
    display: block;
    animation: fadeUp 0.4s;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- SOCIAL TAB --- */
.social-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
    margin-top: 2rem;
}

.social-card {
    background: rgba(59, 201, 255, 0.05);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--ice-white);
    transition: 0.3s;
    border: 1px solid transparent;
}

.social-card i {
    font-size: 1.8rem;
    margin-bottom: 0.2rem;
}

.social-card span {
    font-size: 0.9rem;
    font-weight: 600;
}

.social-card:hover {
    transform: translateY(-5px);
}

.social-card.kick:hover {
    background: rgba(0, 225, 0, 0.1);
    border-color: #00E701;
    color: #00E701;
}

.social-card.twitter:hover {
    background: rgba(29, 161, 242, 0.1);
    border-color: #1DA1F2;
    color: #1DA1F2;
}

.social-card.discord:hover {
    background: rgba(88, 101, 242, 0.1);
    border-color: #5865F2;
    color: #5865F2;
}

.social-card.instagram:hover {
    background: rgba(225, 48, 108, 0.1);
    border-color: #E1306C;
    color: #E1306C;
}

/* --- PRIZES TAB --- */
.prizes-container {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin: 2rem 0;
}

.prize-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem;
    border-radius: 12px;
    background: rgba(59, 201, 255, 0.05);
    border: 2px solid rgba(59, 201, 255, 0.2);
    transition: 0.3s;
}

.prize-card:hover {
    transform: translateX(5px);
    border-color: var(--arctic-blue);
    box-shadow: 0 5px 20px rgba(59, 201, 255, 0.2);
}

.rank-icon {
    font-size: 1.5rem;
}

.rank-title {
    font-weight: 700;
    font-size: 1rem;
    color: var(--ice-white);
}

.rank-amount {
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--arctic-blue);
}

.prize-note {
    font-size: 0.75rem;
    color: var(--steel-silver);
    text-align: center;
    font-style: italic;
    margin-top: 1rem;
}

/* --- REWARDS TAB --- */
.rewards-payouts {
    background: rgba(59, 201, 255, 0.05);
    border-radius: 16px;
    padding: 1.5rem;
    margin: 2rem 0 1.5rem;
    border: 2px solid rgba(59, 201, 255, 0.2);
}

.rewards-payouts-title {
    text-align: center;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--arctic-blue);
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.rewards-payout-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid rgba(59, 201, 255, 0.1);
    font-size: 0.95rem;
    transition: 0.3s;
}

.rewards-payout-item:hover {
    background: rgba(59, 201, 255, 0.05);
    transform: translateX(3px);
}

.rewards-payout-item:last-child {
    border-bottom: none;
}

.rewards-wager {
    color: var(--steel-silver);
    font-weight: 600;
}

.rewards-tip {
    color: var(--arctic-blue);
    font-weight: 800;
    font-size: 1.1rem;
    text-shadow: 0 0 10px rgba(59, 201, 255, 0.4);
}

.rewards-requirements {
    background: rgba(111, 255, 233, 0.05);
    border: 2px solid rgba(111, 255, 233, 0.2);
    border-radius: 16px;
    padding: 1.5rem;
}

.rewards-requirements-title {
    color: var(--frost-glow);
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.rewards-requirement {
    display: flex;
    gap: 0.8rem;
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
    color: var(--ice-white);
    line-height: 1.5;
}

.rewards-bullet {
    color: var(--frost-glow);
    font-weight: 900;
    font-size: 1.2rem;
}

.rewards-highlight {
    color: var(--arctic-blue);
    font-weight: 700;
}

/* --- LIVE STREAM CONTAINER --- */
.live-stream-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 5000;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.live-stream-container.active {
    display: flex;
}

.live-stream-wrapper {
    width: 90%;
    max-width: 1000px;
    aspect-ratio: 16/9;
    position: relative;
    background: #000;
    border: 2px solid var(--arctic-blue);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 40px rgba(59, 201, 255, 0.5);
}

.live-stream-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.live-stream-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: var(--ice-white);
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    transition: 0.3s;
}

.live-stream-close:hover {
    color: var(--arctic-blue);
    transform: scale(1.2);
}

.live-stream-header {
    position: absolute;
    top: -30px;
    left: 0;
    color: var(--ice-white);
    display: flex;
    gap: 10px;
    align-items: center;
    font-weight: 700;
}