:root {
  --ink: #241d2a;
  --muted: #645b68;
  --paper: #fffaf5;
  --paper-deep: #f5eadf;
  --white: #fff;
  --pink: #ff4f88;
  --pink-deep: #d92b68;
  --yellow: #ffd34e;
  --mint: #9ce6cd;
  --lilac: #d7c0ff;
  --blue: #b9dfff;
  --line: rgba(36, 29, 42, .16);
  --shadow: 0 18px 50px rgba(58, 37, 63, .12);
  --radius: 26px;
  --content: 1220px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: .08em;
  text-underline-offset: .18em;
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 4px;
  border-radius: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 250, 245, .94);
}

.header-inner {
  width: min(calc(100% - 40px), var(--content));
  min-height: 92px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .16em;
  text-decoration: none;
  text-transform: uppercase;
}

.brand img {
  width: 86px;
  height: 66px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 38px);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.main-nav a {
  text-decoration: none;
}

.main-nav a:hover {
  color: var(--pink-deep);
}

.main-nav .nav-cta {
  padding: 10px 17px;
  border: 1px solid var(--ink);
  border-radius: 999px;
}

.hero {
  position: relative;
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
  padding: clamp(54px, 7vw, 104px) 0 clamp(70px, 9vw, 126px);
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(420px, 1.06fr);
  align-items: center;
  gap: clamp(48px, 7vw, 96px);
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 410px;
  height: 410px;
  top: 2%;
  right: -12%;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(255, 211, 78, .27), rgba(255, 211, 78, 0) 68%);
}

.eyebrow,
.card-kicker {
  margin: 0 0 16px;
  color: var(--pink-deep);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .16em;
  line-height: 1.35;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.editorial h2,
.faq h2,
.legal-hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: .96;
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(3.7rem, 7.2vw, 6.9rem);
}

.hero h1 em {
  position: relative;
  color: var(--pink-deep);
  font-weight: 400;
}

.hero h1 em::after {
  content: "";
  position: absolute;
  z-index: -1;
  height: .16em;
  right: -.05em;
  bottom: .06em;
  left: -.05em;
  border-radius: 999px;
  background: var(--yellow);
  transform: rotate(-2deg);
}

.hero-intro {
  max-width: 620px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(1.03rem, 1.4vw, 1.2rem);
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 24px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.button-primary {
  color: var(--white);
  background: var(--ink);
  box-shadow: 5px 5px 0 var(--pink);
}

.button-primary:hover {
  background: var(--pink-deep);
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 var(--yellow);
}

.text-link,
.play-link {
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .07em;
  text-decoration: none;
  text-transform: uppercase;
}

.text-link:hover,
.play-link:hover {
  color: var(--pink-deep);
}

.text-link span,
.play-link span {
  display: inline-block;
  transition: transform .2s ease;
}

.text-link:hover span,
.play-link:hover span {
  transform: translateX(4px);
}

.hero-notes {
  margin: 34px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  color: var(--muted);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .05em;
  list-style: none;
  text-transform: uppercase;
}

.hero-notes li:not(:first-child)::before {
  content: "•";
  margin-right: 22px;
  color: var(--pink);
}

.hero-feature {
  position: relative;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: var(--white);
  box-shadow: var(--shadow);
  transform: rotate(1.2deg);
}

.hero-image {
  display: block;
  overflow: hidden;
  border-radius: 22px;
  background: var(--paper-deep);
}

.hero-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .55s cubic-bezier(.2, .7, .2, 1);
}

.hero-image:hover img {
  transform: scale(1.035);
}

.hero-feature-copy {
  padding: 25px 12px 10px;
}

.hero-feature-copy h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.08;
}

.hero-feature-copy h2 a,
.card-copy h3 a {
  text-decoration: none;
}

.hero-feature-copy h2 a:hover,
.card-copy h3 a:hover {
  text-decoration: underline;
}

.hero-feature-copy > p:not(.card-kicker) {
  margin: 16px 0;
  color: var(--muted);
}

.hero-sticker {
  position: absolute;
  z-index: 3;
  top: -38px;
  right: -24px;
  width: 108px;
  height: 108px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 50%;
  box-shadow: 4px 5px 0 var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  font-style: italic;
  font-weight: 700;
  line-height: .9;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(9deg);
}

