html {
    scroll-behavior: smooth;
}

.landing-page {
    background:
        radial-gradient(circle at 15% 20%, rgba(56, 189, 248, 0.18), transparent 28%),
        radial-gradient(circle at 85% 16%, rgba(34, 197, 94, 0.14), transparent 24%),
        linear-gradient(180deg, #050d22 0%, #081127 40%, #0f172a 100%);
    overflow-x: hidden;
}

.landing-shell {
    position: relative;
    min-height: 100vh;
}

.landing-bg {
    position: fixed;
    pointer-events: none;
    z-index: 0;
}

.landing-bg-one,
.landing-bg-two {
    width: 520px;
    height: 520px;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.45;
}

.landing-bg-one {
    top: -120px;
    right: -120px;
    background: rgba(56, 189, 248, 0.18);
}

.landing-bg-two {
    bottom: 10%;
    left: -160px;
    background: rgba(34, 197, 94, 0.14);
}

.landing-grid {
    inset: 0;
    background-image:
        linear-gradient(rgba(148, 163, 184, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.05) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 92%);
}

.landing-header,
main,
.landing-footer {
    position: relative;
    z-index: 1;
}

.landing-header {
    position: sticky;
    top: 0;
    padding: 18px 24px 0;
    z-index: 20;
}

.landing-nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 18px;
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 20px;
    background: rgba(6, 12, 30, 0.72);
    backdrop-filter: blur(18px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.landing-nav.is-scrolled {
    background: rgba(8, 17, 39, 0.92);
    border-color: rgba(56, 189, 248, 0.18);
    box-shadow: 0 18px 40px rgba(2, 6, 23, 0.35);
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #f8fafc;
    text-decoration: none;
}

.brand-mark__icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.18), rgba(34, 197, 94, 0.22));
    border: 1px solid rgba(56, 189, 248, 0.22);
    color: #67e8f9;
}

.brand-mark__text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-mark__text strong {
    font-size: 1rem;
    letter-spacing: 0.01em;
}

.brand-mark__text small {
    color: var(--text-muted);
    font-size: 0.74rem;
}

.landing-menu {
    display: flex;
    align-items: center;
    gap: 10px;
}

.landing-menu a {
    color: #dbe7f7;
    text-decoration: none;
    font-weight: 600;
    padding: 10px 12px;
    border-radius: 12px;
    transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.landing-menu a:hover {
    background: rgba(56, 189, 248, 0.08);
    color: #f8fafc;
    transform: translateY(-1px);
}

.landing-nav-btn {
    padding: 11px 16px;
}

.nav-link-muted {
    color: var(--text-muted);
}

.landing-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    background: rgba(15, 23, 42, 0.9);
}

.landing-menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 0 auto;
    background: #e5e7eb;
    border-radius: 999px;
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 34px 24px 80px;
}

.hero-section {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 34px;
    align-items: center;
    min-height: calc(100vh - 120px);
    padding: 36px 0 24px;
}

.hero-copy h1 {
    font-size: clamp(2.8rem, 5vw, 5rem);
    line-height: 0.96;
    letter-spacing: -0.04em;
    max-width: 10.5ch;
    margin: 18px 0;
    color: #f8fafc;
}

.hero-lead {
    max-width: 620px;
    font-size: 1.08rem;
    color: #bfd0e5;
}

.hero-badge,
.hero-inline-note {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(56, 189, 248, 0.22);
    background: rgba(8, 17, 39, 0.72);
    color: #c7d7ec;
    font-size: 0.9rem;
}

