/* ============================================
   SQWD Waitlist Alt — Immersive Centered
   ============================================ */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --green:         #aaff00;
    --green-dim:     rgba(170, 255, 0, 0.07);
    --green-mid:     rgba(170, 255, 0, 0.12);
    --green-border:  rgba(170, 255, 0, 0.18);
    --green-glow:    rgba(170, 255, 0, 0.12);
    --bg:            #080808;
    --surface:       #101010;
    --surface-2:     #181818;
    --border:        #1e1e1e;
    --border-2:      #2a2a2a;
    --text:          #efefef;
    --muted:         #5a5a5a;
    --muted-2:       #383838;
    --error:         #ff4545;
    --radius:        10px;
    --radius-lg:     16px;
    --radius-pill:   100px;
}

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

/* ============================================
   Grain
   ============================================ */

.grain {
    position: fixed;
    inset: 0;
    z-index: 950;
    pointer-events: none;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 256px 256px;
}

/* ============================================
   Cursor Glow
   ============================================ */

.cursor-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(170, 255, 0, 0.05) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
    will-change: transform;
}

/* ============================================
   Navigation
   ============================================ */

.nav {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    z-index: 100;
    padding: 1rem 2rem;
    background: transparent;
    border-radius: 100px;
    border: 1px solid transparent;
    transition:
        background 0.4s ease,
        border-color 0.4s ease,
        box-shadow 0.4s ease,
        backdrop-filter 0.4s ease;
}

.nav--scrolled {
    /* Liquid glass core */
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.06) 0%,
        rgba(8, 8, 8, 0.45) 50%,
        rgba(255, 255, 255, 0.03) 100%
    );
    backdrop-filter: blur(24px) saturate(180%) brightness(1.1);
    -webkit-backdrop-filter: blur(24px) saturate(180%) brightness(1.1);

    /* Border: top-left catch light, rest subtle green */
    border-color: rgba(255, 255, 255, 0.1);
    border-top-color: rgba(255, 255, 255, 0.18);

    /* Layered shadows: inner highlight + outer depth */
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2),
        0 8px 32px rgba(0, 0, 0, 0.5),
        0 2px 8px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(170, 255, 0, 0.04);
}

.nav-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.nav-logo-img {
    height: 34px;
    width: 34px;
    object-fit: contain;
    border-radius: 8px;
    mix-blend-mode: screen;
}

.nav-logo-text {
    font-family: 'Poppins', sans-serif;
    font-size: 1.75rem;
    color: var(--green);
    letter-spacing: 0.1em;
    line-height: 1;
}

.nav-pill {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--green);
    background: var(--green-dim);
    border: 1px solid var(--green-border);
    padding: 0.375rem 0.875rem;
    border-radius: var(--radius-pill);
}

.pill-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green);
    animation: blink 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes blink {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(170, 255, 0, 0.6); }
    50%       { opacity: 0.5; box-shadow: 0 0 0 6px rgba(170, 255, 0, 0); }
}

/* ============================================
   Hero
   ============================================ */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 9rem 2rem 7rem;
    text-align: center;
}

/* ── Basketball court background ── */
.court-container {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    /* Default illumination spot to center until mouse enters */
    --lmx: 50%;
    --lmy: 50%;
}

.court {
    position: absolute;
    width: 100%;
    height: 100%;
}

/* Dim layer — always-visible ghost lines */
.court--dim {
    color: rgba(170, 255, 0, 0.055);
}

/* Bright layer — only revealed where the cursor glows */
.court--bright {
    color: rgba(170, 255, 0, 0.52);
    mask-image: radial-gradient(
        circle 440px at var(--lmx) var(--lmy),
        black 0%,
        black 15%,
        transparent 70%
    );
    -webkit-mask-image: radial-gradient(
        circle 440px at var(--lmx) var(--lmy),
        black 0%,
        black 15%,
        transparent 70%
    );
    /* Start with no illumination until mouse moves in */
    opacity: 0;
    transition: opacity 0.4s ease;
}

.court-container:hover .court--bright,
.court-container.court--active .court--bright {
    opacity: 1;
}