.marquee {
  overflow: hidden;
  padding: 18px 0;
  color: var(--white);
  background: var(--ink);
  transform: rotate(-1deg) scale(1.01);
}

.marquee div {
  width: max-content;
  min-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3vw, 44px);
  white-space: nowrap;
}

.marquee span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.1rem, 2.1vw, 1.8rem);
  font-style: italic;
}

.marquee i {
  color: var(--yellow);
  font-style: normal;
}

.games-section {
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
  padding: clamp(96px, 11vw, 160px) 0 clamp(88px, 10vw, 140px);
}

.section-heading {
  margin-bottom: clamp(38px, 5vw, 64px);
  display: grid;
  grid-template-columns: 1fr minmax(280px, 470px);
  align-items: end;
  gap: 34px;
}

.section-heading h2,
.editorial h2,
.faq h2 {
  font-size: clamp(3.1rem, 6vw, 5.7rem);
}

.section-heading > p {
  margin: 0;
  color: var(--muted);
  font-size: 1.07rem;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 26px;
}

.game-card {
  --accent: var(--paper-deep);
  overflow: hidden;
  min-width: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 1px 0 rgba(36, 29, 42, .04);
  transition: transform .25s ease, box-shadow .25s ease;
}

.game-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow);
}

.game-card-wide {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1.12fr .88fr;
}

.game-card-accent-mint { --accent: var(--mint); }
.game-card-accent-lilac { --accent: var(--lilac); }
.game-card-accent-pink { --accent: #ffc6d9; }
.game-card-accent-blue { --accent: var(--blue); }
.game-card-accent-yellow { --accent: #ffe596; }
.game-card-accent-gold { --accent: #efcf80; }
.game-card-accent-violet { --accent: #c9c0fa; }

.card-image {
  overflow: hidden;
  display: block;
  background: var(--accent);
}

.card-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.2, .7, .2, 1), filter .3s ease;
}

.game-card-wide .card-image img {
  height: 100%;
  min-height: 100%;
}

.game-card:hover .card-image img {
  filter: saturate(1.06);
  transform: scale(1.04);
}

.card-copy {
  padding: 28px 28px 30px;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  border-top: 7px solid var(--accent);
}

.game-card-wide .card-copy {
  border-top: 0;
  border-left: 7px solid #d8b88e;
}

.card-copy h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 2.5vw, 2.05rem);
  line-height: 1.08;
}

.card-copy > p:not(.card-kicker) {
  margin: 17px 0 24px;
  color: var(--muted);
}

.card-copy .play-link {
  margin-top: auto;
}

.editorial {
  padding: clamp(88px, 10vw, 145px) max(20px, calc((100% - var(--content)) / 2));
  color: var(--white);
  background: var(--ink);
}

.editorial-heading {
  max-width: 980px;
}

.editorial-heading .eyebrow {
  color: var(--yellow);
}

.editorial h2 {
  max-width: 920px;
}

.editorial-columns {
  margin-top: clamp(58px, 7vw, 96px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 44px;
}

.editorial-columns > div {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .28);
}

.editorial-number {
  color: var(--yellow);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .14em;
}

.editorial h3 {
  margin: 22px 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
}

.editorial-columns p {
  margin: 0;
  color: rgba(255, 255, 255, .72);
}

.faq {
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
  padding: clamp(88px, 10vw, 145px) 0;
  display: grid;
  grid-template-columns: minmax(250px, .7fr) minmax(0, 1.3fr);
  gap: clamp(48px, 8vw, 120px);
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  position: relative;
  padding: 24px 44px 24px 0;
  cursor: pointer;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.28rem;
  font-weight: 700;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  top: 20px;
  right: 4px;
  color: var(--pink-deep);
  font-family: ui-sans-serif, sans-serif;
  font-size: 1.7rem;
  font-weight: 400;
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  max-width: 680px;
  margin: -4px 0 25px;
  color: var(--muted);
}

.site-footer {
  padding: clamp(60px, 8vw, 100px) max(20px, calc((100% - var(--content)) / 2)) 26px;
  border-top: 1px solid var(--line);
  background: var(--paper-deep);
}

