:root {
  --ink: #fff7e8;
  --coal: #12100d;
  --coal-2: #1d1812;
  --paper: #f2dfbd;
  --paper-2: #ead0a0;
  --gold: #d49a42;
  --red: #c64235;
  --teal: #46a6a2;
  --green: #355b3d;
  --muted: #cbb98f;
  --line: rgba(255, 247, 232, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--coal);
  color: var(--ink);
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 600;
}

a {
  color: inherit;
}

.wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  min-height: 92svh;
  background:
    linear-gradient(90deg, rgba(18, 16, 13, 0.96), rgba(18, 16, 13, 0.78) 52%, rgba(18, 16, 13, 0.32)),
    url("/assets/streamathon/launch-promo.png") center / cover;
  display: flex;
  flex-direction: column;
}

.topbar {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.mark {
  text-decoration: none;
  text-transform: uppercase;
  font-family: "Roboto Slab", serif;
  font-weight: 900;
  color: var(--gold);
}

.navlinks {
  display: flex;
  gap: 16px;
  color: var(--muted);
  font-size: 0.9rem;
}

.navlinks a {
  text-decoration: none;
}

.hero-content {
  width: min(1180px, calc(100% - 32px));
  margin: auto auto 8vh;
}

.eyebrow {
  color: var(--gold);
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.18rem;
  margin: 0 0 10px;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 840px;
  margin: 0;
  font-family: "Roboto Slab", serif;
  font-size: 6rem;
  line-height: 0.9;
  text-transform: uppercase;
  overflow-wrap: normal;
  word-break: normal;
}

h2 {
  margin: 0;
  font-family: "Roboto Slab", serif;
  font-size: 3.6rem;
  line-height: 0.98;
  text-transform: uppercase;
}

h3 {
  margin: 0;
  font-size: 1.02rem;
}

p {
  color: var(--muted);
  line-height: 1.6;
}

.hero-copy {
  max-width: 690px;
  font-size: 1.15rem;
}

.hero-badge {
  width: min(240px, 48vw);
  aspect-ratio: 4 / 5;
  display: block;
  margin: 22px 0 0;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  border: 1px solid rgba(212, 154, 66, 0.42);
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.42);
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 6px;
  border: 1px solid transparent;
  text-decoration: none;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.primary {
  background: var(--red);
  color: white;
}

.ghost {
  border-color: var(--line);
  color: var(--ink);
}

.band {
  width: 100%;
}

.intro {
  background: var(--paper);
  color: #17120c;
}

.section {
  padding: 78px 0;
}

.intro-grid {
  padding: 74px 0;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
}

.intro h2,
.intro p {
  color: #17120c;
}

.rule-list,
.goal-list,
.bundle-grid,
.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.card,
.goal-card,
.value-panel,
.time-row,
.fine-print,
.badge-card,
.faq-card,
.clip-form,
.vault-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 247, 232, 0.055);
  padding: 20px;
}

.intro .card {
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(23, 18, 12, 0.14);
}

.section-head {
  max-width: 760px;
  margin-bottom: 28px;
}

.timer-grid,
.wheel-layout,
.clip-layout,
.vault-head {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 18px;
}

.event-art {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, minmax(0, 0.74fr));
  gap: 12px;
  margin: 0 0 34px;
}

.event-art-card {
  margin: 0;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 247, 232, 0.055);
  overflow: hidden;
}

.event-art-card img {
  width: 100%;
  height: 100%;
  min-height: 210px;
  aspect-ratio: 1;
  display: block;
  object-fit: cover;
  background: #fffaf0;
}

.event-art-card:first-child {
  grid-column: span 1;
}

.event-art-card:first-child img {
  aspect-ratio: 3 / 1;
  object-fit: contain;
  padding: 18px;
}

.event-art-card figcaption {
  padding: 10px 12px 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.value-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.value-row:last-child {
  border-bottom: 0;
}

.value-row span,
.time-row span,
.goal-card strong,
.badge-card span {
  color: var(--gold);
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 900;
}

.timeline {
  display: grid;
  gap: 10px;
}

.goals-band {
  background: #171814;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.tab {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.tab.is-active {
  background: var(--gold);
  border-color: var(--gold);
  color: #17120c;
}

.goal-list {
  grid-template-columns: 1fr;
}

.goal-card {
  min-height: 156px;
  display: grid;
  grid-template-columns: minmax(240px, 280px) minmax(0, 1fr);
  gap: 0;
  padding: 0;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 247, 232, 0.09), rgba(255, 247, 232, 0.03)),
    rgba(18, 16, 13, 0.62);
}

.goal-threshold {
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 18px 20px;
  background:
    linear-gradient(180deg, rgba(212, 154, 66, 0.98), rgba(198, 66, 53, 0.92));
  color: #17120c;
}

