:root {
  --ink: #0b0b0c;
  --ink-2: #121214;
  --bone: #f2efe4;
  --bone-2: #e6e2d4;
  --lime: #d8ff3e;
  --orange: #ff5c2b;
  --blue: #7c93ff;
  --muted: rgba(242, 239, 228, 0.58);
  --line: rgba(242, 239, 228, 0.16);
  --line-strong: rgba(242, 239, 228, 0.34);
  --display: "Anton", "Arial Narrow", sans-serif;
  --body: "Inter Tight", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --pad: clamp(20px, 4vw, 64px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--lime); color: var(--ink); }

a { color: inherit; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin: 0;
  line-height: 0.92;
}

p { margin: 0; }

.mono {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tiny { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.label { color: var(--muted); }

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 60;
  opacity: 0.32;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

/* ---------- top bar ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 14px var(--pad);
  background: rgba(11, 11, 12, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.brand { display: flex; align-items: baseline; gap: 12px; text-decoration: none; }
.brand-mark {
  font-family: var(--display);
  font-size: 24px;
  letter-spacing: 0.02em;
}
.brand-slash { color: var(--lime); margin: 0 1px; }
.brand-sub {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.topnav { margin-left: auto; display: flex; gap: 28px; }
.topnav a {
  font-size: 14px;
  text-decoration: none;
  color: var(--bone);
  position: relative;
}
.topnav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.topnav a:hover::after { transform: scaleX(1); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: var(--lime);
  color: var(--ink);
  border: 1px solid var(--lime);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 20px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}
.btn:hover { background: transparent; color: var(--lime); }
.btn:active { transform: translateY(1px); }
.btn-small { padding: 10px 16px; font-size: 11px; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.72fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  padding: clamp(56px, 7vw, 90px) var(--pad);
  min-height: clamp(620px, 88svh, 860px);
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(242,239,228,0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(242,239,228,0.055) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(ellipse at 30% 30%, black 10%, transparent 75%);
  pointer-events: none;
}

.hero-ghost {
  position: absolute;
  left: 50%;
  bottom: -0.16em;
  transform: translateX(-50%);
  font-family: var(--display);
  font-size: 19vw;
  color: transparent;
  -webkit-text-stroke: 1px rgba(242, 239, 228, 0.06);
  text-transform: uppercase;
  pointer-events: none;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.hero-copy { position: relative; z-index: 2; }

.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: clamp(18px, 3vw, 30px);
}

.dot {
  width: 7px;
  height: 7px;
  background: var(--lime);
  border-radius: 50%;
  display: inline-block;
  flex: none;
  box-shadow: 0 0 0 4px rgba(216, 255, 62, 0.14);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(216,255,62,0.12); }
  50% { box-shadow: 0 0 0 7px rgba(216,255,62,0.02); }
}

.hero h1 {
  font-size: clamp(54px, 8.6vw, 124px);
  margin-bottom: clamp(22px, 3vw, 34px);
}

.outline {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--bone);
}

.lede {
  max-width: 54ch;
  color: rgba(242, 239, 228, 0.78);
  font-size: clamp(15.5px, 1.25vw, 18px);
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 26px;
  margin-top: clamp(26px, 3.4vw, 40px);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: 0;
  padding: 0;
  font-family: var(--body);
  font-size: 14.5px;
  color: var(--bone);
  text-decoration: none;
  cursor: pointer;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 3px;
  transition: color 0.2s, border-color 0.2s;
}
.link-arrow span { transition: transform 0.25s ease; }
.link-arrow:hover { color: var(--lime); border-color: var(--lime); }
.link-arrow:hover span { transform: translateX(5px); }

/* ---------- ticket ---------- */

.ticket {
  position: relative;
  z-index: 2;
  background: var(--ink-2);
  border: 1px solid var(--line-strong);
  padding: 22px;
}
.ticket::before, .ticket::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  background: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  left: -8px;
  top: 50%;
  transform: translateY(-50%);
}
.ticket::after { left: auto; right: -8px; }

.ticket-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--line-strong);
  color: var(--muted);
}
.live { display: inline-flex; align-items: center; gap: 7px; color: var(--lime); }