.footer-lead {
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 60px);
}

.footer-lead img {
  width: clamp(130px, 18vw, 220px);
}

.footer-lead p {
  max-width: 760px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 4rem);
  letter-spacing: -.035em;
  line-height: 1;
}

.footer-links {
  margin-top: clamp(52px, 7vw, 90px);
  padding: 34px 0;
  display: flex;
  gap: clamp(70px, 12vw, 160px);
  border-top: 1px solid var(--line);
}

.footer-links h2 {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.footer-links a {
  display: block;
  margin: 7px 0;
  font-weight: 700;
  text-decoration: none;
}

.footer-links a:hover,
.footer-bottom a:hover {
  color: var(--pink-deep);
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .82rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom a {
  font-weight: 800;
  text-decoration: none;
}

/* Legal pages */
.legal-main {
  width: min(calc(100% - 40px), 980px);
  margin: 0 auto;
  padding-bottom: clamp(80px, 10vw, 140px);
}

.legal-hero {
  position: relative;
  padding: clamp(74px, 10vw, 130px) 0 clamp(48px, 7vw, 88px);
  border-bottom: 1px solid var(--line);
}

.legal-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 35px;
  right: 0;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: var(--yellow);
  opacity: .55;
}

.legal-hero h1 {
  max-width: 780px;
  font-size: clamp(3.7rem, 8vw, 7.3rem);
}

.legal-hero .legal-intro {
  max-width: 720px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.last-updated {
  margin: 22px 0 0;
  color: var(--pink-deep);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.legal-content {
  max-width: 760px;
  padding-top: 42px;
}

.legal-content section {
  padding: 24px 0;
}

.legal-content h2 {
  margin: 0 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  line-height: 1.15;
}

.legal-content p,
.legal-content ul {
  margin-top: 0;
  color: var(--muted);
}

.legal-content ul {
  padding-left: 21px;
}

.legal-content li + li {
  margin-top: 8px;
}

.legal-content a {
  color: var(--pink-deep);
  font-weight: 700;
}

.legal-note {
  margin-top: 38px;
  padding: 25px 28px;
  border: 1px solid var(--line);
  border-left: 7px solid var(--pink);
  border-radius: 16px;
  background: var(--white);
}

.legal-note p {
  margin: 0;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-feature {
    width: min(100%, 670px);
    margin: 0 auto;
  }

  .game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .game-card-wide {
    grid-column: span 2;
  }

  .editorial-columns {
    gap: 26px;
  }
}

@media (max-width: 720px) {
  .header-inner {
    min-height: 78px;
  }

  .brand img {
    width: 72px;
    height: 55px;
  }

  .brand span,
  .main-nav > a:not(.nav-cta) {
    display: none;
  }

  .main-nav .nav-cta {
    padding: 8px 13px;
    font-size: .72rem;
  }

  .hero {
    width: min(calc(100% - 28px), var(--content));
    padding-top: 50px;
    gap: 72px;
  }

  .hero h1 {
    font-size: clamp(3.25rem, 16vw, 5.3rem);
  }

  .hero-notes {
    display: grid;
    gap: 5px;
  }

  .hero-notes li:not(:first-child)::before {
    margin-right: 8px;
  }

  .hero-sticker {
    right: 8px;
  }

  .marquee {
    transform: rotate(-1deg);
  }

  .marquee div {
    justify-content: flex-start;
    padding-left: 20px;
  }

  .marquee span:nth-of-type(n+4),
  .marquee i:nth-of-type(n+4) {
    display: none;
  }

  .section-heading,
  .game-grid,
  .game-card-wide,
  .editorial-columns,
  .faq {
    grid-template-columns: 1fr;
  }

  .game-card-wide {
    grid-column: auto;
    display: flex;
  }

  .game-card-wide .card-image img {
    height: auto;
  }

  .game-card-wide .card-copy {
    border-top: 7px solid #d8b88e;
    border-left: 0;
  }

  .editorial-columns {
    gap: 44px;
  }

  .faq {
    gap: 45px;
  }

  .footer-lead {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    gap: 55px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .card-copy {
    padding: 24px 22px 27px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
