:root {
  --bg: #1d0040;
  --bg-deep: #14002e;
  --purple-800: #3f176e;
  --pink: #f0b1ff;
  --gold: #fec92d;
  --gold-deep: #fba609;
  --mint: #44ffd7;
  --mint-deep: #00d18f;
  --mint-text: #003739;
  --card: rgba(255, 255, 255, 0.06);
  --line: rgba(240, 177, 255, 0.16);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.78);
  --display: "Titan One", "Arial Black", sans-serif;
  --body: "Baloo 2", "Trebuchet MS", sans-serif;
  --radius-card: 30px;
  --radius-pill: 100px;
  --header: 76px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--body);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
  background: var(--bg);
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.05;
}

p {
  margin: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -40px;
  z-index: 40;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: var(--gold);
  color: #1d0040;
}

.skip-link:focus {
  top: 12px;
}

.sky {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(ellipse 90% 45% at 50% 110%, rgba(255, 52, 221, 0.28), transparent 60%),
    radial-gradient(ellipse 50% 40% at 100% 0%, rgba(68, 255, 215, 0.12), transparent 55%),
    linear-gradient(180deg, #24004d 0%, var(--bg) 42%, #120028 100%);
}

.sky__stars {
  position: absolute;
  inset: -20%;
  background-image:
    radial-gradient(1.5px 1.5px at 20px 30px, rgba(255, 255, 255, 0.75), transparent),
    radial-gradient(1px 1px at 80px 120px, rgba(255, 255, 255, 0.45), transparent),
    radial-gradient(1.5px 1.5px at 140px 70px, rgba(240, 177, 255, 0.8), transparent),
    radial-gradient(1px 1px at 180px 160px, rgba(255, 255, 255, 0.55), transparent),
    radial-gradient(1px 1px at 40px 190px, rgba(254, 201, 45, 0.7), transparent);
  background-size: 220px 220px;
  animation: drift 80s linear infinite;
}

.sky__glow {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(30px);
  opacity: 0.35;
}

.sky__glow--pink {
  right: -80px;
  top: 120px;
  background: #9038a3;
}

.sky__glow--mint {
  left: -120px;
  bottom: 10%;
  background: #00d18f;
  opacity: 0.18;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header);
  padding: 0 22px;
  background: rgba(29, 0, 64, 0.72);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand__mark {
  width: 42px;
  height: 42px;
  flex: none;
}

.brand__word {
  font-family: var(--display);
  font-size: 22px;
  line-height: 1;
}

.brand__word em {
  font-style: normal;
  color: var(--gold);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-nav a {
  color: var(--pink);
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--gold);
}

.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(63, 23, 110, 0.55);
  color: white;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: white;
  border-radius: 2px;
}

.hero {
  padding: 48px 0 28px;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--mint);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(46px, 6vw, 78px);
  max-width: 11ch;
}

h2 {
  font-size: clamp(34px, 4vw, 52px);
  max-width: 16ch;
}

.lede {
  max-width: 38rem;
  margin-top: 18px;
  color: var(--muted);
  font-size: 20px;
}

.lede--left {
  margin-top: 16px;
}

.hero__copy p + p,
.studio p + p {
  margin-top: 14px;
}

.studio p {
  color: var(--muted);
  max-width: 38rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: var(--radius-pill);
  font-weight: 800;
  cursor: pointer;
}

.btn:focus-visible,
.site-nav a:focus-visible,
.brand:focus-visible,
.menu-button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.btn--play {
  color: var(--mint-text);
  background: linear-gradient(180deg, var(--mint), var(--mint-deep));
  box-shadow: 0 10px 28px rgba(0, 209, 143, 0.28);
}

.btn--play:hover {
  filter: brightness(1.05);
}

.btn--gold {
  color: var(--gold);
  background: transparent;
  border: 1.5px solid rgba(254, 201, 45, 0.75);
}

.btn--gold:hover {
  background: rgba(254, 201, 45, 0.1);
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.hero__facts strong {
  display: block;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 400;
}

.hero__facts span {
  color: var(--pink);
  font-size: 15px;
}

.phone {
  position: relative;
  justify-self: center;
  width: min(100%, 340px);
}

.phone__glow {
  position: absolute;
  inset: 12% 8%;
  background: radial-gradient(circle, rgba(240, 177, 255, 0.45), transparent 68%);
  filter: blur(8px);
}

.phone__frame {
  position: relative;
  padding: 28px 16px 18px;
  border: 2px solid rgba(240, 177, 255, 0.35);
  border-radius: 36px;
  background:
    linear-gradient(180deg, rgba(63, 23, 110, 0.55), rgba(29, 0, 64, 0.2)),
    #1a0538;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.phone__notch {
  width: 92px;
  height: 8px;
  margin: 0 auto 16px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.18);
}

.phone__brand {
  font-family: var(--display);
  font-size: 28px;
  text-align: center;
}

.phone__hint {
  margin-top: 4px;
  color: var(--pink);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.phone__list {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.phone-row {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
}

.phone-row--masters { background: linear-gradient(90deg, rgba(144, 56, 163, 0.55), rgba(255, 255, 255, 0.05)); }
.phone-row--bg { background: linear-gradient(90deg, rgba(201, 137, 74, 0.45), rgba(255, 255, 255, 0.05)); }
.phone-row--ludo { background: linear-gradient(90deg, rgba(61, 123, 255, 0.4), rgba(255, 255, 255, 0.05)); }
.phone-row--sol { background: linear-gradient(90deg, rgba(14, 107, 69, 0.7), rgba(255, 255, 255, 0.05)); }

.phone-row__icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.25);
  font-size: 16px;
}

.phone-row__text {
  display: grid;
  min-width: 0;
}

.phone-row__text strong {
  font-size: 15px;
}

