@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('assets/fonts/manrope-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('assets/fonts/manrope-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bone: #f6f1e7;
  --ink: #101010;
  --lime: #c9f24d;
  --tangerine: #ff6b35;
  --cobalt: #3a5be0;
  --cobalt-card: #2f4cc4;
  --on-lime-soft: #2b3616;
  --on-bone-soft: #55514a;
  --on-cobalt-soft: #c4cfff;
  --shot: #e7e1d3;

  --gutter: clamp(1.25rem, 5vw, 4rem);
  --measure: 1600px;
  --edge: max(var(--gutter), calc((100% - var(--measure)) / 2));
  --font: 'Manrope', ui-sans-serif, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ul {
  margin: 0;
}

ul {
  list-style: none;
  padding: 0;
}

a {
  color: inherit;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--bone);
  padding: 0.75rem 1.25rem;
  font-weight: 700;
  z-index: 10;
}

.skip-link:focus {
  left: 0;
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--tangerine);
}

.hero {
  position: relative;
  z-index: 2;
  overflow: hidden;
  padding: clamp(1.5rem, 3vw, 2.25rem) var(--edge) clamp(3rem, 6vw, 4rem);
  background-color: var(--lime);
  background-image: radial-gradient(circle, rgba(16, 16, 16, 0.13) 2px, transparent 2.2px);
  background-size: 22px 22px;
}

.hero__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.hero__brand img {
  display: block;
  width: clamp(9rem, 17vw, 12rem);
  height: auto;
}

