/* =================================================================
   DRAFT — The Minecraft Championship
   Recreated from the "Overworld Landing" design comp.
   A blocky, neo-brutalist Minecraft aesthetic: cut-corner panels,
   hard "paper-cut" offset shadows, pixel display type.
   ================================================================= */

/* ---------------------------------------------------------------- */
/* Tokens                                                           */
/* ---------------------------------------------------------------- */
:root {
  --font-display: 'Minecraft', system-ui, -apple-system, sans-serif;
  --font-pixel: 'Minecraft', 'Courier New', monospace;

  /* ink + neutrals */
  --ink: #16202B;
  --ink-2: #2E3A47;
  --ink-3: #3B4654;
  --muted: #5A6573;
  --page: #F3F6F4;

  /* gold (primary action) */
  --gold: #FCC433;
  --gold-deep: #E0A625;
  --gold-ink: #3A2A05;
  --gold-label: #B07A12;
  --gold-bright: #FCC433;

  /* grass + dirt */
  --grass: #6CC04A;
  --grass-2: #63B544;
  --grass-edge: #4E8F33;
  --grass-mid: #5BBA3C;
  --grass-deep: #3E8E2E;
  --dirt: #8B5A2B;
  --dirt-deep: #7A4A24;

  /* sky */
  --sky-1: #BFE6F5;
  --sky-2: #DCF1FA;
  --sky-3: #EAF6FB;

  /* night (teams + footer) */
  --night: #10131C;
  --night-card: #181D29;
  --night-line: #323B4C;
  --roster-cap: #2A3140;
  --roster: #222836;
  --night-text: #EAF0F8;
  --night-muted: #9BA7B6;
  --night-faint: #5C6675;
  --footer: #0C0F16;
  --lime: #54E36B;

  /* prize */
  --cream: #F4E6CF;

  /* motion */
  --ease: cubic-bezier(.2, .7, .3, 1);
  --content: 1168px;
}

/* ---------------------------------------------------------------- */
/* Reset / base                                                     */
/* ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-display);
  background: var(--page);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, p, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }
img, svg { display: block; }

.page { width: 100%; overflow-x: clip; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

/* ---------------------------------------------------------------- */
/* Shared primitives — cut corners, raised shadow, eyebrow, buttons */
/* ---------------------------------------------------------------- */

/* Octagonal "cut corner" silhouette, bevel size via --bevel.
   Buttons are exempt — they keep clean square corners. */
.cut, .tile, .card {
  --bevel: 8px;
  clip-path: polygon(
    var(--bevel) 0, calc(100% - var(--bevel)) 0,
    100% var(--bevel), 100% calc(100% - var(--bevel)),
    calc(100% - var(--bevel)) 100%, var(--bevel) 100%,
    0 calc(100% - var(--bevel)), 0 var(--bevel)
  );
}

/*
 * .raise / .card-raise wrap a clipped element and cast the hard
 * offset "paper-cut" shadow via drop-shadow — a real box-shadow on
 * the element itself would be clipped away by its own clip-path.
 */
.raise {
  display: inline-block;
  filter: drop-shadow(var(--sx, 5px) var(--sy, 5px) 0 var(--ink));
  transition: filter .14s var(--ease);
}
.raise--sm { --sx: 4px; --sy: 4px; }
.raise:hover { filter: drop-shadow(7px 7px 0 var(--ink)); }
.raise:hover .btn { transform: translate(-2px, -2px); }
.raise:active .btn { transform: translate(1px, 1px); }
.raise:has(.btn:active) { filter: drop-shadow(3px 3px 0 var(--ink)); }

.card-raise {
  display: block;
  filter: drop-shadow(var(--sx, 4px) var(--sy, 4px) 0 var(--ink));
  transition: filter .18s var(--ease), transform .18s var(--ease);
}
.card-raise:hover {
  transform: translateY(-4px);
  filter: drop-shadow(4px 9px 0 var(--ink));
}

