/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    overflow-x: hidden;
    background: linear-gradient(180deg, #000000 0%, #1a0b2e 50%, #000000 100%);
    color: white;
    min-height: 100vh;
    position: relative;
    line-height: 1.6;
}

/* Half Circle Image Container */
.half-circle-image {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    opacity: 20%;
    max-width: 100%;
    height: 400px;
    overflow: hidden;
    z-index: 5;
}

.half-circle-image::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200%;
    height: 800px;
    border-radius: 50%;
    background: url('../background.png') center/cover no-repeat;
    clip-path: ellipse(100% 100% at 50% 0%);
}

/* Adjust main content positioning */
.main-content {
    padding-top: 200px;
    position: relative;
    padding-bottom: 200px;
    z-index: 10;
}

@media (max-width: 768px) {
    .half-circle-image {
        height: 300px;
    }
    .half-circle-image::before {
        height: 300px;
    }
    .main-content {
        padding-top: 150px;
    }
}

/* Animated Background */
.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.bg-orb:nth-child(1) {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #a855f7, #ec4899);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.bg-orb:nth-child(2) {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #ec4899, #3b82f6);
    top: 40%;
    right: 15%;
    animation-delay: -2s;
}

.bg-orb:nth-child(3) {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, #3b82f6, #a855f7);
    bottom: 20%;
    left: 50%;
    animation-delay: -4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-20px) scale(1.1); }
}

/* Container */
.container {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    margin-left: 72px;
}

/* Header with Login Button */
.header {
    position: fixed;
    top: 0;
    right: 0;
    padding: 24px;
    z-index: 100;
}

.login-btn {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
    font-size: 14px;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.4);
    background: linear-gradient(135deg, #5b52f0, #8b5cf6);
}

.discord-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Sidebar */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 72px;
    height: 100vh;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    border-right: 1px solid rgba(148, 163, 184, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 0;
    z-index: 50;
}

