:root {
  color-scheme: light;
  --ink: #241537;
  --night: #1a1028;
  --paper: #fff6df;
  --lime: #c8ff4a;
  --coral: #ff7168;
  --violet: #5c3ee8;
  --yellow: #ffd166;
  --muted: #756a78;
  --line: rgba(36, 21, 55, 0.18);
  --shadow: 8px 8px 0 var(--ink);
  font-family: Inter, ui-rounded, "SF Pro Rounded", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 8%, rgba(255, 113, 104, 0.24), transparent 24rem),
    radial-gradient(circle at 92% 22%, rgba(118, 87, 255, 0.17), transparent 28rem),
    var(--paper);
}

a { color: inherit; }

.skip-link {
  position: fixed;
  z-index: 20;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--lime);
  font-weight: 800;
  transform: translateY(-150%);
}

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

.site-header,
main,
.site-footer {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 950;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: var(--lime);
  box-shadow: 3px 3px 0 var(--coral);
  font-size: 21px;
  line-height: 1;
  transform: rotate(-3deg);
}

nav { display: flex; gap: 26px; }

nav a,
.footer-links a {
  color: var(--ink);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

nav a:hover,
.footer-links a:hover,
.text-link:hover { text-decoration: underline; text-underline-offset: 5px; }

.hero {
  min-height: min(720px, calc(100vh - 88px));
  padding: 72px 0 96px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  align-items: center;
  gap: clamp(48px, 8vw, 112px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--violet);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

h1,
h2,
h3,
p { margin-top: 0; }

h1 {
  max-width: 700px;
  margin-bottom: 24px;
  font-size: clamp(50px, 6.4vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.075em;
}

h1 span { color: var(--violet); }

.hero-intro {
  max-width: 580px;
  margin-bottom: 32px;
  color: #564b61;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.button {
  min-height: 52px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.button:hover { transform: translate(-2px, -2px); }

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

.button-primary:hover { box-shadow: 7px 7px 0 var(--ink); }

.button-dark {
  align-self: flex-start;
  color: var(--paper);
  background: var(--ink);
  box-shadow: 4px 4px 0 var(--coral);
}

.text-link { font-size: 14px; font-weight: 850; text-underline-offset: 5px; }

.beta-note {
  margin: 24px 0 0;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.beta-note span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #49bd72;
  box-shadow: 0 0 0 4px rgba(73, 189, 114, 0.16);
}

.hero-art {
  min-height: 520px;
  position: relative;
  display: grid;
  place-items: center;
}

.orbit {
  position: absolute;
  border: 2px dashed rgba(36, 21, 55, 0.22);
  border-radius: 50%;
}

.orbit-one { width: 470px; height: 470px; }
.orbit-two { width: 360px; height: 360px; transform: rotate(22deg); }

.preview-card {
  width: min(356px, 86vw);
  min-height: 480px;
  position: relative;
  z-index: 2;
  padding: 28px;
  overflow: hidden;
  border: 3px solid var(--ink);
  border-radius: 38px;
  background: #fffdf6;
  box-shadow: 14px 14px 0 var(--ink);
  transform: rotate(3deg);
}

.preview-topline,
.preview-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  font-weight: 900;
}

.live-dot {
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(73, 189, 114, 0.14);
  color: #217b43;
}

.preview-question {
  margin: 26px 0 18px;
  font-size: 30px;
  font-weight: 950;
  line-height: 1.16;
  letter-spacing: -0.045em;
}

.target-chip {
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 2px solid var(--ink);
  border-radius: 18px;
  background: var(--lime);
}

.target-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--yellow);
  font-size: 22px;
}

.target-chip small,
.target-chip strong { display: block; }
.target-chip small { margin-bottom: 2px; font-size: 10px; }
.target-chip strong { font-size: 14px; }

.scene {
  height: 190px;
  position: relative;
  margin: 20px 0 16px;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 24px;
  background:
    linear-gradient(155deg, transparent 48%, rgba(36, 21, 55, 0.08) 49% 51%, transparent 52%),
    var(--violet);
}

.scene::before {
  content: "";
  position: absolute;
  width: 190px;
  height: 100px;
  left: -25px;
  bottom: -32px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--coral);
  transform: rotate(8deg);
}

