/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Theme Colors */
:root {
    --bg-900: #0a0a0a;
    --bg-800: #111111;
    --text-100: #ffffff;
    --text-300: #cccccc;
    --text-500: #999999;

    /* Primary: Purple */
    --primary-500: #7c3aed; /* violet-600 */
    --primary-400: #8b5cf6;
    --primary-rgb: 124, 58, 237;

    /* Secondary: Blue */
    --secondary-500: #3b82f6; /* blue-500 */
    --secondary-400: #60a5fa;
    --secondary-rgb: 59, 130, 246;

    /* Gradients */
    --gradient-45: linear-gradient(45deg, var(--primary-500), var(--secondary-500));
    --gradient-90: linear-gradient(90deg, var(--primary-500), var(--secondary-500));
    --gradient-135: linear-gradient(135deg, var(--primary-500), var(--secondary-500));
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #333;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    transition: all 0.3s ease;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(var(--primary-rgb), 0.12) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.header:hover::before {
    opacity: 1;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo-img {
    height: 40px;
    width: auto;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(var(--primary-rgb), 0.3));
}

.logo-img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 8px rgba(var(--primary-rgb), 0.5));
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-500);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-500);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
}

/* Main Content */
.main-content {
    margin-top: 100px;
    min-height: calc(100vh - 100px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 20px;
    background: linear-gradient(45deg, var(--primary-500), var(--secondary-500), var(--primary-500));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
}

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

.hero-subtitle {
    font-size: 1.5rem;
    color: #cccccc;
    margin-bottom: 40px;
    font-weight: 300;
}

.hero-description {
    font-size: 1.2rem;
    color: #999999;
    max-width: 600px;
    margin: 0 auto 50px;
    line-height: 1.8;
}

/* Leaderboard Section */
.leaderboard-section {
    padding: 80px 0;
    background: #111111;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 60px;
    color: #ffffff;
}

.leaderboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.leaderboard-card {
    background: linear-gradient(145deg, #1a1a1a, #0f0f0f);
    border: 1px solid #333;
    border-radius: 15px;
    padding: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(var(--primary-rgb), 0.18), 0 0 20px rgba(var(--primary-rgb), 0.12) !important;
}

.leaderboard-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-90);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.leaderboard-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-500);
    box-shadow: 0 20px 40px rgba(var(--primary-rgb), 0.15);
}

.leaderboard-card:hover::before {
    opacity: 1;
}

.leaderboard-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 25px;
}

.leaderboard-logo {
    width: 250px;
    margin-bottom: 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(var(--primary-rgb), 0.3));
}

.leaderboard-logo:hover {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 4px 8px rgba(var(--primary-rgb), 0.5));
}

.leaderboard-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
}

.leaderboard-subtitle {
    font-size: 0.9rem;
    color: #999999;
    margin-top: 5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.leaderboard-code {
    background: var(--primary-500);
    color: #000000;
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 20px;
    display: inline-block;
}

.leaderboard-list {
    list-style: none;
}

.leaderboard-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #333;
    transition: all 0.3s ease;
}

.leaderboard-item:last-child {
    border-bottom: none;
}

.leaderboard-item:hover {
    background: rgba(var(--primary-rgb), 0.05);
    margin: 0 -15px;
    padding: 15px;
    border-radius: 8px;
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.1);
}

.leaderboard-rank {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-500);
    min-width: 30px;
}

.leaderboard-player {
    display: flex;
    align-items: center;
    flex: 1;
    margin-left: 15px;
}

.player-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    margin-right: 10px;
    background: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #ffffff;
}

.player-name {
    font-weight: 500;
    color: #ffffff;
}

.leaderboard-score {
    font-weight: 600;
    color: var(--primary-500);
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.leaderboard-wagered {
    font-size: 0.9rem;
    color: #999999;
    margin-top: 2px;
}

/* Free Section */
.free-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

.bonus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.bonus-card {
    background: linear-gradient(145deg, #1a1a1a, #0f0f0f);
    border: 1px solid #333;
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(var(--primary-rgb), 0.18), 0 0 20px rgba(var(--primary-rgb), 0.12) !important;
}

.bonus-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-90);
}

.bonus-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(var(--primary-rgb), 0.1);
}

.bonus-card:hover .bonus-logo {
    transform: scale(1.1) rotate(5deg);
}

.bonus-logo {
    width: 250px;
    margin: 0 auto 20px;
    border-radius: 15px;
    transition: all 0.3s ease;
    filter: drop-shadow(0 4px 8px rgba(var(--primary-rgb), 0.3));
}

.bonus-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #ffffff;
}

.bonus-description {
    color: #cccccc;
    margin-bottom: 25px;
    line-height: 1.6;
}

.claim-button {
    background: var(--gradient-45);
    color: #000000;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.claim-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(var(--primary-rgb), 0.3);
}

/* Large bonus card styles */
.bonus-card-large {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(var(--primary-rgb), 0.3);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    margin: 20px auto;
    max-width: 600px;
    box-shadow: 0 20px 40px rgba(var(--primary-rgb), 0.18), 0 0 20px rgba(var(--primary-rgb), 0.12) !important;
}

.bonus-logo-large {
    width: 250px;
    margin: 0 auto 30px;
    border-radius: 15px;
    transition: all 0.3s ease;
    filter: drop-shadow(0 4px 8px rgba(var(--primary-rgb), 0.3));
}

.bonus-title-large {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 30px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.bonus-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.bonus-item {
    background: rgba(var(--primary-rgb), 0.1);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid rgba(var(--primary-rgb), 0.2);
}

.bonus-item h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 10px;
}

.bonus-item p {
    color: #cccccc;
    font-size: 1rem;
    margin: 0;
}

.bonus-code-section {
    margin-bottom: 30px;
}

.bonus-code-section h3 {
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 15px;
}

.bonus-code {
    font-family: 'Courier New', monospace;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-500);
    background: rgba(var(--primary-rgb), 0.1);
    padding: 15px 30px;
    border-radius: 10px;
    border: 2px solid rgba(var(--primary-rgb), 0.3);
    display: inline-block;
    letter-spacing: 2px;
}

.claim-button-large {
    background: var(--gradient-45);
    color: #000000;
    padding: 20px 40px;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 8px 16px rgba(var(--primary-rgb), 0.3);
}

.claim-button-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(var(--primary-rgb), 0.4);
    background: linear-gradient(45deg, var(--primary-400), var(--secondary-400));
}

/* Other bonuses section */
.other-bonuses-section {
    padding: 60px 0;
    background: rgba(0, 0, 0, 0.3);
}