/* Eyebrow labels — tiny pixel caps, tracked out */
.eyebrow {
  font-family: var(--font-pixel);
  font-size: 10px;
  line-height: 1.6;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0 0 16px;
}
.eyebrow--gold { color: var(--gold-label); }
.eyebrow--gold-bright { color: var(--gold); font-size: 11px; }
.eyebrow--green { color: var(--grass-deep); }
.eyebrow--lime { color: var(--lime); }

/* Buttons — square corners, hard offset shadow via .raise */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  background: #fff;
  color: var(--ink);
  border: 2.5px solid var(--ink);
  padding: 15px 26px;
  text-decoration: none;
  cursor: pointer;
  clip-path: none !important;   /* never inherit cut-corner shapes */
  transition: transform .14s var(--ease);
}
.raise { clip-path: none !important; }
.btn--primary { background: var(--gold); color: var(--gold-ink); border-color: var(--ink); }
.btn--sm { font-size: 14px; padding: 11px 20px; }
.btn__play { width: 13px; height: 14px; color: var(--ink); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.btn-row--center { justify-content: center; }

/* ---------------------------------------------------------------- */
/* Section scaffolding                                              */
/* ---------------------------------------------------------------- */
.section { padding: 84px 56px 90px; }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 50px; }
.section__title {
  font-weight: 700;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 0;
}
.section__title--light { color: #fff; }
.section__lede {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-3);
  margin: 16px auto 0;
}
.section__lede--light { color: var(--night-muted); }

.grid { display: grid; gap: 18px; margin: 0 auto; }

/* ---------------------------------------------------------------- */
/* HERO                                                             */
/* ---------------------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;      /* logo + copy sit in the middle of the sky */
  min-height: 760px;
  padding-bottom: 200px;        /* offset the ground band so centering is sky-only */
  overflow: hidden;
  background: linear-gradient(var(--sky-1) 0%, var(--sky-2) 50%, var(--sky-3) 68%);
}

.masthead {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 56px;
}

.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; }
.brand__mark { display: inline-flex; }
.brand__badge {
  font-family: var(--font-pixel);
  font-size: 8px;
  color: var(--gold-label);
  border: 1.5px solid var(--gold);
  padding: 5px 7px;
  border-radius: 3px;
  letter-spacing: .5px;
  white-space: nowrap;
}

.nav { display: flex; align-items: center; gap: 30px; }
.nav__link {
  font-weight: 500;
  font-size: 15px;
  color: var(--ink-2);
  text-decoration: none;
  transition: color .14s var(--ease);
}
.nav__link:hover { color: var(--ink); }

.hero__copy {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 0 24px;
}
.hero__copy .eyebrow { margin-bottom: 20px; }
.hero__title {
  margin: 0;
  line-height: 0;
}
.hero__sub {
  font-family: var(--font-pixel);
  font-size: clamp(11px, 1.1vw, 14px);
  color: var(--ink-2);
  letter-spacing: 3px;
  margin-top: 24px;
}
.hero__lede {
  font-family: 'Space Grotesk', var(--font-display);
  font-weight: 500;
  font-size: 17.5px;
  line-height: 1.75;
  color: var(--ink-2);
  max-width: 680px;
  margin: 28px auto 0;
}
.hero__copy .btn-row { justify-content: center; }

/* ground: dirt band + grass strip */
.ground {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 200px;
  z-index: 1;
  background-color: var(--dirt);
  background-image:
    radial-gradient(rgba(0,0,0,.20) 2px, transparent 2.6px),
    radial-gradient(rgba(255,255,255,.06) 2px, transparent 2.6px);
  background-size: 28px 28px, 28px 28px;
  background-position: 0 0, 14px 14px;
}
.ground__grass {
  position: absolute;
  left: 0; right: 0; bottom: 166px;
  height: 34px;
  z-index: 1;
  background: repeating-linear-gradient(90deg, var(--grass) 0 19px, var(--grass-2) 19px 38px);
  border-bottom: 5px solid var(--grass-edge);
  box-shadow: inset 0 6px 0 rgba(255,255,255,.12);
}