/* ── Diagonal slash accent ── */
.slash {
    position: absolute;
    bottom: 22%;
    left: -20%;
    right: -20%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(170, 255, 0, 0.06) 15%,
        rgba(170, 255, 0, 0.18) 50%,
        rgba(170, 255, 0, 0.06) 85%,
        transparent 100%
    );
    transform: rotate(-12deg);
    transform-origin: center;
    pointer-events: none;
    z-index: 0;
}

/* ── Hero content ── */
.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    max-width: 920px;
    width: 100%;
}

/* ── Overline ── */
.overline {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    animation: fadeUp 0.6s ease both;
    animation-delay: 0s;
}

.overline-tag {
    background: var(--green-dim);
    border: 1px solid var(--green-border);
    color: var(--green);
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 0.175rem 0.55rem;
    border-radius: 4px;
    text-transform: uppercase;
}

/* ── Hero title ── */
.hero-title {
    font-family: 'bebas neue', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 0.88;
    letter-spacing: -0.05em; 
    gap: 0.05em;
}

.title-line {
    display: block;
    overflow: hidden;
    padding: 0.05em 0.1em 0.1em;

}

.title-line--1 {
    font-size: clamp(4.5rem, 11vw, 9.5rem);
    color: var(--text);

}

.title-line--2 {
    font-size: clamp(6rem, 16vw, 14rem);
    color: var(--green);
    text-shadow: 0 0 100px rgba(170, 255, 0, 0.05);
   


}

.title-line--3 {
    font-size: clamp(3.25rem, 7.5vw, 6.5rem);
    color: var(--text);
    opacity: 1;

}

.title-word {
    display: inline-block;
    transform: translateY(140%);
    animation: revealLine 0.95s cubic-bezier(0.16, 1, 0.3, 1) forwards;

}

.title-word + .title-word { margin-left: 0.2em; }

.title-period {
    color: var(--green);
}

/* Order: Play Together. (1st), SQWD (2nd), Stay Together. (3rd) */
.title-line--1 .title-word:nth-child(1) { animation-delay: 0.08s; }
.title-line--1 .title-word:nth-child(2) { animation-delay: 0.16s; }
.title-line--2 .title-word              { animation-delay: 0.28s; }
.title-line--3 .title-word:nth-child(1) { animation-delay: 0.36s; }
.title-line--3 .title-word:nth-child(2) { animation-delay: 0.44s; }

@keyframes revealLine {
    to { transform: translateY(0); }
}

/* ── Hero sub ── */
.hero-sub {
    font-size: 1.0625rem;
    color: var(--muted);
    line-height: 1.78;
    max-width: 480px;
    animation: fadeUp 0.7s ease both;
    animation-delay: 0.55s;
}

/* ============================================
   Form — Horizontal Pill
   ============================================ */

.waitlist-form {
    width: 100%;
    max-width: 700px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    animation: fadeUp 0.7s ease both;
    animation-delay: 0.65s;
}

.form-pill {
    display: flex;
    align-items: center;
    width: 100%;
    background: rgba(14, 14, 14, 0.92);
    border: 1px solid var(--green-border);
    border-radius: var(--radius-pill);
    padding: 0.4rem;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow:
        0 0 0 1px rgba(170, 255, 0, 0.05),
        0 24px 64px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.form-pill .input-wrap {
    flex: 1;
    min-width: 0;
    position: relative;
}

.form-pill .input-wrap input {
    background: transparent;
    border: none;
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9375rem;
    font-weight: 400;
    padding: 0.875rem 1.25rem;
    outline: none;
    width: 100%;
}

.form-pill .input-wrap input::placeholder {
    color: var(--muted);
}

/* Remove browser autofill background entirely — keep input transparent */
.form-pill .input-wrap input:-webkit-autofill,
.form-pill .input-wrap input:-webkit-autofill:hover,
.form-pill .input-wrap input:-webkit-autofill:focus,
.form-pill .input-wrap input:-webkit-autofill:active {
    -webkit-text-fill-color: var(--text) !important;
    caret-color: var(--text);
    transition: background-color 5000s ease-in-out 0s;
}

.pill-divider {
    width: 1px;
    height: 22px;
    background: var(--border-2);
    flex-shrink: 0;
}

.field-error {
    position: absolute;
    bottom: -1.75rem;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    font-size: 0.72rem;
    color: var(--error);
    font-weight: 500;
    white-space: nowrap;
    pointer-events: none;
    text-align: center;
}

/* ── CTA button (inside pill) ── */
.cta-btn {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--green);
    color: #000;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.125rem;
    letter-spacing: 0.08em;
    border: none;
    border-radius: var(--radius-pill);
    padding: 0.875rem 1.75rem;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
    animation: breatheGlow 3.5s ease-in-out infinite;
}

