/* ==========================================================================
   KIN PADEL LEAGUE — Budapest Open
   Design tokens: bold sport-fashion graphic system, "old money" color palette.
   Brand palette: burnt sienna + cream, with a muted-clay accent/descriptor.

   Token names are kept generic-by-role (the historic --green / --gold names
   still map to "primary dark" and "warm accent") so the whole component
   system carries over unchanged — only the values below moved to the new
   burnt-sienna world.
   ========================================================================== */

:root {
  /* Primary brand — burnt sienna. Dark sections, headings, focus, brand mark. */
  --green: #8A3E24;
  --green-dark: #5E2916;
  /* Warm accent — clay / sand. Fills, CTAs, active states on dark sienna
     (needs to sit LIGHTER than sienna to read, since hue alone can't carry
     warm-on-warm contrast the way gold-on-green once did). */
  --gold: #D9AC85;
  /* Lighter sand — accent TEXT on dark sienna (eyebrows, labels, prices). */
  --gold-light: #E7CBB0;
  /* Muted clay, darkened for AA (~5.5:1) — accent text/labels on cream. */
  --gold-ink: #8C5636;
  /* Deep brick — urgency + errors, redder & darker than the sienna sections
     it sits on so scarcity badges still pop against them. */
  --wine: #8A2A16;
  --cream: #F0E7D8;
  --cream-dim: #E4D9C6;
  /* Warm espresso near-black — richer with sienna/cream than a neutral black. */
  --black: #241611;
  /* Large calm surfaces — deep warm charcoal. The big dark sections (Schedule,
     Registration) use this so burnt sienna stays an ACCENT (prize card, order
     bar, badges) instead of becoming another full-screen field and diluting
     itself. Big areas dark & muted; accents bright. */
  --ink: #22150E;
  /* Cold "court" accent — the one athletic, non-warm signal in a hospitality
     palette. Used only in tiny doses (timing numbers, scarcity badge), never
     as a fill; ~1% of the surface, enough to sharpen the brand tone. */
  --volt: #C6F24E;
  --white: #FFFFFF;

  /* Two families, two jobs: Anton for bold graphic headlines/numbers,
     Inter for everything read as text (nav, body, labels, UI). */
  --font-display: "Anton", Impact, "Arial Narrow", sans-serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  --tracking-wide: 0.14em;
  --tracking-wider: 0.22em;

  --container: 1120px;
  --radius: 2px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--cream);
  color: var(--black);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.wrap {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--gold-ink);
  font-weight: 600;
  display: inline-block;
  margin-bottom: 16px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  color: var(--green);
}

section {
  position: relative;
}

.section-pad {
  padding: 96px 0;
}

