/* ==========================================
   RESET & BASE
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #FF3B5C;
    --primary-light: #FF6B85;
    --primary-dark: #E6143A;
    --dark: #0A0A0F;
    --darker: #050508;
    --gray: #1A1A24;
    --gray-light: #2A2A38;
    --text: #FFFFFF;
    --text-dim: #9CA3AF;
    --text-dimmer: #6B7280;
    --success: #10B981;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--darker);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ==========================================
   NAVIGATION
   ========================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1.25rem 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 900;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
}

.logo-icon {
    font-size: 1.5rem;
    filter: drop-shadow(0 0 10px var(--primary));
}

.logo-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-cta {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(255, 59, 92, 0.3);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 59, 92, 0.5);
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 4rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 59, 92, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 59, 92, 0.1) 0%, transparent 50%),
        linear-gradient(180deg, var(--darker) 0%, var(--dark) 100%);
    z-index: 0;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255, 59, 92, 0.03) 2px, rgba(255, 59, 92, 0.03) 4px);
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(255, 59, 92, 0.1);
    border: 1px solid rgba(255, 59, 92, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2rem;
    animation: pulse 2s ease-in-out infinite;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, #FFB6C1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 30px rgba(255, 59, 92, 0.5));
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-dim);
    margin-bottom: 3rem;
    line-height: 1.8;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 59, 92, 0.3);
    box-shadow: 0 10px 40px rgba(255, 59, 92, 0.2);
}

.stat-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 0 10px rgba(255, 59, 92, 0.5));
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-dimmer);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

/* Countdown */
.countdown-container {
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2rem;
    margin-bottom: 3rem;
}

.countdown-title {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-dim);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.countdown {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.countdown-value {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.countdown-label {
    font-size: 0.75rem;
    color: var(--text-dimmer);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.5rem;
    font-weight: 600;
}

.countdown-divider {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dim);
    margin: 0 0.5rem;
}

/* Hero CTA */
.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 2.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    text-decoration: none;
    border-radius: 16px;
    font-weight: 800;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(255, 59, 92, 0.4);
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(255, 59, 92, 0.6);
}

.hero-cta svg {
    transition: transform 0.3s ease;
}

.hero-cta:hover svg {
    transform: translateX(5px);
}

/* ==========================================
   TOURNAMENT SECTION
   ========================================== */
.tournament-section {
    padding: 6rem 0;
    background: var(--dark);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-dim);
}

.tournament-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.info-card {
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem;
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 59, 92, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.info-card.highlight {
    background: linear-gradient(135deg, rgba(255, 59, 92, 0.1) 0%, rgba(255, 59, 92, 0.05) 100%);
    border-color: rgba(255, 59, 92, 0.3);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 20px rgba(255, 59, 92, 0.5));
}

.card-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

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

.card-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--glass-border);
    color: var(--text-dim);
    font-weight: 500;
}

.card-list li:last-child {
    border-bottom: none;
}

.card-list li::before {
    content: '✓';
    color: var(--success);
    font-weight: 700;
    margin-right: 0.75rem;
}

/* Schedule Info */
.schedule-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.schedule-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
}

.schedule-label {
    color: var(--text-dimmer);
    font-size: 0.9rem;
    font-weight: 600;
}

.schedule-value {
    color: var(--text);
    font-weight: 700;
    font-size: 1.1rem;
}

/* Prize Info */
.prize-info {
    text-align: center;
    padding: 1.5rem 0;
}

.prize-main {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.prize-label {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.prize-note {
    font-size: 0.9rem;
    color: var(--text-dimmer);
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
}

/* Rules Section */
.rules-section {
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem;
}

.rules-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 2rem;
    text-align: center;
}

.rules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.rule-item {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.rule-item:hover {
    background: rgba(255, 59, 92, 0.1);
    transform: translateX(5px);
}

.rule-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 12px;
    font-weight: 900;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(255, 59, 92, 0.4);
}

.rule-text {
    color: var(--text-dim);
    font-weight: 500;
    line-height: 1.6;
    display: flex;
    align-items: center;
}

/* ==========================================
   JOIN SECTION
   ========================================== */
.join-section {
    padding: 6rem 0;
    background: var(--darker);
}

.steps-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.step {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 59, 92, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.step-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    font-weight: 900;
    font-size: 1.75rem;
    box-shadow: 0 8px 25px rgba(255, 59, 92, 0.5);
}

.step-content {
    flex: 1;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.step-description {
    font-size: 0.95rem;
    color: var(--text-dim);
    line-height: 1.5;
}

.step-arrow {
    font-size: 2rem;
    color: var(--text-dim);
    font-weight: 700;
}

/* Join CTA Container */
.join-cta-container {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.join-cta {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 3rem;
    background: linear-gradient(135deg, #25D366 0%, #1DA851 100%);
    color: white;
    text-decoration: none;
    border-radius: 16px;
    font-weight: 800;
    font-size: 1.25rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(37, 211, 102, 0.4);
    margin-bottom: 2rem;
}

.join-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(37, 211, 102, 0.6);
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-dim);
    font-size: 0.9rem;
    font-weight: 600;
}

.badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: rgba(16, 185, 129, 0.2);
    color: var(--success);
    border-radius: 50%;
    font-weight: 900;
    font-size: 0.75rem;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    padding: 3rem 0;
    background: var(--darker);
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    text-align: center;
}

.footer-brand {
    margin-bottom: 1.5rem;
}

.footer-tagline {
    color: var(--text-dimmer);
    margin-top: 0.5rem;
}

.footer-info {
    color: var(--text-dimmer);
    font-size: 0.9rem;
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    .nav {
        padding: 1rem 0;
    }

    .logo {
        font-size: 1.1rem;
    }

    .nav-cta {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }

    .hero {
        padding: 6rem 0 3rem;
    }

    .hero-title {
        margin-bottom: 1rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .stat-card {
        padding: 1.25rem;
    }

    .stat-icon {
        font-size: 1.5rem;
    }

    .stat-value {
        font-size: 1.25rem;
    }

    .countdown-container {
        padding: 1.5rem;
    }

    .countdown {
        gap: 0.5rem;
    }

    .countdown-divider {
        margin: 0 0.25rem;
        font-size: 1.5rem;
    }

    .hero-cta {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .tournament-section,
    .join-section {
        padding: 4rem 0;
    }

    .section-header {
        margin-bottom: 3rem;
    }

    .tournament-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .info-card {
        padding: 2rem;
    }

    .rules-section {
        padding: 2rem;
    }

    .rules-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .steps-container {
        flex-direction: column;
        gap: 1.5rem;
    }

    .step {
        max-width: 100%;
    }

    .step-arrow {
        transform: rotate(90deg);
        font-size: 1.5rem;
    }

    .join-cta {
        padding: 1.25rem 2rem;
        font-size: 1.1rem;
    }

    .trust-badges {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .countdown-value {
        font-size: 1.75rem;
    }

    .countdown-label {
        font-size: 0.65rem;
    }

    .prize-main {
        font-size: 2.5rem;
    }

    .step {
        padding: 1.5rem;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}