.other-bonuses-section .section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 50px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.other-bonuses-section .bonus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Bonus claim section */
.bonus-claim-section {
    padding: 60px 0;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.12) 0%, rgba(0, 0, 0, 0.5) 100%);
}

/* Footer */
.footer-modern {
    background: rgba(var(--primary-rgb), 0.1);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(var(--primary-rgb), 0.3);
    margin-top: 50px;
    width: 100%;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 48px 16px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.warning-icon {
    color: var(--primary-500);
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    max-width: 400px;
}

.social-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 80px;
    padding: 12px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.12), rgba(var(--primary-rgb), 0.06));
    backdrop-filter: blur(8px);
    border: 1px solid rgba(var(--primary-rgb), 0.25);
    text-decoration: none;
    transition: all 0.3s ease;
    overflow: hidden;
}

.social-card:hover {
    border-color: rgba(var(--primary-rgb), 0.6);
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.18), rgba(var(--primary-rgb), 0.1));
}

.social-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.social-card:hover .social-glow {
    opacity: 1;
}

.social-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.social-icon-container {
    transition: all 0.3s ease-out;
}

.social-card:hover .social-icon-container {
    transform: translateY(-4px) scale(1.1);
}

.social-icon {
    width: 24px;
    height: 24px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.youtube-icon {
    color: #ef4444;
}

.kick-icon {
    color: #10b981;
}

.x-icon {
    color: #ffffff;
}

.social-text {
    font-size: 0.7rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 4px;
    transition: all 0.2s ease-out;
}

.social-card:hover .social-text {
    transform: translateY(3px);
    opacity: 0;
}

.gambling-info {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.gambling-info p {
    margin-bottom: 12px;
}

.helpline {
    margin: 12px 0;
}

.helpline-title {
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
}

.helpline-number {
    color: var(--primary-500);
    text-decoration: none;
    transition: color 0.3s ease;
}

.helpline-number:hover {
    color: var(--secondary-500);
}

.ncpg-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.ncpg-link:hover {
    color: #ffffff;
}

.footer-bottom {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(var(--primary-rgb), 0.3);
    text-align: center;
}

.footer-copyright {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
}

.made-by {
    color: rgba(255, 255, 255, 0.8);
}

.affanyx-link {
    color: #ffffff;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.affanyx-link:hover {
    color: var(--primary-500);
}

.responsible-text {
    color: #ffffff;
}

/* Footer Responsive */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .social-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        max-width: 300px;
    }
    
    .social-card {
        height: 70px;
        padding: 8px;
    }
    
    .footer-copyright {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .footer-container {
        padding: 32px 12px;
    }
    
    .social-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
        max-width: 250px;
    }
    
    .social-card {
        height: 60px;
        padding: 6px;
    }
    
    .social-icon {
        width: 20px;
        height: 20px;
    }
    
    .social-text {
        font-size: 0.6rem;
        margin-top: 4px;
    }
    
    .footer-title {
        font-size: 1.1rem;
    }
    
    .gambling-info {
        font-size: 0.9rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        padding: 0 15px;
    }
    
    .header-content {
        padding: 12px 0;
    }
    
    .logo-img {
        height: 35px;
    }
    
    .nav-list {
        gap: 15px;
    }
    
    .nav-link {
        font-size: 14px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .leaderboard-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 0 10px;
    }
    
    .header-content {
        padding: 10px 0;
    }
    
    .logo-img {
        height: 30px;
    }
    
    .nav-list {
        gap: 12px;
    }
    
    .nav-link {
        font-size: 13px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .leaderboard-card {
        padding: 20px;
    }
    
    .bonus-card {
        padding: 30px 20px;
    }
}

@media (max-width: 360px) {
    .header {
        padding: 0 8px;
    }
    
    .header-content {
        padding: 8px 0;
        position: relative;
    }
    
    .logo-img {
        height: 28px;
    }
    
    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
        border-top: 1px solid #333;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 0;
        padding: 20px;
    }
    
    .nav-item {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-item:last-child {
        border-bottom: none;
    }
    
    .nav-link {
        font-size: 14px;
        padding: 15px 0;
        display: block;
        text-align: center;
    }
    
    .nav-link::after {
        display: none;
    }
    
    .hamburger {
        display: block;
        width: 30px;
        height: 30px;
        position: relative;
        cursor: pointer;
        z-index: 1001;
    }
    
    .hamburger span {
        display: block;
        width: 100%;
        height: 3px;
        background: #fff;
        margin: 5px 0;
        transition: all 0.3s ease;
        border-radius: 2px;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Loading States */
.loading {
    opacity: 0.6;
    /* pointer-events: none; - Removed to allow links to work */
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--primary-500);
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Leaderboard Decorations */
.leaderboard-decorations {
    position: relative;
    margin-bottom: 40px;
    min-height: 100px;
}

.decoration-left {
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 1;
}

.decoration-right {
    position: absolute;
    right: 0;
    top: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 1;
}

.decoration-img {
    width: 60px;
    height: 60px;
    opacity: 0.7;
    transition: all 0.3s ease;
    filter: drop-shadow(0 4px 8px rgba(var(--primary-rgb), 0.3));
}

.decoration-img:hover {
    opacity: 1;
    transform: scale(1.1);
    filter: drop-shadow(0 6px 12px rgba(var(--primary-rgb), 0.5));
}

/* Canvas Effects */
body {
    position: relative;
}

body[data-canvas-effect] {
    overflow-x: hidden;
}

/* Additional visual enhancements */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(var(--primary-rgb), 0.12) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(var(--secondary-rgb), 0.12) 0%, transparent 50%),
                radial-gradient(circle at 40% 80%, rgba(var(--primary-rgb), 0.06) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.leaderboard-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(var(--primary-rgb), 0.06) 0%, transparent 50%, rgba(var(--primary-rgb), 0.06) 100%);
    pointer-events: none;
    z-index: 1;
}

.free-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(0, 255, 136, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

/* Free Page Specific Styles */
.additional-bonuses {
    margin-top: 80px;
}

.bonus-section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 40px;
    color: #ffffff;
}

/* Rich Text Content Styles */
.bonus-description h1,
.bonus-description h2,
.bonus-description h3,
.bonus-description h4,
.bonus-description h5,
.bonus-description h6 {
    color: #ffffff;
    margin: 15px 0 10px 0;
    font-weight: 600;
}

.bonus-description h1 { font-size: 1.8rem; }
.bonus-description h2 { font-size: 1.6rem; }
.bonus-description h3 { font-size: 1.4rem; }
.bonus-description h4 { font-size: 1.2rem; }
.bonus-description h5 { font-size: 1.1rem; }
.bonus-description h6 { font-size: 1rem; }

.bonus-description p {
    color: #cccccc;
    line-height: 1.6;
    margin: 10px 0;
}

.bonus-description ul,
.bonus-description ol {
    color: #cccccc;
    margin: 10px 0;
    padding-left: 20px;
}

.bonus-description li {
    margin: 5px 0;
    line-height: 1.5;
}

.bonus-description strong {
    color: #ffffff;
    font-weight: 600;
}

.bonus-description em {
    color: #aaaaaa;
    font-style: italic;
}

.bonus-description a {
    color: var(--primary-500);
    text-decoration: none;
    transition: color 0.3s ease;
}

.bonus-description a:hover {
    color: var(--secondary-500);
}

.bonus-description blockquote {
    border-left: 4px solid var(--primary-500);
    padding-left: 15px;
    margin: 15px 0;
    color: #aaaaaa;
    font-style: italic;
}

.bonus-description code {
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    color: #ffffff;
    font-size: 0.9rem;
}

.bonus-description pre {
    background: rgba(0, 0, 0, 0.3);
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 15px 0;
}

.bonus-description pre code {
    background: none;
    padding: 0;
}

/* Bonus card specific rich text */
.bonus-card .bonus-description {
    max-height: 200px;
    overflow-y: auto;
    padding-right: 10px;
}

.bonus-card .bonus-description::-webkit-scrollbar {
    width: 6px;
}

.bonus-card .bonus-description::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.bonus-card .bonus-description::-webkit-scrollbar-thumb {
    background: var(--primary-500);
    border-radius: 3px;
}

.bonus-card .bonus-description::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-500);
}