.phone-row__text small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.phone-row__play {
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: linear-gradient(180deg, var(--mint), var(--mint-deep));
  color: var(--mint-text);
  font-size: 13px;
  font-weight: 800;
}

.ticker {
  margin-top: 36px;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.18);
}

.ticker__track {
  display: flex;
  gap: 42px;
  width: max-content;
  padding: 14px 0;
  animation: marquee 28s linear infinite;
}

.ticker span {
  color: var(--gold);
  font-family: var(--display);
  font-size: 18px;
  letter-spacing: 0.04em;
}

.section {
  padding: 88px 0;
}

.section__head {
  max-width: 40rem;
  margin-bottom: 36px;
}

.section__head p:last-child {
  margin-top: 14px;
  color: var(--muted);
}

.game-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 18px;
}

.game-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: linear-gradient(180deg, rgba(63, 23, 110, 0.55), rgba(0, 40, 125, 0.35));
}

.game-card--masters {
  grid-row: span 2;
  background:
    radial-gradient(circle at 70% 20%, rgba(254, 201, 45, 0.18), transparent 36%),
    linear-gradient(180deg, #4a1a78, #1d0040);
}

.game-card--backgammon {
  background: linear-gradient(180deg, #4a2a14, #1d0040);
}

.game-card--ludo {
  background: linear-gradient(160deg, #2a1860, #12315c 50%, #1d0040);
}

.game-card--solitaire {
  background: linear-gradient(180deg, #0d5a3c, #10243a 70%, #1d0040);
}

.game-card--more {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(29, 0, 64, 0.4));
  border-style: dashed;
}

.game-card__art {
  display: grid;
  place-items: center;
  min-height: 180px;
  padding: 12px 12px 0;
}

.game-card--masters .game-card__art {
  min-height: 240px;
}

.game-card__body {
  padding: 8px 24px 26px;
}

.pill {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(254, 201, 45, 0.16);
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.game-card h3 {
  font-size: 32px;
}

.game-card p:last-child {
  margin-top: 10px;
  color: var(--muted);
}

.section--studio {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.16), transparent);
}

.studio {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: start;
}

.studio-board {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: linear-gradient(180deg, rgba(0, 40, 125, 0.45), rgba(0, 67, 59, 0.45));
}

.studio-board h3 {
  margin-bottom: 8px;
  font-size: 28px;
}

.studio-board ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.studio-board li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.studio-board li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.studio-board li span {
  color: var(--gold);
  font-family: var(--display);
  font-size: 20px;
}

.studio-board p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 16px;
}

.craft-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.craft-grid li {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
}

.craft-grid__num {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: linear-gradient(180deg, var(--gold), var(--gold-deep));
  color: #3a2500;
  font-family: var(--display);
  font-size: 20px;
}

.craft-grid h3 {
  font-size: 24px;
}

.craft-grid p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 16px;
}

.contact {
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 36px;
  background:
    radial-gradient(circle at 0% 0%, rgba(68, 255, 215, 0.12), transparent 40%),
    linear-gradient(180deg, rgba(63, 23, 110, 0.65), rgba(29, 0, 64, 0.8));
}

.contact-facts {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
}

.contact-facts div {
  display: grid;
  gap: 2px;
}

.contact-facts dt {
  color: var(--pink);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-facts a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer {
  padding: 28px 0 40px;
  border-top: 1px solid var(--line);
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
}

.site-footer p {
  color: var(--muted);
  font-size: 15px;
}

.site-footer__links {
  display: flex;
  gap: 16px;
}

.site-footer__links a {
  color: var(--pink);
  font-weight: 700;
}

.site-footer__company {
  display: grid;
  gap: 2px;
  color: var(--muted);
  font-size: 14px;
}

.site-footer__legal {
  margin-left: auto;
}

.legal {
  width: min(860px, calc(100% - 40px));
  margin: 0 auto;
  padding: 48px 0 80px;
}

.legal h1,
.legal h2 {
  max-width: none;
  background: linear-gradient(180deg, var(--gold), var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.legal h1 {
  font-size: clamp(36px, 5vw, 56px);
}

.legal h2 {
  margin-top: 36px;
  font-size: clamp(26px, 3vw, 32px);
}

.legal h3 {
  margin: 22px 0 8px;
  color: var(--pink);
  font-family: var(--body);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.3;
}

.legal p,
.legal li {
  color: var(--muted);
  font-size: 16px;
}

.legal p {
  margin: 0 0 14px;
}

.legal ul {
  margin: 0 0 16px;
  padding-left: 20px;
}

.legal a {
  color: var(--pink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal .revised {
  margin: 0 0 28px;
  color: var(--pink);
  font-size: 14px;
}

.legal .lede {
  margin-top: 0;
  font-size: 18px;
}

.legal .caps {
  font-size: 14px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.legal .note {
  margin: 0 0 18px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(63, 23, 110, 0.4);
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
}

.company-card {
  margin: 0 0 28px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
}

.company-card p {
  margin: 0;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes drift {
  from { transform: translateY(0); }
  to { transform: translateY(-40px); }
}

@media (max-width: 980px) {
  .hero__grid,
  .studio,
  .craft-grid,
  .game-grid {
    grid-template-columns: 1fr;
  }

  .game-card--masters {
    grid-row: auto;
  }

  .site-footer__legal {
    margin-left: 0;
  }
}

@media (max-width: 760px) {
  .menu-button {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: var(--header);
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(29, 0, 64, 0.96);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 14px 12px;
  }

  .hero {
    padding-top: 28px;
  }

  .section {
    padding: 64px 0;
  }

  .contact {
    padding: 22px;
  }

  h1 {
    max-width: none;
  }
}

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

  .sky__stars,
  .ticker__track {
    animation: none;
  }
}