/* countdown straddling the ground */
.countdown {
  position: absolute;
  left: 0; right: 0; bottom: 98px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 0 24px;
}
.countdown__label {
  font-family: var(--font-pixel);
  font-size: 10px;
  color: #fff;
  letter-spacing: 1px;
  text-shadow: 0 2px 0 rgba(0,0,0,.3);
  text-transform: uppercase;
}
.countdown__tiles { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

.tile {
  --bevel: 7px;
  width: 108px;
  background: #fff;
  border: 2.5px solid var(--ink);
  padding: 16px 0 12px;
  text-align: center;
}
.tile--accent { background: var(--gold); }
.tile__num {
  display: block;
  font-family: var(--font-pixel);
  font-size: 27px;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.tile--accent .tile__num { color: var(--gold-ink); }
.tile__unit {
  display: block;
  font-family: var(--font-pixel);
  font-size: 8px;
  color: var(--gold-label);
  margin-top: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.tile--accent .tile__unit { color: #7A5808; }

/* ---------------------------------------------------------------- */
/* FORMAT                                                           */
/* ---------------------------------------------------------------- */
.format {
  position: relative;
  background-color: var(--page);
  background-image:
    linear-gradient(rgba(22,32,43,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22,32,43,.04) 1px, transparent 1px);
  background-size: 34px 34px;
}
.grid--games { grid-template-columns: repeat(4, 1fr); max-width: 1080px; }

.card { background: #fff; border: 2.5px solid var(--ink); padding: 22px; height: 100%; }
.game__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  background: var(--tint, #EAF6EC);
  border: 2px solid var(--ink);
  margin-bottom: 16px;
}
.game__no {
  font-family: var(--font-pixel);
  font-size: 8px;
  color: var(--gold-label);
  margin-bottom: 9px;
  letter-spacing: .5px;
  text-transform: uppercase;
}
.game__name { font-weight: 700; font-size: 19px; margin: 0 0 6px; }
.game__desc { font-size: 14px; color: var(--muted); line-height: 1.5; }

/* ---------------------------------------------------------------- */
/* TEAMS                                                            */
/* ---------------------------------------------------------------- */
.teams {
  background-color: var(--night);
  background-image: radial-gradient(rgba(255,255,255,.5) 1.4px, transparent 1.6px);
  background-size: 46px 46px;
  color: var(--night-text);
}
.grid--teams { grid-template-columns: repeat(5, 1fr); gap: 16px; max-width: 1140px; }

.team {
  --bevel: 7px;
  background: var(--night-card);
  border-top: 5px solid var(--c);
  padding: 18px 16px;
  clip-path: polygon(
    var(--bevel) 0, calc(100% - var(--bevel)) 0,
    100% var(--bevel), 100% calc(100% - var(--bevel)),
    calc(100% - var(--bevel)) 100%, var(--bevel) 100%,
    0 calc(100% - var(--bevel)), 0 var(--bevel)
  );
}
.team__head { display: flex; align-items: center; gap: 9px; margin-bottom: 14px; }
.team__swatch { width: 22px; height: 22px; background: var(--c); flex: none; }
.team__name { font-weight: 700; font-size: 15px; color: #fff; }
.team__roster { display: flex; gap: 6px; }
.pip { width: 30px; height: 30px; background: var(--roster); border: 1.5px solid var(--night-line); }
.pip--cap { background: var(--roster-cap); }

/* ---------------------------------------------------------------- */
/* HOW THE DRAFT WORKS                                              */
/* ---------------------------------------------------------------- */
.steps { background: var(--page); }
.grid--steps { grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 980px; }
.grid--steps .card-raise { --sx: 5px; --sy: 5px; }

.step { --bevel: 9px; padding: 30px 26px; }
.step__no {
  font-family: var(--font-pixel);
  font-size: 30px;
  color: var(--n, var(--grass-mid));
  margin-bottom: 18px;
}
.step__title { font-weight: 700; font-size: 22px; margin: 0 0 10px; }
.step__desc { font-size: 15px; color: var(--muted); line-height: 1.55; }

/* ---------------------------------------------------------------- */
/* PRIZE / CTA                                                      */
/* ---------------------------------------------------------------- */
.prize {
  position: relative;
  padding: 88px 56px 110px;
  overflow: hidden;
  background-color: var(--dirt);
  background-image:
    radial-gradient(rgba(0,0,0,.2) 2px, transparent 2.6px),
    radial-gradient(rgba(255,255,255,.06) 2px, transparent 2.6px);
  background-size: 28px 28px, 28px 28px;
  background-position: 0 0, 14px 14px;
}
.ground__grass--top {
  position: absolute;
  top: 0; bottom: auto; left: 0; right: 0;
  box-shadow: none;
}
.prize__inner { position: relative; z-index: 2; text-align: center; padding-top: 18px; max-width: 560px; margin: 0 auto; }
.prize__amount {
  font-weight: 700;
  font-size: clamp(72px, 9vw, 104px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: #fff;
  text-shadow: 0 4px 0 rgba(0,0,0,.25);
}
.prize__lede {
  font-size: 18px;
  color: var(--cream);
  line-height: 1.55;
  margin: 18px auto 30px;
}
.prize__watch {
  font-family: var(--font-pixel);
  font-size: 9px;
  color: var(--cream);
  letter-spacing: 1px;
  margin-top: 28px;
  text-transform: uppercase;
}

/* ---------------------------------------------------------------- */
/* FOOTER (layout in global.css; background token here)             */
/* ---------------------------------------------------------------- */
.site-footer {
  background: var(--footer);
}
.site-footer__tag { font-size: 13px; color: var(--night-faint); margin-left: 6px; }

/* ---------------------------------------------------------------- */
/* Scroll reveal + back-to-top                                      */
/* ---------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.to-top {
  position: fixed;
  right: 22px;
  top: calc(var(--site-nav-height, 40px) + 12px); /* just below the fixed header */
  z-index: 40;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  font-size: 19px;
  line-height: 1;
  color: var(--ink);
  background: var(--gold);
  border: 2.5px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), box-shadow .14s var(--ease);
}
.to-top.is-shown {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}
.to-top:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }

/* hero fades in on first paint */
.hero__copy {
  animation: hero-in .85s var(--ease) both;
}
@keyframes hero-in {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}

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

/* Large tablets / small desktops */
@media (max-width: 1100px) {
  .grid--games { grid-template-columns: repeat(2, 1fr); max-width: 620px; }
  .grid--teams { grid-template-columns: repeat(3, 1fr); max-width: 720px; }
}

/* Tablet — reflow the hero out of fixed positioning */
@media (max-width: 880px) {
  .section { padding: 64px 32px 70px; }

  .hero { min-height: 0; padding-bottom: 0; }
  .hero__copy { padding-top: 48px; }

  /* hero ground + countdown leave absolute flow and stack normally
     (scoped to .hero so the prize section's grass strip is untouched) */
  .hero .ground { display: none; }
  .hero .ground__grass {
    position: static;
    height: 30px;
    margin-top: 44px;
    bottom: auto;
  }
  .hero .countdown {
    position: static;
    margin-top: 30px;
    background: var(--dirt);
    background-image:
      radial-gradient(rgba(0,0,0,.18) 2px, transparent 2.6px),
      radial-gradient(rgba(255,255,255,.06) 2px, transparent 2.6px);
    background-size: 28px 28px, 28px 28px;
    background-position: 0 0, 14px 14px;
    padding: 30px 24px 36px;
  }
}

@media (max-width: 720px) {
  .grid--teams { grid-template-columns: repeat(2, 1fr); max-width: 420px; }
}

/* Phones */
@media (max-width: 560px) {
  .section { padding: 52px 20px 56px; }
  .masthead { padding: 18px 20px; flex-wrap: wrap; gap: 14px; }
  .nav { gap: 18px; width: 100%; justify-content: space-between; }
  .nav__link { font-size: 14px; }

  .grid--games { grid-template-columns: 1fr; max-width: 360px; }
  .grid--steps { grid-template-columns: 1fr; }
  .tile { width: 88px; }
  .tile__num { font-size: 22px; }
}

/* Hide the nav links on the smallest screens, keep brand + register */
@media (max-width: 420px) {
  .nav__link { display: none; }
}

/* ================================================================ */
/* LIVE — currently happening + upcoming (dark)                     */
/* ================================================================ */
.live {
  background-color: var(--night);
  background-image: radial-gradient(rgba(255, 255, 255, .04) 1.3px, transparent 1.6px);
  background-size: 44px 44px;
  color: var(--night-text);
}
.section__head--wide { max-width: 900px; }

.live__panel {
  max-width: var(--content);
  margin: 0 auto 18px;
}

.live .bracket-fit {
  margin-bottom: 40px;
}
.live__panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}
.live__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-pixel);
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--lime);
}
.live__dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 0 rgba(84, 227, 107, .6);
  animation: livepulse 1.8s var(--ease) infinite;
}
@keyframes livepulse {
  0% { box-shadow: 0 0 0 0 rgba(84, 227, 107, .55); }
  70% { box-shadow: 0 0 0 10px rgba(84, 227, 107, 0); }
  100% { box-shadow: 0 0 0 0 rgba(84, 227, 107, 0); }
}
.live__open {
  font-size: 14px;
  font-weight: 600;
  color: var(--night-text);
  text-decoration: none;
  border-bottom: 1.5px solid rgba(255, 255, 255, .25);
  transition: color .14s var(--ease), border-color .14s var(--ease);
}
.live__open:hover { color: var(--lime); border-color: var(--lime); }