/* Large bonus card rich text */
.bonus-description-rich {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(124, 58, 237, 0.2);
    margin: 20px 0;
}

.bonus-description-rich h1,
.bonus-description-rich h2,
.bonus-description-rich h3 {
    color: var(--primary-500);
    margin-bottom: 15px;
}

.bonus-description-rich ul {
    margin: 15px 0;
}

.bonus-description-rich li {
    margin: 8px 0;
    position: relative;
    padding-left: 20px;
}

.bonus-description-rich li::before {
    content: '•';
    color: var(--primary-500);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.bonus-description-rich strong {
    color: var(--primary-500);
}

.bonus-description-rich em {
    color: var(--secondary-500);
}

.terms-section {
    margin-top: 80px;
    padding: 40px;
    background: linear-gradient(145deg, #1a1a1a, #0f0f0f);
    border: 1px solid #333;
    border-radius: 15px;
}

.terms-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary-500);
    text-align: center;
}

.terms-content {
    color: #cccccc;
    line-height: 1.8;
}

.terms-content p {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.terms-content p::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-500);
    font-weight: bold;
}

@media (max-width: 768px) {
    .terms-section {
        padding: 30px 20px;
        margin-top: 60px;
    }
    
    .bonus-section-title {
        font-size: 1.5rem;
    }
}

/* Leaderboard Specific Styles */
.leaderboard-main {
    min-height: 100vh;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    position: relative;
    overflow-x: hidden;
    margin-top: 100px;
    padding-top: 20px;
}

.leaderboard-decorations {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.decoration-left {
    position: absolute;
    left: 50px;
    top: 200px;
    animation: float 6s ease-in-out infinite;
}

.decoration-right {
    position: absolute;
    right: 50px;
    top: 150px;
    display: flex;
    flex-direction: column;
    gap: 100px;
}

.decoration-right img:first-child {
    animation: float 4s ease-in-out infinite;
}

.decoration-right img:last-child {
    animation: float 8s ease-in-out infinite;
}

/* Coin Decorations */
.coin-decoration-left {
    position: sticky;
    top: 50px;
    left: 10px;
    transform: translateX(0);
    z-index: 5;
    pointer-events: none;
    animation: float 3s ease-in-out infinite;
    height: 400px;
    opacity: 1;
}

.coin-decoration-right {
    position: sticky;
    top: 50px;
    right: 10px;
    transform: translateX(0);
    z-index: 5;
    pointer-events: none;
    animation: float 3s ease-in-out infinite reverse;
    height: 400px;
    opacity: 1;
}

.decoration-img {
    width: 120px;
    height: 120px;
    opacity: 0.3;
    filter: drop-shadow(0 0 20px rgba(var(--primary-rgb), 0.3));
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.game-selection-header {
    text-align: center;
    padding: 40px 0;
    position: relative;
    z-index: 10;
}

.game-logos {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 20px;
}

.game-logo-link {
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 8px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid transparent;
    position: relative;
    z-index: 15;
}

.game-logo-link:hover,
.game-logo-link.active {
    border-color: var(--primary-500);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(var(--primary-rgb), 0.3);
}

.game-logo-img {
    width: 120px;
    height: 60px;
    object-fit: contain;
    display: block;
    filter: brightness(0.9);
    transition: filter 0.3s ease;
}

.game-logo-link:hover .game-logo-img,
.game-logo-link.active .game-logo-img {
    filter: brightness(1.1);
}

.leaderboard-section {
    position: relative;
    z-index: 2;
    padding: 40px 0;
}

.leaderboard-header {
    text-align: center;
    margin-bottom: 60px;
    background: linear-gradient(145deg, #1a1a1a, #0f0f0f);
    border: 2px solid var(--primary-500);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(var(--primary-rgb), 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
}

.leaderboard-title-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 800px;
}

.title-with-coin {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    width: 100%;
    flex-wrap: nowrap;
}

.title-coin-icon {
    width: 50px;
    height: 50px;
    filter: drop-shadow(0 0 10px rgba(43, 0, 255, 0.6));
    flex-shrink: 0;
}

.leaderboard-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: #fff;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.leaderboard-subtitle {
    font-size: 1.1rem;
    color: #ccc;
    font-weight: 500;
    margin: 0;
    line-height: 1.6;
    text-align: center;
    width: 100%;
}

.highlight-code {
    color: var(--primary-500);
    font-weight: 700;
    text-shadow: 0 0 10px rgba(var(--primary-rgb), 0.5);
}

/* Podium Container */
.podium-container {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 30px;
    margin-bottom: 80px;
    padding: 60px 20px 40px 20px;
    position: relative;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

/* Podium Cards */
.podium-card {
    background: linear-gradient(145deg, #1a1a1a, #0f0f0f);
    border: 2px solid var(--primary-500);
    border-radius: 20px;
    padding: 50px 25px 30px 25px;
    position: relative;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    min-height: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 10px 30px rgba(var(--primary-rgb), 0.2);
    width: 320px;
}

/* Rank 1 - Center, Higher */
.podium-card.rank-1 {
    width: 360px;
    height: 460px;
    border-color: var(--primary-500);
    box-shadow: 0 15px 40px rgba(var(--primary-rgb), 0.3);
    transform: translateY(-30px);
    z-index: 1;
    padding: 60px 25px 30px 25px;
}

.podium-card.rank-1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(var(--primary-rgb), 0.08), rgba(var(--primary-rgb), 0.04));
    border-radius: 20px;
    z-index: -1;
}

.podium-card.rank-1::after {
    content: '👑';
    position: absolute;
    top: -15px;
    right: -15px;
    font-size: 2.5rem;
    animation: crownBounce 2s infinite;
    z-index: 2;
}

/* Rank 2 - Left */
.podium-card.rank-2 {
    width: 320px;
    height: 420px;
    border-color: var(--primary-500);
    box-shadow: 0 10px 30px rgba(var(--primary-rgb), 0.2);
    transform: translateY(-15px);
    z-index: 2;
    padding: 50px 25px 30px 25px;
}

.podium-card.rank-2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(var(--primary-rgb), 0.05), rgba(var(--primary-rgb), 0.02));
    border-radius: 20px;
    z-index: -1;
}

