body {
  overflow-x: hidden;
}

/* ── HERO ── */
.hero {
  position: relative;
  background: var(--red);
  overflow: hidden;
  padding: 5rem 1.5rem 7rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-bg-text {
  position: absolute;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(140px, 28vw, 300px);
  color: rgba(255,255,255,0.035);
  letter-spacing: -0.04em;
  right: -1%;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  line-height: 1;
  user-select: none;
  white-space: nowrap;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 620px;
  width: 100%;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,0,0,0.2);
  color: var(--gold);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 14px 5px 10px;
  border-radius: 4px;
  margin-bottom: 1.75rem;
  animation: fadeUp 0.5s ease both;
}
.eyebrow-dot {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3.8rem, 11vw, 7rem);
  line-height: 0.9;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.5s 0.1s ease both;
}
.hero-title em {
  font-style: italic;
  color: var(--gold);
}

.hero-sub {
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
  max-width: 460px;
  margin: 0 auto 2.75rem;
  font-weight: 400;
  animation: fadeUp 0.5s 0.2s ease both;
}

/* ── FORM ── */
.form-wrap { width: 100%; max-width: 420px; margin: 0 auto; animation: fadeUp 0.5s 0.3s ease both; }

.form-row {
  display: flex;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.45);
}
.form-row input[type="email"] {
  flex: 1;
  min-width: 0;
  padding: 1rem 1.1rem;
  font-size: 1rem;
  font-family: var(--font-body);
  line-height: 1.2;
  border: none;
  outline: none;
  background: var(--white);
  color: var(--black);
}
.form-row input::placeholder { color: #bbb; }
.form-row button {
  padding: 1rem 1.4rem;
  background: var(--gold);
  color: var(--black);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, transform 0.1s;
}
.form-row button:hover { background: var(--gold-hover); }
.form-row button:active { transform: scale(0.98); }
.form-row button:disabled { background: #bbb; color: #888; cursor: default; }

.form-note { font-size: 0.82rem; color: rgba(255,255,255,0.65); margin-top: 0.75rem; text-align: center; }
.error-msg  { display: none; color: var(--gold); font-size: 0.8rem; margin-top: 0.5rem; text-align: left; }
.success-msg {
  display: none;
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 6px;
  padding: 1rem 1.25rem;
  text-align: center;
  backdrop-filter: blur(4px);
}
.success-msg strong {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.2rem;
}

/* ── SKEW BREAKS ── */
.skew-break {
  position: relative;
  height: 70px;
  overflow: hidden;
  background: var(--red);
}
.skew-break::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 100%;
  background: var(--off-white);
  clip-path: polygon(0 60%, 100% 0, 100% 100%, 0 100%);
}

.skew-break-dark {
  position: relative;
  height: 70px;
  overflow: hidden;
  background: var(--off-white);
}
.skew-break-dark::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0; height: 100%;
  background: var(--red);
  clip-path: polygon(0 60%, 100% 0, 100% 100%, 0 100%);
}

/* ── HOW IT WORKS ── */
.how-section {
  background: var(--off-white);
  color: var(--black);
  padding: 1rem 1.5rem 5rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.4rem;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 3.25rem);
  text-transform: uppercase;
  color: var(--black);
  letter-spacing: -0.02em;
  line-height: 1;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  max-width: 960px;
  margin: 0 auto;
}

.step-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05), 0 8px 32px rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 24px rgba(0,0,0,0.1), 0 16px 48px rgba(0,0,0,0.07);
}