.live__scores {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}
.livecard {
  background: var(--night-card);
  border: 1px solid #222B3A;
  border-left: 3px solid var(--lime);
  border-radius: 12px;
  padding: 13px 15px;
}
.livecard__row { display: flex; align-items: center; gap: 10px; padding: 4px 0; }
.livecard__name { flex: 1; min-width: 0; font-weight: 600; font-size: 14px; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.livecard__score { font-family: var(--font-pixel); font-size: 14px; color: var(--lime); }
.livecard__tag { margin-top: 8px; font-size: 11px; color: var(--night-faint); letter-spacing: .3px; }

.match__swatch { width: 13px; height: 13px; border-radius: 3px; flex: none; }

/* upcoming */
.upcoming { max-width: var(--content); margin: 0 auto; }
.upcoming__title {
  font-family: var(--font-pixel);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.upcoming__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}
.upcoming__empty { color: var(--night-muted); font-size: 15px; }
.upcoming__empty--center { text-align: center; color: var(--muted); }

.match {
  background: var(--night-card);
  border: 1px solid #222B3A;
  border-radius: 14px;
  padding: 16px 18px;
  transition: transform .16s var(--ease), border-color .16s var(--ease);
}
.match:hover { transform: translateY(-3px); border-color: #34405A; }
.match__status {
  font-family: var(--font-pixel);
  font-size: 8px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.match__teams { display: flex; flex-direction: column; gap: 8px; }
.match__team { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; color: #fff; }
.match__vs { font-family: var(--font-pixel); font-size: 9px; color: var(--night-faint); padding-left: 23px; }
.match__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #222B3A;
}
.match__name { font-size: 13px; color: var(--night-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.match__when { font-size: 12px; color: var(--night-faint); flex: none; }

/* ================================================================ */
/* WHAT WE HOST — big heading, cards below                          */
/* ================================================================ */
.host { background: var(--page); }
.host__head {
  max-width: var(--content);
  margin: 0 auto 46px;
  text-align: center;
}
.host__title {
  font-weight: 700;
  font-size: clamp(44px, 7vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.host__rows {
  max-width: var(--content);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.host__contact {
  display: inline-block;
  margin-top: 12px;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2.5px solid var(--accent, var(--gold));
  transition: color .14s var(--ease);
}
.host__contact:hover { color: var(--accent, var(--gold)); }
.host__row {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: #fff;
  border: 2px solid var(--ink);
  border-left: 6px solid var(--accent);
  padding: 22px 24px;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform .16s var(--ease), box-shadow .16s var(--ease);
}
.host__row:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.host__no {
  font-family: var(--font-pixel);
  font-size: 22px;
  color: var(--accent);
  line-height: 1;
  flex: none;
}
.host__name { font-weight: 700; font-size: 20px; margin-bottom: 6px; }
.host__desc { font-size: 14.5px; color: var(--muted); line-height: 1.55; }

/* ================================================================ */
/* CHAMPIONSHIPS (light grid)                                       */
/* ================================================================ */
.champs {
  background-color: var(--page);
  background-image:
    linear-gradient(rgba(22, 32, 43, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 32, 43, .04) 1px, transparent 1px);
  background-size: 34px 34px;
}
.champ-grid {
  max-width: var(--content);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 22px;
}
.champ {
  position: relative;
  background: #fff;
  border: 2.5px solid var(--ink);
  border-top: 7px solid var(--accent);
  padding: 24px 24px 22px;
  box-shadow: 5px 5px 0 var(--ink);
  transition: transform .16s var(--ease), box-shadow .16s var(--ease);
  display: flex;
  flex-direction: column;
}
.champ:hover { transform: translate(-3px, -3px); box-shadow: 8px 8px 0 var(--ink); }
.champ__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.champ__season { font-family: var(--font-pixel); font-size: 9px; letter-spacing: .5px; color: var(--gold-label); text-transform: uppercase; }
.champ__status {
  font-family: var(--font-pixel);
  font-size: 8px;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--tone, var(--muted));
  border: 1.5px solid var(--tone, var(--muted));
  border-radius: 6px;
  padding: 4px 7px;
}
.champ__name { font-weight: 700; font-size: 23px; line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 8px; }
.champ__sub { font-size: 14.5px; color: var(--muted); line-height: 1.55; flex: 1; }
.champ__foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 2px dashed rgba(22, 32, 43, .12);
}
.champ__prize-label { font-family: var(--font-pixel); font-size: 8px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.champ__prize { font-weight: 700; font-size: 22px; color: var(--ink); }

/* ================================================================ */
/* CUPS (dark band)                                                 */
/* ================================================================ */
.cups {
  background-color: #0E1119;
  background-image: radial-gradient(rgba(255, 255, 255, .04) 1.3px, transparent 1.6px);
  background-size: 44px 44px;
  color: var(--night-text);
}
.cups .section__title { color: #fff; }
.cups .section__lede { color: var(--night-muted); }

.cup-list { max-width: 920px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.cup {
  display: flex;
  align-items: stretch;
  gap: 0;
  background: var(--night-card);
  border: 1px solid #222B3A;
  border-radius: 14px;
  overflow: hidden;
  transition: transform .16s var(--ease), border-color .16s var(--ease);
}
.cup:hover { transform: translateX(4px); border-color: var(--accent); }
.cup__bar { width: 5px; flex: none; background: var(--accent); }
.cup__body { flex: 1; min-width: 0; padding: 18px 22px; }
.cup__head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.cup__name { font-weight: 700; font-size: 20px; color: #fff; }
.cup__status {
  font-family: var(--font-pixel);
  font-size: 8px;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--tone, var(--night-muted));
  border: 1.5px solid var(--tone, var(--night-muted));
  border-radius: 6px;
  padding: 3px 7px;
}
.cup__sub { font-size: 14px; color: var(--night-muted); margin-top: 6px; line-height: 1.5; }
.cup__meta {
  flex: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 4px;
  padding: 18px 22px;
  border-left: 1px solid #222B3A;
  text-align: right;
}
.cup__format { font-size: 13px; font-weight: 600; color: #C4CEDD; }
.cup__date { font-family: var(--font-pixel); font-size: 9px; letter-spacing: .5px; color: var(--night-faint); text-transform: uppercase; }

/* ================================================================ */
/* UPCOMING EVENTS (light)                                          */
/* ================================================================ */
.events {
  background-color: var(--page);
  background-image:
    linear-gradient(rgba(22, 32, 43, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 32, 43, .04) 1px, transparent 1px);
  background-size: 34px 34px;
}
.event-list { max-width: 920px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.event {
  display: flex;
  align-items: stretch;
  background: #fff;
  border: 2.5px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  transition: transform .16s var(--ease), box-shadow .16s var(--ease);
}
.event:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }
.event__bar { width: 7px; flex: none; background: var(--accent); }
.event__body { flex: 1; min-width: 0; padding: 18px 22px; }
.event__head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.event__type {
  font-family: var(--font-pixel);
  font-size: 8px;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--gold-label);
  border: 1.5px solid var(--gold);
  padding: 4px 7px;
}
.event__status {
  font-family: var(--font-pixel);
  font-size: 8px;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: #2E7D32;
  border: 1.5px solid #54E36B;
  background: rgba(84, 227, 107, .12);
  padding: 4px 7px;
}
.event__name { font-weight: 700; font-size: 21px; }
.event__sub { font-size: 14.5px; color: var(--muted); margin-top: 6px; line-height: 1.5; }
.event__meta {
  flex: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 5px;
  padding: 18px 22px;
  border-left: 2px dashed rgba(22, 32, 43, .15);
  text-align: right;
}
.event__date { font-family: var(--font-pixel); font-size: 9px; letter-spacing: .5px; color: var(--muted); text-transform: uppercase; }
.event__prize { font-weight: 700; font-size: 18px; color: var(--ink); }

/* ================================================================ */
/* HISTORY (dark band)                                              */
/* ================================================================ */
.history {
  background-color: #0E1119;
  background-image: radial-gradient(rgba(255, 255, 255, .04) 1.3px, transparent 1.6px);
  background-size: 44px 44px;
  color: var(--night-text);
}
.history-list { max-width: 920px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.hist {
  display: grid;
  grid-template-columns: auto 1fr auto auto auto;
  align-items: center;
  gap: 18px;
  padding: 15px 20px;
  background: var(--night-card);
  border: 1px solid #222B3A;
  border-left: 5px solid var(--accent);
  text-decoration: none;
  color: var(--night-text);
  transition: transform .14s var(--ease), border-color .14s var(--ease);
}
.hist:hover { transform: translateX(4px); border-color: var(--accent); }
.hist__type {
  font-family: var(--font-pixel);
  font-size: 8px;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--accent);
  border: 1.5px solid var(--accent);
  padding: 4px 7px;
}
.hist__name { font-weight: 700; font-size: 17px; color: #fff; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hist__season { font-size: 13px; color: var(--night-muted); }
.hist__date { font-family: var(--font-pixel); font-size: 9px; color: var(--night-faint); text-transform: uppercase; letter-spacing: .5px; }
.hist__go { font-weight: 600; font-size: 13px; color: var(--night-muted); }
.hist:hover .hist__go { color: #fff; }

/* ================================================================ */
/* Responsive — new sections                                        */
/* ================================================================ */
@media (max-width: 880px) {
  .host__rows { grid-template-columns: 1fr; }
  .hist { grid-template-columns: auto 1fr auto; }
  .hist__season, .hist__date { display: none; }
}
@media (max-width: 560px) {
  .event { flex-wrap: wrap; }
  .event__meta { width: 100%; border-left: 0; border-top: 2px dashed rgba(22,32,43,.15); flex-direction: row; align-items: center; justify-content: space-between; }
}
@media (max-width: 560px) {
  .cup { flex-wrap: wrap; }
  .cup__meta { width: 100%; border-left: 0; border-top: 1px solid #222B3A; align-items: flex-start; flex-direction: row; gap: 14px; }
}

/* ================================================================ */
/* CONTACT PAGE                                                     */
/* ================================================================ */
.hero--compact {
  min-height: 520px;
  padding-bottom: 160px;
}

.contact-hero__title {
  font-weight: 700;
  font-size: clamp(44px, 8vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 0;
}

.contact-channels__rows {
  grid-template-columns: repeat(3, 1fr);
}

.contact-form-section {
  background: var(--page);
  font-family: 'Space Grotesk', system-ui, sans-serif;
}

.contact-form-section .host__title,
.contact-form-section .eyebrow,
.contact-form-section .contact-flash,
.contact-form-section .btn,
.contact-form-section .host__contact {
  font-family: 'Space Grotesk', system-ui, sans-serif;
}

.contact-form-section .eyebrow {
  font-size: 11px;
  letter-spacing: 0.12em;
}

.contact-form-section__head {
  max-width: var(--content);
  margin: 0 auto 36px;
  text-align: center;
}

.contact-form-section__eyebrow {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grass-deep);
  margin: 0 0 16px;
}

.contact-form--unavailable {
  gap: 14px;
}

.contact-form__unavailable {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0;
}

.contact-form__unavailable-email {
  margin: 0;
}

.contact-flash {
  max-width: var(--content);
  margin: 0 auto 24px;
  padding: 14px 18px;
  border: 2px solid var(--ink);
  font-size: 14.5px;
  line-height: 1.45;
  box-shadow: 4px 4px 0 var(--ink);
}

.contact-flash--success {
  background: rgba(84, 227, 107, 0.18);
  color: var(--ink);
}

.contact-flash--error {
  background: rgba(225, 78, 78, 0.12);
  color: var(--ink);
}

.contact-layout {
  max-width: var(--content);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.65fr);
  gap: 22px;
  align-items: start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: #fff;
  border: 2px solid var(--ink);
  padding: 28px 28px 24px;
  box-shadow: 6px 6px 0 var(--ink);
}

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

.contact-form__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.contact-form__input {
  width: 100%;
  font-size: 16px;
  line-height: 1.4;
  color: var(--ink);
  background: #fff;
  border: 2px solid var(--ink);
  padding: 12px 14px;
  box-sizing: border-box;
  transition: box-shadow .14s var(--ease), transform .14s var(--ease);
}

.contact-form__input:focus {
  outline: none;
  box-shadow: 3px 3px 0 var(--ink);
  transform: translate(-1px, -1px);
}

.contact-form__input--area {
  resize: vertical;
  min-height: 160px;
}

.contact-form__actions {
  margin-top: 4px;
}

.contact-form__actions .btn {
  border: none;
  cursor: pointer;
}

.contact-aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-aside__block {
  background: #fff;
  border: 2px solid var(--ink);
  border-left: 6px solid var(--gold);
  padding: 20px 22px;
  box-shadow: 4px 4px 0 var(--ink);
}

.contact-aside__block--discord {
  border-left-color: #9B6CE0;
}

.contact-aside__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 8px;
}

.contact-aside__email {
  display: inline-block;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.3;
  color: var(--ink);
  text-decoration: none;
  word-break: break-word;
  border-bottom: 2.5px solid var(--gold);
  transition: color .14s var(--ease);
}

.contact-aside__email:hover {
  color: var(--gold-deep);
}

.contact-aside__desc {
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
  margin: 0 0 10px;
}

.contact-aside .host__contact {
  margin-top: 0;
}

.contact-social {
  background: var(--footer);
  color: var(--night-muted);
}

.contact-social__panel {
  display: flex;
  justify-content: center;
  padding: 8px 24px 0;
}

.contact-social__panel .socials a {
  width: 52px;
  height: 52px;
  border: 2.5px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.35);
  transition: transform .16s var(--ease), box-shadow .16s var(--ease), border-color .16s var(--ease);
}

.contact-social__panel .socials a:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.35);
  border-color: var(--gold);
  color: var(--gold);
}

.contact-social__panel .socials svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 880px) {
  .contact-channels__rows { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .hero--compact {
    min-height: 0;
    padding-bottom: 0;
  }

  .hero--compact .ground { display: none; }

  .hero--compact .ground__grass {
    display: block;
    position: relative;
    bottom: auto;
    margin-top: 48px;
  }
}

/* ---------------------------------------------------------------- */
/* Reduced motion                                                   */
/* ---------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}