/* Rank 3 - Right */
.podium-card.rank-3 {
    width: 320px;
    height: 420px;
    border-color: var(--primary-500);
    box-shadow: 0 10px 30px rgba(var(--primary-rgb), 0.2);
    transform: translateY(-15px);
    z-index: 2;
    padding: 50px 25px 30px 25px;
}

.podium-card.rank-3::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(var(--primary-rgb), 0.05), rgba(var(--primary-rgb), 0.02));
    border-radius: 20px;
    z-index: -1;
}

/* Hover Effects */
.podium-card:hover {
    transform: translateY(-25px) scale(1.02);
    box-shadow: 0 15px 35px rgba(var(--primary-rgb), 0.3);
    border-color: var(--primary-500);
}

.podium-card.rank-1:hover {
    transform: translateY(-30px) scale(1.03);
    box-shadow: 0 20px 45px rgba(var(--primary-rgb), 0.4);
}

/* Rank Badge */
.podium-rank-badge {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(45deg, var(--primary-500), var(--secondary-500));
    color: #fff;
    padding: 10px 24px;
    border-radius: 15px;
    font-weight: 800;
    font-size: 1.1rem;
    border: 3px solid #fff;
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.4);
    z-index: 2;
    white-space: nowrap;
}

.podium-card.rank-1 .podium-rank-badge {
    background: linear-gradient(45deg, var(--primary-500), var(--secondary-500));
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.5);
    font-size: 1.3rem;
    padding: 10px 25px;
}

.podium-card.rank-2 .podium-rank-badge {
    background: linear-gradient(45deg, var(--primary-500), var(--secondary-500));
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.4);
}

.podium-card.rank-3 .podium-rank-badge {
    background: linear-gradient(45deg, var(--primary-500), var(--secondary-500));
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.4);
}

/* Avatar Section */
.podium-avatar {
    margin: 20px 0 25px 0;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.avatar-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 4px solid var(--primary-500);
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
    box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.3);
    display: block;
    aspect-ratio: 1 / 1;
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
}

/* Avatar with text overlay for mobile */
@media (max-width: 768px) {
    .podium-avatar {
        position: relative;
    }
    
    .podium-avatar::after {
        content: attr(data-player-name);
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        color: #fff;
        font-weight: 700;
        font-size: 0.9rem;
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
        z-index: 2;
        pointer-events: none;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 90%;
    }
    
    .podium-card.rank-1 .podium-avatar::after {
        font-size: 1rem;
    }
    
    .avatar-image {
        filter: brightness(0.3);
    }
}

@media (max-width: 480px) {
    .podium-avatar::after {
        font-size: 0.85rem;
    }
    
    .podium-card.rank-1 .podium-avatar::after {
        font-size: 0.95rem;
    }
}

.podium-card.rank-1 .avatar-image {
    width: 100px;
    height: 100px;
    border-color: var(--primary-500);
    border-width: 5px;
    box-shadow: 0 0 25px rgba(var(--primary-rgb), 0.4);
    aspect-ratio: 1 / 1;
    flex-shrink: 0;
    overflow: hidden;
}

.podium-card.rank-2 .avatar-image {
    border-color: var(--primary-500);
    box-shadow: 0 0 15px rgba(var(--primary-rgb), 0.2);
    aspect-ratio: 1 / 1;
    flex-shrink: 0;
    overflow: hidden;
}

.podium-card.rank-3 .avatar-image {
    border-color: var(--primary-500);
    box-shadow: 0 0 15px rgba(var(--primary-rgb), 0.2);
    aspect-ratio: 1 / 1;
    flex-shrink: 0;
    overflow: hidden;
}

.podium-card:hover .avatar-image {
    transform: scale(1.05);
}

/* Player Info */
.podium-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.player-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 25px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    padding: 0 10px;
    line-height: 1.2;
    text-align: center;
}

.podium-card.rank-1 .player-name {
    font-size: 1.6rem;
    color: var(--primary-500);
    text-shadow: 0 0 15px rgba(var(--primary-rgb), 0.5);
}

/* Score Section */
.score-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    width: 100%;
    padding: 0 10px;
}

.score-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.4);
    padding: 15px 20px;
    border-radius: 12px;
    border: 1px solid rgba(var(--primary-rgb), 0.3);
    box-shadow: 0 3px 12px rgba(var(--primary-rgb), 0.15);
}

.score-item .coin-icon {
    vertical-align: middle;
    display: inline-block;
}

.score-item .score-value {
    vertical-align: middle;
    display: inline-block;
}

.coin-icon {
    width: 28px;
    height: 28px;
    filter: drop-shadow(0 0 8px rgba(var(--primary-rgb), 0.8));
}

.score-value {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-500);
    text-shadow: 0 0 10px rgba(var(--primary-rgb), 0.6);
}

.podium-card.rank-1 .score-value {
    font-size: 1.8rem;
}

/* Wagered Item */
.wagered-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100%;
    margin-top: 5px;
}

.wagered-label {
    font-size: 0.9rem;
    color: #999;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wagered-amount {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 0, 0, 0.4);
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    box-shadow: 0 2px 8px rgba(var(--primary-rgb), 0.1);
    min-width: 120px;
    justify-content: center;
}

.wagered-amount .coin-icon {
    vertical-align: middle;
    display: inline-block;
}

.wagered-amount span {
    vertical-align: middle;
    display: inline-block;
}

.wagered-amount .coin-icon {
    width: 16px;
    height: 16px;
    filter: drop-shadow(0 0 3px rgba(var(--primary-rgb), 0.5));
}

.wagered-amount span {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-500);
}