@media (max-width: 720px) {
  .section-pad {
    padding: 64px 0;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  font-weight: 700;
  padding: 16px 32px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: var(--gold);
  color: var(--green-dark);
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border-color: var(--cream);
  color: var(--cream);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-block {
  width: 100%;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  /* Background swaps instantly on scroll — a transition here left the
     transparent header briefly overlapping hero content with no backing. */
  transition: padding 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  background: var(--cream);
  padding: 12px 0;
  box-shadow: 0 1px 0 rgba(36, 22, 17, 0.08);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-mark {
  display: flex;
  align-items: center;
  gap: 12px;
  /* The brand mark is monochrome; its two SVGs stroke with currentColor, so
     the whole mark recolors with the header state — cream over the dark hero,
     sienna once the header swaps to the cream bar. */
  color: var(--cream);
}

.site-header.scrolled .logo-mark {
  color: var(--green);
}

.logo-mark svg {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.wordmark {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 15px;
  letter-spacing: 0.04em;
  line-height: 1.15;
  color: var(--cream);
}

.site-header.scrolled .wordmark {
  color: var(--green);
}

.wordmark small {
  display: block;
  font-family: var(--font-sans);
  font-size: 9px;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-top: 3px;
}

.site-header.scrolled .wordmark small {
  color: var(--gold-ink);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.site-nav a {
  font-size: 12px;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  font-weight: 600;
  color: var(--cream);
  opacity: 0.85;
  transition: opacity 0.2s, color 0.2s;
}

.site-header.scrolled .site-nav a {
  color: var(--green);
}

.site-nav a:hover {
  opacity: 1;
  color: var(--gold);
}

.site-header.scrolled .site-nav a:hover {
  color: var(--gold-ink);
}

.nav-cta {
  display: inline-block;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  letter-spacing: var(--tracking-wide);
  font-weight: 700;
}

.lang-switch a {
  color: var(--cream);
  opacity: 0.55;
  transition: opacity 0.2s;
}

.site-header.scrolled .lang-switch a {
  color: var(--green);
}

.lang-switch a:hover {
  opacity: 1;
}

.lang-switch a.lang-current {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 3px;
  pointer-events: none;
}

.lang-switch .lang-sep {
  color: var(--cream);
  opacity: 0.3;
}

.site-header.scrolled .lang-switch .lang-sep {
  color: var(--green);
}

@media (max-width: 640px) {
  .site-nav a:not(.nav-cta) {
    display: none;
  }

  .site-nav .lang-switch a {
    display: inline;
  }

  .wordmark {
    font-size: 12px;
  }

  .wordmark small {
    display: none;
  }

  .logo-mark svg {
    width: 26px;
    height: 26px;
  }

  .nav-cta {
    padding: 10px 18px;
    font-size: 11px;
  }

  .lang-switch {
    font-size: 11px;
  }
}

/* ---------- Hero ---------- */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--cream);
  position: relative;
  overflow: hidden;
}

/* Background media layer. `url(...)` points at a real photo/frame that
   doesn't exist yet — missing images simply don't paint, so the gradient
   underneath keeps showing until a real file lands at that path. Drop a
   motion-blur action shot in at assets/img/hero/hero-01.jpg (see README)
   and this upgrades automatically, no CSS changes needed. */
.hero-media {
  position: absolute;
  inset: -6%;
  z-index: 0;
  background-image:
    url("../img/hero/hero-01.jpg"),
    radial-gradient(120% 120% at 15% 10%, var(--wine) 0%, var(--green-dark) 45%, var(--black) 100%);
  background-size: cover, cover;
  background-position: center 25%, center;
  background-repeat: no-repeat, no-repeat;
  animation: heroKenBurns 26s ease-in-out infinite alternate;
}

@keyframes heroKenBurns {
  from { transform: scale(1) translate3d(0, 0, 0); }
  to   { transform: scale(1.1) translate3d(-1.5%, -1%, 0); }
}

/* Duotone wash so the (currently) black & white reference photo reads as
   part of the brand palette rather than a plain grayscale stock cutout.
   Two blend layers, the classic duotone trick: multiply tints shadows/
   midtones, screen warms the highlights — a single color-blend layer reads
   as barely-there once most of the frame is dark. */
.hero-media-tint-shadow {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(200deg, var(--wine) 0%, var(--green-dark) 100%);
  mix-blend-mode: multiply;
  opacity: 0.75;
}

.hero-media-tint-highlight {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(120% 90% at 70% 20%, var(--gold-light) 0%, transparent 65%);
  mix-blend-mode: screen;
  opacity: 0.4;
}

.hero-motion-lines {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    repeating-linear-gradient(115deg, rgba(231, 203, 176, 0.10) 0px, rgba(231, 203, 176, 0.10) 2px, transparent 2px, transparent 140px),
    repeating-linear-gradient(115deg, rgba(240, 231, 216, 0.06) 0px, rgba(240, 231, 216, 0.06) 1px, transparent 1px, transparent 60px);
  mix-blend-mode: screen;
  animation: driftBlur 18s linear infinite;
}

@keyframes driftBlur {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-140px, 0, 0); }
}

.hero-media-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  /* Two scrims instead of any per-text plate: a left-to-right darkening so all
     the left-aligned copy (kicker, headline, meta) sits on a calm base while
     the photo stays open on the right, plus the original bottom gradient. Reads
     as an intentional cinematic vignette, not a highlight box behind the text. */
  background:
    linear-gradient(90deg, rgba(20, 13, 9, 0.62) 0%, rgba(20, 13, 9, 0.28) 42%, transparent 72%),
    linear-gradient(190deg, rgba(36, 22, 17, 0.12) 0%, rgba(36, 22, 17, 0.42) 55%, rgba(36, 22, 17, 0.72) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding-top: 120px;
  padding-bottom: 80px;
}

.hero-kicker {
  display: block;
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 24px;
}

.hero-headline {
  font-family: var(--font-display);
  text-transform: uppercase;
  color: var(--cream);
  font-size: clamp(44px, 7.5vw, 96px);
  line-height: 1.02;
  letter-spacing: 0.005em;
  margin-bottom: 20px;
  max-width: 780px;
}

.hero-sub {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(15px, 1.6vw, 18px);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 64px;
}

.hero-body {
  font-size: 16px;
  max-width: 480px;
  color: rgba(240, 231, 216, 0.82);
  margin-bottom: 44px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero-meta {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(240, 231, 216, 0.18);
  padding-top: 24px;
}

.hero-meta-item .label {
  display: block;
  font-size: 10px;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 6px;
}

/* Meta values in the brand condensed display face (like the prize card's big
   number), so the hero's key figures — 200,000 HUF, 22,000 HUF — carry weight
   instead of reading as neutral body text. */
.hero-meta-item .value {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 21px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--cream);
}

/* Only shown while the early-bird rate is active (main.js hides it once
   the discount ends) — the headline price alone doesn't say it's a
   temporary rate, so this states what it reverts to and when. */
.hero-meta-item .note {
  display: block;
  font-size: 11.5px;
  color: var(--gold-light);
  margin-top: 4px;
}

/* ---------- Partners marquee ---------- */

.partners-section {
  background: var(--black);
  padding: 40px 0 44px;
  overflow: hidden;
}

.partners-section .eyebrow {
  /* The default eyebrow tint (--gold-ink) is a dark clay for cream backgrounds;
     on this near-black strip it reads dark-on-dark. Use the light accent, as on
     the other dark sections, so the label is legible. */
  color: var(--gold-light);
  margin-bottom: 24px;
}

.marquee {
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 72px;
  width: max-content;
  animation: marqueeScroll 32s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
  }
}