.goal-value {
  color: #17120c;
  font-family: "Bebas Neue", sans-serif;
  font-size: 5rem;
  line-height: 0.86;
  text-transform: uppercase;
  overflow-wrap: normal;
  word-break: normal;
}

.goal-unit,
.goal-kicker {
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 900;
}

.goal-unit {
  color: rgba(23, 18, 12, 0.78);
}

.goal-copy {
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 22px 24px;
}

.goal-kicker {
  color: var(--gold);
}

.goal-copy h3 {
  font-family: "Roboto Slab", serif;
  font-size: 1.28rem;
  line-height: 1.08;
  text-transform: uppercase;
}

.goal-copy p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.45;
}

.merch-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.merch-card {
  min-height: 100%;
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 247, 232, 0.055);
  color: inherit;
  text-decoration: none;
}

.merch-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 6px;
  background: #231b12;
}

.merch-card span {
  color: var(--gold);
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 900;
}

.fine-print ul {
  margin: 0 0 18px;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.5;
}

.text-link {
  color: var(--gold);
  font-weight: 900;
}

.wheel-list,
.clip-prizes {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-content: flex-start;
}

.wheel-list span,
.clip-prizes span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  border-radius: 999px;
  background: rgba(212, 154, 66, 0.13);
  border: 1px solid rgba(212, 154, 66, 0.32);
  padding: 0 13px;
  font-size: 0.92rem;
}

.vault-band {
  background:
    linear-gradient(135deg, rgba(53, 91, 61, 0.82), rgba(18, 16, 13, 0.96)),
    url("/assets/streamathon/live-now.png") center / cover;
}

.vault-head {
  align-items: end;
  margin-bottom: 20px;
}

.vault-status {
  justify-self: end;
  border: 1px solid rgba(255, 247, 232, 0.22);
  background: rgba(18, 16, 13, 0.72);
  border-radius: 8px;
  padding: 18px;
  min-width: 240px;
}

.vault-status strong,
.vault-status span {
  display: block;
}

.vault-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.vault-card {
  background: rgba(18, 16, 13, 0.78);
  display: grid;
  gap: 14px;
}

.vault-teaser {
  min-height: 220px;
  align-content: center;
  border-color: rgba(212, 154, 66, 0.48);
  background: rgba(212, 154, 66, 0.13);
}

.vault-image {
  position: relative;
  aspect-ratio: 1;
  border-radius: 6px;
  overflow: hidden;
  background: #231b12;
}

.vault-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vault-card.is-locked .vault-image img {
  filter: blur(14px) saturate(0.2) brightness(0.62);
  transform: scale(1.04);
}

.vault-image span {
  position: absolute;
  inset: auto 10px 10px;
  min-height: 32px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(18, 16, 13, 0.86);
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.1rem;
  color: var(--gold);
}

.badge-card {
  min-height: 92px;
}

.clip-band {
  background: var(--paper);
  color: #17120c;
}

.clip-layout {
  padding: 78px 0;
  align-items: start;
}

.clip-band p {
  color: #564631;
}

.clip-form {
  background: rgba(255, 255, 255, 0.62);
  border-color: rgba(23, 18, 12, 0.15);
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 7px;
  color: #2a2116;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(23, 18, 12, 0.22);
  border-radius: 6px;
  padding: 12px;
  font: inherit;
  background: #fffaf0;
  color: #17120c;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: #3f321f;
}

.footer {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

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

@media (max-width: 980px) {
  h1 {
    font-size: 5rem;
  }

  .intro-grid,
  .timer-grid,
  .wheel-layout,
  .clip-layout,
  .vault-head {
    grid-template-columns: 1fr;
  }

  .goal-list,
  .merch-grid,
  .vault-grid,
  .event-art {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vault-status {
    justify-self: stretch;
  }
}

@media (max-width: 640px) {
  .navlinks {
    display: none;
  }

  h1 {
    font-size: 2.82rem;
  }

  h2 {
    font-size: 2.4rem;
  }

  .hero {
    min-height: 760px;
  }

  .hero-content {
    margin-bottom: 46px;
  }

  .rule-list,
  .goal-list,
  .merch-grid,
  .bundle-grid,
  .faq-list,
  .vault-grid,
  .event-art {
    grid-template-columns: 1fr;
  }

  .event-art-card img {
    min-height: 180px;
  }

  .goal-card {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .goal-threshold {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: end;
    align-content: center;
    gap: 10px;
    padding: 14px 16px;
  }

  .goal-value {
    font-size: 3.6rem;
    overflow-wrap: normal;
    word-break: normal;
  }

  .goal-unit {
    padding-bottom: 7px;
  }

  .goal-copy {
    padding: 18px;
  }

  .section,
  .clip-layout,
  .intro-grid {
    padding: 52px 0;
  }
}