/* Responsive Design for Podium */
@media (max-width: 768px) {
    .podium-container {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        padding: 25px 15px 15px 15px;
        margin-bottom: 35px;
    }
    
    .podium-card {
        width: 100%;
        max-width: 320px;
        height: auto;
        min-height: 390px;
        transform: none !important;
        margin-bottom: 0;
        padding: 50px 20px 30px 20px;
    }
    
    .podium-card.rank-1 {
        order: 1;
        width: 100%;
        max-width: 340px;
        height: auto;
        min-height: 410px;
        padding: 55px 20px 30px 20px;
        margin-bottom: 3px;
    }
    
    .podium-card.rank-2 {
        order: 2;
        width: 100%;
        max-width: 320px;
        height: auto;
        min-height: 390px;
        padding: 50px 20px 30px 20px;
        margin-bottom: 3px;
    }
    
    .podium-card.rank-3 {
        order: 3;
        width: 100%;
        max-width: 320px;
        height: auto;
        min-height: 390px;
        padding: 50px 20px 30px 20px;
        margin-bottom: 0;
    }
    
    .podium-rank-badge {
        top: -15px;
        padding: 7px 18px;
        font-size: 0.95rem;
    }
    
    .podium-card.rank-1 .podium-rank-badge {
        font-size: 1.15rem;
        padding: 9px 20px;
        top: -15px;
    }
    
    .podium-avatar {
        margin: 18px 0 24px 0;
        padding: 0 8px;
    }
    
    .avatar-image {
        width: 72px;
        height: 72px;
        border-width: 3px;
    }
    
    .podium-card.rank-1 .avatar-image {
        width: 88px;
        height: 88px;
        border-width: 4px;
    }
    
    .player-name {
        font-size: 1.15rem;
        margin-bottom: 24px;
        padding: 0 8px;
        line-height: 1.3;
        text-align: center;
    }
    
    .podium-card.rank-1 .player-name {
        font-size: 1.35rem;
        margin-bottom: 26px;
    }
    
    .score-section {
        gap: 18px;
        padding: 0 8px;
        align-items: center;
    }
    
    .score-item {
        padding: 14px 18px;
    }
    
    .score-value {
        font-size: 1.45rem;
    }
    
    .podium-card.rank-1 .score-value {
        font-size: 1.65rem;
    }
    
    .wagered-item {
        gap: 8px;
        margin-top: 5px;
    }
    
    .wagered-amount {
        padding: 10px 14px;
        min-width: 110px;
    }
    
    .wagered-amount span {
        font-size: 1.05rem;
    }
    
    .coin-icon {
        width: 26px;
        height: 26px;
    }
    
    .wagered-amount .coin-icon {
        width: 15px;
        height: 15px;
    }
}

@media (max-width: 480px) {
    .podium-container {
        padding: 18px 12px 12px 12px;
        gap: 10px;
        margin-bottom: 30px;
    }
    
    .podium-card {
        max-width: 300px;
        min-height: 375px;
        padding: 45px 18px 28px 18px;
    }
    
    .podium-card.rank-1 {
        max-width: 320px;
        min-height: 395px;
        padding: 50px 18px 28px 18px;
    }
    
    .podium-card.rank-2,
    .podium-card.rank-3 {
        max-width: 300px;
        min-height: 375px;
        padding: 45px 18px 28px 18px;
    }
    
    .podium-rank-badge {
        top: -12px;
        padding: 6px 16px;
        font-size: 0.9rem;
    }
    
    .podium-card.rank-1 .podium-rank-badge {
        font-size: 1.05rem;
        padding: 8px 18px;
        top: -12px;
    }
    
    .podium-avatar {
        margin: 16px 0 22px 0;
        padding: 0 6px;
    }
    
    .avatar-image {
        width: 68px;
        height: 68px;
        border-width: 3px;
    }
    
    .podium-card.rank-1 .avatar-image {
        width: 82px;
        height: 82px;
        border-width: 4px;
    }
    
    .player-name {
        font-size: 1.05rem;
        margin-bottom: 22px;
        padding: 0 6px;
        line-height: 1.3;
        text-align: center;
    }
    
    .podium-card.rank-1 .player-name {
        font-size: 1.25rem;
        margin-bottom: 24px;
    }
    
    .score-section {
        gap: 16px;
        padding: 0 6px;
        align-items: center;
    }
    
    .score-item {
        padding: 12px 16px;
    }
    
    .score-value {
        font-size: 1.3rem;
    }
    
    .podium-card.rank-1 .score-value {
        font-size: 1.5rem;
    }
    
    .wagered-item {
        gap: 7px;
        margin-top: 4px;
    }
    
    .wagered-amount {
        padding: 9px 12px;
        min-width: 100px;
    }
    
    .wagered-amount span {
        font-size: 0.95rem;
    }
    
    .coin-icon {
        width: 22px;
        height: 22px;
    }
    
    .wagered-amount .coin-icon {
        width: 13px;
        height: 13px;
    }
}

/* Show/Hide Desktop and Mobile */
.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .desktop-only {
        display: none;
    }
    
    .mobile-only {
        display: block;
    }
}

/* Mobile Leaderboard Styles */
.leaderboard-container-mobile {
    overflow-x: hidden;
    width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
}

.leaderboard-header-row-mobile {
    display: flex;
    align-items: center;
    padding: 6px 19px;
    background: transparent;
    border: none;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    font-size: 0.6rem;
    letter-spacing: 0.5px;
    margin-bottom: 7px;
    width: 100%;
    box-sizing: border-box;
}

.header-rank-mobile {
    width: 30px;
    text-align: center;
    flex-shrink: 0;
}

.header-player-mobile {
    flex: 1;
    text-align: left;
    padding-left: 6px;
    min-width: 0;
    overflow: hidden;
    margin-right: auto;
}

.header-reward-mobile {
    width: 50px;
    text-align: center;
    flex-shrink: 0;
    margin-left: 8px;
}

.header-wagered-mobile {
    width: 50px;
    text-align: center;
    flex-shrink: 0;
    margin-left: 12px;
}

.leaderboard-list-mobile {
    overflow-x: visible;
    width: 100%;
    padding: 0 10px;
}

.leaderboard-item-mobile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    border: 1px solid rgba(var(--primary-rgb), 0.3);
    border-radius: 8px;
    margin-bottom: 4px;
    transition: all 0.3s ease;
    position: relative;
    padding: 6px 8px;
    width: 100%;
    box-sizing: border-box;
}

.leaderboard-item-mobile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.05), rgba(var(--primary-rgb), 0.02));
    border-radius: 8px;
    z-index: -1;
    transition: all 0.3s ease;
}

.leaderboard-item-mobile:hover {
    border-color: rgba(var(--primary-rgb), 0.6);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.2);
}