.marquee-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 20px;
  color: rgba(240, 231, 216, 0.4);
  white-space: nowrap;
}

.marquee-item.host {
  color: var(--gold-light);
}

/* Every partner logo in the strip is normalized to one look: all sources are
   cream-tinted (SECTA's SVG fills, and the Cork / Ivanysh / Padel Budapest PNGs
   are all recolored cream-on-transparent), shown at a single height and opacity
   — so the row reads as one consistent set, not a jumble of colors and sizes. */
.marquee-item.logo {
  flex-direction: row;
  align-items: center;
}

.marquee-item.logo img,
.marquee-item.logo-host img {
  height: 30px;
  width: auto;
  display: block;
  opacity: 0.9;
  transition: opacity 0.2s ease;
}

.marquee-item.logo:hover img,
.marquee-item.logo-host:hover img {
  opacity: 1;
}

/* GEOS is an icon-over-wordmark mark (near-square), so at the shared 30px it
   reads much smaller than the wide wordmarks — a little extra height matches
   its optical weight to the rest of the row. */
.marquee-item.logo-geos img {
  height: 38px;
}

/* Host club (Padel Budapest) links out to the venue on Google Maps and keeps
   its "Host Club" caption beneath the mark. */
.marquee-item.logo-host {
  text-decoration: none;
}

.marquee-item.logo-host img {
  margin-bottom: 6px;
}

/* Host mentions in copy link out to the venue on Google Maps. Underlined in
   place so they read as links on both the dark hero and the light info /
   confirmation contexts; the hover tint is set per-context for contrast. */
