@font-face {
  font-family: Dela;
  src: url("/assets/fonts/dela-gothic.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: DM;
  src: url("/assets/fonts/dm-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --paper: #f6f3e9;
  --ink: #292820;
  --blue: #273bcf;
  --orange: #ff835c;
  --yellow: #f4ec98;
  --line: #d5d1c4;
  --button-bg: #273bcf;
  --button-text: #ffffff;
  color-scheme: light;
  color: var(--ink);
  background: var(--paper);
  font-family: DM, sans-serif;
  font-synthesis: none;
}
:root[data-theme="dark"] {
  --paper: #181a21;
  --ink: #f0ecdf;
  --blue: #9ba8ff;
  --orange: #ff956f;
  --yellow: #34352c;
  --line: #3d414c;
  --button-bg: #a5b0ff;
  --button-text: #171b36;
  color-scheme: dark;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.header-controls {
  display: flex;
  align-items: center;
  gap: 14px;
}
.language-select {
  font:
    500 13px DM,
    sans-serif;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 10px 8px;
  min-height: 44px;
  cursor: pointer;
}
.theme-button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
}
.theme-button:hover {
  background: var(--yellow);
}
.theme-button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.theme-button .sun-icon {
  display: none;
}
[data-theme="dark"] .theme-button .sun-icon {
  display: block;
}
[data-theme="dark"] .theme-button .moon-icon {
  display: none;
}
.mascot-legs {
  stroke: var(--ink);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
a {
  color: inherit;
}
::selection {
  background: var(--yellow);
  color: var(--blue);
}
:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 6px;
}
.shell {
  width: min(1200px, calc(100% - 96px));
  margin: auto;
}
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  transform: translateY(-150%);
  padding: 14px;
  background: var(--button-bg);
  color: var(--button-text);
  z-index: 10;
}
.skip-link:focus {
  transform: none;
}
.header {
  height: 103px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--ink);
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-family: Dela, sans-serif;
  color: var(--blue);
  font-size: 27px;
  letter-spacing: -1.8px;
}
.brand span {
  color: var(--ink);
}
.brand i {
  display: inline-block;
  font:
    normal 38px/1 DM,
    sans-serif;
  margin-left: 8px;
  transition: transform 0.4s;
}
.brand:hover i {
  transform: rotate(90deg);
}
.eyebrow,
.ticket-meta,
.game-number,
.art-caption,
.daily-label,
.strip-note {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
}
.how-button {
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 25px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  padding: 13px 22px;
  background: transparent;
  font-weight: 600;
  font-size: 13px;
  transition:
    background 0.2s,
    color 0.2s,
    transform 0.2s;
}
.how-button span[aria-hidden] {
  font-size: 22px;
  line-height: 1;
}
.how-button:hover {
  background: var(--button-bg);
  color: var(--button-text);
  border-color: var(--blue);
  transform: rotate(-3deg);
}
.hero {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  gap: 20px;
  align-items: center;
  padding: 57px 0 47px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
}
h1 {
  color: var(--blue);
  font:
    400 clamp(52px, 5.6vw, 78px)/1.15 Dela,
    sans-serif;
  letter-spacing: -2.8px;
  word-spacing: 0.08em;
  margin: 24px 0 28px;
}
.tongue-word {
  position: relative;
  white-space: nowrap;
}
.tongue-word svg {
  position: absolute;
  width: 100%;
  height: 16px;
  left: 0;
  bottom: -9px;
  overflow: visible;
  fill: none;
  stroke: var(--orange);
  stroke-width: 4px;
  stroke-linecap: round;
}
.hero-description {
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
}
.hero-description strong {
  font-weight: 600;
}
.playground {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 0;
}
.mascot-button {
  display: block;
  position: relative;
  width: min(100%, 340px);
  border: 0;
  padding: 0;
  background: none;
  transform: rotate(-9deg);
}
.mascot {
  display: block;
  width: 100%;
  overflow: visible;
}
.mascot-shape {
  fill: var(--orange);
  stroke: #292820;
  stroke-width: 2.5;
}
.mascot-body {
  transform-origin: 170px 260px;
  transition: transform 0.24s;
}
.mascot-button:hover .mascot-body {
  transform: rotate(5deg) translateY(-5px);
}
.mascot-button:active .mascot-body {
  transform: scale(1.06, 0.92);
}
.eyes {
  fill: #f6f3e9;
  stroke: #292820;
  stroke-width: 2;
}
.pupils {
  stroke: none;
}
.mouth,
.cheek {
  fill: none;
  stroke: #292820;
  stroke-width: 5;
  stroke-linecap: round;
}
.cheek {
  stroke-width: 3;
}
.mascot-button.is-poked .mascot-body {
  animation: wobble 0.55s ease;
}
.mascot-button.is-poked .mouth {
  d: path("M146 194Q171 240 196 194Z");
  fill: #292820;
}
.floating-spark {
  position: absolute;
  color: var(--blue);
  font-size: 42px;
  pointer-events: none;
}
.spark-one {
  left: 3px;
  top: 75px;
  transform: rotate(10deg);
}
.spark-two {
  right: 0;
  bottom: 45px;
  font-size: 52px;
}
.collection {
  padding-top: 24px;
}
.collection-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.collection-heading h2 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.6px;
  margin: 0;
}
.collection-heading h2 span[aria-hidden] {
  font-size: 27px;
  font-weight: 400;
  display: inline-block;
  margin-left: 16px;
}
.game-ticket {
  display: block;
  text-decoration: none;
  position: relative;
  filter: drop-shadow(0 0 0 transparent);
  transition:
    transform 0.22s,
    filter 0.22s;
}
.game-ticket:hover {
  transform: translateY(-4px);
  filter: drop-shadow(5px 7px 0 var(--ink));
}
.ticket-surface {
  --ticket-seam: calc((100% - 2px) * 1.14 / 2.14 + 1px);
  --notch-start: var(--ticket-seam) 0;
  --notch-end: var(--ticket-seam) 100%;
  display: grid;
  grid-template-columns: 1.14fr 1fr;
  min-height: 295px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  background: var(--yellow);
  position: relative;
  /* Cut the surface before the parent casts its shadow. */
  mask-image:
    radial-gradient(
      circle at var(--notch-start),
      transparent 10px,
      #000 10.5px
    ),
    radial-gradient(circle at var(--notch-end), transparent 10px, #000 10.5px);
  mask-composite: intersect;
}
.game-art {
  position: relative;
  overflow: hidden;
  min-height: 295px;
  background: #451a16;
  color: #fff3d6;
  border-radius: 3px 0 0 3px;
}
.game-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #10040350, transparent 40%, #140301c9);
}
.game-art img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 47%;
  transition: transform 0.5s;
}
.game-ticket:hover .game-art img {
  transform: scale(1.04);
}
.game-number {
  position: absolute;
  top: 22px;
  left: 24px;
  z-index: 1;
  font-size: 10px;
}
.art-title {
  position: absolute;
  z-index: 1;
  left: 24px;
  bottom: 48px;
  font:
    900 italic clamp(40px, 4.4vw, 60px)/0.9 Georgia,
    serif;
  letter-spacing: -3px;
  text-shadow: 2px 3px #39110e;
}
.art-title span {
  color: #ff835c;
}
.art-caption {
  position: absolute;
  z-index: 1;
  bottom: 24px;
  left: 26px;
  font-size: 9px;
  letter-spacing: 1.3px;
}
.ticket-info {
  position: relative;
  padding: 27px 32px 30px;
  border-left: 1px dashed #757044;
  display: flex;
  flex-direction: column;
}
.ticket-info::before,
.ticket-info::after {
  content: "";
  position: absolute;
  width: 21px;
  height: 11px;
  background: var(--paper);
  border: 1px solid var(--ink);
  left: -11px;
}
.ticket-info::before {
  top: -1px;
  border-top: 0;
  border-radius: 0 0 20px 20px;
}
.ticket-info::after {
  bottom: -1px;
  border-bottom: 0;
  border-radius: 20px 20px 0 0;
}
.ticket-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 9px;
  letter-spacing: 0.7px;
}
.ticket-info h3 {
  font:
    400 30px/1.2 Dela,
    sans-serif;
  letter-spacing: -1.6px;
  margin: 26px 0 13px;
}
.ticket-info p {
  max-width: 360px;
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 24px;
}
.ticket-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
}
.play-label {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: var(--button-bg);
  color: var(--button-text);
  padding: 13px 17px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 3px;
}
.play-label span[aria-hidden] {
  font-size: 23px;
  line-height: 1;
  transition: transform 0.2s;
}
.game-ticket:hover .play-label span[aria-hidden] {
  transform: translate(2px, -2px);
}
.daily-label {
  font-size: 9px;
  letter-spacing: 0.6px;
  line-height: 1.6;
}
.collection-footnote {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin: 16px 0 0;
  font-size: 11px;
  line-height: 1.6;
}
.reset-note {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}
.reset-note > span[aria-hidden] {
  font-size: 17px;
  line-height: 1;
}
.club-strip {
  margin: 48px 0 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 24px 0;
}
.strip-star {
  font-size: 50px;
  line-height: 1;
  color: var(--blue);
}
.club-strip p {
  font-size: 21px;
  letter-spacing: -0.6px;
  margin: 0;
}
.club-strip strong {
  font-weight: 600;
}
.strip-note {
  margin-left: auto;
  font-size: 9px;
  line-height: 1.7;
}
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 29px 0;
  font-size: 11px;
}
.footer-logo {
  display: flex;
  gap: 6px;
  align-items: center;
  font-family: Dela, sans-serif;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: -0.6px;
}
.footer-logo span {
  color: var(--blue);
  font:
    24px DM,
    sans-serif;
}
footer p {
  margin: 0;
}
.back-top {
  text-decoration: none;
}
.back-top:hover {
  text-decoration: underline;
}
.back-top span[aria-hidden] {
  margin-left: 10px;
}
dialog {
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--ink);
  border-radius: 7px;
  width: min(540px, calc(100% - 32px));
  max-height: calc(100svh - 40px);
  padding: 30px;
  box-shadow: 8px 8px 0 var(--blue);
}
dialog::backdrop {
  background: #17193899;
  backdrop-filter: blur(3px);
}
body:has(dialog[open]) {
  overflow: hidden;
}
.dialog-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.dialog-top .eyebrow {
  font-size: 9px;
}
.close-button {
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: transparent;
  width: 38px;
  height: 38px;
  font-size: 25px;
}
.close-button:hover {
  background: var(--yellow);
}
dialog h2 {
  font:
    400 30px/1.2 Dela,
    sans-serif;
  color: var(--blue);
  letter-spacing: -1px;
  margin: 26px 0 12px;
}
.dialog-intro {
  font-size: 14px;
}
.instructions {
  list-style: none;
  padding: 0;
  margin: 27px 0;
}
.instructions li {
  display: flex;
  gap: 17px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.instructions li > span {
  font-size: 11px;
  color: var(--blue);
  padding-top: 3px;
}
.instructions h3 {
  margin: 0 0 7px;
  font-size: 16px;
}
.instructions p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
}
.dialog-play {
  display: flex;
  justify-content: space-between;
  text-decoration: none;
  background: var(--button-bg);
  color: var(--button-text);
  padding: 16px 20px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 3px;
}
.confetti {
  position: fixed;
  z-index: 5;
  width: 9px;
  height: 14px;
  pointer-events: none;
  animation: scatter 0.8s ease-out forwards;
}
@keyframes scatter {
  to {
    transform: translate(var(--dx), var(--dy)) rotate(var(--spin));
    opacity: 0;
  }
}
@keyframes wobble {
  20% {
    transform: rotate(-12deg) scale(1.05, 0.95);
  }
  50% {
    transform: rotate(12deg);
  }
  75% {
    transform: rotate(-5deg);
  }
}
@media (min-width: 1500px) {
  .hero {
    padding-top: 72px;
    padding-bottom: 64px;
  }
}
@media (max-width: 1050px) {
  .shell {
    width: calc(100% - 64px);
  }
  h1 {
    font-size: clamp(48px, 6vw, 66px);
    letter-spacing: -3px;
  }
  .hero {
    grid-template-columns: 1.55fr 1fr;
  }
  .ticket-info {
    padding: 25px;
  }
  .daily-label {
    display: none;
  }
  .play-label {
    width: 100%;
  }
  .ticket-bottom {
    display: block;
  }
  .mascot-caption svg {
    left: -6px;
  }
}
@media (max-width: 760px) {
  .shell {
    width: calc(100% - 40px);
  }
  .header {
    height: 84px;
  }
  .brand {
    font-size: 24px;
  }
  .how-button {
    padding: 12px 16px;
    gap: 13px;
    font-size: 12px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 37px 0 25px;
    gap: 0;
    position: relative;
  }
  h1 {
    font-size: clamp(36px, 11.3vw, 69px);
    margin: 20px 0 27px;
    letter-spacing: -1.6px;
  }
  .hero-description {
    font-size: 14px;
  }
  .eyebrow {
    font-size: 9px;
  }
  .playground {
    width: 260px;
    height: 220px;
    justify-self: center;
    padding-top: 0;
    margin-top: 20px;
  }
  .mascot-button {
    width: 190px;
  }
  .club-stamp span {
    font-size: 11px;
  }
  .mascot-caption {
    left: 0;
    bottom: -2px;
    font-size: 11px;
  }
  .spark-one {
    top: 37px;
    font-size: 33px;
  }
  .spark-two {
    bottom: 38px;
    font-size: 37px;
  }
  .collection {
    padding-top: 28px;
  }
  .collection-heading {
    margin-bottom: 15px;
    align-items: end;
  }
  .collection-heading h2 {
    font-size: 18px;
  }
  .collection-heading h2 span[aria-hidden] {
    display: none;
  }
  .ticket-surface {
    --notch-start: 0 246px;
    --notch-end: 100% 246px;
    grid-template-columns: 1fr;
  }
  .game-art {
    min-height: 245px;
    border-radius: 3px 3px 0 0;
  }
  .art-title {
    font-size: clamp(39px, 9vw, 60px);
    left: 21px;
  }
  .game-number {
    left: 22px;
  }
  .art-caption {
    left: 22px;
    font-size: 8px;
  }
  .ticket-info {
    padding: 25px 24px;
    border-left: 0;
    border-top: 1px dashed #757044;
  }
  .ticket-info::before,
  .ticket-info::after {
    width: 11px;
    height: 21px;
    top: -11px;
    bottom: auto;
  }
  .ticket-info::before {
    left: -1px;
    border: 1px solid var(--ink);
    border-left: 0;
    border-radius: 0 20px 20px 0;
  }
  .ticket-info::after {
    left: auto;
    right: -1px;
    border: 1px solid var(--ink);
    border-right: 0;
    border-radius: 20px 0 0 20px;
  }
  .ticket-info h3 {
    margin-top: 23px;
    font-size: 28px;
  }
  .ticket-info p {
    max-width: 100%;
  }
  .ticket-bottom {
    display: flex;
  }
  .play-label {
    width: auto;
    gap: 20px;
  }
  .daily-label {
    display: block;
  }
  .collection-footnote {
    flex-direction: column;
    gap: 6px;
    font-size: 10px;
  }
  .club-strip {
    margin-top: 33px;
    gap: 12px;
    padding: 22px 0;
  }
  .strip-star {
    font-size: 41px;
  }
  .club-strip p {
    font-size: 18px;
    line-height: 1.35;
    max-width: 220px;
  }
  .strip-note {
    display: none;
  }
  footer {
    flex-wrap: wrap;
    gap: 13px;
    padding: 24px 0;
  }
  footer p {
    order: 3;
    width: 100%;
    font-size: 10px;
  }
  .footer-logo {
    font-size: 13px;
  }
  dialog {
    padding: 23px;
  }
  dialog h2 {
    font-size: 25px;
  }
}
html:lang(en) h1,
html:lang(es) h1 {
  font-size: clamp(40px, 5vw, 70px);
}
@media (max-width: 760px) {
  html:lang(en) h1,
  html:lang(es) h1 {
    font-size: clamp(29px, 9.4vw, 60px);
  }
  .ticket-bottom {
    flex-wrap: wrap;
  }
  .daily-label {
    margin-left: auto;
  }
}
@media (max-width: 600px) {
  .header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    height: auto;
    padding: 18px 0;
    gap: 15px 12px;
  }
  .header-controls {
    display: contents;
  }
  .brand {
    grid-column: 1;
    grid-row: 1;
    width: fit-content;
  }
  .theme-button {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }
  .language-select {
    grid-column: 1;
    grid-row: 2;
    width: fit-content;
  }
  .how-button {
    grid-column: 2;
    grid-row: 2;
    min-height: 44px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .game-ticket:hover,
  .mascot-button:hover .mascot-body,
  .game-ticket:hover .game-art img {
    transform: none;
  }
}