.leaderboard-item-mobile:hover::before {
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1), rgba(var(--primary-rgb), 0.05));
}

.item-rank-mobile {
    width: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.rank-number-mobile {
    background: transparent;
    color: #ffffff;
    padding: 3px 6px;
    border: 1px solid var(--primary-500);
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.6rem;
    min-width: 30px;
    text-align: center;
}

.item-player-mobile {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 4px;
    padding-left: 6px;
    min-width: 0;
    overflow: hidden;
}

.player-avatar-mobile {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1px solid var(--primary-500);
    overflow: hidden;
    flex-shrink: 0;
}

.player-avatar-mobile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.player-name-mobile {
    color: #ffffff;
    font-weight: 600;
    font-size: 0.6rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 80px;
}

.item-reward-mobile {
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: 8px;
}

.reward-coin-mobile {
    display: flex;
    align-items: center;
    gap: 2px;
    background: rgba(var(--primary-rgb), 0.1);
    border: 1px solid rgba(var(--primary-rgb), 0.3);
    border-radius: 6px;
    padding: 4px 6px;
    color: var(--primary-500);
    font-weight: 600;
    font-size: 0.6rem;
    min-width: 50px;
    text-align: center;
    justify-content: center;
}

.reward-coin-mobile .coin-icon-mobile {
    width: 8px;
    height: 8px;
    
}

.reward-coin-mobile span {
    color: var(--primary-500);
    font-weight: 600;
    font-size: 0.6rem;
    text-shadow: 0 0 4px rgba(var(--primary-rgb), 0.5);
}

.no-reward-mobile {
    background: rgba(var(--primary-rgb), 0.1);
    border: 1px solid rgba(var(--primary-rgb), 0.3);
    border-radius: 6px;
    padding: 4px 6px;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.6rem;
    min-width: 50px;
    text-align: center;
}

.item-wagered-mobile {
    width: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: 5px;
}

.wagered-amount-mobile {
    display: flex;
    align-items: center;
    gap: 2px;
    background: rgba(var(--primary-rgb), 0.1);
    border: 1px solid rgba(var(--primary-rgb), 0.3);
    border-radius: 6px;
    padding: 4px 6px;
    color: var(--primary-500);
    font-weight: 600;
    font-size: 0.6rem;
    min-width: 50px;
    text-align: center;
    justify-content: center;
}

.wagered-amount-mobile .coin-icon-mobile {
    width: 8px;
    height: 8px;
    
}

.wagered-amount-mobile span {
    color: var(--primary-500);
    font-weight: 600;
    font-size: 0.6rem;
    text-shadow: 0 0 4px rgba(var(--primary-rgb), 0.5);
}

/* Mobile Responsive for Timer Section */
@media (max-width: 768px) {
    .timer-section {
        margin-bottom: 10px;
    }
    
    .timer-content {
        max-width: 120px;
        padding: 4px 6px;
        gap: 2px;
    }
    
    .timer-title {
        font-size: 0.35rem;
        margin-bottom: 2px;
    }
    
    .countdown-timer {
        gap: 1px;
    }
    
    .time-unit {
        min-width: 12px;
    }
    
    .time-value {
        font-size: 0.5rem;
        padding: 1px 2px;
    }
    
    .time-label {
        font-size: 0.2rem;
        margin-top: 1px;
    }
    
    .last-updated {
        font-size: 0.3rem;
        margin-top: 2px;
    }
}

@media (max-width: 480px) {
    .timer-content {
        max-width: 100px;
        padding: 3px 5px;
        gap: 1px;
    }
    
    .timer-title {
        font-size: 0.3rem;
        margin-bottom: 1px;
    }
    
    .countdown-timer {
        gap: 1px;
    }
    
    .time-unit {
        min-width: 10px;
    }
    
    .time-value {
        font-size: 0.4rem;
        padding: 1px 2px;
    }
    
    .time-label {
        font-size: 0.15rem;
        margin-top: 1px;
    }
    
    .last-updated {
        font-size: 0.25rem;
        margin-top: 1px;
    }
}

@media (max-width: 360px) {
    .timer-content {
        max-width: 80px;
        padding: 2px 4px;
        gap: 1px;
    }
    
    .timer-title {
        font-size: 0.25rem;
        margin-bottom: 1px;
    }
    
    .countdown-timer {
        gap: 1px;
    }
    
    .time-unit {
        min-width: 8px;
    }
    
    .time-value {
        font-size: 0.35rem;
        padding: 1px 1px;
    }
    
    .time-label {
        font-size: 0.1rem;
        margin-top: 1px;
    }
    
    .last-updated {
        font-size: 0.2rem;
        margin-top: 1px;
    }
}

/* Mobile Responsive for Leaderboard Header */
@media (max-width: 768px) {
    .leaderboard-header {
        padding: 25px 15px;
        margin: 0 10px 50px 10px;
    }
    
    .leaderboard-title-section {
        gap: 10px;
    }
    
    .title-with-coin {
        flex-direction: row;
        gap: 10px;
        align-items: center;
        justify-content: center;
        flex-wrap: nowrap;
    }
    
    .title-coin-icon {
        width: 35px;
        height: 35px;
        flex-shrink: 0;
    }
    
    .leaderboard-title {
        font-size: 1.5rem;
        display: flex;
        align-items: center;
        gap: 8px;
        flex-wrap: nowrap;
        white-space: nowrap;
        max-width: calc(100% - 50px);
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .leaderboard-subtitle {
        font-size: 0.85rem;
        line-height: 1.4;
        padding: 0 5px;
        text-align: center;
        word-wrap: break-word;
        hyphens: auto;
    }
    
    .highlight-code {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .leaderboard-header {
        padding: 20px 12px;
        margin: 0 8px 40px 8px;
    }
    
    .leaderboard-title-section {
        gap: 8px;
    }
    
    .title-with-coin {
        flex-direction: row;
        gap: 8px;
        align-items: center;
        justify-content: center;
        flex-wrap: nowrap;
    }
    
    .title-coin-icon {
        width: 30px;
        height: 30px;
        flex-shrink: 0;
    }
    
    .leaderboard-title {
        font-size: 1.2rem;
        display: flex;
        align-items: center;
        gap: 6px;
        flex-wrap: nowrap;
        white-space: nowrap;
        max-width: calc(100% - 45px);
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .leaderboard-subtitle {
        font-size: 0.75rem;
        line-height: 1.3;
        padding: 0 3px;
        text-align: center;
        word-wrap: break-word;
        hyphens: auto;
    }
    
    .highlight-code {
        font-size: 0.75rem;
    }
}

@media (max-width: 360px) {
    .coin-decoration-left,
    .coin-decoration-right {
        display: none !important;
    }
    
    .leaderboard-header {
        padding: 15px 8px;
        margin: 0 5px 35px 5px;
    }
    
    .leaderboard-title-section {
        gap: 6px;
    }
    
    .title-with-coin {
        flex-direction: column;
        gap: 6px;
        align-items: center;
        justify-content: center;
    }
    
    .title-coin-icon {
        width: 28px;
        height: 28px;
        flex-shrink: 0;
    }
    
    .leaderboard-title {
        font-size: 1rem;
        display: flex;
        align-items: center;
        gap: 4px;
        flex-wrap: nowrap;
        white-space: nowrap;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        text-align: center;
    }
    
    .leaderboard-subtitle {
        font-size: 0.7rem;
        line-height: 1.2;
        padding: 0 2px;
        text-align: center;
        word-wrap: break-word;
        hyphens: auto;
    }
    
    .highlight-code {
        font-size: 0.7rem;
    }
}

/* Mobile Responsive for Timer Section */
@media (max-width: 768px) {
    .timer-content {
        margin: 0 15px;
        max-width: 500px;
        padding: 30px 35px;
    }
    
    .timer-title {
        font-size: 1.1rem;
        margin-bottom: 25px;
    }
    
    .countdown-timer {
        gap: 25px;
        margin-bottom: 20px;
    }
    
    .time-unit {
        min-width: 65px;
    }
    
    .time-value {
        font-size: 2.5rem;
    }
    
    .time-label {
        font-size: 0.85rem;
    }
    
    .last-updated {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .timer-content {
        margin: 0 10px;
        max-width: 450px;
        padding: 25px 30px;
    }
    
    .timer-title {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .countdown-timer {
        gap: 20px;
        margin-bottom: 15px;
    }
    
    .time-unit {
        min-width: 60px;
    }
    
    .time-value {
        font-size: 2.2rem;
    }
    
    .time-label {
        font-size: 0.8rem;
    }
    
    .last-updated {
        font-size: 0.8rem;
    }
}

@media (max-width: 360px) {
    .timer-content {
        margin: 0 5px;
        max-width: 400px;
        padding: 20px 25px;
    }
    
    .timer-title {
        font-size: 0.9rem;
        margin-bottom: 18px;
    }
    
    .countdown-timer {
        gap: 15px;
        margin-bottom: 12px;
    }
    
    .time-unit {
        min-width: 55px;
    }
    
    .time-value {
        font-size: 1.8rem;
    }
    
    .time-label {
        font-size: 0.75rem;
    }
    
    .last-updated {
        font-size: 0.75rem;
    }
}

/* Animations */
@keyframes crownBounce {
    0%, 20%, 50%, 80%, 100% { 
        transform: translateY(0) rotate(-10deg); 
    }
    40% { 
        transform: translateY(-15px) rotate(-10deg); 
    }
    60% { 
        transform: translateY(-8px) rotate(-10deg); 
    }
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.1); opacity: 0.3; }
    100% { transform: scale(1); opacity: 0.7; }
}

.timer-section {
    text-align: center;
    margin-bottom: 60px;
}

.timer-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px 50px;
}

.timer-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #a0a0a0;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 35px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.time-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
}

.time-value {
    font-size: 3.5rem;
    font-weight: 900;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1;
    margin-bottom: 8px;
}

.time-label {
    font-size: 1rem;
    color: #a0a0a0;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.last-updated {
    font-size: 1rem;
    color: #666;
    margin-top: 20px;
}

.leaderboard-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
    padding: 0 10px;
}


.leaderboard-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: transparent;
    border: none;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 15px;
    width: 100%;
    box-sizing: border-box;
    padding-left: 30px;
    padding-right: 30px;
}