.hero-badge i {
    color: #38bdf8;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 28px 0 18px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 14px;
    border: 1px solid transparent;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(135deg, #22c55e, #06b6d4);
    color: #06111f;
    box-shadow: 0 14px 30px rgba(34, 197, 94, 0.22);
}

.btn-secondary {
    background: rgba(15, 23, 42, 0.95);
    color: #eff6ff;
    border-color: rgba(148, 163, 184, 0.16);
}

.btn-ghost {
    background: rgba(56, 189, 248, 0.08);
    color: #dff7ff;
    border-color: rgba(56, 189, 248, 0.16);
}

.hero-btn {
    min-width: 170px;
}

.hero-visual {
    position: relative;
    min-height: 620px;
}

.hero-orbit {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(148, 163, 184, 0.08);
    pointer-events: none;
}

.hero-orbit-one {
    width: 460px;
    height: 460px;
    top: 34px;
    right: 10px;
}

.hero-orbit-two {
    width: 320px;
    height: 320px;
    top: 130px;
    left: 70px;
}

.mock-card {
    position: absolute;
    border-radius: 24px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    background: linear-gradient(180deg, rgba(18, 27, 48, 0.9), rgba(10, 17, 34, 0.96));
    backdrop-filter: blur(20px);
    box-shadow: 0 24px 60px rgba(2, 6, 23, 0.35);
    padding: 18px;
}

.floating-card {
    animation: landingFloat 7s ease-in-out infinite;
}

.floating-card-delay {
    animation-delay: 1.2s;
}

.floating-card-alt {
    animation-delay: 2.2s;
}

.mock-wallet {
    top: 14px;
    right: 30px;
    width: 250px;
}

.mock-leaderboard {
    top: 160px;
    left: 14px;
    width: 300px;
}

.mock-payout {
    right: 26px;
    bottom: 52px;
    width: 280px;
}

.mock-card__label {
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.76rem;
    margin-bottom: 10px;
}

.mock-card__value {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    color: #f8fafc;
    margin-bottom: 12px;
}

.mock-card__meta,
.mock-card__top,
.league-code-card__top,
.league-code-card__body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.mock-card__meta {
    flex-wrap: wrap;
    color: #cbd5e1;
    font-size: 0.8rem;
}

.mock-card__sub {
    color: var(--text-muted);
    font-size: 0.82rem;
}

.live-pill {
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(245, 158, 11, 0.16);
    border: 1px solid rgba(245, 158, 11, 0.32);
    color: #fcd34d;
    font-size: 0.74rem;
    font-weight: 800;
}

.leaderboard-list {
    margin-top: 16px;
    display: grid;
    gap: 10px;
}

.leaderboard-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.7);
    color: #dbe7f7;
}

.leaderboard-row--active {
    border: 1px solid rgba(56, 189, 248, 0.28);
    background: linear-gradient(90deg, rgba(56, 189, 248, 0.12), rgba(34, 197, 94, 0.1));
}

.winner-block {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.winner-block__avatar {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.22), rgba(34, 197, 94, 0.22));
    color: #f8fafc;
    font-weight: 800;
}

.winner-block small,
.payout-stat span {
    color: var(--text-muted);
}

.payout-stat {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
}

.success-text {
    color: #86efac;
}

.stats-strip,
.feature-grid,
.timeline-grid,
.trust-grid {
    display: grid;
    gap: 18px;
}

.stats-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 18px 0 64px;
}

.stat-chip {
    padding: 20px;
    border-radius: 22px;
    border: 1px solid rgba(148, 163, 184, 0.12);
    background: rgba(10, 17, 34, 0.74);
    backdrop-filter: blur(14px);
}

.stat-chip small {
    display: block;
    color: var(--text-muted);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.74rem;
}

.stat-chip strong {
    display: block;
    font-size: 2rem;
    color: #f8fafc;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-chip span {
    color: #bfd0e5;
    font-size: 0.92rem;
}

.content-section {
    padding: 46px 0;
}

.section-heading {
    max-width: 720px;
    margin-bottom: 28px;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: #67e8f9;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
    font-weight: 700;
}

.section-heading h2 {
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
    color: #f8fafc;
}

.section-heading p {
    color: #bfd0e5;
    font-size: 1rem;
}

.feature-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card,
.timeline-step,
.trust-card,
.league-showcase__panel,
.final-cta {
    border-radius: 24px;
    border: 1px solid rgba(148, 163, 184, 0.12);
    background: linear-gradient(180deg, rgba(14, 22, 40, 0.92), rgba(9, 16, 31, 0.98));
    box-shadow: 0 22px 50px rgba(2, 6, 23, 0.25);
}

.feature-card,
.timeline-step,
.trust-card {
    padding: 22px;
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.feature-card:hover,
.timeline-step:hover,
.trust-card:hover,
.league-showcase__panel:hover {
    transform: translateY(-4px);
    border-color: rgba(56, 189, 248, 0.2);
    box-shadow: 0 26px 60px rgba(2, 6, 23, 0.35);
}

.feature-card i,
.trust-card i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    margin-bottom: 14px;
    background: rgba(56, 189, 248, 0.12);
    color: #67e8f9;
}