.language-picker {
  position: relative;
}
.language-select {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 122px;
  padding: 10px 12px;
  border-radius: 10px;
  background: transparent;
}
.language-select:hover,
.language-select[aria-expanded="true"] {
  border-color: var(--blue);
}
.language-select:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}
.language-arrow {
  font-size: 16px;
  line-height: 1;
}
.language-select[aria-expanded="true"] .language-arrow {
  transform: rotate(180deg);
}
.language-menu {
  position: absolute;
  z-index: 20;
  top: calc(100% + 8px);
  right: 0;
  min-width: 158px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  box-shadow: 0 8px 24px #00000018;
}
.language-menu button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  min-height: 40px;
  padding: 9px 10px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--ink);
  font:
    500 13px DM,
    sans-serif;
  text-align: left;
  cursor: pointer;
}
.language-menu button span {
  visibility: hidden;
  color: var(--blue);
}
.language-menu button[aria-checked="true"] span {
  visibility: visible;
}
.language-menu button[aria-checked="true"] {
  color: var(--blue);
}
.language-menu button:hover,
.language-menu button:focus-visible {
  background: color-mix(in srgb, var(--blue) 10%, var(--paper));
  outline: none;
}

@media (max-width: 600px) {
  .language-menu {
    left: 0;
    right: auto;
  }
}