.ticket-countdown { padding: 20px 0; border-bottom: 1px dashed var(--line-strong); }
.ticket-countdown .label { margin-bottom: 12px; }

.clock {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}
.clock div { display: flex; flex-direction: column; gap: 3px; }
.clock strong {
  font-family: var(--display);
  font-size: clamp(30px, 3.4vw, 46px);
  font-weight: 400;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.clock span {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.slots { padding: 20px 0; border-bottom: 1px dashed var(--line-strong); }
.slots-head { display: flex; justify-content: space-between; margin-bottom: 10px; }
.slots-bar {
  height: 10px;
  background: rgba(242, 239, 228, 0.1);
  overflow: hidden;
}
.slots-fill {
  height: 100%;
  width: 64.5%;
  background: repeating-linear-gradient(90deg, var(--lime) 0 8px, transparent 8px 10px);
  transition: width 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.slots .tiny { margin-top: 10px; }

.ticket-foot {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding-top: 18px;
}
.ticket-foot div { display: flex; flex-direction: column; gap: 4px; }
.ticket-foot span:last-child {
  font-family: var(--display);
  font-size: 24px;
  line-height: 1;
}

/* ---------- ticker ---------- */

.ticker {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--lime);
  color: var(--ink);
  overflow: hidden;
  padding: 12px 0;
}
.ticker-track {
  display: flex;
  gap: 26px;
  width: max-content;
  animation: scroll 34s linear infinite;
  font-family: var(--display);
  text-transform: uppercase;
  font-size: 22px;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.ticker .sep { opacity: 0.42; }
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- sections ---------- */

.section {
  padding: clamp(64px, 9vw, 120px) var(--pad);
  border-bottom: 1px solid var(--line);
}

.section-head {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 24px;
  align-items: start;
  margin-bottom: clamp(38px, 5vw, 64px);
}
.section-head .index { color: var(--lime); padding-top: 6px; }
.section-head h2 { font-size: clamp(38px, 5vw, 68px); }
.section-head h2::after {
  content: "";
  display: block;
  width: 54px;
  height: 3px;
  background: var(--lime);
  margin-top: 18px;
}
.section-head p {
  color: rgba(242, 239, 228, 0.7);
  font-size: 15.5px;
  max-width: 46ch;
  padding-top: 8px;
}

/* ---------- games ---------- */

.games {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
}
.game {
  padding: 30px clamp(18px, 2.4vw, 34px) 26px;
  border-bottom: 1px solid var(--line-strong);
  border-right: 1px solid var(--line-strong);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  transition: background 0.3s ease;
}
.game:last-child { border-right: 0; }
.game::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--accent, var(--lime));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.game:hover::before { transform: scaleX(1); }
.game:hover { background: rgba(242, 239, 228, 0.035); }
.game[data-accent="lime"] { --accent: var(--lime); }
.game[data-accent="orange"] { --accent: var(--orange); }
.game[data-accent="blue"] { --accent: var(--blue); }

.game-id { color: var(--muted); }
.game h3 { font-size: clamp(30px, 3.2vw, 44px); }
.game p { color: rgba(242, 239, 228, 0.68); font-size: 14.5px; flex: 1; }

.game dl {
  margin: 0;
  border-top: 1px dashed var(--line);
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.game dl div { display: flex; justify-content: space-between; gap: 12px; }
.game dt { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.game dd { margin: 0; font-size: 13.5px; }

/* ---------- schedule ---------- */

.split .section-head { margin-bottom: 20px; }

.schedule {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line-strong);
  margin-top: 40px;
}
.day { padding: 28px clamp(16px, 2.6vw, 36px) 10px 0; }
.day + .day { border-left: 1px solid var(--line-strong); padding-left: clamp(16px, 2.6vw, 36px); }
.day h3 {
  font-size: clamp(24px, 2.4vw, 34px);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 22px;
}
.day h3 .mono { color: var(--lime); font-size: 11px; }
.day ol { list-style: none; margin: 0; padding: 0; }
.day li {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 15px;
}
.day li:last-child { border-bottom: 0; }
.day time { font-family: var(--mono); font-size: 12px; color: var(--muted); padding-top: 2px; }

/* ---------- rules ---------- */

.rules { border-top: 1px solid var(--line-strong); }
.rules details { border-bottom: 1px solid var(--line-strong); }
.rules summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  font-family: var(--display);
  font-size: clamp(19px, 2vw, 26px);
  text-transform: uppercase;
  transition: color 0.2s;
}
.rules summary::-webkit-details-marker { display: none; }
.rules summary .mono { color: var(--lime); font-size: 10.5px; }
.rules summary::after {
  content: "+";
  margin-left: auto;
  font-family: var(--mono);
  font-size: 20px;
  color: var(--muted);
  transition: transform 0.25s, color 0.2s;
}
.rules details[open] summary::after { content: "−"; color: var(--lime); }
.rules summary:hover { color: var(--lime); }
.rules details p {
  max-width: 74ch;
  padding: 0 0 24px 44px;
  color: rgba(242, 239, 228, 0.7);
  font-size: 15px;
}

/* ---------- register ---------- */

.register {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 90px);
  padding: clamp(64px, 9vw, 120px) var(--pad);
  background: var(--bone);
  color: var(--ink);
}

.register-info .index { color: #5c6b12; display: block; margin-bottom: 14px; }
.register-info h2 { font-size: clamp(40px, 5.4vw, 74px); margin-bottom: 24px; }
.register-info .lede { color: rgba(11, 11, 12, 0.74); max-width: 40ch; }

.checklist { list-style: none; margin: 32px 0 0; padding: 0; border-top: 1px solid rgba(11,11,12,0.2); }
.checklist li {
  display: flex;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(11, 11, 12, 0.14);
  font-size: 15px;
}
.checklist span {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--lime);
  font-family: var(--mono);
  font-size: 13px;
  flex: none;
}

.contact { margin-top: 34px; }
.contact .label { color: rgba(11, 11, 12, 0.55); margin-bottom: 6px; }
.contact a { font-size: 18px; text-decoration: none; border-bottom: 1px solid rgba(11,11,12,0.3); }
.contact a:hover { border-color: var(--ink); }

.form-card {
  background: var(--ink);
  color: var(--bone);
  padding: clamp(22px, 3vw, 38px);
  position: relative;
  align-self: start;
}
.form-card::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(242, 239, 228, 0.1);
  pointer-events: none;
}