.header-rank {
    width: 80px;
    text-align: center;
    flex-shrink: 0;
}

.header-player {
    flex: 1;
    text-align: left;
    padding-left: 20px;
    min-width: 0;
    overflow: hidden;
}

.header-reward {
    width: 150px;
    text-align: center;
    flex-shrink: 0;
}

.header-wagered {
    width: 150px;
    text-align: center;
    flex-shrink: 0;
}

.leaderboard-list {
    overflow-x: visible;
    width: 100%;
    padding: 0 10px;
}

.leaderboard-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: transparent;
    border: 1px solid rgba(var(--primary-rgb), 0.3);
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    margin-bottom: 8px;
    width: 100%;
    box-sizing: border-box;
    overflow: visible;
}

.leaderboard-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.05), rgba(var(--primary-rgb), 0.02));
    border-radius: 12px;
    z-index: -1;
}

.leaderboard-item:hover {
    border-color: rgba(var(--primary-rgb), 0.6);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.2);
}

.leaderboard-item:hover::before {
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1), rgba(var(--primary-rgb), 0.05));
}


.item-rank {
    width: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.rank-number {
    background: transparent;
    color: #ffffff;
    padding: 8px 12px;
    border: 1px solid rgba(var(--primary-rgb), 0.3);
    border-radius: 8px;
    font-weight: 900;
    font-size: 1rem;
    min-width: 40px;
    text-align: center;
}

.item-player {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 15px;
    padding-left: 20px;
    min-width: 0;
    overflow: hidden;
}

.player-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(var(--primary-rgb), 0.3);
}

.player-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.player-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

.item-player {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-left: 20px;
    min-width: 0;
    overflow: hidden;
}

.player-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 2px solid var(--primary-500);
    overflow: hidden;
    flex-shrink: 0;
}

.player-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.player-name {
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

.item-reward {
    width: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.reward-coin {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 0, 0, 0.4);
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    box-shadow: 0 2px 8px rgba(var(--primary-rgb), 0.1);
    min-width: 120px;
    justify-content: center;
}

.reward-coin .coin-icon {
    width: 16px;
    height: 16px;
    filter: drop-shadow(0 0 3px rgba(var(--primary-rgb), 0.5));
}

.reward-coin span {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-500);
}

.no-reward {
    color: #666;
    font-style: italic;
    background: rgba(102, 102, 102, 0.1);
    border: 1px solid rgba(102, 102, 102, 0.3);
    border-radius: 8px;
    padding: 10px 15px;
    min-width: 120px;
    text-align: center;
    font-size: 0.9rem;
}

.item-wagered {
    width: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.wagered-amount {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 0, 0, 0.4);
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    box-shadow: 0 2px 8px rgba(var(--primary-rgb), 0.1);
    min-width: 120px;
    justify-content: center;
}

.wagered-amount .coin-icon {
    vertical-align: middle;
    display: inline-block;
}

.wagered-amount span {
    vertical-align: middle;
    display: inline-block;
}