.sidebar-logo {
    font-size: 18px;
    font-weight: 900;
    background: linear-gradient(135deg, #06b6d4, #f97316, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 32px;
     position: relative;
    z-index: 10;
    padding-top: 10px;
}

.sidebar-logo img {
    max-width: 80%;
    height: auto;
    margin: 0 auto;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex-grow: 1;
}

.sidebar-icon {
    position: relative;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sidebar-icon:hover {
    background: rgba(51, 65, 85, 0.7);
}

.sidebar-icon.active {
    background: rgba(168, 85, 247, 0.2);
    border: 1px solid rgba(168, 85, 247, 0.5);
}

.sidebar-icon svg {
    width: 20px;
    height: 20px;
    stroke: #9ca3af;
    transition: stroke 0.3s ease;
}

.sidebar-icon:hover svg,
.sidebar-icon.active svg {
    stroke: white;
}

/* Tooltip */
.tooltip {
    position: absolute;
    left: 60px;
    background: rgba(31, 41, 55, 0.95);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1000;
}

.sidebar-icon:hover .tooltip {
    opacity: 1;
}

.sidebar-expand {
    margin-top: auto;
}

/* Main Content */
.page-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 96px 24px;
    min-height: 100vh;
}

/* Logo */
.main-logo {
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(135deg, #06b6d4, #f97316, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 24px;
    text-shadow: 0 0 40px rgba(168, 85, 247, 0.3);
    animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
    from { filter: drop-shadow(0 0 20px rgba(168, 85, 247, 0.3)); }
    to { filter: drop-shadow(0 0 30px rgba(168, 85, 247, 0.6)); }
}

/* Headline */
.headline {
    font-size: 1.25rem;
    color: #d1d5db;
    max-width: 600px;
    line-height: 1.6;
    margin-bottom: 48px;
}

/* Buttons */
.cta-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 80px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 16px;
}

.btn-primary {
    background: linear-gradient(135deg, #ec4899, #a855f7);
    color: white;
    box-shadow: 0 4px 15px rgba(236, 72, 153, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(236, 72, 153, 0.4);
    background: linear-gradient(135deg, #f472b6, #c084fc);
}

.btn-secondary {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: 1px solid rgba(71, 85, 105, 0.8);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    background: rgba(0, 0, 0, 0.9);
    border-color: rgba(71, 85, 105, 1);
}

.btn svg {
    width: 20px;
    height: 20px;
}

/* Stats Section */
.stats-section {
    width: 100%;
    max-width: 1200px;
    margin-bottom: 96px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.stat-card {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(51, 65, 85, 0.8);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(168, 85, 247, 0.5);
    box-shadow: 0 20px 40px rgba(168, 85, 247, 0.1);
}

.stat-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(236, 72, 153, 0.2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon svg {
    width: 28px;
    height: 28px;
    stroke: #c084fc;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.875rem;
    color: #9ca3af;
}

/* Footer Section */
.footer-section {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

/* Statistics Section */
.stats-section {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 96px;
    padding: 0 24px;
}

.leaderboard-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.stat-frame {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(51, 65, 85, 0.8);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-frame:hover {
    transform: translateY(-5px);
    border-color: rgba(168, 85, 247, 0.5);
    box-shadow: 0 20px 40px rgba(168, 85, 247, 0.15);
}

/* Gradient overlay on hover */
.stat-frame:hover::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(168, 85, 247, 0.1) 0%, 
        rgba(236, 72, 153, 0.1) 100%);
    z-index: -1;
}

.stat-icon {
    display: inline-block;
    width: 56px;
    height: 56px;
    font-size: 28px;
    line-height: 56px;
    margin-bottom: 16px;
    background: linear-gradient(135deg, 
        rgba(168, 85, 247, 0.2), 
        rgba(236, 72, 153, 0.2));
    border-radius: 50%;
    text-align: center;
}

.stat-label {
    font-size: 0.875rem;
    color: #9ca3af;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.stat-number {
    font-size: 2.25rem;
    font-weight: 800;
    background: linear-gradient(45deg, #e2e8f0, #cbd5e1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.5px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .leaderboard-stats-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .stat-frame {
        padding: 24px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

.footer-title {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ec4899, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

.footer-subtitle {
    font-size: 1.125rem;
    color: #9ca3af;
    line-height: 1.6;
}

/* Page Header */
.page-header {
    text-align: center;
    margin-bottom: 48px;
    padding: 0 24px;
}

.page-title {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, #06b6d4, #f97316, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

.page-subtitle {
    font-size: 1.125rem;
    color: #9ca3af;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}


/* Countdown CSS */
/* Countdown Timer Section */
.countdown-section {
    width: 100%;
    max-width: 400px;
    margin: 24px auto;
    padding: 0 24px;
}

.countdown-container {
    background: transparent;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(51, 65, 85, 0.8);
    border-radius: 16px;
    padding: 12px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.countdown-container:hover {
    transform: translateY(-5px);
    border-color: rgba(168, 85, 247, 0.5);
    box-shadow: 0 20px 40px rgba(168, 85, 247, 0.15);
}

.countdown-container:hover::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(168, 85, 247, 0.1) 0%, 
        rgba(236, 72, 153, 0.1) 100%);
    z-index: -1;
}

.countdown-label {
    font-size: 0.875rem;
    color: #9ca3af;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.countdown-segment {
    text-align: center;
    min-width: 80px;
}

.countdown-number {
    font-size: 1rem;
    font-weight: 700;
    color: white;
    display: block;
   
}

.countdown-unit {
    font-size: 0.875rem;
    color: #9ca3af;
    letter-spacing: 0.5px;
}

/* Modern Bonus Section */
.bonus-section {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 300px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    max-width: 1200px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(71, 85, 105, 0.5);
}

.bonus-section:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(168, 85, 247, 0.25);
    border-color: rgba(168, 85, 247, 0.7);
}

/* Featured Ribbon */
.bonus-featured-badge {
    position: absolute;
    top: 15px;
    right: -30px;
    background: linear-gradient(135deg, #ec4899, #a855f7);
    color: white;
    padding: 8px 40px;
    font-size: 14px;
    font-weight: 700;
    transform: rotate(45deg);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

/* Content Grid */
.bonus-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: center;
}

/* Image Section */
.bonus-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    transform: perspective(1000px) rotateY(-5deg);
    transition: all 0.4s ease;
    height: 550px;
    background: linear-gradient(45deg, #1e293b, #0f172a);
    display: flex;
    justify-content: center;
    align-items: center;
}

.bonus-section:hover .bonus-image {
    transform: perspective(1000px) rotateY(0deg);
    box-shadow: 0 20px 40px rgba(168, 85, 247, 0.35);
}

.bonus-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.bonus-section:hover .bonus-image img {
    transform: scale(1.05);
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(5deg); }
}

/* Details Section */
.bonus-details {
    position: relative;
    z-index: 2;
}

.bonus-title {
    font-size: 2.2rem;
    font-weight: 800;
    background: linear-gradient(45deg, #fff, #cbd5e1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 15px;
    line-height: 1.2;
}

.bonus-value {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(45deg, #10b981, #22d3ee);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 20px;
    display: inline-block;
    padding: 5px 15px;
    border-radius: 30px;
    border: 2px dashed rgba(16, 185, 129, 0.4);
}

.bonus-description {
    color: #cbd5e1;
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 1.1rem;
    position: relative;
    padding-left: 25px;
}

.bonus-description:before {
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.2rem;
}

/* Code & Button Section */
.bonus-action {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.bonus-code {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(168, 85, 247, 0.15);
    border: 1px dashed rgba(168, 85, 247, 0.6);
    padding: 12px 20px;
    border-radius: 12px;
    font-family: monospace;
    font-size: 1.4rem;
    font-weight: 700;
    color: #e9d5ff;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.bonus-code:hover {
    background: rgba(168, 85, 247, 0.25);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(168, 85, 247, 0.3);
}

.bonus-code i {
    color: #d8b4fe;
    font-size: 1.2rem;
}

.bonus-code .tooltip {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    white-space: nowrap;
}

.bonus-code:hover .tooltip {
    opacity: 1;
}

.claim-btn {
    background: linear-gradient(135deg, #ec4899, #a855f7);
    color: white;
    border: none;
    padding: 15px 35px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 5px 20px rgba(236, 72, 153, 0.4);
    position: relative;
    overflow: hidden;
}

.claim-btn:before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(30deg);
    transition: all 0.5s ease;
}

.claim-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(236, 72, 153, 0.6);
}

.claim-btn:hover:before {
    transform: rotate(30deg) translate(20%, 20%);
}

.claim-btn i {
    font-size: 1.3rem;
}

/* Terms Section */
.bonus-terms {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid rgba(71, 85, 105, 0.6);
}

.terms-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #a5b4fc;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.terms-title i {
    color: #a855f7;
}

.terms-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.term-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(30, 41, 59, 0.6);
    color: #e2e8f0;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.term-item:hover {
    background: rgba(56, 66, 85, 0.6);
    transform: translateX(5px);
}

.term-item i {
    color: #10b981;
    margin-top: 3px;
    min-width: 18px;
}

/* Confetti Effect */
.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #f9a8d4;
    border-radius: 50%;
    top: -20px;
    animation: confetti-fall 5s linear forwards;
    opacity: 0.8;
}

.confetti:nth-child(2n) {
    background: #a78bfa;
}
    
.confetti:nth-child(3n) {
    background: #5eead4;
}

@keyframes confetti-fall {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.8;
    }
    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

/* Rewards Grid Styles */
.rewards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding: 48px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.reward-card {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(51, 65, 85, 0.8);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.reward-card:hover {
    transform: translateY(-5px);
    border-color: rgba(168, 85, 247, 0.5);
    box-shadow: 0 20px 40px rgba(168, 85, 247, 0.15);
}

/* Gradient overlay on hover */
.reward-card:hover::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(168, 85, 247, 0.1) 0%, 
        rgba(236, 72, 153, 0.1) 100%);
    z-index: -1;
}

.reward-image {
    width: 100%;
    height: 405px;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.reward-card:hover .reward-image {
    transform: scale(1.05);
}

.claim-btn {
    background: linear-gradient(135deg, #ec4899, #a855f7);
    color: white;
    border: none;
    padding: 12px 32px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 120px;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(236, 72, 153, 0.4);
    position: relative;
    overflow: hidden;
}

.claim-btn:before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(30deg);
    transition: all 0.5s ease;
}

.claim-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(236, 72, 153, 0.6);
}

.claim-btn:hover:before {
    transform: rotate(30deg) translate(20%, 20%);
}

.claim-btn.claimed {
    background: linear-gradient(135deg, #10b981, #059669);
    cursor: default;
    box-shadow: 0 5px 20px rgba(16, 185, 129, 0.4);
}

.claim-btn.claimed:hover {
    transform: none;
    box-shadow: 0 5px 20px rgba(16, 185, 129, 0.4);
}

.claim-btn.claimed:before {
    display: none;
}

/* Animation classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }
.delay-6 { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive design */
@media (max-width: 1024px) {
    .rewards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 32px 16px;
    }
}

@media (max-width: 768px) {
    .rewards-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 24px 16px;
    }
    
    .reward-card {
        padding: 20px;
    }
    
    .reward-image {
        height: 200px;
    }
    
    .claim-btn {
        padding: 10px 24px;
        font-size: 14px;
    }
}

/* Podium Section */
.podium-section {
    margin-bottom: 48px;
}

.podium-container {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.podium-place {
    position: relative;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(51, 65, 85, 0.8);
    border-radius: 16px;
    padding: 32px 24px 24px;
    text-align: center;
    min-width: 350px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.podium-place.first {
    height: 380px;
    order: 2;
    background: rgba(15, 23, 42, 0.9);
    border-color: rgba(255, 215, 0, 0.3);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.1);
}

.podium-place.second {
    height: 340px;
    order: 1;
    border-color: rgba(192, 192, 192, 0.3);
    box-shadow: 0 0 15px rgba(192, 192, 192, 0.1);
}

.podium-place.third {
    height: 300px;
    order: 3;
    border-color: rgba(205, 127, 50, 0.3);
    box-shadow: 0 0 12px rgba(205, 127, 50, 0.1);
}

.podium-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 16px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    object-fit: cover;
    background: linear-gradient(135deg, #a855f7, #ec4899);
}

.podium-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}

.podium-prize {
    font-size: 1.5rem;
    font-weight: 900;
    color: #10b981;
    margin-bottom: 8px;
}

.podium-wagered {
    font-size: 1rem;
    color: #ec4899;
    opacity: 0.8;
}

/* Leaderboard Table */
.leaderboard-section {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(51, 65, 85, 0.8);
    border-radius: 16px;
    overflow: hidden;
    max-width: 1200px;
    margin: 0 auto;
}

.leaderboard-header {
    background: rgba(168, 85, 247, 0.1);
    padding: 24px;
    border-bottom: 1px solid rgba(51, 65, 85, 0.8);
}

.leaderboard-title {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    color: white;
}

.leaderboard-table {
    width: 100%;
    border-collapse: collapse;
}

.leaderboard-table th {
    background: rgba(51, 65, 85, 0.5);
    padding: 16px;
    text-align: left;
    font-weight: 600;
    color: #d1d5db;
    border-bottom: 1px solid rgba(51, 65, 85, 0.8);
}

.leaderboard-table td {
    padding: 16px;
    border-bottom: 1px solid rgba(51, 65, 85, 0.3);
    transition: all 0.3s ease;
}

.leaderboard-table tr:hover td {
    background: rgba(51, 65, 85, 0.3);
}

.rank-cell {
    font-weight: 700;
    color: #ec4899;
}

.username-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    background: linear-gradient(135deg, #a855f7, #ec4899);
}

.prize-cell {
    font-weight: 700;
    color: #10b981;
}

.wagered-cell {
    color: #ec4899;
}

/* Page Transitions */
.page {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
    transform: translateY(20px);
    width: 100%;
}

.page.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Loading Animation */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.loading.hidden {
    opacity: 0;
    pointer-events: none;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(168, 85, 247, 0.3);
    border-top: 3px solid #a855f7;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }
.delay-5 { animation-delay: 1.0s; }
.delay-6 { animation-delay: 1.2s; }

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 200;
    background: rgba(51, 65, 85, 0.9);
    border: none;
    border-radius: 8px;
    padding: 12px;
    cursor: pointer;
    display: none;
    color: white;
}

/* Videos Grid */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 32px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Video Card */
.video-card {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(51, 65, 85, 0.8);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
}

.video-card:hover {
    transform: translateY(-8px);
    border-color: rgba(168, 85, 247, 0.6);
    box-shadow: 0 20px 40px rgba(168, 85, 247, 0.2);
}

/* Video Thumbnail Container */
.video-thumbnail-container {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
}

.video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
}

.video-card:hover .video-thumbnail {
    transform: scale(1.05);
}

/* Video Duration Badge */
.video-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

/* Video Play Overlay */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(2px);
}

.video-card:hover .video-overlay {
    opacity: 1;
}

.play-icon {
    width: 60px;
    height: 60px;
    color: white;
    background: rgba(168, 85, 247, 0.9);
    border-radius: 50%;
    padding: 18px;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.video-card:hover .play-icon {
    transform: scale(1);
    background: rgba(168, 85, 247, 1);
}

/* Video Info */
.video-info {
    padding: 20px;
}

.video-title {
    font-size: 16px;
    font-weight: 600;
    color: white;
    line-height: 1.4;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 44px;
}

.video-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #9ca3af;
}

.video-date, .video-views {
    font-weight: 500;
}

.video-separator {
    color: #6b7280;
    font-weight: bold;
}

/* Load More Button */
.load-more-container {
    text-align: center;
    margin-top: 64px;
    padding: 0 24px;
}

.load-more-btn {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}

.load-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.4);
    background: linear-gradient(135deg, #5b52f0, #8b5cf6);
}

.load-icon {
    width: 20px;
    height: 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .bonus-content {
        flex-direction: column;
        gap: 24px;
    }
    
    .bonus-image {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .container {
        margin-left: 0;
    }

    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .sidebar.open {
        transform: translateX(0);
    }

    .mobile-menu-toggle {
        display: block;
    }

    .main-logo, .page-title {
        font-size: 2.5rem;
    }

    .headline, .page-subtitle {
        font-size: 1.125rem;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }

    .stats-grid, .other-bonuses, .giveaway-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .footer-title {
        font-size: 2rem;
    }

    .podium-container {
        flex-direction: column;
        align-items: center;
    }

    .podium-place {
        min-width: 280px;
        height: auto !important;
    }

    .podium-place.first,
    .podium-place.second,
    .podium-place.third {
        order: initial;
    }
    
    .leaderboard-table {
        font-size: 0.875rem;
    }

    .leaderboard-table th,
    .leaderboard-table td {
        padding: 12px 8px;
    }

    .videos-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 0 16px;
    }
    
    .video-card {
        max-width: 100%;
    }
    
    .video-thumbnail-container {
        height: 200px;
    }
    
    .video-title {
        font-size: 15px;
    }
    
    .video-meta {
        font-size: 13px;
    }
    
    .load-more-container {
        margin-top: 48px;
        padding: 0 16px;
    }
}

@media (max-width: 480px) {
    .video-thumbnail-container {
        height: 180px;
    }
    
    .video-info {
        padding: 16px;
    }
    
    .play-icon {
        width: 50px;
        height: 50px;
        padding: 15px;
    }
}

/* Bonuses Page Mobile Improvements */
@media (max-width: 768px) {
    /* Bonus section improvements */
    .bonus-section {
        margin: 20px;
        padding: 20px;
        margin-bottom: 50px;
    }
    
    .bonus-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .bonus-image {
        height: 310px;
        transform: none !important;
    }
    
    .bonus-title {
        font-size: 1.8rem;
    }
    
    .bonus-value {
        font-size: 1.5rem;
    }
    
    .bonus-action {
        flex-direction: column;
        gap: 12px;
    }
    
    .bonus-code {
        width: 100%;
        justify-content: center;
    }
    
    .claim-btn {
        width: 100%;
    }
    
    .terms-grid {
        grid-template-columns: 1fr;
    }
    
    /* Auto-close sidebar when navigating */
    .sidebar {
        transform: translateX(-100%);
    }
    
    .sidebar.open {
        transform: translateX(0);
    }
    
    .sidebar-logo {
        margin-top: 40px;
    }
    
    /* Ensure sidebar closes when navigating */
    .page.active ~ .sidebar {
        transform: translateX(-100%);
    }
}

/* Sidebar auto-close on navigation */
@media (max-width: 768px) {
    .sidebar-icon {
        padding: 12px; /* Larger touch target */
    }
    
    /* Close sidebar after clicking a nav item */
    .sidebar-icon[onclick*="navigateTo"] {
        pointer-events: auto;
    }
}

/* Improved scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.5);
}

::-webkit-scrollbar-thumb {
    background: rgba(168, 85, 247, 0.5);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(168, 85, 247, 0.7);
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Better focus states for accessibility */
a:focus, button:focus, input:focus, textarea:focus, select:focus {
    outline: 2px solid rgba(168, 85, 247, 0.8);
    outline-offset: 2px;
}

/* Improved button transitions */
.btn, .login-btn, .claim-btn, .bonus-code {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Better contrast for text */
.stat-label, .page-subtitle, .footer-subtitle {
    color: #a5b3c1;
}

/* More consistent spacing */
section {
    margin-bottom: 64px;
}

/* Better image rendering */
img {
    image-rendering: -webkit-optimize-contrast;
}

/* Footer Styles */
.site-footer {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(168, 85, 247, 0.2);
    color: #e2e8f0;
    padding: 60px 0 0;
    position: relative;
    z-index: 20;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 40px;
}

.footer-logo img {
    width: 60px;
    height: auto;
    transition: transform 0.3s ease;
}

.footer-logo:hover img {
    transform: scale(1.1);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.footer-column h3 {
    color: #a855f7;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #a855f7, #ec4899);
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    display: inline-block;
}

.footer-column a:hover {
    color: #a855f7;
    transform: translateX(5px);
}

.footer-social {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(51, 65, 85, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    color: #cbd5e1;
}

.social-icon:hover {
    background: rgba(168, 85, 247, 0.2);
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(51, 65, 85, 0.5);
    padding: 20px 0;
    margin-top: 40px;
    text-align: center;
    font-size: 0.85rem;
    color: #9ca3af;
}

.footer-bottom p {
    margin: 5px 0;
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: 1fr 2fr;
    }
    
    .footer-social {
        grid-column: span 2;
        flex-direction: row;
        justify-content: center;
        margin-top: 30px;
    }
    
    .social-icon {
        margin: 0 10px;
    }
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-social {
        grid-column: span 1;
        justify-content: flex-start;
        margin-top: 0;
    }
    
    .footer-logo {
        text-align: center;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: linear-gradient(180deg, #000000 0%, #1a0b2e 100%);
    margin: 5% auto;
    padding: 30px;
    border: 1px solid rgba(168, 85, 247, 0.5);
    border-radius: 16px;
    width: 90%;
    max-width: 600px;
    position: relative;
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.3);
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-50px); }
    to { opacity: 1; transform: translateY(0); }
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 25px;
    color: #9ca3af;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover {
    color: #a855f7;
}

/* Avatar Styles */
.avatar-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid rgba(168, 85, 247, 0.5);
    object-fit: cover;
}

/* User Details Styles */
.user-details {
    text-align: center;
    margin-bottom: 32px;
}

.username {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: white;
}

.discord-username {
    font-size: 1rem;
    color: #9ca3af;
    margin-bottom: 16px;
}

.user-id, .user-email {
    font-size: 0.9rem;
    color: #9ca3af;
    margin-bottom: 8px;
}

/* Shuffle Section Styles */
.shuffle-section {
    background: rgba(30, 41, 59, 0.6);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 32px;
    border: 1px solid rgba(51, 65, 85, 0.8);
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: white;
}

.section-description {
    color: #9ca3af;
    margin-bottom: 20px;
    line-height: 1.6;
}

.input-group {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.shuffle-input {
    flex: 1;
    min-width: 200px;
    background: rgba(51, 65, 85, 0.6);
    border: 1px solid rgba(71, 85, 105, 0.8);
    color: white;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.shuffle-input:focus {
    outline: none;
    border-color: #a855f7;
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.2);
}

.status-message {
    padding: 12px;
    border-radius: 8px;
    margin-top: 16px;
    display: none;
    font-size: 0.9rem;
}

.status-success {
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(16, 185, 129, 0.5);
    color: #a7f3d0;
}

.status-error {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.5);
    color: #fecaca;
}

        /* Event Page Specific Styles */
        .event-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 40px 24px;
        }

        /* Event Header */
        .event-header {
            text-align: center;
            margin-bottom: 40px;
        }

        .event-title {
            font-size: 2.5rem;
            font-weight: 800;
            background: linear-gradient(45deg, #ec4899, #a855f7);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            margin-bottom: 16px;
            text-shadow: 0 0 40px rgba(168, 85, 247, 0.3);
        }

        .event-subtitle {
            font-size: 1.125rem;
            color: #9ca3af;
            max-width: 600px;
            margin: 0 auto;
            line-height: 1.6;
        }

        /* Event Banner */
        .event-banner {
            width: 100%;
            border-radius: 16px;
            overflow: hidden;
            margin-bottom: 40px;
            box-shadow: 0 20px 40px rgba(168, 85, 247, 0.15);
            border: 1px solid rgba(168, 85, 247, 0.3);
        }

        .event-banner img {
            width: 100%;
            height: auto;
            display: block;
        }

        /* Main Content Grid */
        .content-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 24px;
            margin-bottom: 40px;
        }

        /* Shared Card Styles */
        .card {
            background: rgba(15, 23, 42, 0.8);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(51, 65, 85, 0.8);
            border-radius: 16px;
            padding: 24px;
            transition: all 0.3s ease;
        }

        .card:hover {
            transform: translateY(-5px);
            border-color: rgba(168, 85, 247, 0.5);
            box-shadow: 0 20px 40px rgba(168, 85, 247, 0.15);
        }

        .card-title {
            font-size: 1.3rem;
            font-weight: 700;
            color: #a855f7;
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .card-title svg {
            width: 24px;
            height: 24px;
            stroke: currentColor;
        }

        /* Rules Card */
        .rules-list {
            list-style-type: none;
        }

        .rules-list li {
            margin-bottom: 12px;
            padding-left: 28px;
            position: relative;
            font-size: 0.95rem;
            color: #cbd5e1;
        }

        .rules-list li:before {
            content: '';
            position: absolute;
            left: 0;
            top: 6px;
            width: 18px;
            height: 18px;
            background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23a855f7'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 13l4 4L19 7'/%3E%3C/svg%3E") no-repeat center;
        }

        /* Stats Card */
        .stats-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 16px;
        }

        .stat-item {
            background: rgba(51, 65, 85, 0.3);
            border-radius: 12px;
            padding: 16px;
            text-align: center;
            transition: all 0.3s ease;
        }

        .stat-item:hover {
            background: rgba(168, 85, 247, 0.1);
        }

        .stat-value {
            font-size: 1.5rem;
            font-weight: 800;
            color: white;
            margin-bottom: 8px;
        }

        .stat-label {
            color: #9ca3af;
            font-size: 0.9rem;
        }

        .progress-container {
            grid-column: span 2;
            margin-top: 16px;
        }

        .progress-bar-container {
            width: 100%;
            height: 8px;
            background: rgba(51, 65, 85, 0.5);
            border-radius: 4px;
            overflow: hidden;
        }

        .progress-bar {
            height: 100%;
            background: linear-gradient(90deg, #ec4899, #a855f7);
            border-radius: 4px;
            width: 65%;
            transition: width 0.5s ease;
        }

        /* Ticket Card */
        .ticket-methods {
            display: grid;
            gap: 16px;
        }

        .ticket-method {
            background: rgba(51, 65, 85, 0.3);
            border-radius: 12px;
            padding: 16px;
            transition: all 0.3s ease;
        }

        .ticket-method:hover {
            transform: translateY(-3px);
            background: rgba(168, 85, 247, 0.1);
            box-shadow: 0 8px 20px rgba(168, 85, 247, 0.1);
        }

        .method-title {
            font-size: 1rem;
            font-weight: 600;
            color: white;
            margin-bottom: 8px;
        }

        .method-desc {
            color: #cbd5e1;
            font-size: 0.9rem;
            margin-bottom: 12px;
        }

        .method-reward {
            display: flex;
            align-items: center;
            gap: 8px;
            color: #10b981;
            font-weight: 600;
            font-size: 0.95rem;
        }

        /* Countdown & Prizes Row */
        .bottom-row {
            display: grid;
            grid-template-columns: 1fr 2fr;
            gap: 24px;
            margin-bottom: 40px;
        }

        @media (max-width: 768px) {
            .bottom-row {
                grid-template-columns: 1fr;
            }
        }

        /* Countdown Card */
        .countdown-card {
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .countdown-label {
            font-size: 1rem;
            color: #a855f7;
            margin-bottom: 20px;
            font-weight: 600;
            text-align: center;
        }

        .countdown-timer {
            display: flex;
            justify-content: center;
            gap: 20px;
        }

        .countdown-segment {
            text-align: center;
            min-width: 80px;
        }

        .countdown-number {
            font-size: 2rem;
            font-weight: 800;
            color: white;
            display: block;
        }

        .countdown-unit {
            font-size: 0.9rem;
            color: #9ca3af;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        /* Prizes Card */
        .prizes-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
            gap: 16px;
        }

        .prize-item {
            background: rgba(51, 65, 85, 0.3);
            border-radius: 12px;
            overflow: hidden;
            transition: all 0.3s ease;
        }

        .prize-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(168, 85, 247, 0.2);
        }

        .prize-image {
            width: 100%;
            height: 120px;
            object-fit: cover;
        }

        .prize-details {
            padding: 16px;
        }

        .prize-name {
            font-size: 0.95rem;
            font-weight: 600;
            color: white;
            margin-bottom: 8px;
        }

        .prize-value {
            color: #10b981;
            font-size: 0.9rem;
            font-weight: 600;
        }

        /* Leaderboard */
        .leaderboard-card {
            margin-top: 40px;
        }

        .leaderboard-table {
            width: 100%;
            border-collapse: collapse;
            font-size: 0.95rem;
        }

        .leaderboard-table th {
            background: rgba(168, 85, 247, 0.1);
            padding: 16px;
            text-align: left;
            color: #a855f7;
            font-weight: 600;
            border-bottom: 1px solid rgba(51, 65, 85, 0.8);
        }

        .leaderboard-table td {
            padding: 16px;
            border-bottom: 1px solid rgba(51, 65, 85, 0.3);
            transition: all 0.3s ease;
        }

        .leaderboard-table tr:hover td {
            background: rgba(51, 65, 85, 0.3);
        }

        .user-cell {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .user-avatar {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            object-fit: cover;
            background: linear-gradient(135deg, #a855f7, #ec4899);
        }

        /* Winner Selection */
        .winner-section {
            display: none;
            text-align: center;
            padding: 60px 0;
        }

        .roulette-container {
            position: relative;
            width: 300px;
            height: 300px;
            margin: 0 auto 40px;
        }

        .roulette-wheel {
            width: 100%;
            height: 100%;
            border-radius: 50%;
            background: conic-gradient(
                #ec4899, #a855f7, #3b82f6, #10b981, #f59e0b, #ec4899
            );
            position: relative;
            overflow: hidden;
            animation: spin 5s cubic-bezier(0.1, 0.7, 0.1, 1) infinite;
        }

        .roulette-pointer {
            position: absolute;
            top: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 0;
            height: 0;
            border-left: 16px solid transparent;
            border-right: 16px solid transparent;
            border-top: 32px solid #a855f7;
            z-index: 10;
            filter: drop-shadow(0 0 8px rgba(168, 85, 247, 0.5));
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(3600deg); }
        }

        .spin-btn {
            background: linear-gradient(135deg, #ec4899, #a855f7);
            color: white;
            border: none;
            padding: 16px 32px;
            border-radius: 50px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 1rem;
            box-shadow: 0 8px 25px rgba(236, 72, 153, 0.3);
        }

        .spin-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 12px 30px rgba(236, 72, 153, 0.4);
        }

        .spin-btn:disabled {
            opacity: 0.7;
            cursor: not-allowed;
            transform: none !important;
        }

        .winner-list {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 20px;
            margin-top: 40px;
        }

        .winner-item {
            background: rgba(51, 65, 85, 0.3);
            border-radius: 16px;
            padding: 20px;
            display: flex;
            align-items: center;
            gap: 16px;
            transition: all 0.3s ease;
        }

        .winner-item:hover {
            transform: translateY(-5px);
            background: rgba(168, 85, 247, 0.1);
        }

        .winner-avatar {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            object-fit: cover;
            border: 2px solid #a855f7;
            box-shadow: 0 0 20px rgba(168, 85, 247, 0.3);
        }

        .winner-info {
            flex: 1;
            text-align: left;
        }

        .winner-name {
            font-weight: 700;
            margin-bottom: 6px;
            color: white;
        }

        .winner-prize {
            color: #10b981;
            font-size: 1rem;
            font-weight: 600;
        }

        /* Responsive Design */
        @media (max-width: 1024px) {
            .container {
                margin-left: 0;
            }

            .sidebar {
                transform: translateX(-100%);
                transition: transform 0.3s ease;
            }

            .sidebar.open {
                transform: translateX(0);
            }

            .mobile-menu-toggle {
                display: block;
            }

            .event-title {
                font-size: 2rem;
            }

            .event-subtitle {
                font-size: 1rem;
            }

            .content-grid {
                grid-template-columns: 1fr;
            }

            .prizes-grid {
                grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
            }
        }

        @media (max-width: 480px) {
            .event-title {
                font-size: 1.8rem;
            }

            .countdown-timer {
                gap: 12px;
            }

            .countdown-segment {
                min-width: 60px;
            }

            .countdown-number {
                font-size: 1.5rem;
            }

            .prizes-grid {
                grid-template-columns: 1fr 1fr;
            }
        }