:root {
    --home-accent: #E11D48;
    --home-accent-soft: rgba(225, 29, 72, 0.16);
    --home-accent-glow: rgba(225, 29, 72, 0.55);
    --home-bg: #0B0F14;
    --home-card: #0F1620;
    --home-text: #E5E7EB;
    --home-muted: #94A3B8;
    --home-dim: #64748B;
}

.home-shell {
    min-height: 100vh;
    background:
        radial-gradient(1200px 600px at 80% 0%, rgba(225, 29, 72, 0.05), transparent 60%),
        var(--home-bg);
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
    color: var(--home-text);
    line-height: 1.5;
    font-weight: 400;
}

.home-shell * {
    box-sizing: border-box;
}

.home-shell button {
    font-family: inherit;
}

.home-shell a {
    transition: opacity 0.15s;
}

.home-shell a:hover {
    opacity: 0.85;
    text-decoration: none;
}

.home-shell h1,
.home-shell h2,
.home-shell h3,
.home-shell h4 {
    font-family: inherit;
    color: inherit;
    line-height: 1.2;
    font-weight: 800;
}

/* ── Hero ──────────────────────────────────────────── */
.home-hero {
    position: relative;
    min-height: 600px;
    padding-bottom: 80px;
    overflow: hidden;
}

.home-hero-bg {
    position: absolute;
    inset: 0;
    background-image: url("https://images.unsplash.com/photo-1527871252447-4ce32da643c6?w=1800&auto=format&fit=crop");
    background-size: cover;
    background-position: center;
    filter: brightness(0.5) saturate(1.15);
}

.home-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, rgba(11, 15, 20, 0.95) 0%, rgba(11, 15, 20, 0.75) 45%, rgba(11, 15, 20, 0.4) 100%);
}

.home-hero-inner {
    position: relative;
    max-width: 1320px;
    margin: 0 auto;
    padding: 70px 32px;
    color: #fff;
}

.home-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(225, 29, 72, 0.15);
    color: var(--home-accent);
    border: 1px solid rgba(225, 29, 72, 0.33);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    margin-bottom: 22px;
}

.home-pill-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--home-accent);
    box-shadow: 0 0 0 4px rgba(225, 29, 72, 0.2);
}

.home-hero h1 {
    font-size: 72px;
    font-weight: 800;
    letter-spacing: -2px;
    margin: 0 0 18px;
    max-width: 820px;
    line-height: 1.02;
    color: #fff;
}

.home-hero h1 .home-versla {
    color: var(--home-accent);
    white-space: nowrap;
}

.home-rotating {
    position: relative;
    display: inline-block;
    vertical-align: baseline;
    min-width: 7ch;
    color: var(--home-accent);
}

.home-rotating-word {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    transform: translateY(30%);
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.5, 1.6, 0.4, 1);
    white-space: nowrap;
    pointer-events: none;
}

