:root {
  --bg: #fff8e8;
  --paper: #fffdf7;
  --ink: #263238;
  --muted: #687076;
  --blue: #2f80ed;
  --blue-dark: #1559b7;
  --mint: #88e4bd;
  --yellow: #ffd166;
  --pink: #ff8fab;
  --purple: #9b8cff;
  --shadow: 0 22px 60px rgba(47, 128, 237, 0.18);
  font-family: ui-rounded, "Avenir Next", "Nunito", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100dvh;
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 209, 102, 0.35), transparent 30%),
    radial-gradient(circle at 86% 4%, rgba(136, 228, 189, 0.34), transparent 28%),
    var(--bg);
  color: var(--ink);
}
a { color: inherit; }
.site-header {
  width: min(1120px, calc(100% - 32px));
  margin: 18px auto 0;
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 14px;
  border: 3px solid rgba(38, 50, 56, 0.08);
  border-radius: 28px;
  background: rgba(255, 253, 247, 0.82);
  box-shadow: 0 12px 32px rgba(38, 50, 56, 0.08);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 12px;
  z-index: 10;
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  width: 46px; height: 46px; border-radius: 16px;
  display: grid; place-items: center;
  font-weight: 950;
  color: #16395c;
  background: linear-gradient(135deg, var(--yellow), var(--mint));
  box-shadow: inset 0 -4px 0 rgba(255,255,255,0.42);
}
.brand strong { display: block; font-size: 1rem; }
.brand small { display: block; color: var(--muted); font-size: .78rem; }
nav { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
nav a { text-decoration: none; font-weight: 800; padding: 10px 12px; border-radius: 999px; }
.nav-button { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(47,128,237,.25); }
.hero {
  width: min(1120px, calc(100% - 32px));
  margin: 42px auto 0;
  min-height: calc(100dvh - 150px);
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 38px;
  align-items: center;
}
.kicker {
  display: inline-flex;
  margin: 0 0 18px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--blue-dark);
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(38, 50, 56, 0.08);
}
h1, h2, p { margin-top: 0; }
h1 { font-size: clamp(3.4rem, 7vw, 6.8rem); line-height: .9; letter-spacing: -0.07em; margin-bottom: 22px; max-width: 8ch; }
.hero-text { color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.25rem); line-height: 1.55; max-width: 31rem; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.button {
  min-height: 48px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px;
  padding: 14px 18px;
  text-decoration: none;
  font-weight: 950;
  transition: transform .18s ease, box-shadow .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(1px) scale(.99); }