.scene-item {
  position: absolute;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  color: var(--ink);
  font-weight: 950;
}

.item-camera { width: 45px; height: 36px; left: 36px; top: 34px; border-radius: 10px; background: var(--lime); }
.item-star { width: 48px; height: 48px; right: 66px; top: 62px; border-radius: 50%; background: var(--yellow); font-size: 24px; transform: rotate(-8deg); }
.item-cup { width: 38px; height: 48px; right: 23px; bottom: 24px; border-radius: 7px 7px 14px 14px; background: var(--coral); transform: rotate(9deg); }
.item-moon { width: 28px; height: 28px; right: 28px; top: 21px; border-radius: 50%; background: var(--paper); }
.item-confetti { left: 124px; top: 18px; border: 0; color: var(--lime); font-size: 32px; transform: rotate(18deg); }
.item-ring { left: 153px; bottom: 22px; border: 0; color: var(--paper); font-size: 42px; }

.preview-bottom { color: var(--muted); }
.preview-bottom strong { color: var(--ink); }

.art-sticker {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  font-weight: 950;
  box-shadow: 4px 4px 0 var(--ink);
}

.sticker-fast {
  width: 70px;
  height: 70px;
  left: 0;
  top: 80px;
  border-radius: 50%;
  background: var(--coral);
  transform: rotate(-12deg);
}

.sticker-win {
  right: -4px;
  bottom: 82px;
  padding: 9px 13px;
  border-radius: 10px;
  background: var(--lime);
  font-size: 12px;
  transform: rotate(8deg);
}

.games-section {
  margin-bottom: 112px;
  padding-top: 96px;
  border-top: 2px solid var(--line);
}

.section-heading {
  margin-bottom: 36px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.section-heading h2,
.brand-note h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.055em;
}

.section-heading > p {
  max-width: 390px;
  margin-bottom: 4px;
  color: var(--muted);
  line-height: 1.7;
}

.game-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.75fr);
  gap: 24px;
}

.game-card {
  min-height: 380px;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 32px;
}

.game-card-live {
  display: grid;
  grid-template-columns: minmax(240px, 0.86fr) minmax(300px, 1.14fr);
  background: #fffdf6;
  box-shadow: var(--shadow);
}

.game-card-visual {
  min-height: 380px;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-right: 2px solid var(--ink);
  background:
    radial-gradient(circle at 22% 18%, var(--yellow) 0 7%, transparent 7.5%),
    radial-gradient(circle at 84% 82%, var(--coral) 0 13%, transparent 13.5%),
    var(--violet);
}

.eye-symbol {
  width: 138px;
  height: 138px;
  display: grid;
  place-items: center;
  border: 3px solid var(--ink);
  border-radius: 44px;
  background: var(--lime);
  box-shadow: 10px 10px 0 var(--ink);
  font-size: 58px;
  font-weight: 950;
  transform: rotate(-5deg);
}

.visual-bubble {
  position: absolute;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  color: var(--ink);
  font-weight: 950;
}

.bubble-one { width: 52px; height: 52px; left: 10%; top: 16%; background: var(--coral); transform: rotate(-12deg); }
.bubble-two { width: 44px; height: 44px; right: 11%; top: 20%; background: var(--paper); transform: rotate(8deg); }
.bubble-three { width: 58px; height: 58px; right: 10%; bottom: 13%; background: var(--yellow); transform: rotate(12deg); }

