@font-face {
  font-family: "Space Grotesk";
  src: url("assets/space-grotesk.ttf") format("truetype");
  font-weight: 300 700;
  font-display: swap;
}

.official-opening h1 { font-size: clamp(5rem, 11vw, 10rem); }
.official-opening .masthead nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .4rem clamp(.75rem, 3vw, 2rem);
}

.official-opening nav a, .official-footer {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.official-opening nav a { text-decoration: none; }
.official-opening nav a:hover, .official-footer a:hover { color: var(--pink); }
.official-section {
  border-top: 1px solid #ffffff25;
  padding: clamp(3.5rem, 8vw, 7rem) var(--gutter);
}

.official-inner { max-width: 74rem; margin-inline: auto; }
.official-section h2 {
  max-width: 18ch;
  margin: 0;
  font: 400 clamp(3rem, 6.7vw, 5.8rem)/.95 "Bebas Neue", Impact, sans-serif;
}

.section-lede { max-width: 54ch; color: var(--muted); }
.gameplay-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(1.5rem, 5vw, 5rem);
  align-items: center;
}

.gameplay-art { position: relative; overflow: hidden; border: 1px solid #ffffff30; border-radius: .6rem; }
.gameplay-art img { display: block; width: 100%; min-height: 20rem; object-fit: cover; }
.gameplay-art span {
  position: absolute;
  inset: auto 0 0;
  padding: 2rem 1rem .75rem;
  background: linear-gradient(transparent, #100a16ee);
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.gameplay-steps { margin: 1.5rem 0 0; }
.gameplay-steps div { padding: .75rem 0; border-top: 1px solid #ffffff25; }
.gameplay-steps dt { color: var(--pink); font-weight: 700; }
.gameplay-steps dd { margin: .15rem 0 0; color: var(--muted); }

.collection { background: radial-gradient(ellipse at 25% 0, #321b3c, var(--ink) 70%); }
.official-cards, .feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.9rem, 2.3vw, 1.8rem);
  margin-top: 2rem;
}

.official-cards figure {
  margin: 0;
  overflow: hidden;
  border-radius: .6rem;
  border: 1px solid #ffffff26;
  background: #1f1427;
}
.official-cards img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 33%; }
.official-cards figcaption { padding: 1rem; }
.official-cards small, .feature-grid small, .store-badge small {
  display: block;
  color: var(--pink);
  font-size: .71rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.official-cards strong {
  display: block;
  margin: .3rem 0;
  font: 400 clamp(1.75rem, 4vw, 3rem)/1 "Bebas Neue", Impact, sans-serif;
}

.official-cards figcaption span { color: var(--muted); font-size: .9rem; }
.platforms { background: #1a1023; }
.feature-grid {
  list-style: none;
  padding: 0;
  margin-bottom: 0;
}

.feature-grid li {
  padding: clamp(1.15rem, 2.4vw, 2rem);
  border: 1px solid #ffffff26;
  border-top: 2px solid var(--pink);
  border-radius: .6rem;
  background: #1f1427;
}

.feature-grid h3 {
  margin: .4rem 0 0;
  font: 400 clamp(1.8rem, 3.5vw, 2.8rem)/1 "Bebas Neue", Impact, sans-serif;
}

.feature-grid p { margin-bottom: 0; color: var(--muted); }
.match-steps img {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 1rem;
  border: 1px solid #ffffff26;
  border-radius: .4rem;
}

.matches, .locations { background: #15101c; }
.events { background: radial-gradient(ellipse at top right, #38213d, #1a1023 72%); }
.event-grid li:nth-child(2) { border-top-color: #c4a7ff; }
.event-grid li:nth-child(3) { border-top-color: #ffc68c; }

.store-badges {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .6rem;
  max-width: 36.6rem;
  margin-top: 1.4rem;
}

.store-badge:disabled {
  display: flex;
  align-items: center;
  min-height: 4.75rem;
  gap: .8rem;
  padding: .7rem .95rem;
  border: 1px solid #ffffff45;
  border-radius: .65rem;
  background: #151317;
  color: var(--paper);
  opacity: 1;
  cursor: default;
  text-align: left;
  font-family: "Space Grotesk", system-ui, sans-serif;
}

.store-badge-primary:disabled {
  border-color: var(--pink);
  background: var(--pink);
  color: #1d0a17;
}

.store-badge svg {
  flex: 0 0 auto;
  width: 1.7rem;
  height: 1.7rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.store-badge .store-icon { fill: currentColor; stroke: none; }
.store-badge small { color: inherit; font-size: .65rem; }
.store-badge strong { display: block; font-size: 1.35rem; line-height: 1.2; }
.store-arrow { margin-inline-start: auto; font-size: 1.5rem; }

@media (max-width: 480px) {
  .store-badge:disabled { gap: .45rem; padding-inline: .55rem; }
  .store-badge svg { width: 1.25rem; height: 1.25rem; }
  .store-badge strong { font-size: 1.05rem; }
}
.official-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem var(--gutter);
  border-top: 1px solid #ffffff25;
  color: var(--muted);
}

@media (max-width: 760px) {
  .official-opening .masthead { gap: .45rem; }
  .official-opening nav a { font-size: .64rem; }
  .gameplay-layout { grid-template-columns: 1fr; }
  .gameplay-art { grid-row: 2; }
  .gameplay-art img { min-height: 0; }
}

@media (max-width: 560px) {
  .official-cards, .feature-grid { grid-template-columns: 1fr; }
  .official-cards img { aspect-ratio: 5 / 4; }
}

.gameplay, .matches, .events {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.section-performer {
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

.section-performer img {
  display: block;
  width: 100%;
  height: auto;
}

.gameplay .section-performer {
  top: .5rem;
  right: clamp(-5rem, -3vw, -1rem);
  width: clamp(16rem, 34vw, 36rem);
  opacity: .58;
  mask-image: linear-gradient(to right, transparent, #000 55%);
}

:is(.matches, .events) .section-performer {
  top: 0;
  left: clamp(-7rem, -5vw, -2rem);
  width: clamp(19rem, 39vw, 42rem);
  opacity: .74;
  mask-image: linear-gradient(to left, transparent 2%, #000 40%);
}

:is(.matches, .events) :is(.eyebrow, h2, .section-lede) {
  margin-inline-start: clamp(11rem, 31vw, 26rem);
}

@media (max-width: 760px) {
  .gameplay .section-performer { right: -4rem; opacity: .35; }
  :is(.matches, .events) .section-performer { left: -6rem; opacity: .34; }
  :is(.matches, .events) :is(.eyebrow, h2, .section-lede) {
    margin-inline-start: 0;
  }
}

.events .section-performer { left: 0; }

@media (prefers-reduced-motion: no-preference) {
  .section-performer img { animation: performer-float 12s ease-in-out infinite; }
}

@keyframes performer-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.locations { overflow: hidden; }

.locations-layout {
  position: relative;
  isolation: isolate;
}

.locations-intro {
  position: relative;
  display: flow-root;
  padding-inline-end: min(28%, 18rem);
}

.locations-layout .section-performer {
  bottom: -6.25rem;
  inset-inline-end: -1rem;
  width: clamp(12rem, 23vw, 18rem);
  opacity: .74;
  mask-image: linear-gradient(to right, transparent, #000 42%);
}

@media (max-width: 600px) {
  .locations-intro { padding-inline-end: 0; }
  .locations-layout .section-performer { inset-inline-end: -3rem; opacity: .34; }
}

.world-path-map {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 2rem;
}

.location-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.location-cards > * { aspect-ratio: 1; }

.location-cards figure { position: relative; }

.location-cards img { height: 100%; aspect-ratio: auto; }
.location-cards figcaption {
  position: absolute;
  inset: auto 0 0;
  padding-top: 2rem;
  background: linear-gradient(transparent, #100a16 86%);
  text-shadow: -1px 0 #000, 1px 0 #000, 0 -1px #000, 0 1px #000;
}

.location-cards strong { font-size: clamp(1.5rem, 3vw, 2.5rem); }

.location-discovery {
  display: grid;
  place-items: center;
  padding: 1rem;
  border: 1px solid #ff75aa66;
  border-radius: .6rem;
  background: radial-gradient(ellipse at top, #432440, #1f1427 75%);
  text-align: center;
}

.location-discovery p { margin: 0; }
.location-discovery strong {
  display: inline;
  color: var(--pink);
  font-size: clamp(1.5rem, 3vw, 2.75rem);
}
.location-discovery span { color: var(--muted); }

@media (max-width: 900px) {
  .location-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 420px) {
  .location-cards { grid-template-columns: 1fr; }
}

.collection-heading,
.card-explorer {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
}

.collection-heading { align-items: end; }
.collection-heading .section-lede { margin-bottom: 0; }
.card-explorer { align-items: center; margin-top: clamp(2rem, 5vw, 3.5rem); }

.card-choices {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-bottom: 1px solid #ffffff30;
}

.card-choice-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
}

.card-choice {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: baseline;
  gap: .25rem 1rem;
  margin: 0;
  padding: clamp(.9rem, 2.5vw, 1.7rem) .5rem;
  border-top: 1px solid #ffffff30;
  color: var(--paper);
  cursor: pointer;
  text-transform: none;
  letter-spacing: normal;
}

.card-choice-title {
  font: 400 clamp(1.7rem, 3vw, 2.5rem)/1 "Bebas Neue", Impact, sans-serif;
}

.card-choice-number { font-size: .78rem; }
.card-choice-arrow { font-size: 1.3rem; }
.card-choice-description {
  grid-column: 2;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 400;
}

.card-choice:hover,
.card-choice-input:checked + .card-choice { color: var(--pink); }
.card-choice-input:focus-visible + .card-choice { outline: 2px solid var(--pink); outline-offset: -2px; }

.card-preview {
  border: 1px solid #ffffff30;
  border-radius: .7rem;
  background: radial-gradient(ellipse at center, #46203c, #1f1427 75%);
}

.card-preview-item {
  display: none;
  grid-template-rows: auto 1fr auto;
  gap: 1rem;
  justify-items: center;
  margin: 0;
  padding: clamp(1.15rem, 3vw, 2rem);
}

.card-explorer:has(#choice-performer:checked) [data-card-type="performer"],
.card-explorer:has(#choice-instant:checked) [data-card-type="instant"],
.card-explorer:has(#choice-passive:checked) [data-card-type="passive"],
.card-explorer:has(#choice-boost:checked) [data-card-type="boost"] { display: grid; }

.card-preview-item .eyebrow { justify-self: start; margin: 0; }
.card-preview-item img {
  display: block;
  width: min(68%, 13rem);
  height: auto;
  border-radius: .6rem;
  box-shadow: 0 1rem 2.4rem #0009;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .card-preview-item img { transform: rotate(3deg); transition: transform .3s ease; }
  .card-preview-item img:hover { transform: rotate(0); }
}

.card-preview-item figcaption { min-height: 5rem; text-align: center; }
.card-preview-item figcaption strong {
  display: block;
  font: 400 1.75rem/1.1 "Bebas Neue", Impact, sans-serif;
}
.card-preview-item figcaption span { color: var(--muted); font-size: .85rem; }

@media (max-width: 760px) {
  .collection-heading, .card-explorer { grid-template-columns: 1fr; }
  .collection-heading { gap: 0; }
  .card-preview { width: min(100%, 30rem); justify-self: center; }
}

.roster { background: radial-gradient(ellipse at top left, #321b3c, var(--ink) 70%); }
.roster-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; }
.roster-controls { display: flex; gap: .5rem; }
.roster-controls[hidden] { display: none; }
.roster-controls button {
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: .4rem;
  background: #1f1427;
  border: 1px solid #ff75aa70;
  color: var(--pink);
}
.roster-controls button:disabled { opacity: .35; cursor: default; }
.performer-track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--pink) #1f1427;
  padding: 1.75rem 0 1rem;
  margin-top: .25rem;
}
.roster-card {
  position: relative;
  flex: 0 0 clamp(13rem, 25vw, 18rem);
  aspect-ratio: 9 / 16;
  overflow: hidden;
  scroll-snap-align: start;
  border: 1px solid #ffffff30;
  border-radius: .6rem;
  margin: 0;
}
.roster-card img { display: block; width: 100%; height: 100%; object-fit: cover; }
.roster-card figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 3rem 1rem 1rem;
  background: linear-gradient(transparent, #100a16f5 75%);
}
.roster-card small { color: var(--pink); font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; }
.roster-card h3 { margin: .25rem 0 0; font: 400 2.5rem/1 "Bebas Neue", Impact, sans-serif; }
.roster-card-more {
  display: grid;
  place-items: center;
  background: var(--pink);
  color: #fff;
  text-align: center;
  font: 400 clamp(2.5rem, 5vw, 4rem)/1 "Bebas Neue", Impact, sans-serif;
}
.platforms {
  background:
    linear-gradient(90deg, #100a16eb, #100a16a6),
    url("assets/midnight-lounge.webp") center / cover no-repeat;
}

.waitlist { background: #150c1c; }
.waitlist .intro { margin-bottom: 1.4rem; }
.waitlist .signup { max-width: 38rem; }