.host-link {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.host-link:hover {
  color: var(--gold-ink);
}

.hero-meta .host-link:hover {
  color: var(--gold-light);
}

.marquee-item small {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(231, 203, 176, 0.6);
  margin-top: 4px;
}

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

/* ---------- Info section ---------- */

.info-section {
  background: var(--cream);
}

/* Headline sits full-width above the two-column grid — it needs the whole
   1120px container, not half of it, or "AMATEUR PADEL, PLAY LIKE A PRO"
   wraps and orphans "PRO" onto its own line. */
.info-header {
  margin-bottom: 8px;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  /* Prize card sizes to its content and top-aligns, rather than stretching to
     the fact-list height and leaving a dead band of terracotta below the copy. */
  align-items: start;
}

@media (max-width: 860px) {
  .info-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

.info-section h2 {
  font-size: clamp(32px, 4.5vw, 48px);
  margin-bottom: 24px;
}

.info-lede {
  font-size: 17px;
  color: rgba(36, 22, 17, 0.75);
  max-width: 480px;
  margin-bottom: 40px;
}

.fact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* Direct-child combinator, not a descendant one — the Included item nests
   its own <ul> of bullets in .value, and a plain ".fact-list li" would also
   grab those nested <li>s and force the outer grid/border styling onto
   them too. */
.fact-list > li {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(36, 22, 17, 0.1);
  align-items: baseline;
}

.fact-list .label {
  font-size: 11px;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--gold-ink);
  font-weight: 700;
}

/* Fact values in the brand condensed face (like the prize number and the hero
   meta), so the left column reads as part of the brand, not a utility table.
   The descriptions beneath stay in the body font. */
.fact-list .value {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-size: 20px;
  line-height: 1.15;
  color: var(--black);
}

.fact-list .value small {
  display: block;
  font-family: var(--font-sans);
  text-transform: none;
  letter-spacing: normal;
  color: rgba(36, 22, 17, 0.72);
  font-size: 13px;
  line-height: 1.5;
  margin-top: 6px;
}

/* No UI-dot bullets — they read as default list styling rather than design.
   Plain lines with generous spacing feel more editorial. The list also resets
   the font/casing it would otherwise inherit from the now-display .value. */
.included-list {
  list-style: none;
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.included-list li {
  font-family: var(--font-sans);
  text-transform: none;
  letter-spacing: normal;
  font-size: 13.5px;
  line-height: 1.4;
  color: rgba(36, 22, 17, 0.72);
}

/* Partner credit under the Included list (breakfast & drinks by Cork). */
.included-credit {
  display: block;
  font-family: var(--font-sans);
  text-transform: none;
  letter-spacing: normal;
  margin-top: 16px;
  font-size: 12.5px;
  color: rgba(36, 22, 17, 0.6);
}

/* Grid stretches this to match the fact-list column's height. With a single
   winner-takes-all prize, the card centers one oversized Anton number so the
   200,000 reads as the emotional hero of the section, not a line in a table. */
.prize-card {
  background: var(--green);
  color: var(--cream);
  padding: 44px;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
}

.prize-card h3 {
  color: var(--cream);
  font-size: 22px;
  margin-bottom: 6px;
}

.prize-card .sub {
  font-size: 13px;
  color: var(--gold-light);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.prize-card--single {
  /* Content flows from the top; the card no longer stretches (see .info-grid),
     so vertical centering would just reintroduce empty space. */
  gap: 4px;
}

.prize-hero {
  display: flex;
  flex-direction: column;
  margin: 24px 0;
}

.prize-hero-amount {
  font-family: var(--font-display);
  font-size: clamp(56px, 9vw, 104px);
  line-height: 0.95;
  color: var(--cream);
  letter-spacing: 0.005em;
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.prize-hero-amount .cur {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: var(--tracking-wide);
  color: var(--gold-light);
}

.prize-hero-label {
  margin-top: 16px;
  font-size: 12px;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold-light);
}

.prize-hero-note {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(240, 231, 216, 0.75);
  max-width: 340px;
}

/* ---------- Tournament day schedule ---------- */

.schedule-section {
  background: var(--ink);
  color: var(--cream);
}

.schedule-section .eyebrow {
  color: var(--gold-light);
}

.schedule-section h2 {
  color: var(--cream);
  font-size: clamp(32px, 4.5vw, 48px);
  margin-bottom: 16px;
}

.schedule-section .info-lede {
  color: rgba(240, 231, 216, 0.75);
  max-width: 520px;
}

.schedule-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  /* Top-align the guarantee card with the first schedule row instead of
     letting it stretch and float — the asymmetry then reads as deliberate. */
  align-items: start;
}

@media (max-width: 860px) {
  .schedule-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

.timeline {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.timeline li {
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(240, 231, 216, 0.12);
  align-items: baseline;
}

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

/* Hierarchy: the event is the answer the reader wants, so it's bright and a
   step larger; the time is reference data, so it's muted — the eye scans the
   programme, not the clock. (Lime is retired from here; it now lives on the
   single live element site-wide — the scarcity badge.) */
.timeline .time {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.01em;
  color: rgba(240, 231, 216, 0.5);
  white-space: nowrap;
}

.timeline .event {
  font-size: 16px;
  font-weight: 600;
  color: var(--cream);
}

/* Grid stretches this to match the timeline column's height — center the
   content block within that extra height rather than leaving it pinned to
   the top with dead space below (same fix as .prize-card, but centered
   since this is one cohesive stat + copy block, not independent rows to
   space out). */
.guarantee-card {
  background: var(--cream);
  color: var(--black);
  border-radius: var(--radius);
  padding: 44px;
  display: flex;
  flex-direction: column;
}

.guarantee-number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(56px, 7vw, 88px);
  color: var(--green);
  line-height: 1;
  margin-bottom: 8px;
}

.guarantee-label {
  display: block;
  font-size: 12px;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--gold-ink);
  font-weight: 700;
  margin-bottom: 24px;
}

.guarantee-copy {
  font-size: 14.5px;
  color: rgba(36, 22, 17, 0.72);
  line-height: 1.6;
  margin-bottom: 16px;
}

.guarantee-copy:last-child {
  margin-bottom: 0;
}

/* ---------- Registration ---------- */

.reg-section {
  background: var(--ink);
  color: var(--cream);
}

.reg-section .eyebrow {
  color: var(--gold-light);
}

.reg-section h2 {
  color: var(--cream);
  font-size: clamp(32px, 4.5vw, 48px);
  margin-bottom: 16px;
}

.reg-lede {
  color: rgba(240, 231, 216, 0.75);
  max-width: 560px;
  margin-bottom: 24px;
  font-size: 16px;
}

/* Two labeled stat items (matches the hero-meta label/value pattern used
   elsewhere) instead of a single run-on sentence with a middot — reads as
   two distinct, scannable facts rather than one line that's never quite
   short enough for one row or clean enough for two. */
.reg-banner {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  margin-bottom: 40px;
  padding: 20px 28px;
  background: rgba(217, 172, 133, 0.12);
  border: 1px solid rgba(217, 172, 133, 0.35);
  border-radius: var(--radius);
}

.reg-banner-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.reg-banner-item .label {
  font-size: 10px;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold-light);
}

.reg-banner-item .value {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--cream);
}