.game-card-content {
  padding: clamp(28px, 5vw, 52px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card-meta {
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.status {
  width: fit-content;
  padding: 6px 10px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-size: 11px;
  font-weight: 900;
}

.status-live { background: var(--lime); }

.game-card h3 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.045em;
}

.game-card-content > p,
.game-card-next > div > p:last-child {
  color: var(--muted);
  line-height: 1.75;
}

.feature-list {
  margin: 4px 0 28px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.feature-list li {
  padding: 7px 10px;
  border-radius: 999px;
  background: #f0e8d5;
  font-size: 11px;
  font-weight: 800;
}

.game-card-next {
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.33) 25%, transparent 25%) 0 0 / 22px 22px,
    #e7ddc8;
  border-style: dashed;
}

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

.next-mark {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 24px;
  background: var(--paper);
  font-size: 34px;
  box-shadow: 5px 5px 0 rgba(36, 21, 55, 0.3);
  transform: rotate(5deg);
}

.brand-note {
  min-height: 380px;
  margin-bottom: 112px;
  padding: clamp(36px, 7vw, 78px);
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  align-items: end;
  gap: 48px;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 36px;
  background:
    radial-gradient(circle at 94% 16%, var(--lime) 0 8%, transparent 8.5%),
    radial-gradient(circle at 12% 86%, var(--coral) 0 10%, transparent 10.5%),
    var(--night);
  color: var(--paper);
  box-shadow: 10px 10px 0 var(--coral);
}

.brand-note > p {
  margin: 0;
  color: rgba(255, 246, 223, 0.7);
  font-size: 17px;
  font-weight: 750;
  line-height: 1.7;
}

.brand-note h2 { font-size: clamp(42px, 6vw, 72px); }
.brand-note h2 span { color: var(--lime); }

.site-footer {
  padding: 42px 0 max(36px, env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 28px;
  border-top: 2px solid var(--line);
}

.brand-footer { margin-bottom: 14px; }
.footer-main p,
.copyright { margin: 0; color: var(--muted); font-size: 12px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px 22px; }
.footer-links a { font-size: 12px; }
.copyright { grid-column: 1 / -1; text-align: right; }

a:focus-visible {
  outline: 3px solid var(--violet);
  outline-offset: 4px;
}

@media (max-width: 900px) {
  .hero {
    min-height: 0;
    padding-top: 52px;
    grid-template-columns: 1fr;
    gap: 64px;
  }

  .hero-copy { text-align: center; }
  .hero-intro { margin-inline: auto; }
  .hero-actions,
  .beta-note { justify-content: center; }
  .hero-art { min-height: 500px; }
  .game-grid { grid-template-columns: 1fr; }
  .game-card-next { min-height: 300px; }
}

@media (max-width: 640px) {
  .site-header,
  main,
  .site-footer { width: min(100% - 28px, 1180px); }

  .site-header { min-height: 74px; }
  nav { gap: 16px; }
  nav a { font-size: 13px; }

  .brand { font-size: 19px; }
  .brand-mark { width: 34px; height: 34px; border-radius: 11px; font-size: 18px; }

  .hero { padding: 42px 0 76px; }
  h1 { font-size: clamp(44px, 14vw, 64px); }
  .hero-intro { font-size: 16px; }
  .hero-actions { flex-direction: column; gap: 18px; }
  .button-primary { width: 100%; }
  .hero-art { min-height: 450px; }
  .preview-card { min-height: 430px; padding: 24px; border-radius: 32px; box-shadow: 10px 10px 0 var(--ink); }
  .preview-question { font-size: 26px; }
  .scene { height: 160px; }
  .orbit-one { width: 350px; height: 350px; }
  .orbit-two { width: 280px; height: 280px; }
  .sticker-fast { left: 4px; top: 48px; }
  .sticker-win { right: 0; bottom: 50px; }

  .games-section { padding-top: 72px; margin-bottom: 84px; }
  .section-heading { align-items: start; flex-direction: column; gap: 14px; }
  .section-heading h2 { font-size: 38px; }
  .section-heading > p { font-size: 14px; }
  .game-card { border-radius: 26px; }
  .game-card-live { grid-template-columns: 1fr; }
  .game-card-visual { min-height: 260px; border-right: 0; border-bottom: 2px solid var(--ink); }
  .game-card-content { padding: 30px 24px 34px; }
  .game-card-content > p { font-size: 14px; }
  .game-card-next { min-height: 330px; padding: 28px; }

  .brand-note {
    min-height: 420px;
    margin-bottom: 84px;
    padding: 34px 26px;
    grid-template-columns: 1fr;
    align-content: space-between;
    gap: 64px;
    border-radius: 28px;
  }

  .brand-note h2 { font-size: 43px; }
  .site-footer { grid-template-columns: 1fr; align-items: start; }
  .footer-links { justify-content: flex-start; }
  .copyright { grid-column: auto; text-align: left; }
}

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