/* --- Base Styles & Color Palette --- */
:root {
    --bg-primary: #121218;       /* Dark charcoal background */
    --bg-secondary: #1E1E28;   /* Lighter container background */
    --accent-primary: #C77DFF; /* Vibrant purple for highlights */
    --text-primary: #F0F0F5;      /* Light text color */
    --text-secondary: #8A8A9E; /* Muted gray text color */
    --border-color: #33333F;
    
    /* Podium Colors */
    --gold: #FFD700;
    --silver: #C0C0C0;
    --bronze: #CD7F32;

    --prize-color: #9932CC;     /* Dark Purple for prizes */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: 
        linear-gradient(135deg, rgba(18, 18, 24, 0.95) 0%, rgba(30, 30, 40, 0.9) 50%, rgba(18, 18, 24, 0.95) 100%),
        url('https://wallpaperaccess.com/full/511885.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: var(--text-primary);
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Align to top */
    min-height: 100vh;
    padding: 2rem 1rem; 
    position: relative;
    overflow-x: hidden;
}

/* Hide scrollbars globally */
* {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer 10+ */
}

/* --- Main Container --- */
.leaderboard-container {
    width: 100%;
    max-width: 1000px; 
    display: flex;
    flex-direction: column;
    gap: 2rem; 
}

/* Container to hold both logos stacked vertically */
.leaderboard-title-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

/* Style for Lil Kev title */
.lil-kev-title {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Style for Metawin leaderboard title */
.leaderboard-title {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 0.5rem; /* Reduced margin for subtitle */
}

.leaderboard-title svg {
    height: 40px; 
    width: auto;
}

.leaderboard-title span {
    font-size: 3.5rem; /* Increased font size */
    font-weight: 700;
    color: white;
}

/* --- Prize Pool Subtitle --- */
.prize-pool-subtitle {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-primary);
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(199, 125, 255, 0.5);
}

.prize-pool-amount {
    color: var(--gold);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.7);
}

/* --- Countdown Timer Styles --- */
.timer-container {
    text-align: center;
    margin-bottom: 3rem; /* Space between timer and podium */
    background-color: rgba(30, 30, 40, 0.8); /* Added transparency */
    border: 1px solid var(--border-color); /* Added border */
    border-radius: 12px; /* Added rounded corners */
    padding: 1.5rem 1rem; /* Added padding */
    backdrop-filter: blur(10px);
}
.timer-container h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-primary);
    margin-bottom: 1.5rem;
}
.timer-box {
    display: inline-block;
    margin: 0 1rem;
    min-width: 80px;
}
.timer-box span {
    display: block;
}
.timer-time {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.1;
}
.timer-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.timer-info {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 1rem;
}

/* --- Top 3 Podium Styles --- */
.podium {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4rem;
    align-items: flex-end;
    margin-bottom: 3rem;
    min-height: 350px; 
}

.podium-place {
    background-color: rgba(30, 30, 40, 0.8);
    border-radius: 12px; 
    padding: 1.5rem 2.5rem;
    text-align: center;
    border: 1px solid var(--border-color); 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 280px;
    backdrop-filter: blur(10px);
}

.podium-place:hover {
    transform: translateY(-10px); 
}

.podium-rank {
    font-size: 1.8rem; 
    font-weight: 700;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.podium-place.first .podium-rank { color: var(--gold); text-shadow: 0 0 8px rgba(255, 215, 0, 0.7); }
.podium-place.second .podium-rank { color: var(--silver); text-shadow: 0 0 8px rgba(192, 192, 192, 0.7); }
.podium-place.third .podium-rank { color: var(--bronze); text-shadow: 0 0 8px rgba(205, 127, 50, 0.7); }

.podium-place.first {
    order: 2; 
    transform: scale(1.1); 
    border-color: var(--gold);
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.5); 
}