.hero__links {
  display: flex;
  gap: clamp(1rem, 3vw, 1.75rem);
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero__links a {
  text-decoration: none;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
}

.hero__links a:hover {
  border-bottom-color: var(--ink);
}

.hero__body {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.hero__text {
  max-width: 38rem;
  flex: 1;
}

.hero__title {
  font-size: clamp(4.5rem, 13vw, 9.375rem);
  font-weight: 800;
  line-height: 0.82;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.hero__lede {
  margin-top: clamp(1rem, 2vw, 1.5rem);
  max-width: 26rem;
  font-size: clamp(1rem, 1.4vw, 1.1875rem);
  font-weight: 600;
  line-height: 1.45;
  color: var(--on-lime-soft);
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: clamp(1.25rem, 2.5vw, 1.75rem);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--ink);
  color: var(--bone);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  padding: 0.9375rem 1.75rem;
  border-radius: 999px;
  transition: transform 0.18s ease;
}

.pill:hover {
  transform: translateY(-2px);
}

.stamp {
  display: grid;
  place-items: center;
  width: 6.5rem;
  height: 6.5rem;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--tangerine);
  border: 4px solid var(--ink);
  text-align: center;
  font-weight: 800;
  font-size: 0.8125rem;
  line-height: 1.15;
  text-transform: uppercase;
  transform: rotate(-11deg);
  animation: wobble 2.8s ease-in-out infinite;
}

.hero__toad {
  --toad-size: clamp(17rem, 30vw, 26rem);
  position: absolute;
  right: max(calc(var(--gutter) / 2), calc((100% - var(--measure)) / 2));
  bottom: calc(var(--toad-size) * -0.215 - 0.625rem);
  width: var(--toad-size);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  z-index: 3;
}

.hero__toad > * {
  grid-area: 1 / 1;
}

.hero__toad-img {
  position: relative;
  width: 76%;
  height: auto;
  animation: bob 3.4s ease-in-out infinite;
}

.ripple {
  width: 58%;
  aspect-ratio: 1;
  border: 4px solid var(--ink);
  border-radius: 50%;
  opacity: 0;
  animation: ripple 4.5s ease-out infinite;
}

.ripple:nth-child(2) {
  animation-delay: 1.5s;
}

.ripple:nth-child(3) {
  animation-delay: 3s;
}

@keyframes ripple {
  0% { transform: scale(0.52); opacity: 0; }
  18% { opacity: 0.85; }
  65% { opacity: 0.5; }
  100% { transform: scale(1.75); opacity: 0; }
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@keyframes wobble {
  0%, 100% { transform: rotate(-14deg); }
  50% { transform: rotate(-6deg); }
}

.ticker {
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: var(--ink);
  padding: 1.1875rem 0;
}

.ticker__track {
  display: flex;
  width: max-content;
  animation: scroll 24s linear infinite;
}

.ticker__group {
  font-weight: 800;
  font-size: clamp(0.875rem, 1.6vw, 1.0625rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lime);
  white-space: nowrap;
  padding-right: 1.375rem;
}

@keyframes scroll {
  to { transform: translateX(-50%); }
}

.about {
  padding: clamp(3rem, 7vw, 5rem) var(--edge);
  background: var(--bone);
}

.about__title {
  margin-top: 0.875rem;
  max-width: 44rem;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.about__title mark {
  background: var(--tangerine);
  color: var(--ink);
  padding: 0.0625em 0.3125em;
  border-radius: 6px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.about__body {
  margin-top: 0.875rem;
  max-width: 38rem;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--on-bone-soft);
}

.games {
  padding: clamp(3rem, 7vw, 5rem) var(--edge);
  background: var(--cobalt);
}

.games__head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: clamp(1.5rem, 3vw, 2rem);
}

.games__title {
  font-size: clamp(1.5rem, 3.2vw, 2.125rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: #fff;
}

.games__note {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--on-cobalt-soft);
}

.games__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.375rem;
  align-items: stretch;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 3px solid var(--ink);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.2s ease;
}

.games__grid li:nth-child(1) .card { transform: rotate(-2deg); }
.games__grid li:nth-child(2) .card { transform: rotate(1.5deg); }
.games__grid li:nth-child(3) .card { transform: rotate(-1deg); }

.games__grid li:nth-child(1) .card:hover { transform: rotate(-2deg) translateY(-6px); }
.games__grid li:nth-child(2) .card:hover { transform: rotate(1.5deg) translateY(-6px); }
.games__grid li:nth-child(3) .card:hover { transform: rotate(-1deg) translateY(-6px); }

.card--live {
  background: var(--bone);
}

.card--tba {
  background: var(--cobalt-card);
  color: #fff;
}

.card__shot {
  display: grid;
  place-items: center;
  height: 8.125rem;
  flex-shrink: 0;
}

.card--live .card__shot {
  background: var(--shot);
}

.card--live .card__shot p {
  font-weight: 700;
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1.6;
  text-align: center;
  color: #8a8378;
}

.card--tba .card__shot img {
  width: 3.875rem;
  height: auto;
}

.card__text {
  flex: 1;
  padding: 1.125rem;
}

.card__text h3 {
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.card__text p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.5;
}

.card--live .card__text p {
  color: var(--on-bone-soft);
}

.card--tba .card__text p {
  color: var(--on-cobalt-soft);
}

.card__stamp {
  position: absolute;
  top: 0.75rem;
  right: 0.625rem;
  background: var(--lime);
  border: 3px solid var(--ink);
  border-radius: 6px;
  padding: 0.3125rem 0.75rem;
  font-weight: 800;
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: rotate(7deg);
}

.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  overflow: hidden;
  background: var(--ink);
  padding: clamp(2rem, 5vw, 3rem) var(--edge) 1.75rem;
}

.footer__mark {
  width: 100%;
  max-width: 82rem;
  height: auto;
}

.footer__legal {
  font-size: 0.8125rem;
  font-weight: 500;
  color: #8a8a84;
}

@media (max-width: 900px) {
  .hero__body {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .hero {
    padding-bottom: 0;
  }

  .hero__toad {
    --toad-size: min(22rem, 86%);
    position: static;
    margin: -3rem auto calc(var(--toad-size) * -0.215 - 0.625rem);
  }

  .games__grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .games__grid li:nth-child(n) .card,
  .games__grid li:nth-child(n) .card:hover {
    transform: none;
  }
}

@media (max-width: 560px) {
  .hero__actions {
    gap: 0.75rem;
  }

  .pill {
    font-size: 0.8125rem;
    padding: 0.8125rem 1.25rem;
  }

  .stamp {
    width: 4.75rem;
    height: 4.75rem;
    border-width: 3px;
    font-size: 0.6875rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .ripple,
  .hero__toad-img,
  .stamp,
  .ticker__track {
    animation: none;
  }

  .ripple {
    opacity: 0.28;
  }

  .pill,
  .card {
    transition: none;
  }
}
