* { box-sizing: border-box; }

:root {
  color-scheme: light;
  --ink: #29304f;
  --muted: #68708b;
  --pink: #ff718d;
  --yellow: #ffd45c;
  --purple: #7768d8;
  --paper: #fff8ef;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: "Hiragino Maru Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
}

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

.site-header {
  width: min(1120px, calc(100% - 48px));
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark { color: #f0ad25; font-size: 25px; }
.header-note { color: var(--muted); font-size: 13px; font-weight: 700; }

main { width: min(1000px, calc(100% - 48px)); margin: 0 auto; }

.hero {
  position: relative;
  min-height: 390px;
  padding: 58px 70px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  border-radius: 34px;
  background: #e9e7ff;
}

.hero-copy { position: relative; z-index: 1; }
.eyebrow { margin: 0 0 12px; color: var(--purple); font-size: 12px; font-weight: 900; letter-spacing: .16em; }

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

h1 {
  margin-bottom: 15px;
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 900;
  letter-spacing: .04em;
  line-height: 1.35;
}

.hero-description { max-width: 390px; margin-bottom: 21px; color: #535b7b; font-size: 15px; line-height: 1.9; }
.scroll-link { display: inline-flex; align-items: center; gap: 9px; color: #5146b3; font-size: 14px; font-weight: 800; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.scroll-link span { font-size: 19px; }

.hero-art { position: relative; height: 260px; }
.gamepad {
  position: absolute;
  top: 67px;
  left: 50%;
  width: 210px;
  height: 132px;
  border: 7px solid var(--ink);
  border-radius: 48px 48px 58px 58px;
  background: var(--pink);
  box-shadow: 0 12px 0 #d94d70;
  transform: translateX(-50%) rotate(-9deg);
}
.gamepad::before, .gamepad::after { position: absolute; top: 44px; width: 22px; height: 22px; border-radius: 50%; background: var(--yellow); content: ""; }
.gamepad::before { left: 35px; }
.gamepad::after { right: 36px; top: 31px; width: 16px; height: 16px; }
.gamepad span { position: absolute; top: 33px; left: 67px; width: 15px; height: 45px; border-radius: 5px; background: var(--ink); }
.gamepad i { position: absolute; top: 48px; left: 52px; width: 45px; height: 15px; border-radius: 5px; background: var(--ink); }
.gamepad b { position: absolute; top: 56px; right: 29px; color: var(--ink); font-size: 26px; line-height: 1; }
.spark { position: absolute; color: #f1b82f; font-size: 40px; }
.spark-one { top: 22px; right: 31px; }
.spark-two { bottom: 19px; left: 16px; font-size: 28px; }
.orbit { position: absolute; border: 2px dashed #aaa2ed; border-radius: 50%; }
.orbit-one { inset: 22px 8px 15px; transform: rotate(-17deg); }
.orbit-two { inset: 39px 24px 33px; transform: rotate(24deg); }

.games { padding: 60px 0 53px; }
.section-heading { margin-bottom: 20px; }
.section-heading .eyebrow { margin-bottom: 5px; }
.section-heading h2 { margin-bottom: 0; font-size: 25px; font-weight: 900; }

.coming-card {
  position: relative;
  min-height: 145px;
  padding: 27px 34px;
  display: flex;
  align-items: center;
  gap: 23px;
  overflow: hidden;
  border: 2px dashed #e9c56a;
  border-radius: 22px;
  background: #fffdf6;
}

.coming-icon { width: 72px; height: 72px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 22px; background: #fff0bd; font-size: 36px; }
.coming-label { display: inline-block; margin-bottom: 5px; color: #a8790d; font-size: 10px; font-weight: 900; letter-spacing: .12em; }
.coming-card h3 { margin-bottom: 6px; font-size: 19px; font-weight: 900; }
.coming-card p { max-width: 600px; margin-bottom: 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.coming-star { position: absolute; right: 26px; top: 17px; color: #efbd47; font-size: 25px; }

.grownups { margin-bottom: 55px; padding: 23px 27px; display: flex; align-items: flex-start; gap: 16px; border-radius: 20px; background: #e8f4e8; }
.grownups-icon { flex: 0 0 auto; color: #e9a72d; font-size: 27px; }
.grownups h2 { margin: 2px 0 6px; font-size: 16px; font-weight: 900; }
.grownups p { margin-bottom: 7px; color: #505f56; font-size: 13px; line-height: 1.85; }
.grownups .contact { margin-bottom: 0; font-weight: 700; }
.grownups a { text-underline-offset: 3px; }

footer { padding: 22px 24px 26px; color: var(--muted); text-align: center; }
footer p { margin-bottom: 6px; font-size: 12px; }
footer small { font-size: 11px; }

@media (max-width: 680px) {
  .site-header { width: calc(100% - 32px); min-height: 68px; }
  .brand { font-size: 14px; }
  .brand-mark { font-size: 21px; }
  .header-note { font-size: 11px; }
  main { width: calc(100% - 32px); }
  .hero { min-height: 0; padding: 38px 26px 24px; grid-template-columns: 1fr; }
  h1 { font-size: clamp(34px, 10vw, 47px); }
  .hero-description { font-size: 14px; }
  .hero-art { height: 210px; margin-top: 8px; }
  .gamepad { top: 45px; transform: translateX(-50%) rotate(-9deg) scale(.85); }
  .orbit-one { inset: 8px 16px 5px; }
  .orbit-two { inset: 25px 31px 21px; }
  .games { padding: 42px 0; }
  .section-heading h2 { font-size: 22px; }
  .coming-card { align-items: flex-start; padding: 22px 18px; gap: 15px; }
  .coming-icon { width: 54px; height: 54px; border-radius: 17px; font-size: 28px; }
  .coming-card h3 { font-size: 16px; }
  .coming-card p { font-size: 13px; }
  .coming-star { right: 13px; top: 10px; }
  .grownups { margin-bottom: 38px; padding: 19px; gap: 11px; }
}

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