.podium-place.second { order: 1; border-color: var(--silver); box-shadow: 0 0 15px rgba(192, 192, 192, 0.3); }
.podium-place.third { order: 3; border-color: var(--bronze); box-shadow: 0 0 15px rgba(205, 127, 50, 0.3); }

.podium-place .rank-icon { font-size: 4rem; margin-bottom: 1rem; }
.podium-place.first .rank-icon { color: var(--gold); }
.podium-place.second .rank-icon { color: var(--silver); }
.podium-place.third .rank-icon { color: var(--bronze); }

.podium-place .player-name {
    font-size: 1.9rem; 
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
    word-break: break-all;
}

.podium-place .wagered-amount { font-size: 1.4rem; color: var(--text-secondary); margin-bottom: 0.8rem; }
.prize-label { font-size: 0.9rem; font-weight: 500; color: var(--text-secondary); text-transform: uppercase; margin-top: 1rem; margin-bottom: 0.25rem; }
.podium-place .prize { font-size: 2rem; font-weight: 700; color: var(--prize-color); }

/* --- Main Leaderboard Table --- */
.leaderboard-table {
    background-color: rgba(30, 30, 40, 0.8);
    border-radius: 12px; 
    overflow: hidden;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

table { width: 100%; border-collapse: collapse; }
th, td { padding: 1.2rem 1.8rem; text-align: left; }
td { font-size: 1.05rem; }
th { color: var(--text-secondary); text-transform: uppercase; font-size: 0.85rem; letter-spacing: 1px; border-bottom: 2px solid var(--border-color); }
tr { border-bottom: 1px solid var(--border-color); }
tr:last-child { border-bottom: none; }
td:first-child { font-weight: 700; color: white; }
.prize-cell { font-weight: 600; color: var(--prize-color); }
.no-data-message {
    text-align: center;
    padding: 4rem;
    background-color: rgba(30, 30, 40, 0.8);
    border-radius: 12px;
    font-size: 1.5rem;
    color: var(--text-secondary);
    backdrop-filter: blur(10px);
}

/* --- Footer Styles --- */
.footer {
    text-align: center;
    padding: 2rem 1rem;
    margin-top: 3rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-logo-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    border-radius: 4px;
}

.footer-logo span {
    font-size: 0.9rem;
}

.footer a {
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #D8A3FF;
}

.footer-legal {
    margin-top: 1rem;
}

.footer-legal p {
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
}

.footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.footer-separator {
    color: var(--border-color);
}

.footer-links a {
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-primary);
}