.cta-btn:hover:not(:disabled) {
    transform: scale(1.04);
    box-shadow: 0 8px 32px rgba(170, 255, 0, 0.32);
    animation: none;
}

.cta-btn:active:not(:disabled) {
    transform: scale(0.99);
}

.cta-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    animation: none;
}

@keyframes breatheGlow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(170, 255, 0, 0); }
    50%       { box-shadow: 0 0 22px 4px rgba(170, 255, 0, 0.13); }
}

.btn-arrow {
    font-size: 0.9rem;
    transition: transform 0.2s ease;
}

.cta-btn:hover .btn-arrow { transform: translateX(4px); }

.btn-loader { display: none; position: absolute; }

.cta-btn.loading .btn-text,
.cta-btn.loading .btn-arrow { opacity: 0; }
.cta-btn.loading .btn-loader { display: block; }

.spinner {
    width: 20px;
    height: 20px;
    animation: rotate 1s linear infinite;
}

.spinner .path {
    stroke: #000;
    stroke-linecap: round;
    stroke-dasharray: 90, 150;
    stroke-dashoffset: 0;
    animation: dash 1.5s ease-in-out infinite;
}

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

@keyframes dash {
    0%   { stroke-dasharray: 1, 150;  stroke-dashoffset: 0;    }
    50%  { stroke-dasharray: 90, 150; stroke-dashoffset: -35;  }
    100% { stroke-dasharray: 90, 150; stroke-dashoffset: -124; }
}

/* ── Toast messages ── */
.toast {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.0625rem;
    border-radius: var(--radius);
    font-size: 0.9375rem;
    font-weight: 500;
    animation: fadeUp 0.3s ease;
}

.toast--success {
    background: rgba(170, 255, 0, 0.07);
    border: 1px solid rgba(170, 255, 0, 0.2);
    color: var(--green);
}

.toast--error {
    background: rgba(255, 69, 69, 0.07);
    border: 1px solid rgba(255, 69, 69, 0.18);
    color: var(--error);
}

.toast-icon { width: 17px; height: 17px; flex-shrink: 0; }

/* ── Hero meta / capacity ── */
.hero-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.875rem;
    animation: fadeUp 0.7s ease both;
    animation-delay: 0.82s;
    margin-top: 0.25rem;
}

.meta-bar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.8125rem;
    color: var(--muted);
    font-weight: 500;
}

.meta-num {
    color: var(--green);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.125rem;
    letter-spacing: 0.04em;
}

.meta-dot { color: var(--muted-2); }

.meta-free { color: var(--muted); }

.capacity-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    width: 260px;
}

.capacity-track {
    width: 100%;
    height: 2px;
    background: var(--border-2);
    border-radius: var(--radius-pill);
    overflow: hidden;
}