.reg-banner-divider {
  width: 1px;
  align-self: stretch;
  background: rgba(240, 231, 216, 0.2);
}

@media (max-width: 560px) {
  .reg-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .reg-banner-divider {
    display: none;
  }
}

/* ---------- Order-summary scarcity badge ---------- */
/* One open draw means one live count, shown on the order-summary spots line.
   Same three-tier urgency the category tabs used to carry: plain when there's
   room, a quiet accent at "medium" (<=80% of the 50-pair cap left), a solid
   pulsing badge at "low" (<=40% left) — the lever that moves registrations. */
.order-spots.medium {
  font-weight: 800;
  color: var(--gold-light);
}

/* Scarcity badge on the sienna order bar — the cold court accent again, so
   "Only X pairs left" reads as a sharp sport signal, not another warm chip. */
.order-spots.low {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink);
  background: var(--volt);
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius);
}

.order-spots.low::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink);
  flex-shrink: 0;
  animation: urgentPulse 1.6s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .order-spots.low::before {
    animation: none;
  }
}

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

.reg-form {
  background: var(--cream);
  color: var(--black);
  border-radius: var(--radius);
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

@media (max-width: 720px) {
  .reg-form {
    grid-template-columns: 1fr;
    padding: 28px;
  }
}

/* Player headings read as real section headers (brand display face, sienna),
   clearly heavier than the clay field labels, and the second one gets a divider
   line above it — so the form reads as two blocks, not one list of six fields. */
.reg-form .form-col-title {
  grid-column: 1 / -1;
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 400;
  margin-top: 22px;
  padding-top: 26px;
  border-top: 1px solid rgba(36, 22, 17, 0.14);
}

.reg-form .form-col-title:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field label {
  font-size: 12px;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: rgba(36, 22, 17, 0.6);
  font-weight: 600;
}

/* Full bordered box rather than an underline — reads as a more "solid",
   trustworthy field for a payment form, and the boundary is clearer at a
   glance than a thin bottom rule (particularly for older/lower-vision
   users). */
/* Fields belong to the warm palette: a warm off-white fill (a touch lighter
   than the cream card, not a cold white) and a muted-terracotta border rather
   than neutral grey. */
.field input,
.field select {
  border: 1.5px solid rgba(138, 62, 36, 0.32);
  border-radius: var(--radius);
  background: #FAF5EC;
  padding: 12px 14px;
  font-size: 16px;
  font-family: var(--font-sans);
  color: var(--black);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Placeholder clearly lighter than typed text, so an empty field never looks
   pre-filled. */
.field input::placeholder {
  color: rgba(36, 22, 17, 0.4);
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238A3E24' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(138, 62, 36, 0.12);
}

/* "(optional)" tag on a label — quiet, lowercase, distinct from the field name. */
.field label .optional {
  text-transform: lowercase;
  letter-spacing: 0;
  font-weight: 500;
  color: rgba(36, 22, 17, 0.45);
}

.field label .optional::before { content: "("; }
.field label .optional::after { content: ")"; }

/* Invalid state — set by the validator on submit, cleared as the user types. */
.field input.invalid {
  border-color: var(--wine);
}

.field input.invalid:focus {
  box-shadow: 0 0 0 3px rgba(138, 42, 22, 0.15);
}

.legal-check.invalid p {
  color: var(--wine);
}

.legal-check.invalid input {
  outline: 2px solid var(--wine);
  outline-offset: 2px;
}

.field.full {
  grid-column: 1 / -1;
}

/* Sub-label help text under an input. Sits in the .field flex column, so the
   8px column gap already spaces it — pull it back a touch so it reads as part
   of the field rather than as a separate block. */
.field .hint {
  margin: -3px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(36, 22, 17, 0.5);
}

.legal-check {
  grid-column: 1 / -1;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding-top: 16px;
  margin-top: 8px;
}

/* This authorises a 44,000 HUF charge — it deserves a real, brand-tinted target
   (22px, sienna accent), not a 16px system default, especially on mobile. */
.legal-check input {
  margin-top: 1px;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  accent-color: var(--green);
  cursor: pointer;
}

.legal-check p {
  font-size: 13px;
  color: rgba(36, 22, 17, 0.7);
  line-height: 1.6;
}

.legal-check a {
  color: var(--green);
  text-decoration: underline;
}

.order-summary {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 8px;
  background: var(--green);
  color: var(--cream);
  border-radius: var(--radius);
  padding: 22px 28px;
}

.order-summary-copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.order-summary-label {
  font-size: 11px;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 700;
}

.order-summary-value {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
}

.order-cat {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 22px;
  color: var(--gold-light);
}

.order-sep {
  color: rgba(240, 231, 216, 0.4);
  font-size: 18px;
}

.order-price {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.4vw, 34px);
  color: var(--cream);
  line-height: 1;
}

.order-suffix {
  font-size: 12px;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: rgba(240, 231, 216, 0.55);
}

.order-spots {
  font-size: 12px;
  font-weight: 700;
  color: var(--gold-light);
}

/* Trust signal placed directly under the CTA — before the decision, not after
   it — for an unfamiliar brand taking prepayment. */
.order-trust {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
}

.order-trust svg {
  flex-shrink: 0;
}

.form-note {
  grid-column: 1 / -1;
  font-size: 12px;
  color: rgba(36, 22, 17, 0.5);
}

/* Validation summary — a real alert, not a thin line of red text: tinted
   panel, brick border with an accent edge, a "!" badge, and a one-shot shake
   so it actually catches the eye when a submit is blocked. role="alert" on the
   element also makes screen readers announce it. */
.form-error {
  grid-column: 1 / -1;
  display: none;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(138, 42, 22, 0.10);
  border: 1px solid var(--wine);
  border-left-width: 4px;
  border-radius: var(--radius);
  color: var(--wine);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}

.form-error::before {
  content: "!";
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--wine);
  color: var(--cream);
  font-weight: 800;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-error.show {
  display: flex;
  animation: errShake 0.35s ease;
}

@keyframes errShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

@media (prefers-reduced-motion: reduce) {
  .form-error.show {
    animation: none;
  }
}

/* ---------- FAQ ---------- */

.faq-section {
  background: var(--cream);
}

.faq-section h2 {
  font-size: clamp(32px, 4.5vw, 48px);
  margin-bottom: 48px;
}

.faq-item {
  border-bottom: 1px solid rgba(36, 22, 17, 0.12);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 26px 0;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 17px;
  color: var(--black);
}

.faq-question .icon {
  font-family: var(--font-sans);
  font-size: 22px;
  color: var(--gold-ink);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.faq-item.open .faq-question .icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer-inner {
  padding-bottom: 26px;
  color: rgba(36, 22, 17, 0.7);
  font-size: 15px;
  max-width: 720px;
  line-height: 1.6;
}

/* ---------- Instagram / social ---------- */

.social-section {
  background: var(--black);
  color: var(--cream);
  text-align: center;
  padding: 80px 0;
}

.social-section .eyebrow {
  color: var(--gold);
}

.social-section h2 {
  color: var(--cream);
  font-size: clamp(28px, 4vw, 38px);
  margin-bottom: 28px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 14px;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  font-weight: 600;
  color: var(--cream);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 6px;
  transition: color 0.2s;
}

.social-link:hover {
  color: var(--gold);
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--black);
  color: rgba(240, 231, 216, 0.6);
  padding: 48px 0 32px;
  border-top: 1px solid rgba(240, 231, 216, 0.1);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}

.footer-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 12px;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: rgba(240, 231, 216, 0.6);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-bottom {
  font-size: 12px;
  color: rgba(240, 231, 216, 0.35);
  border-top: 1px solid rgba(240, 231, 216, 0.08);
  padding-top: 24px;
}

/* ---------- Simple pages (confirmation / legal) ---------- */

.simple-page {
  background: var(--cream);
  min-height: 100vh;
  padding: 160px 0 100px;
}

.simple-page .eyebrow {
  color: var(--green);
}

.simple-page h1 {
  font-size: clamp(30px, 4.5vw, 44px);
  margin-bottom: 24px;
}

.simple-page .lede {
  font-size: 17px;
  color: rgba(36, 22, 17, 0.7);
  max-width: 620px;
  margin-bottom: 40px;
}

.legal-body h2 {
  font-size: 20px;
  margin-top: 40px;
  margin-bottom: 14px;
}

.legal-body p, .legal-body li {
  color: rgba(36, 22, 17, 0.75);
  font-size: 15px;
  margin-bottom: 14px;
  max-width: 720px;
}

.legal-body ul {
  padding-left: 20px;
  margin-bottom: 14px;
}

/* The contact page's whole job is "click this" — make the two links read
   as actionable, not just plain paragraph text like the legal pages' one-off
   mailto links. */
.contact-body a {
  display: inline-block;
  font-size: 17px;
  font-weight: 700;
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-body a:hover {
  color: var(--gold-ink);
}

.confirmation-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 32px;
}

.confirmation-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 520px;
  margin-bottom: 40px;
}

.confirmation-steps li {
  display: flex;
  gap: 14px;
  font-size: 15px;
  color: rgba(36, 22, 17, 0.75);
}

.confirmation-steps .n {
  font-family: var(--font-display);
  color: var(--gold-ink);
  font-size: 18px;
  flex-shrink: 0;
}

/* ==========================================================================
   Cookie consent banner (injected by assets/js/analytics.js)
   ========================================================================== */

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 200;
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 24px;
  background: var(--green-dark);
  color: var(--cream);
  border: 1px solid rgba(217, 172, 133, 0.35);
  border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  transform: translateY(140%);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.cookie-banner.show {
  transform: translateY(0);
  opacity: 1;
}

.cookie-banner-text {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(240, 231, 216, 0.85);
  margin: 0;
}

.cookie-banner-text a {
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner-text a:hover {
  color: var(--cream);
}

.cookie-banner-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 12px 24px;
  font-size: 12px;
}

@media (max-width: 640px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 18px 18px;
  }
  .cookie-banner-actions {
    justify-content: stretch;
  }
  .cookie-btn {
    flex: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-banner {
    transition: opacity 0.2s ease;
    transform: none;
  }
}