.form-head {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-strong);
  margin-bottom: 24px;
}

fieldset { border: 0; margin: 0 0 26px; padding: 0; }
legend { color: var(--lime); margin-bottom: 14px; padding: 0; }

.field { display: block; margin-bottom: 14px; }
.field > span {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 7px;
}

input[type="text"], input[type="email"] {
  width: 100%;
  background: rgba(242, 239, 228, 0.045);
  border: 1px solid var(--line-strong);
  color: var(--bone);
  font-family: var(--body);
  font-size: 15px;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}
input::placeholder { color: rgba(242, 239, 228, 0.3); }
input:focus { border-color: var(--lime); background: rgba(216, 255, 62, 0.05); }
input.invalid { border-color: var(--orange); background: rgba(255, 92, 43, 0.07); }

.err {
  display: block;
  color: var(--orange);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  min-height: 0;
  margin-top: 5px;
}
.err:empty { display: none; }

.choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.choice { cursor: pointer; position: relative; display: block; }
.choice input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: pointer; }
.choice-box {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border: 1px solid var(--line-strong);
  padding: 13px 12px;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
  height: 100%;
}
.choice-box .mono { color: var(--muted); font-size: 9.5px; }
.choice-box strong { font-size: 14px; font-weight: 600; line-height: 1.2; }
.choice-box small { font-size: 11.5px; color: var(--muted); }
.choice input:checked + .choice-box {
  border-color: var(--lime);
  background: var(--lime);
  color: var(--ink);
}
.choice input:checked + .choice-box .mono,
.choice input:checked + .choice-box small { color: rgba(11, 11, 12, 0.62); }
.choice:hover .choice-box { border-color: var(--lime); }
.choice input:focus-visible + .choice-box { outline: 2px solid var(--lime); outline-offset: 2px; }