.capacity-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, rgba(170, 255, 0, 0.5) 0%, var(--green) 100%);
    border-radius: var(--radius-pill);
    transition: width 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.capacity-label {
    font-size: 0.6875rem;
    color: var(--muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 500;
}

/* ============================================
   Floating Sport Pins
   ============================================ */

.pins {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.pin {
    position: absolute;
    background: var(--surface-2);
    border: 1px solid var(--border-2);
    border-radius: var(--radius-pill);
    padding: 0.4rem 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    white-space: nowrap;
    opacity: 0;
    animation: pinFloat 8s ease-in-out infinite;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
}

.pin-icon {
    font-size: 1.125rem;
    line-height: 1;
    width: 1em;
    height: 1em;
    color: var(--green);
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.pin--1 { top: 22%;  left: 6%;    animation-delay: 0.6s;  animation-duration: 7s;   }
.pin--2 { top: 30%;  right: 5%;   animation-delay: 1.4s;  animation-duration: 8.5s; }
.pin--3 { top: 62%;  left: 4%;    animation-delay: 2.2s;  animation-duration: 7.5s; }
.pin--4 { top: 52%;  right: 7%;   animation-delay: 0.9s;  animation-duration: 9s;   }
.pin--5 { top: 14%;  right: 11%;  animation-delay: 1.9s;  animation-duration: 8s;   }
.pin--6 { top: 74%;  right: 4%;   animation-delay: 1.2s;  animation-duration: 7s;   }

.cta-pin--1 { top: 18%;  left: 5%;   animation-delay: 0.3s;  animation-duration: 7.5s; }
.cta-pin--2 { top: 68%;  left: 7%;   animation-delay: 1.8s;  animation-duration: 8.5s; }
.cta-pin--3 { top: 22%;  right: 5%;  animation-delay: 1.0s;  animation-duration: 8s;   }
.cta-pin--4 { top: 62%;  right: 6%;  animation-delay: 2.3s;  animation-duration: 7s;   }

@keyframes pinFloat {
    0%        { opacity: 0; transform: translateY(14px) scale(0.92); }
    12%       { opacity: 1; transform: translateY(0px)  scale(1); }
    50%       { transform: translateY(-10px) scale(1); }
    88%       { opacity: 1; transform: translateY(4px) scale(1); }
    100%      { opacity: 0; transform: translateY(14px) scale(0.92); }
}

/* ============================================
   Sports Marquee (Dual Direction)
   ============================================ */

.marquee-wrap {
    width: 100%;
    overflow: hidden;
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.marquee {
    overflow: hidden;
    padding: 0.8rem 0;
}

.marquee + .marquee {
    border-top: 1px solid var(--border);
}

.marquee-track {
    display: flex;
    align-items: center;
    gap: 2rem;
    width: max-content;
    padding: 0 1rem;
}

.marquee--fwd .marquee-track {
    animation: marqueeFwd 32s linear infinite;
}

.marquee--rev .marquee-track {
    animation: marqueeRev 26s linear infinite;
}

.marquee-track .sport-name {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 0.16em;
    white-space: nowrap;
    color: var(--green);
}

.marquee-track .marquee-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--muted-2);
    flex-shrink: 0;
    display: inline-block;
}

@keyframes marqueeFwd {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

@keyframes marqueeRev {
    from { transform: translateX(-50%); }
    to   { transform: translateX(0); }
}

/* ============================================
   How It Works
   ============================================ */

.section-how {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 6rem 3rem;
}

.section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.section-label {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 3.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.section-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-2);
}

.how-grid {
    display: grid;
    grid-template-columns: 1fr 80px 1fr 80px 1fr;
    align-items: start;
}

/* Connector lines between steps */
.how-connector {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 3.25rem;
}

.how-connector::after {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    border-top: 1px dashed rgba(170, 255, 0, 0.2);
}

.how-step {
    padding: 0 1.5rem;
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.how-step:first-child { padding-left: 0; }
.how-step:last-child  { padding-right: 0; }

.how-step--1.how-step--visible { transition-delay: 0.05s; }
.how-step--2.how-step--visible { transition-delay: 0.22s; }
.how-step--3.how-step--visible { transition-delay: 0.39s; }

.how-step--visible {
    opacity: 1;
    transform: translateY(0);
}

.step-num {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 5.5rem;
    line-height: 1;
    color: rgba(170, 255, 0, 0.11);
    letter-spacing: -0.02em;
    margin-bottom: 0.375rem;
    user-select: none;
}

.step-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.75rem;
    color: var(--text);
    letter-spacing: 0.04em;
    margin-bottom: 0.75rem;
    line-height: 1;
}

.step-desc {
    font-size: 0.9375rem;
    color: var(--muted);
    line-height: 1.72;
}

/* ============================================
   Stats Strip
   ============================================ */

.section-stats {
    background: var(--bg);
    border-bottom: 1px solid var(--border);
}

.stats-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: stretch;
}

.stat-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 3.5rem 2rem;
    text-align: center;
    transition: background 0.2s ease;
}