.feature-card h3,
.timeline-step h3,
.trust-card h3,
.league-showcase__panel h3 {
    color: #f8fafc;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.feature-card p,
.timeline-step p,
.trust-card p,
.league-showcase__panel p {
    color: #b8c7da;
}

.timeline-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.timeline-step__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 58px;
    padding: 6px 12px;
    border-radius: 999px;
    margin-bottom: 18px;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.22);
    color: #86efac;
    font-weight: 800;
}

.league-showcase {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 20px;
}

.league-showcase__panel {
    padding: 24px;
}

.league-showcase__panel--accent {
    background:
        radial-gradient(circle at top right, rgba(56, 189, 248, 0.18), transparent 34%),
        linear-gradient(180deg, rgba(14, 22, 40, 0.96), rgba(9, 16, 31, 1));
}

.league-showcase__header {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}

.landing-list {
    list-style: none;
    margin-top: 18px;
    display: grid;
    gap: 10px;
}

.landing-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #d7e5f8;
}

.landing-list i {
    color: #86efac;
}

.league-code-card {
    padding: 16px;
    border-radius: 20px;
    margin-bottom: 18px;
    background: rgba(8, 17, 39, 0.85);
    border: 1px solid rgba(56, 189, 248, 0.16);
}

.league-code-card__top {
    margin-bottom: 14px;
    color: #e2e8f0;
}

.league-code-card__body {
    align-items: stretch;
}

.league-code-card__body div {
    flex: 1;
    padding: 12px;
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.85);
}

.league-code-card__body small {
    display: block;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.league-code-card__body strong {
    color: #f8fafc;
    font-size: 1.1rem;
}

.trust-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.final-cta {
    margin-top: 34px;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    background:
        radial-gradient(circle at top right, rgba(34, 197, 94, 0.15), transparent 26%),
        radial-gradient(circle at bottom left, rgba(56, 189, 248, 0.13), transparent 28%),
        linear-gradient(180deg, rgba(11, 18, 34, 0.96), rgba(8, 15, 28, 1));
}

.final-cta__content {
    max-width: 620px;
}

.final-cta__content h2 {
    font-size: clamp(2rem, 3.6vw, 3.2rem);
    margin-bottom: 10px;
    line-height: 1.02;
}

.final-cta__content p {
    color: #bfd0e5;
}

.final-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.landing-footer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 24px 46px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    color: var(--text-muted);
}

.landing-footer__brand {
    max-width: 420px;
}

.landing-footer__brand strong {
    display: block;
    color: #f8fafc;
    margin-bottom: 6px;
}

.landing-footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.landing-footer__links a {
    color: #d0ddf0;
    text-decoration: none;
}

.reveal-on-scroll {
    opacity: 1;
    transform: translateY(0);
}

.js-enabled .reveal-on-scroll {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.js-enabled .reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

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

@media (max-width: 1100px) {
    .hero-section,
    .league-showcase,
    .final-cta {
        grid-template-columns: 1fr;
    }

    .feature-grid,
    .trust-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .timeline-grid,
    .stats-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-visual {
        min-height: 520px;
    }

    .mock-wallet {
        right: 10px;
    }
}

@media (max-width: 820px) {
    .landing-header {
        padding: 14px 16px 0;
    }

    main,
    .landing-footer {
        padding-left: 16px;
        padding-right: 16px;
    }

    .landing-nav {
        flex-wrap: wrap;
    }

    .landing-menu-toggle {
        display: inline-flex;
    }

    .landing-menu {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        padding-top: 6px;
    }

    .js-enabled .landing-menu {
        display: none;
    }

    .js-enabled .landing-menu.is-open {
        display: flex;
    }

    .landing-menu a,
    .landing-nav-btn {
        width: 100%;
    }

    .hero-copy h1 {
        max-width: 100%;
    }

    .hero-actions,
    .final-cta__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-btn {
        width: 100%;
    }

    .hero-visual {
        min-height: auto;
        display: grid;
        gap: 16px;
    }

    .mock-card,
    .hero-orbit {
        position: static;
    }

    .feature-grid,
    .timeline-grid,
    .trust-grid,
    .stats-strip {
        grid-template-columns: 1fr;
    }

    .league-code-card__body {
        flex-direction: column;
    }

    .landing-footer {
        flex-direction: column;
    }
}