/* --- Social Media Links --- */
.hamburger-menu {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 1001;
    cursor: pointer;
    padding: 0.5rem;
    background-color: rgba(30, 30, 40, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.hamburger-menu:hover {
    background-color: var(--accent-primary);
    transform: scale(1.05);
}

.hamburger-icon {
    width: 24px;
    height: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger-line {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: 1px;
    transition: all 0.3s ease;
}

.hamburger-menu.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger-menu.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.menu-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 380px;
    height: 100vh;
    background-color: rgba(30, 30, 40, 0.95);
    border-left: 1px solid var(--border-color);
    z-index: 1000;
    transition: right 0.3s ease;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    padding: 4rem 2rem 2rem 2rem;
    overflow-y: auto;
}

.menu-overlay.active {
    right: 0;
}

.menu-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.menu-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.menu-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.menu-tabs {
    display: flex;
    margin-bottom: 2rem;
    background-color: rgba(18, 18, 24, 0.8);
    border-radius: 8px;
    padding: 0.3rem;
    border: 1px solid var(--border-color);
}

.menu-tab {
    flex: 1;
    padding: 0.8rem 0.5rem;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.menu-tab.active {
    background-color: var(--accent-primary);
    color: white;
    transform: scale(1.02);
}

.menu-tab:hover:not(.active) {
    background-color: rgba(199, 125, 255, 0.1);
    color: var(--text-primary);
}

.menu-content {
    flex-grow: 1;
    overflow-y: auto;
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.menu-social-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    margin-bottom: 1rem;
    background-color: rgba(199, 125, 255, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.menu-social-link:hover {
    background-color: rgba(199, 125, 255, 0.2);
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}

.menu-social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.menu-social-link:hover::before {
    left: 100%;
}

.menu-social-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    padding: 6px;
    background-color: rgba(18, 18, 24, 0.8);
    border: 1px solid var(--border-color);
    flex-shrink: 0;
}

.menu-social-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.menu-social-text {
    flex-grow: 1;
}

.menu-social-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.menu-social-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.menu-close-text {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

/* Discord Login Styles */
.discord-login-section {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: rgba(88, 101, 242, 0.1);
    border: 1px solid rgba(88, 101, 242, 0.3);
    border-radius: 12px;
    text-align: center;
}

.discord-login-header {
    font-size: 1.2rem;
    font-weight: 600;
    color: #5865F2;
    margin-bottom: 0.8rem;
}

.discord-login-description {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
    margin-bottom: 1.5rem;
}

.discord-login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    width: 100%;
    padding: 0.8rem 1.2rem;
    background: linear-gradient(135deg, #5865F2, #4752C4);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.discord-login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(88, 101, 242, 0.4);
}

.discord-login-btn:active {
    transform: translateY(-1px);
}

.discord-login-btn.loading {
    cursor: not-allowed;
    opacity: 0.7;
}

.discord-login-btn.loading .discord-login-text::after {
    content: '...';
    animation: dotPulse 1.5s infinite;
}

@keyframes dotPulse {
    0%, 20% { content: '...'; }
    40% { content: '.'; }
    60% { content: '..'; }
    80%, 100% { content: '...'; }
}

.discord-login-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.discord-login-icon svg {
    width: 100%;
    height: 100%;
}

.discord-login-text {
    font-weight: 600;
}

/* Discord User Info Styles */
.discord-user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background-color: rgba(88, 101, 242, 0.15);
    border: 1px solid rgba(88, 101, 242, 0.3);
    border-radius: 8px;
    margin-top: 1rem;
}

.discord-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid #5865F2;
}

.discord-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.discord-user-details {
    flex-grow: 1;
    text-align: left;
}

.discord-username {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
}

.discord-status {
    font-size: 0.8rem;
    color: #00D4AA;
    font-weight: 500;
}

/* Logout button when connected */
.discord-login-btn.connected {
    background: linear-gradient(135deg, #ED4245, #C73E41);
}

.discord-login-btn.connected:hover {
    box-shadow: 0 8px 25px rgba(237, 66, 69, 0.4);
}

/* Rewards Tab Styles */
.rewards-section {
    margin-bottom: 2rem;
}

.rewards-header {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--accent-primary);
    margin-bottom: 1rem;
    text-align: center;
}

.rewards-signup-link {
    background: linear-gradient(135deg, var(--accent-primary), #9932CC);
    color: white;
    padding: 1rem;
    border-radius: 12px;
    text-decoration: none;
    display: block;
    text-align: center;
    font-weight: 600;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.rewards-signup-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(199, 125, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

/* First Deposit Promo Styles */
.first-deposit-promo {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 193, 7, 0.1));
    border: 2px solid var(--gold);
    border-radius: 12px;
    padding: 1.2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}

.first-deposit-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.first-deposit-icon {
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.first-deposit-content {
    background-color: rgba(18, 18, 24, 0.6);
    border-radius: 8px;
    padding: 1rem;
}

.first-deposit-main {
    text-align: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.first-deposit-requirement {
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
    line-height: 1.5;
}

.first-deposit-requirement strong {
    color: var(--gold);
    font-weight: 700;
}

.first-deposit-reward {
    font-size: 1.1rem;
    color: var(--accent-primary);
    font-weight: 600;
    line-height: 1.5;
}

.first-deposit-reward strong {
    color: var(--gold);
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
}

.first-deposit-instructions {
    margin-top: 1rem;
}

.first-deposit-instruction-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--accent-primary);
    margin-bottom: 0.8rem;
    text-align: center;
}

.first-deposit-step {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 0.7rem;
    font-size: 0.85rem;
    line-height: 1.4;
}

.first-deposit-step:last-child {
    margin-bottom: 0;
}

.first-deposit-step .step-number {
    background-color: var(--gold);
    color: #000;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.first-deposit-step strong {
    color: var(--gold);
    font-weight: 600;
}

.rewards-steps {
    margin-bottom: 1.5rem;
}

.rewards-step {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    padding: 0.8rem;
    background-color: rgba(199, 125, 255, 0.05);
    border-radius: 8px;
    border-left: 3px solid var(--accent-primary);
}

.rewards-step-number {
    background-color: var(--accent-primary);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.rewards-step-text {
    font-size: 0.9rem;
    line-height: 1.4;
}

.rewards-payouts {
    background-color: rgba(18, 18, 24, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.rewards-payouts-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent-primary);
    margin-bottom: 1rem;
    text-align: center;
}

.rewards-payout-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0.8rem;
    margin-bottom: 0.5rem;
    background-color: rgba(199, 125, 255, 0.05);
    border-radius: 8px;
    font-size: 0.85rem;
}

.rewards-payout-item:last-child {
    margin-bottom: 0;
    background-color: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.rewards-wager {
    color: var(--text-primary);
    font-weight: 500;
}

.rewards-tip {
    color: var(--accent-primary);
    font-weight: 600;
}

.rewards-requirements {
    background-color: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 12px;
    padding: 1rem;
}

.rewards-requirements-title {
    font-size: 1rem;
    font-weight: 600;
    color: #FFC107;
    margin-bottom: 1rem;
    text-align: center;
}

.rewards-requirement {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.6rem;
    font-size: 0.85rem;
    line-height: 1.4;
}

.rewards-requirement:last-child {
    margin-bottom: 0;
}

.rewards-bullet {
    color: #FFC107;
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.rewards-highlight {
    color: #FFC107;
    font-weight: 600;
}

/* Referrals Tab Styles */
.referrals-section {
    margin-bottom: 2rem;
}

.referrals-header {
    font-size: 1.4rem;
    font-weight: 700;
    color: #00D4AA;
    margin-bottom: 1rem;
    text-align: center;
    text-shadow: 0 0 10px rgba(0, 212, 170, 0.5);
}

.referrals-payout {
    background: linear-gradient(135deg, #00D4AA, #00B894);
    color: white;
    padding: 1.2rem;
    border-radius: 12px;
    text-align: center;
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    border: 1px solid rgba(0, 212, 170, 0.3);
    box-shadow: 0 0 20px rgba(0, 212, 170, 0.3);
}

.referrals-link-section {
    background-color: rgba(18, 18, 24, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.referrals-link-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent-primary);
    margin-bottom: 1rem;
    text-align: center;
}

.referrals-link {
    background-color: rgba(0, 212, 170, 0.1);
    border: 1px solid #00D4AA;
    border-radius: 8px;
    padding: 0.8rem;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: #00D4AA;
    text-align: center;
    margin-bottom: 1rem;
    word-break: break-all;
    font-weight: 600;
}

.referrals-description {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 1.5rem;
}

.referrals-requirements {
    background-color: rgba(18, 18, 24, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.referrals-requirements-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #00D4AA;
    margin-bottom: 1rem;
    text-align: center;
}

.referrals-requirement-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
    padding: 0.6rem;
    background-color: rgba(0, 212, 170, 0.05);
    border-radius: 8px;
    font-size: 0.85rem;
    line-height: 1.4;
}

.referrals-requirement-item:last-child {
    margin-bottom: 0;
}

.referrals-bullet {
    color: #00D4AA;
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.referrals-terms {
    background-color: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 12px;
    padding: 1rem;
}

.referrals-terms-title {
    font-size: 1rem;
    font-weight: 600;
    color: #FFC107;
    margin-bottom: 1rem;
    text-align: center;
}

.referrals-term {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.6rem;
    font-size: 0.85rem;
    line-height: 1.4;
}

.referrals-term:last-child {
    margin-bottom: 0;
}

.referrals-term-bullet {
    color: #FFC107;
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.referrals-highlight {
    color: #FFC107;
    font-weight: 600;
}

/* Prizes Tab Styles */
.prizes-section {
    margin-bottom: 2rem;
}

.prizes-header {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 1rem;
    text-align: center;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.prizes-total {
    background: linear-gradient(135deg, var(--gold), #FFC107);
    color: #000;
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    border: 1px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.prizes-breakdown {
    background-color: rgba(18, 18, 24, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.prizes-breakdown-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent-primary);
    margin-bottom: 1rem;
    text-align: center;
}

.prize-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem;
    margin-bottom: 0.5rem;
    background-color: rgba(199, 125, 255, 0.05);
    border-radius: 8px;
    font-size: 0.9rem;
    border-left: 3px solid var(--border-color);
}

.prize-item.first {
    background-color: rgba(255, 215, 0, 0.1);
    border-left-color: var(--gold);
}

.prize-item.second {
    background-color: rgba(192, 192, 192, 0.1);
    border-left-color: var(--silver);
}

.prize-item.third {
    background-color: rgba(205, 127, 50, 0.1);
    border-left-color: var(--bronze);
}

.prize-item:last-child {
    margin-bottom: 0;
}

.prize-rank {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.prize-rank i {
    font-size: 1.2rem;
}

.prize-item.first .prize-rank {
    color: var(--gold);
}

.prize-item.second .prize-rank {
    color: var(--silver);
}

.prize-item.third .prize-rank {
    color: var(--bronze);
}

.prize-amount {
    font-weight: 700;
    font-size: 1.1rem;
}

.prize-item.first .prize-amount {
    color: var(--gold);
}

.prize-item.second .prize-amount {
    color: var(--silver);
}

.prize-item.third .prize-amount {
    color: var(--bronze);
}

.prize-item:not(.first):not(.second):not(.third) .prize-amount {
    color: var(--accent-primary);
}

.prizes-info {
    background-color: rgba(199, 125, 255, 0.1);
    border: 1px solid var(--accent-primary);
    border-radius: 12px;
    padding: 1rem;
}

.prizes-info-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent-primary);
    margin-bottom: 1rem;
    text-align: center;
}

.prizes-info-text {
    font-size: 0.85rem;
    line-height: 1.5;
    text-align: center;
    color: var(--text-secondary);
}

.prizes-info-highlight {
    color: var(--accent-primary);
    font-weight: 600;
}

/* --- Live Status Indicator --- */
.live-indicator {
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 1002;
    background-color: rgba(30, 30, 40, 0.95);
    border-radius: 25px;
    padding: 0.8rem 1.2rem;
    border: 2px solid var(--border-color);
    backdrop-filter: blur(10px);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--text-primary);
    min-width: 100px;
}

.live-indicator:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.live-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
}

.live-dot.online {
    background-color: #00FF88;
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.6);
}

.live-dot.online::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 50%;
    border: 2px solid #00FF88;
    animation: pulse 2s infinite;
}

.live-dot.offline {
    background-color: #FF4444;
    box-shadow: 0 0 15px rgba(255, 68, 68, 0.6);
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.4); opacity: 0; }
}

.live-text {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.live-indicator.online {
    border-color: #00FF88;
    color: #00FF88;
}

.live-indicator.offline {
    border-color: #FF4444;
    color: #FF4444;
}

/* --- Live Stream Embed --- */
.live-stream-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    display: none;
    backdrop-filter: blur(5px);
}

.live-stream-container.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.live-stream-wrapper {
    position: relative;
    width: 100%;
    max-width: 1200px;
    aspect-ratio: 16/9;
    background-color: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.live-stream-iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 12px;
}

.live-stream-close {
    position: absolute;
    top: -3rem;
    right: 0;
    background-color: rgba(255, 68, 68, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.live-stream-close:hover {
    background-color: #FF4444;
    transform: scale(1.1);
}

.live-stream-header {
    position: absolute;
    top: -4.5rem;
    left: 0;
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.live-stream-header .live-dot {
    width: 10px;
    height: 10px;
}

/* --- Terms & Privacy Modal Styles --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    backdrop-filter: blur(5px);
}

.modal-overlay.active {
    display: flex;
}

.modal-container {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    width: 100%;
    max-width: 700px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-primary);
    margin: 0;
}

.modal-close {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 2rem;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border-radius: 4px;
    line-height: 1;
}

.modal-close:hover {
    background-color: rgba(255, 68, 68, 0.2);
    color: #FF4444;
}

.modal-content {
    padding: 1.5rem;
    overflow-y: auto;
    flex-grow: 1;
}

.modal-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.modal-content h3 {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
}

.modal-content h3:first-child {
    margin-top: 0;
}

.modal-content ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.modal-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.modal-content strong {
    color: var(--accent-primary);
    font-weight: 600;
}

.modal-content em {
    color: var(--text-secondary);
    font-style: italic;
}

/* Style for Lil Kev logo */
.lil-kev-title {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lil-kev-logo {
    height: 100px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(0, 209, 255, 0.5));
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    body { 
        padding: 1rem 0.5rem 0.5rem 0.5rem; 
        min-height: 100vh;
    }
    
    .leaderboard-container {
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .leaderboard-title-wrapper {
        gap: 10px;
    }
    
    .lil-kev-title {
        align-self: center;
        padding-right: 0;
    }
    
    .lil-kev-logo {
        height: 80px;
    }
    
    .leaderboard-title { 
        margin-bottom: 0.5rem; 
        flex-direction: column;
        gap: 1rem;
    }
    .leaderboard-title svg { height: 28px; }
    .leaderboard-title span { font-size: 2rem; }

    .prize-pool-subtitle {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .timer-container { 
        padding: 1.2rem 0.8rem; 
        margin-bottom: 2rem;
    }
    .timer-container h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    .timer-box { 
        margin: 0 0.3rem; 
        min-width: 50px;
    }
    .timer-time { font-size: 1.8rem; }
    .timer-label { font-size: 0.65rem; }
    .timer-info { font-size: 0.7rem; margin-top: 0.8rem; }
    
    .podium { 
        min-height: initial; 
        gap: 1rem; 
        flex-direction: column;
        margin-bottom: 2rem;
    }
    .podium-place { 
        padding: 1.5rem 1rem; 
        transform: scale(1) !important; 
        width: 100%; 
        max-width: 400px;
        margin: 0 auto;
    }
    .podium-place.first { order: 1; }
    .podium-place.second { order: 2; }
    .podium-place.third { order: 3; }
    .podium-rank { font-size: 1.2rem; margin-bottom: 0.6rem;}
    .podium-place .rank-icon { font-size: 2.5rem; margin-bottom: 0.8rem; }
    .podium-place .player-name { font-size: 1.4rem; }
    .podium-place .wagered-amount { font-size: 1rem; }
    .prize-label { margin-top: 0.5rem; margin-bottom: 0.1rem; }
    .podium-place .prize { font-size: 1.6rem; }
    
    .leaderboard-table {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    table { 
        min-width: 100%;
        font-size: 0.9rem;
    }
    th, td { 
        padding: 0.8rem 0.6rem; 
        white-space: nowrap;
    }
    td { font-size: 0.9rem; }
    th { font-size: 0.75rem; }
    
    .footer { 
        font-size: 0.8rem; 
        margin-top: 1.5rem; 
        padding: 1.5rem 1rem;
    }
    
    .hamburger-menu {
        top: 1rem;
        right: 1rem;
        padding: 0.4rem;
    }

    .hamburger-icon {
        width: 20px;
        height: 16px;
    }

    .menu-overlay {
        width: 300px;
        padding: 3rem 1.2rem 1.2rem 1.2rem;
    }

    .menu-title {
        font-size: 1.3rem;
        margin-bottom: 1.2rem;
    }

    .menu-tab {
        font-size: 0.8rem;
        padding: 0.7rem 0.4rem;
    }

    .menu-social-link {
        padding: 0.8rem;
        margin-bottom: 0.8rem;
    }

    .menu-social-icon {
        width: 35px;
        height: 35px;
    }

    .menu-social-title {
        font-size: 1rem;
    }

    .menu-social-desc {
        font-size: 0.8rem;
    }

    .rewards-header {
        font-size: 1.1rem;
    }

    .first-deposit-promo {
        padding: 1rem;
    }

    .first-deposit-header {
        font-size: 1.1rem;
    }

    .first-deposit-requirement {
        font-size: 0.9rem;
    }

    .first-deposit-reward {
        font-size: 1rem;
    }

    .first-deposit-step {
        font-size: 0.8rem;
    }

    .rewards-step {
        padding: 0.6rem;
    }

    .rewards-step-text {
        font-size: 0.85rem;
    }

    .rewards-payout-item {
        font-size: 0.8rem;
        padding: 0.5rem 0.6rem;
    }

    .rewards-requirement {
        font-size: 0.8rem;
    }

    .referrals-header {
        font-size: 1.2rem;
    }

    .referrals-payout {
        font-size: 1.1rem;
        padding: 0.8rem;
    }

    .referrals-link {
        font-size: 0.8rem;
        padding: 0.7rem;
    }

    .referrals-description {
        font-size: 0.85rem;
    }

    .referrals-requirement-item {
        padding: 0.5rem;
        font-size: 0.8rem;
    }

    .referrals-term {
        font-size: 0.8rem;
    }

    .prizes-header {
        font-size: 1.2rem;
    }

    .prizes-total {
        font-size: 1.1rem;
        padding: 0.8rem;
    }

    .prize-item {
        padding: 0.7rem;
        font-size: 0.85rem;
    }

    .prize-amount {
        font-size: 1rem;
    }

    .prizes-info-text {
        font-size: 0.8rem;
    }

    .live-indicator {
        top: 0.8rem;
        left: 0.8rem;
        padding: 0.6rem 0.9rem;
        font-size: 0.8rem;
        gap: 0.6rem;
        min-width: 85px;
    }
    
    .live-dot {
        width: 10px;
        height: 10px;
    }
    
    .live-stream-container.active {
        padding: 1rem;
    }
    
    .live-stream-close {
        top: -2.5rem;
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .live-stream-header {
        top: -3.5rem;
        font-size: 1rem;
    }
    
    .modal-overlay {
        padding: 1rem;
    }
    
    .modal-container {
        max-height: 90vh;
    }
    
    .modal-header {
        padding: 1rem;
    }
    
    .modal-header h2 {
        font-size: 1.2rem;
    }
    
    .modal-content {
        padding: 1rem;
    }
    
    .modal-content h3 {
        font-size: 1rem;
    }
    
    .footer-logo {
        flex-direction: column;
        gap: 0.3rem;
    }
    
    .footer-links {
        flex-wrap: wrap;
        gap: 0.3rem;
    }
}

@media (max-width: 600px) {
    body { 
        padding: 0.8rem 0.3rem 0.3rem 0.3rem; 
    }
    
    .leaderboard-container {
        gap: 1rem;
    }
    
    .lil-kev-logo {
        height: 60px;
    }
    
    .leaderboard-title span { 
        font-size: 1.8rem; 
    }

    .prize-pool-subtitle {
        font-size: 1rem;
    }
    
    .timer-container { 
        padding: 1rem 0.5rem; 
    }
    .timer-container h3 {
        font-size: 1.1rem;
    }
    .timer-box { 
        margin: 0 0.2rem; 
        min-width: 45px;
    }
    .timer-time { font-size: 1.6rem; }
    .timer-label { font-size: 0.6rem; }
    
    .podium-place { 
        padding: 1.2rem 0.8rem; 
    }
    .podium-rank { font-size: 1.1rem; }
    .podium-place .rank-icon { font-size: 2.2rem; }
    .podium-place .player-name { font-size: 1.3rem; }
    .podium-place .wagered-amount { font-size: 0.95rem; }
    .podium-place .prize { font-size: 1.4rem; }
    
    th, td { 
        padding: 0.7rem 0.4rem; 
    }
    td { font-size: 0.85rem; }
    th { font-size: 0.7rem; }
    
    .menu-overlay {
        width: 280px;
        padding: 3rem 1rem 1rem 1rem;
    }

    .menu-title {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .menu-tab {
        font-size: 0.75rem;
        padding: 0.6rem 0.3rem;
    }

    .menu-social-link {
        padding: 0.7rem;
        margin-bottom: 0.7rem;
    }

    .menu-social-icon {
        width: 32px;
        height: 32px;
    }

    .menu-social-title {
        font-size: 0.95rem;
    }

    .menu-social-desc {
        font-size: 0.75rem;
    }

    .rewards-header {
        font-size: 1rem;
    }

    .rewards-step {
        padding: 0.5rem;
    }

    .rewards-step-text {
        font-size: 0.8rem;
    }

    .rewards-payout-item {
        font-size: 0.75rem;
        padding: 0.4rem 0.5rem;
    }

    .rewards-requirement {
        font-size: 0.75rem;
    }

    .referrals-header {
        font-size: 1.1rem;
    }

    .referrals-payout {
        font-size: 1rem;
        padding: 0.7rem;
    }

    .referrals-link {
        font-size: 0.75rem;
        padding: 0.6rem;
    }

    .referrals-description {
        font-size: 0.8rem;
    }

    .referrals-requirement-item {
        padding: 0.4rem;
        font-size: 0.75rem;
    }

    .referrals-term {
        font-size: 0.75rem;
    }

    .prizes-header {
        font-size: 1.1rem;
    }

    .prizes-total {
        font-size: 1rem;
        padding: 0.7rem;
    }

    .prize-item {
        padding: 0.6rem;
        font-size: 0.8rem;
    }

    .prize-amount {
        font-size: 0.95rem;
    }

    .prizes-info-text {
        font-size: 0.75rem;
    }

    .live-indicator {
        top: 0.6rem;
        left: 0.6rem;
        padding: 0.5rem 0.8rem;
        font-size: 0.75rem;
        gap: 0.5rem;
        min-width: 75px;
    }
    
    .live-dot {
        width: 8px;
        height: 8px;
    }
    
    .live-stream-container.active {
        padding: 0.8rem;
    }
    
    .live-stream-close {
        top: -2rem;
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
    
    .live-stream-header {
        top: -3rem;
        font-size: 0.9rem;
        gap: 0.6rem;
    }
    
    .live-stream-header .live-dot {
        width: 8px;
        height: 8px;
    }
.home-btn {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 1002;
    background-color: rgba(30, 30, 40, 0.95);
    border: 1px solid var(--accent-primary);
    border-radius: 12px;
    padding: 0.8rem 1.5rem;
    color: var(--accent-primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
}

.home-btn:hover {
    background-color: var(--accent-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(199, 125, 255, 0.4);
}

@media (max-width: 992px) {
    .home-btn {
        top: 1rem;
        right: 1rem;
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
    
    .hamburger-menu {
        top: 4rem;
        right: 1rem;
    }
}

@media (max-width: 600px) {
    .home-btn {
        top: 0.8rem;
        right: 0.8rem;
        padding: 0.5rem 0.9rem;
        font-size: 0.8rem;
    }
    
    .hamburger-menu {
        top: 3.5rem;
        right: 0.8rem;
    }
}
}
}