.stat-item:hover {
    background: rgba(170, 255, 0, 0.02);
}

.stat-divider {
    width: 1px;
    background: var(--border);
    flex-shrink: 0;
    margin: 1.5rem 0;
}

.stat-num {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3.75rem;
    color: var(--green);
    letter-spacing: 0.03em;
    line-height: 1;
}

.stat-label {
    font-size: 0.6875rem;
    font-weight: 500;
    color: var(--muted);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* ============================================
   Bottom CTA
   ============================================ */

.section-cta {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 8rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Subtle ambient glow behind the CTA */
.section-cta::before {
    content: '';
    position: absolute;
    top: -10%;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 500px;
    background: radial-gradient(ellipse, rgba(170, 255, 0, 0.04) 0%, transparent 68%);
    pointer-events: none;
}

.cta-inner {
    max-width: 680px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.75rem;
}

.cta-overline {
    animation: fadeUp 0.5s ease both;
}

.cta-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3rem, 7vw, 6.5rem);
    line-height: 0.9;
    letter-spacing: 0.02em;
    color: var(--text);
    animation: fadeUp 0.6s ease both;
    animation-delay: 0.08s;
}

.cta-sub {
    font-size: 1rem;
    color: var(--muted);
    line-height: 1.7;
    animation: fadeUp 0.6s ease both;
    animation-delay: 0.16s;
}

/* Bottom form */
.cta-form {
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    animation: fadeUp 0.6s ease both;
    animation-delay: 0.24s;
}

.cta-form-row {
    display: flex;
    align-items: center;
    background: rgba(14, 14, 14, 0.92);
    border: 1px solid var(--green-border);
    border-radius: var(--radius-pill);
    padding: 0.4rem;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow:
        0 0 0 1px rgba(170, 255, 0, 0.04),
        0 16px 48px rgba(0, 0, 0, 0.4);
}

.cta-form-row input {
    flex: 1;
    min-width: 0;
    background: transparent;
    border: none;
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9375rem;
    padding: 0.875rem 1.25rem;
    outline: none;
}

.cta-form-row input::placeholder { color: var(--muted); }

.cta-form-row input:-webkit-autofill,
.cta-form-row input:-webkit-autofill:hover,
.cta-form-row input:-webkit-autofill:focus,
.cta-form-row input:-webkit-autofill:active {
    -webkit-text-fill-color: var(--text) !important;
    caret-color: var(--text);
    transition: background-color 5000s ease-in-out 0s;
}

.cta-btn-bottom {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--green);
    color: #000;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.0625rem;
    letter-spacing: 0.08em;
    border: none;
    border-radius: var(--radius-pill);
    padding: 0.875rem 1.625rem;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.cta-btn-bottom:hover {
    transform: scale(1.04);
    box-shadow: 0 8px 28px rgba(170, 255, 0, 0.28);
}

.cta-btn-bottom:active {
    transform: scale(0.99);
}

.btn-bottom-arrow {
    font-size: 0.875rem;
    transition: transform 0.2s ease;
}

.cta-btn-bottom:hover .btn-bottom-arrow { transform: translateX(3px); }

.bottom-toast {
    padding: 0.75rem 1.125rem;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 500;
    text-align: center;
    animation: fadeUp 0.3s ease;
}

.bottom-toast--success {
    background: rgba(170, 255, 0, 0.07);
    border: 1px solid rgba(170, 255, 0, 0.2);
    color: var(--green);
}

.bottom-toast--error {
    background: rgba(255, 69, 69, 0.07);
    border: 1px solid rgba(255, 69, 69, 0.18);
    color: var(--error);
}

/* ============================================
   Footer
   ============================================ */

.footer {
    border-top: 1px solid var(--border);
    padding: 3.5rem 2rem;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    text-align: center;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.footer-logo-img {
    height: 52px;
    width: 52px;
    object-fit: contain;
    border-radius: 10px;
    mix-blend-mode: screen;
    opacity: 0.7;
}

.footer-logo-text {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    color: var(--muted);
    letter-spacing: 0em;
}

.footer-tagline {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--muted-2);
    font-style: italic;
    letter-spacing: 0.02em;
}