.wagered-amount .coin-icon {
    width: 16px;
    height: 16px;
    filter: drop-shadow(0 0 3px rgba(var(--primary-rgb), 0.5));
}

.wagered-amount span {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-500);
}

/* Leaderboard Responsive Design */
@media (max-width: 768px) {
    .leaderboard-header {
        padding: 25px 15px;
        margin-bottom: 40px;
    }

    .leaderboard-title-section {
        max-width: 100%;
    }

    .leaderboard-title {
        font-size: 1.8rem;
        gap: 10px;
    }

    .title-coin-icon {
        width: 35px;
        height: 35px;
    }

    .leaderboard-subtitle {
        font-size: 0.9rem;
        line-height: 1.4;
    }

    .podium-container {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding: 20px 10px;
    }

    .podium-card {
        width: 100%;
        max-width: 320px;
        height: auto;
        min-height: 280px;
        transform: none !important;
        padding: 20px 15px;
    }

    .podium-card.rank-1 {
        order: 1;
        height: 320px;
        max-width: 340px;
    }

    .podium-card.rank-2 {
        order: 2;
        height: 280px;
    }

    .podium-card.rank-3 {
        order: 3;
        height: 280px;
    }

    .podium-avatar {
        width: 60px;
        height: 60px;
    }

    .podium-rank-badge {
        font-size: 0.9rem;
        padding: 4px 12px;
    }

    .player-name {
        font-size: 1rem;
    }

    .score-item {
        padding: 10px 15px;
        gap: 6px;
    }

    .coin-icon {
        width: 20px;
        height: 20px;
    }

    .score-value {
        font-size: 1.2rem;
    }

    .podium-card.rank-1 .score-value {
        font-size: 1.4rem;
    }

    .wagered-amount {
        padding: 6px 10px;
        gap: 4px;
    }

    .wagered-amount .coin-icon {
        width: 14px;
        height: 14px;
    }

    .wagered-amount span {
        font-size: 1rem;
    }

    .podium-card:hover {
        transform: translateY(-3px) scale(1.01) !important;
    }

    .podium-card.rank-1:hover {
        transform: translateY(-5px) scale(1.02) !important;
    }

    .game-logos {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .leaderboard-header-row {
        padding: 15px 20px;
    }
    
    .header-rank {
        width: 60px;
    }
    
    .header-reward {
        width: 120px;
    }
    
    .header-wagered {
        width: 120px;
    }
    
    .leaderboard-item {
        padding: 15px 20px;
    }
    
    .item-rank {
        width: 60px;
    }
    
    .item-reward {
        width: 120px;
    }
    
    .item-wagered {
        width: 120px;
    }

    .countdown-timer {
        gap: 10px;
    }

    .time-unit {
        min-width: 60px;
        padding: 10px 15px;
    }

    .time-value {
        font-size: 1.5rem;
    }

    .decoration-left,
    .decoration-right {
        display: none;
    }
    
    .coin-decoration-left,
    .coin-decoration-right {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .coin-decoration-left,
    .coin-decoration-right {
        display: none !important;
    }
    
    .leaderboard-header {
        padding: 20px 10px;
        margin-bottom: 30px;
    }

    .title-coin-icon {
        width: 30px;
        height: 30px;
    }

    .leaderboard-title {
        font-size: 1.5rem;
        gap: 8px;
    }

    .leaderboard-subtitle {
        font-size: 0.8rem;
        line-height: 1.3;
    }

    .podium-container {
        padding: 15px 5px;
        gap: 12px;
    }

    .podium-card {
        max-width: 280px;
        padding: 15px 12px;
        min-height: 250px;
    }

    .podium-card.rank-1 {
        height: 280px;
        max-width: 300px;
    }

    .podium-card.rank-2,
    .podium-card.rank-3 {
        height: 250px;
    }

    .podium-avatar {
        width: 50px;
        height: 50px;
    }

    .podium-rank-badge {
        font-size: 0.8rem;
        padding: 3px 10px;
    }

    .player-name {
        font-size: 0.9rem;
    }

    .score-item {
        padding: 8px 12px;
        gap: 5px;
    }

    .coin-icon {
        width: 18px;
        height: 18px;
    }

    .score-value {
        font-size: 1.1rem;
    }

    .podium-card.rank-1 .score-value {
        font-size: 1.3rem;
    }

    .wagered-amount {
        padding: 5px 8px;
        gap: 3px;
    }

    .wagered-amount .coin-icon {
        width: 12px;
        height: 12px;
    }

    .wagered-amount span {
        font-size: 0.9rem;
    }

    .wagered-label {
        font-size: 0.7rem;
    }
}

/* Ended Status Styles */
.ended-status {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
    background: linear-gradient(145deg, #1a1a1a, #0f0f0f);
    border: 2px solid #ff4444;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(255, 68, 68, 0.2);
    animation: endedPulse 2s ease-in-out infinite;
}

.ended-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: endedBounce 1.5s ease-in-out infinite;
}

.ended-text {
    font-size: 2rem;
    font-weight: 900;
    color: #ff4444;
    text-shadow: 0 0 20px rgba(255, 68, 68, 0.5);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.ended-subtitle {
    font-size: 1.2rem;
    color: #cccccc;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes endedPulse {
    0%, 100% { 
        box-shadow: 0 10px 30px rgba(255, 68, 68, 0.2);
        border-color: #ff4444;
    }
    50% { 
        box-shadow: 0 15px 40px rgba(255, 68, 68, 0.4);
        border-color: #ff6666;
    }
}

@keyframes endedBounce {
    0%, 20%, 50%, 80%, 100% { 
        transform: translateY(0); 
    }
    40% { 
        transform: translateY(-10px); 
    }
    60% { 
        transform: translateY(-5px); 
    }
}

/* Mobile Responsive for Ended Status */
@media (max-width: 768px) {
    .ended-status {
        padding: 30px 15px;
        margin: 0 15px;
    }
    
    .ended-icon {
        font-size: 3rem;
        margin-bottom: 15px;
    }
    
    .ended-text {
        font-size: 1.5rem;
        letter-spacing: 1px;
    }
    
    .ended-subtitle {
        font-size: 1rem;
        letter-spacing: 0.5px;
    }
}

@media (max-width: 480px) {
    .ended-status {
        padding: 25px 12px;
        margin: 0 10px;
    }
    
    .ended-icon {
        font-size: 2.5rem;
        margin-bottom: 12px;
    }
    
    .ended-text {
        font-size: 1.2rem;
        letter-spacing: 0.5px;
    }
    
    .ended-subtitle {
        font-size: 0.9rem;
        letter-spacing: 0.3px;
    }
}