.step-visual {
  background: var(--gray);
  padding: 2rem 1.5rem 1.75rem;
  min-height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.step-visual.has-img {
  padding: 0;
}
.step-visual.has-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.step-visual::before {
  content: attr(data-num);
  position: absolute;
  top: 6px; right: 10px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 4.5rem;
  color: rgba(0,0,0,0.05);
  line-height: 1;
  pointer-events: none;
}

/* Prediction card mock */
.mock-card {
  background: #f5f4f2;
  border-radius: 10px;
  padding: 0.9rem 1.4rem 0.9rem 1rem;
  width: 100%;
  max-width: 210px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  position: relative;
  overflow: hidden;
}
.mock-result-tab {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 8px;
}
.mock-matchday {
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--red);
  margin-bottom: 0.7rem;
}
.mock-match {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 0.5rem;
}
.mock-team { font-size: 0.72rem; font-weight: 600; color: #111; flex: 1; font-family: var(--font-body); }
.mock-score-ctrl { display: flex; align-items: center; gap: 4px; }
.mock-btn {
  width: 20px; height: 20px;
  border-radius: 4px;
  background: #f0f0f0;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700; color: #666;
}
.mock-score {
  font-family: var(--font-display);
  font-size: 1.2rem; font-weight: 900; color: #111;
  width: 20px; text-align: center;
}
.mock-win-tag {
  font-family: var(--font-display);
  font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  background: #dff0e6; color: #1a7a3d;
  padding: 2px 8px; border-radius: 3px;
  display: inline-block; margin-top: 0.25rem;
}

/* Ladder table mock */
.mock-table {
  width: 100%; max-width: 235px;
  border-radius: 8px; overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  font-size: 0.67rem;
}
.mock-thead {
  background: #f0efed;
  color: rgba(0,0,0,0.35);
  display: grid;
  grid-template-columns: 22px 1fr 28px auto;
  padding: 5px 8px; gap: 4px;
  font-family: var(--font-display);
  font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase;
  border-bottom: 1px solid #e4e2df;
}
.mock-trow {
  background: var(--white);
  color: #111;
  display: grid;
  grid-template-columns: 22px 1fr 28px auto;
  padding: 6px 8px; gap: 4px;
  border-top: 1px solid #f0f0f0;
  align-items: center;
}
.mock-trow.me { background: rgba(23,70,157,0.07); border-left: 3px solid var(--blue); }
.mock-r { font-family: var(--font-display); font-weight: 800; color: rgba(0,0,0,0.2); font-size: 0.72rem; }
.mock-r.top { color: var(--status-win); }
.mock-r.bot { color: #b91c1c; }
.mock-n { font-weight: 700; font-size: 0.68rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-p { text-align: right; font-weight: 800; font-variant-numeric: tabular-nums; font-family: var(--font-display); font-size: 0.85rem; }
.mock-form { display: flex; gap: 2px; }
.mock-fb { width: 9px; height: 9px; border-radius: 2px; background: #ddd; }
.mock-fb.g { background: var(--status-win); }
.mock-fb.y { background: #f5a623; }
.mock-fb.r { background: #b91c1c; }

/* Prize mock */
.mock-prize { text-align: center; }
.prize-icon {
  font-size: 3.5rem; line-height: 1; margin-bottom: 0.5rem;
  display: block;
  animation: float 3s ease-in-out infinite;
}
.prize-lbl {
  font-family: var(--font-display);
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: #999; margin-bottom: 0.3rem;
}
.prize-amt {
  font-family: var(--font-display);
  font-size: 2.25rem; font-weight: 900;
  color: var(--red); text-transform: uppercase;
  letter-spacing: -0.02em; line-height: 1;
}
.prize-sub { font-size: 0.7rem; color: #aaa; margin-top: 0.35rem; }

/* Step text */
.step-body { padding: 1.4rem; border-top: 1px solid #f2f2f2; flex: 1; }
.step-num-lbl {
  font-family: var(--font-display);
  font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--red); margin-bottom: 0.3rem;
}
.step-title {
  font-family: var(--font-display);
  font-size: 1.3rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: -0.01em;
  color: var(--black); margin-bottom: 0.5rem; line-height: 1.1;
}
.step-desc { font-family: var(--font-body); font-size: 0.84rem; color: #666; line-height: 1.6; }

/* ── BOTTOM CTA ── */
.bottom-cta {
  background: var(--red);
  padding: 5rem 1.5rem 5.5rem;
  text-align: center;
}
.cta-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.75rem, 8vw, 5rem);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.92;
  margin-bottom: 0.9rem;
}
.cta-title span { color: var(--gold); }
.cta-sub { font-size: 0.95rem; color: rgba(255,255,255,0.45); margin-bottom: 2.5rem; }
.bottom-cta .form-wrap { margin: 0 auto; }
.bottom-cta .form-row button { background: var(--gold); color: var(--black); }
.bottom-cta .form-row button:hover { background: var(--gold-hover); }

/* ── FOOTER ── */
footer { padding: 1.5rem 1rem; }

/* ── NAV SIGN IN BUTTON ── */
.nav-signin {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 900;
  font-style: italic;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 4px;
  transition: color 0.15s;
}
.nav-signin:hover { color: var(--gold); }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.75); }
}

/* ── STEP DOTS (mobile only) ── */
.scroll-dots { display: none; }

@media (max-width: 520px) {
  .scroll-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 1.25rem;
    padding-bottom: 0.25rem;
  }
  .scroll-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(0,0,0,0.12);
    transition: background 0.2s, transform 0.2s;
    flex-shrink: 0;
  }
  .scroll-dot.active {
    background: var(--red);
    transform: scale(1.3);
  }

  .form-row {
    flex-direction: column;
    overflow: visible;
    box-shadow: none;
    gap: 0.5rem;
  }
  .form-row input {
    width: 100%;
    border-radius: 6px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  }
  .form-row button {
    width: 100%;
    border-radius: 6px;
    padding: 1rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  }

  .how-section { padding: 1rem 0 4rem; }
  .section-header { padding: 0 1.5rem; }
  .steps {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 1.5rem;
    -webkit-overflow-scrolling: touch;
    gap: 1rem;
    padding: 0.25rem 1.5rem 1.25rem;
    max-width: none;
    margin: 0;
    scrollbar-width: none;
  }
  .steps::-webkit-scrollbar { display: none; }
  .step-card {
    flex: 0 0 72vw;
    max-width: 300px;
    scroll-snap-align: start;
  }

  .hero { padding: 4rem 1.25rem 6rem; }
}

@media (max-width: 480px) {
  .nav-links { display: flex !important; }
}