.footer-copy {
    font-size: 0.75rem;
    color: var(--muted-2);
}

/* ============================================
   Live Notification
   ============================================ */

.live-notif {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    z-index: 500;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--surface-2);
    border: 1px solid var(--border-2);
    border-radius: var(--radius-lg);
    padding: 0.875rem 1.125rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
    transform: translateY(20px);
    opacity: 0;
    transition:
        transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.4s ease;
    max-width: 280px;
}

.live-notif.notif--show {
    transform: translateY(0);
    opacity: 1;
}

.notif-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--green-dim);
    border: 1px solid var(--green-border);
    color: var(--green);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.notif-text {
    font-size: 0.8125rem;
    color: var(--muted);
    line-height: 1.4;
}

.notif-text strong {
    color: var(--text);
    font-weight: 700;
}

.notif-sport-icon {
    font-size: 0.875rem;
    color: var(--green);
    margin-right: 0.2rem;
    vertical-align: middle;
}

/* ============================================
   Shared Animations
   ============================================ */

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 1024px) {
    .how-grid {
        grid-template-columns: 1fr 60px 1fr 60px 1fr;
    }
    .how-step { padding: 0 1rem; }
}

@media (max-width: 860px) {
    .how-grid {
        display: flex;
        flex-direction: column;
        gap: 2.5rem;
    }
    .how-connector { display: none; }
    .how-step { padding: 0; }
    .how-step:first-child,
    .how-step:last-child { padding: 0; }
    .section-how { padding: 4.5rem 1.75rem; }
}

@media (max-width: 768px) {
    .hero { padding: 7rem 1.5rem 5.5rem; }
    .nav  { padding: 0.875rem 1.25rem; width: 94%; }

    /* Stack form pill vertically */
    .form-pill {
        flex-direction: column;
        border-radius: var(--radius-lg);
        padding: 0.75rem;
        gap: 0.5rem;
        align-items: stretch;
    }

    .form-pill .input-wrap {
        width: 100%;
    }

    .form-pill .input-wrap input {
        padding: 0.75rem 1rem;
    }

    .pill-divider {
        width: 100%;
        height: 1px;
    }

    .cta-btn {
        width: 100%;
        justify-content: center;
        border-radius: var(--radius);
        padding: 1rem;
        animation: none;
    }

    .field-error {
        position: static;
        padding: 0 0.25rem;
    }

    /* CTA bottom form */
    .cta-form-row {
        flex-direction: column;
        border-radius: var(--radius-lg);
        padding: 0.75rem;
        gap: 0.5rem;
        align-items: stretch;
    }
    .cta-form-row input {
        padding: 0.75rem 1rem;
    }
    .cta-btn-bottom {
        width: 100%;
        justify-content: center;
        border-radius: var(--radius);
    }

    /* Stats */
    .stats-inner {
        flex-wrap: wrap;
    }
    .stat-item { min-width: 50%; flex: none; }
    .stat-divider { display: none; }

    /* Hide most pins on mobile */
    .pin--3, .pin--4, .pin--5, .pin--6 { display: none; }
    .pin--1 { left: 2%; }
    .pin--2 { right: 2%; }

    .section-cta { padding: 5.5rem 1.5rem; }
}

@media (max-width: 480px) {
    .hero { padding: 6rem 1.25rem 5rem; }
    .hero-sub { font-size: 1rem; }
    .pins { display: none; }
    .stat-item { min-width: 100%; }
    .nav-pill { display: none; }
}

/* ============================================
   Accessibility
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .title-word {
        transform: none !important;
    }

    .hero-sub, .overline, .hero-meta, .waitlist-form {
        opacity: 1 !important;
    }

    .cursor-glow { display: none; }
    .court--bright { mask-image: none !important; -webkit-mask-image: none !important; opacity: 0.25 !important; }
    .pin { animation: none !important; opacity: 0.7; }
}

:focus-visible {
    outline: 2px solid var(--green);
    outline-offset: 3px;
    border-radius: 4px;
}