.home-rotating-word.is-active {
    position: relative;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.home-rotating-word.is-leaving {
    transform: translateY(-30%);
}

.home-rotating-spacer {
    visibility: hidden;
    white-space: nowrap;
}

.home-hero-lead {
    font-size: 19px;
    color: #CBD5E1;
    max-width: 580px;
    margin: 0 0 32px;
    line-height: 1.5;
}

.home-hero-lead strong {
    color: #fff;
}

.home-cta-row {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.home-btn-primary {
    background: var(--home-accent);
    color: #fff !important;
    padding: 15px 26px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 28px var(--home-accent-glow);
}

.home-btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #fff !important;
    padding: 15px 22px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.home-cta-meta {
    margin-left: 6px;
    font-size: 13px;
    color: var(--home-muted);
}

/* Countdown */
.home-countdown {
    display: inline-flex;
    gap: 14px;
    padding: 16px 22px;
    background: rgba(15, 22, 32, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(225, 29, 72, 0.25);
    border-radius: 12px;
}

.home-countdown-label {
    padding-right: 18px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.home-countdown-eyebrow {
    font-size: 10px;
    font-weight: 700;
    color: var(--home-dim);
    letter-spacing: 1.2px;
    margin-bottom: 4px;
}

.home-countdown-sub {
    font-size: 12px;
    color: var(--home-muted);
}

.home-countdown-cell {
    text-align: center;
    min-width: 50px;
}

.home-countdown-cell-value {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    font-variant-numeric: tabular-nums;
    letter-spacing: -1px;
}

.home-countdown-cell-label {
    font-size: 9px;
    font-weight: 700;
    color: var(--home-dim);
    letter-spacing: 1px;
    margin-top: 2px;
}

/* ── Stats banner ──────────────────────────────────── */
.home-stats {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 32px;
}

.home-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 30px 0;
    background: linear-gradient(90deg, transparent, rgba(225, 29, 72, 0.06), transparent);
    border-top: 1px solid rgba(225, 29, 72, 0.18);
    border-bottom: 1px solid rgba(225, 29, 72, 0.18);
}

.home-stat {
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.home-stat:last-child {
    border-right: none;
}

.home-stat-value {
    font-size: 38px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -1px;
}

.home-stat-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.4px;
    color: var(--home-dim);
    margin-top: 4px;
    text-transform: uppercase;
}

/* ── Sections ──────────────────────────────────────── */
.home-section {
    max-width: 1320px;
    margin: 80px auto 0;
    padding: 0 32px;
}

.home-section-faq {
    max-width: 880px;
}

.home-section-features {
    margin-top: 100px;
}

.home-section-cta {
    margin-top: 100px;
}

.home-section-faq-wrap {
    margin-top: 100px;
}

.home-eyebrow {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--home-accent);
    margin-bottom: 10px;
}

.home-section-head {
    text-align: center;
    margin-bottom: 50px;
}

.home-section-head h2 {
    font-size: 40px;
    font-weight: 800;
    color: #fff;
    margin: 0;
    letter-spacing: -1px;
}

.home-section-head p {
    font-size: 16px;
    color: var(--home-muted);
    max-width: 580px;
    margin: 12px auto 0;
}

/* ── How it works ──────────────────────────────────── */
.home-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.home-step {
    position: relative;
    padding: 26px;
    background: linear-gradient(160deg, rgba(225, 29, 72, 0.06), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
}

.home-step-num {
    position: absolute;
    top: 18px;
    right: 18px;
    font-size: 36px;
    font-weight: 800;
    color: rgba(225, 29, 72, 0.18);
    letter-spacing: -1px;
}

.home-step-icon {
    font-size: 36px;
    margin-bottom: 14px;
}

.home-step-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.home-step-desc {
    font-size: 13px;
    color: var(--home-muted);
    line-height: 1.55;
}

/* ── Feature split ─────────────────────────────────── */
.home-features {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.home-feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.home-feature-row.is-reverse .home-feature-copy {
    order: 2;
}

.home-feature-row.is-reverse .home-feature-visual {
    order: 1;
}

.home-feature-tag {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.6px;
    color: var(--home-accent);
    margin-bottom: 12px;
}

.home-feature-copy h3 {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 14px;
    letter-spacing: -0.8px;
    line-height: 1.15;
}

.home-feature-copy p {
    font-size: 15px;
    color: var(--home-muted);
    line-height: 1.65;
    margin: 0 0 20px;
}

.home-feature-points {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.home-feature-points li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--home-text);
}

.home-feature-points li::before {
    content: "✓";
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(225, 29, 72, 0.15);
    color: var(--home-accent);
    display: grid;
    place-items: center;
    flex-shrink: 0;
    font-size: 11px;
    font-weight: 800;
}

/* Visual cards */
.home-visual-card {
    background: var(--home-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 22px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.home-visual-card-flush {
    padding: 0;
    overflow: hidden;
}

.home-visual-eyebrow {
    font-size: 11px;
    font-weight: 700;
    color: var(--home-dim);
    letter-spacing: 1.2px;
    margin-bottom: 14px;
}

.home-visual-score {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
}

.home-visual-team {
    text-align: center;
}

.home-visual-flag {
    font-size: 44px;
}

.home-visual-team-name {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    margin-top: 6px;
}

.home-visual-score-cells {
    display: flex;
    gap: 8px;
    align-items: center;
}

.home-visual-score-cell {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background: rgba(16, 185, 129, 0.14);
    border: 1px solid rgba(16, 185, 129, 0.45);
    color: #34D399;
    display: grid;
    place-items: center;
    font-size: 22px;
    font-weight: 800;
}

.home-visual-score-sep {
    color: #475569;
    font-size: 16px;
    font-weight: 700;
}

.home-visual-bullseye {
    margin-top: 18px;
    padding: 10px 14px;
    border-radius: 10px;
    background: rgba(16, 185, 129, 0.10);
    border: 1px solid rgba(16, 185, 129, 0.3);
    text-align: center;
    color: #34D399;
    font-size: 13px;
    font-weight: 700;
}

/* leagues visual */
.home-visual-leagues {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.home-visual-league {
    padding: 12px 14px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.home-visual-league.is-active {
    background: rgba(225, 29, 72, 0.08);
    border-color: rgba(225, 29, 72, 0.33);
}

.home-visual-league-tournament {
    font-size: 10px;
    color: var(--home-dim);
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.home-visual-league.is-active .home-visual-league-tournament {
    color: var(--home-accent);
}

.home-visual-league-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.home-visual-league-name {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}

.home-visual-league-rank {
    font-size: 11px;
    font-weight: 700;
    color: var(--home-muted);
    background: rgba(255, 255, 255, 0.04);
    padding: 2px 7px;
    border-radius: 999px;
}

.home-visual-league.is-active .home-visual-league-rank {
    color: var(--home-accent);
    background: rgba(225, 29, 72, 0.13);
}

.home-visual-league-members {
    font-size: 11px;
    color: var(--home-dim);
    margin-top: 4px;
}

/* leaderboard visual */
.home-visual-board-head {
    padding: 12px 18px;
    background: var(--home-accent);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.2px;
}

.home-visual-board-row {
    display: grid;
    grid-template-columns: 44px 1fr 60px 70px;
    padding: 12px 18px;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    border-left: 3px solid transparent;
}

.home-visual-board-row.is-me {
    background: rgba(225, 29, 72, 0.08);
    border-left-color: var(--home-accent);
    padding-left: 15px;
}

.home-visual-rank-medal {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    color: #1F1300;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 11px;
}

.home-visual-rank-medal.is-gold {
    background: linear-gradient(140deg, #FCD34D, #D97706);
}

.home-visual-rank-medal.is-silver {
    background: linear-gradient(140deg, #E5E7EB, #94A3B8);
}

.home-visual-rank-medal.is-bronze {
    background: linear-gradient(140deg, #F4A574, #9A4A16);
}

.home-visual-rank-plain {
    color: var(--home-muted);
    font-weight: 600;
}

.home-visual-board-name {
    font-size: 13px;
    color: var(--home-text);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.home-visual-board-row.is-me .home-visual-board-name {
    font-weight: 700;
}

.home-visual-me-badge {
    background: var(--home-accent);
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    padding: 1px 5px;
    border-radius: 3px;
}

.home-visual-trend {
    text-align: right;
    font-size: 12px;
    font-weight: 700;
}

.home-visual-trend.is-up {
    color: #34D399;
}

.home-visual-trend.is-down {
    color: #FBBF24;
}

.home-visual-trend.is-flat {
    color: var(--home-muted);
}

.home-visual-board-score {
    text-align: right;
    font-size: 14px;
    font-weight: 800;
    color: #fff;
}

/* ── FAQ ───────────────────────────────────────────── */
.home-faq {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.home-faq-item {
    text-align: left;
    padding: 18px 22px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: #fff;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.15s;
    width: 100%;
}

.home-faq-item.is-open {
    background: rgba(225, 29, 72, 0.06);
    border-color: rgba(225, 29, 72, 0.25);
}

.home-faq-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.home-faq-q {
    font-size: 15px;
    font-weight: 700;
}

.home-faq-toggle {
    font-size: 18px;
    color: var(--home-dim);
    font-weight: 600;
}

.home-faq-item.is-open .home-faq-toggle {
    color: var(--home-accent);
}

.home-faq-a {
    margin-top: 10px;
    font-size: 14px;
    color: var(--home-muted);
    line-height: 1.6;
    display: none;
}

.home-faq-item.is-open .home-faq-a {
    display: block;
}

/* ── Final CTA ─────────────────────────────────────── */
.home-final {
    position: relative;
    padding: 64px 48px;
    text-align: center;
    background: linear-gradient(135deg, var(--home-accent) 0%, #9F1239 100%);
    border-radius: 20px;
    overflow: hidden;
}

.home-final-bg {
    position: absolute;
    inset: 0;
    background-image: url("https://images.unsplash.com/photo-1577223625816-7546f13df25d?w=1600&auto=format&fit=crop");
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    mix-blend-mode: overlay;
}

.home-final-inner {
    position: relative;
}

.home-final h2 {
    font-size: 44px;
    font-weight: 800;
    color: #fff;
    margin: 0;
    letter-spacing: -1.2px;
    line-height: 1.1;
}

.home-final p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.85);
    max-width: 520px;
    margin: 16px auto 28px;
    line-height: 1.5;
}

.home-final .home-btn-final {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: var(--home-accent) !important;
    padding: 16px 32px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.home-final-note {
    margin-top: 16px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
}

/* ── Responsive ────────────────────────────────────── */
@media (max-width: 960px) {
    .home-hero h1 {
        font-size: 48px;
        letter-spacing: -1px;
    }

    .home-section,
    .home-stats {
        padding: 0 20px;
    }

    .home-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-feature-row {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .home-feature-row.is-reverse .home-feature-copy,
    .home-feature-row.is-reverse .home-feature-visual {
        order: initial;
    }

    .home-stats-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .home-stat {
        border-right: none;
    }

    .home-final h2 {
        font-size: 32px;
    }
}

@media (max-width: 560px) {
    .home-hero-inner {
        padding: 50px 20px;
    }

    .home-hero h1 {
        font-size: 38px;
    }

    .home-cta-meta {
        margin-left: 0;
    }

    .home-countdown {
        flex-wrap: wrap;
        gap: 10px;
        padding: 14px 16px;
    }

    .home-countdown-label {
        border-right: none;
        padding-right: 0;
        width: 100%;
    }

    .home-steps {
        grid-template-columns: 1fr;
    }
}