.roster { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 10px; }
.roster .field { margin-bottom: 10px; }
.roster .field > span { color: var(--bone); opacity: 0.6; }
.roster .sub > span { color: var(--lime); opacity: 1; }

.agree {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 12.5px;
  color: rgba(242, 239, 228, 0.72);
  margin-top: 14px;
  cursor: pointer;
  line-height: 1.5;
}
.agree input {
  appearance: none;
  width: 17px;
  height: 17px;
  border: 1px solid var(--line-strong);
  background: transparent;
  flex: none;
  margin-top: 1px;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.agree input:checked { background: var(--lime); border-color: var(--lime); }
.agree input:checked::after { content: "✕"; color: var(--ink); font-size: 11px; font-weight: 700; }
.agree input.invalid { border-color: var(--orange); }

.btn-wide { width: 100%; margin-top: 6px; padding: 16px 20px; }
.btn-wide:hover { background: var(--lime); color: var(--ink); }
.btn-wide:hover .mono { transform: translateX(4px); }
.btn-wide .mono { transition: transform 0.2s; }

.form-card .tiny { margin-top: 12px; text-align: center; }

/* ---------- pass ---------- */

.pass { position: relative; }
.pass-top { display: flex; justify-content: space-between; color: var(--lime); padding-bottom: 16px; border-bottom: 1px dashed var(--line-strong); }
.pass h3 { font-size: clamp(34px, 4vw, 52px); margin: 24px 0 6px; word-break: break-word; }
.pass-code { color: var(--muted); margin-bottom: 22px; }
.pass-code span { color: var(--bone); }
.barcode {
  height: 64px;
  display: flex;
  gap: 3px;
  align-items: stretch;
  margin-bottom: 24px;
  opacity: 0.9;
}
.barcode i { background: var(--bone); display: block; }
.barcode i.gap { background: transparent; }
.pass-meta { margin: 0 0 18px; border-top: 1px solid var(--line); }
.pass-meta div { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); gap: 16px; }
.pass-meta dt { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.pass-meta dd { margin: 0; font-size: 14px; text-align: right; }
#another { margin-top: 6px; font-size: 13.5px; }
.pass .tiny { display: block; max-width: 42ch; margin-bottom: 12px; }

/* ---------- footer ---------- */

.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  padding: 30px var(--pad);
  border-top: 1px solid var(--line);
}
.footer-mark { font-family: var(--display); font-size: 22px; }
.footer-links { display: flex; gap: 22px; margin-left: auto; }
.footer-links a { font-size: 13.5px; text-decoration: none; }
.footer-links a:hover { color: var(--lime); }
.footer .tiny { width: 100%; margin: 0; border-top: 1px solid var(--line); padding-top: 18px; }

/* ---------- reveal ---------- */

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */

@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; align-items: start; min-height: 0; }
  .ticket { max-width: 520px; }
  .hero-ghost { display: none; }
  .section-head { grid-template-columns: 1fr; gap: 14px; }
  .section-head .index { padding-top: 0; }
  .games { grid-template-columns: 1fr; }
  .game { border-right: 0; }
  .register { grid-template-columns: 1fr; }
  .form-card { max-width: 620px; }
}

@media (max-width: 720px) {
  .topnav { display: none; }
  .topbar { justify-content: space-between; }
  .brand-sub { display: none; }
  .schedule { grid-template-columns: 1fr; }
  .day + .day { border-left: 0; border-top: 1px solid var(--line-strong); padding-left: 0; margin-top: 10px; }
  .clock { grid-template-columns: repeat(4, 1fr); }
  .rules details p { padding-left: 0; }
  .footer-links { margin-left: 0; }
}

@media (max-width: 460px) {
  .roster { grid-template-columns: repeat(2, 1fr); }
  .choice-grid { grid-template-columns: 1fr; }
  .choice-box { flex-direction: row; align-items: baseline; gap: 8px; }
  .choice-box strong { flex: 1; }
  .hero-actions { gap: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