.primary { background: var(--blue); color: #fff; box-shadow: 0 14px 30px rgba(47,128,237,.28); }
.secondary { background: #fff; color: var(--blue-dark); border: 2px solid rgba(47,128,237,.15); }
.hero-art {
  position: relative;
  min-height: 560px;
  border-radius: 44px;
  overflow: hidden;
  background:
    linear-gradient(160deg, rgba(155,140,255,.9), rgba(47,128,237,.42) 42%, rgba(136,228,189,.62)),
    #d7efff;
  box-shadow: var(--shadow);
  border: 5px solid rgba(255,255,255,.72);
}
.sun { position: absolute; width: 150px; height: 150px; border-radius: 50%; background: var(--yellow); top: 42px; right: 54px; box-shadow: 0 0 0 18px rgba(255,209,102,.22); }
.cloud { position: absolute; width: 170px; height: 64px; border-radius: 999px; background: rgba(255,255,255,.82); }
.cloud:before, .cloud:after { content: ""; position: absolute; border-radius: 50%; background: inherit; }
.cloud:before { width: 72px; height: 72px; left: 25px; top: -30px; }
.cloud:after { width: 92px; height: 92px; right: 18px; top: -42px; }
.cloud-one { top: 95px; left: 45px; }
.cloud-two { bottom: 108px; right: 40px; transform: scale(.82); }
.arcade-card {
  position: absolute;
  background: rgba(255,253,247,.92);
  border: 4px solid rgba(255,255,255,.78);
  box-shadow: 0 18px 45px rgba(38,50,56,.15);
  color: var(--ink);
}
.arcade-card.big {
  width: min(360px, 76%);
  min-height: 310px;
  left: 50%; top: 52%; transform: translate(-50%, -50%) rotate(-3deg);
  border-radius: 40px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 26px;
}
.arcade-card.big .emoji { font-size: 7.5rem; filter: drop-shadow(0 14px 20px rgba(38,50,56,.18)); }
.arcade-card.big strong { font-size: 2rem; letter-spacing: -.04em; }
.arcade-card.big small { color: var(--muted); font-weight: 800; }
.arcade-card.small { border-radius: 999px; padding: 14px 18px; font-weight: 950; }
.card-one { left: 44px; bottom: 65px; transform: rotate(7deg); }
.card-two { right: 36px; top: 210px; transform: rotate(-8deg); }
.games-section, .studio-section {
  width: min(1120px, calc(100% - 32px));
  margin: 90px auto 0;
}
.section-heading { max-width: 640px; margin-bottom: 26px; }
h2 { font-size: clamp(2.2rem, 5vw, 4.4rem); line-height: .95; letter-spacing: -.055em; margin-bottom: 12px; }
.section-heading p, .studio-section p { color: var(--muted); line-height: 1.55; font-size: 1.08rem; }
.game-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 18px; }
.game-tile {
  min-height: 190px;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: 1fr auto;
  gap: 18px;
  align-items: start;
  padding: 24px;
  border-radius: 32px;
  background: var(--paper);
  text-decoration: none;
  border: 3px solid rgba(38,50,56,.08);
  box-shadow: 0 16px 40px rgba(38,50,56,.08);
}
.game-tile.featured { grid-row: span 2; min-height: 398px; background: linear-gradient(145deg, #fffdf7, #eaf5ff); }
.tile-icon { font-size: 3rem; }
.game-tile.featured .tile-icon { font-size: 5.4rem; }
.tile-content strong { display: block; font-size: clamp(1.4rem, 3vw, 2.4rem); letter-spacing: -.04em; margin-bottom: 8px; }
.tile-content small { color: var(--muted); font-size: 1rem; line-height: 1.45; }
.tile-status {
  grid-column: 1 / -1;
  align-self: end;
  justify-self: start;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-weight: 950;
}
.coming .tile-status { background: #eef1f4; color: #4f5961; }
.studio-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
  padding: 34px;
  border-radius: 38px;
  background: #fff;
  box-shadow: 0 20px 50px rgba(38,50,56,.08);
}
.studio-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.studio-list li { display: flex; align-items: center; gap: 12px; font-weight: 900; padding: 14px; background: #f6f9fc; border-radius: 22px; }
.studio-list span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 12px; background: var(--yellow); }
footer {
  width: min(1120px, calc(100% - 32px));
  margin: 60px auto 28px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  padding-top: 24px;
  border-top: 2px solid rgba(38,50,56,.1);
}
footer strong { color: var(--ink); }
@media (max-width: 820px) {
  .site-header { position: static; align-items: flex-start; border-radius: 24px; }
  nav { width: 100%; justify-content: flex-start; }
  .hero { grid-template-columns: 1fr; min-height: auto; margin-top: 32px; }
  h1 { max-width: 9ch; }
  .hero-art { min-height: 440px; }
  .game-grid, .studio-section { grid-template-columns: 1fr; }
  .game-tile.featured { min-height: 260px; }
  footer { flex-direction: column; }
}
@media (prefers-reduced-motion: no-preference) {
  .arcade-card.big { animation: float-card 5s ease-in-out infinite; }
  .cloud-one { animation: drift 10s ease-in-out infinite alternate; }
  .cloud-two { animation: drift 12s ease-in-out infinite alternate-reverse; }
  @keyframes float-card { 0%,100% { transform: translate(-50%, -50%) rotate(-3deg); } 50% { transform: translate(-50%, calc(-50% - 12px)) rotate(2deg); } }
  @keyframes drift { from { translate: -8px 0; } to { translate: 12px 0; } }
}
