:root {
  --felt: #1a4731;
  --felt-deep: #0f2c1f;
  --felt-dark: #0a1f15;
  --ink: #efe8d6;
  --ink-sub: #b9c6b4;
  --gold: #f6dc95;
  --gold-deep: #c99a3e;
  --paper: #fbf3dc;
  --paper-ink: #3a2a18;
  --vermilion: #c8402a;
  --rule: rgba(246, 220, 149, 0.28);
  --col: 64rem;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { background: var(--felt-dark); }
body {
  background: var(--felt-deep);
  color: var(--ink);
  font-family: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-weight: 600;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}
body:lang(en) { font-family: "Shippori Latin", "Shippori Mincho", Georgia, serif; }
a { color: var(--gold); }
img { display: block; max-width: 100%; height: auto; }

.wrap {
  max-width: calc(var(--col) + 3rem);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------- header ---------- */
.site {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 2;
  display: flex;
  align-items: center;
  padding: 1rem max(1.5rem, (100% - var(--col)) / 2);
  font-size: 0.9rem;
}
.site .home {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.12em;
}
.site .home img {
  width: 34px;
  height: 34px;
  padding: 3px;
  border-radius: 50%;
  background: var(--paper);
}
.site .home:hover span { color: var(--gold); }
.langs { margin-left: auto; letter-spacing: 0.06em; }
.langs a { color: var(--ink); text-decoration: none; opacity: 0.85; }
.langs a:hover { opacity: 1; text-decoration: underline; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  min-height: min(100svh, 62rem);
  display: grid;
  place-items: center;
  padding: 6rem 1.5rem 5rem;
  text-align: center;
  background:
    radial-gradient(ellipse 70% 60% at 50% 42%, rgba(52, 120, 82, 0.55), transparent 70%),
    linear-gradient(to bottom, transparent 70%, var(--felt-deep)),
    url("/img/bg.webp?v=0a02142c72") center / cover,
    var(--felt);
}
.hero-inner { position: relative; width: 100%; max-width: 52rem; }
.hero h1 img {
  width: min(100%, 46rem);
  margin: 0 auto;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.45));
  animation: rise 1.1s cubic-bezier(.2, .8, .2, 1) both;
}
.hero .catch {
  margin-top: 1.4rem;
  font-size: clamp(1.25rem, 3.4vw, 2rem);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.08em;
  animation: rise 1.1s 0.15s cubic-bezier(.2, .8, .2, 1) both;
}
.gold {
  background: linear-gradient(to bottom, #fff7d6 10%, #f1cf78 55%, #c9953a 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.55));
}
.hero .catch,
.hero .lead { word-break: keep-all; text-wrap: balance; }
.sec-lead { text-wrap: balance; }
.hero .lead {
  margin: 0.8rem auto 0;
  max-width: 34em;
  color: var(--ink);
  font-size: clamp(0.98rem, 2.2vw, 1.12rem);
  letter-spacing: 0.04em;
  animation: rise 1.1s 0.25s cubic-bezier(.2, .8, .2, 1) both;
}
.date {
  display: inline-block;
  margin-top: 1.8rem;
  padding: 0.35rem 1.6rem;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  font-size: clamp(1.05rem, 2.6vw, 1.35rem);
  letter-spacing: 0.16em;
  animation: rise 1.1s 0.35s cubic-bezier(.2, .8, .2, 1) both;
}
.cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
  margin-top: 2rem;
  animation: rise 1.1s 0.45s cubic-bezier(.2, .8, .2, 1) both;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 3.3rem;
  padding: 0 1.9rem;
  border-radius: 999px;
  font-size: 1.02rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.btn-primary,
.platforms .store {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: #3a1a08;
  font-weight: 700;
  text-decoration: none;
  text-shadow: 0 1px 0 rgba(255, 246, 214, 0.8);
  border: 1px solid #8a5a1c;
  background: linear-gradient(to bottom, #fff8d8 0%, #f9e09a 24%, #ebbb57 47%, #d39b37 53%, #e8bc5b 78%, #f9df92 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 0 0 2px rgba(255, 238, 180, 0.4),
    inset 0 -3px 4px rgba(122, 72, 12, 0.35),
    0 0 0 3px rgba(246, 220, 149, 0.16),
    0 8px 20px rgba(0, 0, 0, 0.42);
  transition: transform 0.15s, box-shadow 0.15s, filter 0.15s;
}
.btn-primary::after,
.platforms .store::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: -45%;
  width: 30%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.7), transparent);
  transform: skewX(-20deg);
  pointer-events: none;
  animation: sheen 6s 1.8s ease-in-out infinite;
}
.btn-primary:hover,
.platforms .store:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 0 0 2px rgba(255, 238, 180, 0.4),
    inset 0 -3px 4px rgba(122, 72, 12, 0.35),
    0 0 0 4px rgba(246, 220, 149, 0.28),
    0 12px 26px rgba(0, 0, 0, 0.48);
}
@keyframes sheen { 0% { left: -45%; } 16%, 100% { left: 120%; } }
.btn-ghost {
  color: var(--ink);
  border: 1px solid var(--rule);
  background: rgba(0, 0, 0, 0.18);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn .soon-tag,
.platforms .soon-tag {
  font-size: 0.75rem;
  padding: 0.05rem 0.55rem;
  border-radius: 999px;
  background: rgba(246, 220, 149, 0.16);
  color: var(--gold);
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- sections ---------- */
section { padding: 5.5rem 0; }
.sec-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  margin-bottom: 2.6rem;
  font-size: clamp(1.5rem, 3.6vw, 2.1rem);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-align: center;
}
.sec-title::before,
.sec-title::after {
  content: "";
  width: clamp(2rem, 8vw, 5rem);
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-deep));
}
.sec-title::after { background: linear-gradient(to left, transparent, var(--gold-deep)); }
.sec-lead {
  max-width: 36em;
  margin: -1.4rem auto 2.8rem;
  text-align: center;
  color: var(--ink-sub);
}

/* ---------- trailer ---------- */
.trailer { padding-top: 2rem; }
.player {
  position: relative;
  aspect-ratio: 16 / 9;
  max-width: 56rem;
  margin: 0 auto;
  border: 1px solid var(--rule);
  border-radius: 6px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}
.player iframe { display: block; width: 100%; height: 100%; border: 0; }

/* ---------- yaku ---------- */
.yaku { background: linear-gradient(var(--felt-deep), var(--felt) 30%, var(--felt) 70%, var(--felt-deep)); }
.yaku-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.6rem 1.5rem;
}
.yaku-item { text-align: center; }
.fan {
  display: flex;
  justify-content: center;
  height: clamp(7.5rem, 15vw, 10rem);
}
.fan img {
  height: 100%;
  width: auto;
  border-radius: 5%/3%;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.45);
  transition: transform 0.25s;
}
.fan img + img { margin-left: -1.4rem; }
.fan img:nth-child(1) { transform: rotate(-7deg) translateY(4px); }
.fan img:nth-child(2):not(:last-child) { transform: translateY(-4px); }
.fan img:nth-child(2):last-child { transform: rotate(7deg) translateY(4px); }
.fan img:nth-child(3) { transform: rotate(7deg) translateY(4px); }
.yaku-item:hover .fan img { transform: none; }
.yaku-item h3 {
  margin-top: 1.2rem;
  font-size: 1.3rem;
  letter-spacing: 0.14em;
}
.yaku-item p { color: var(--ink-sub); font-size: 0.88rem; letter-spacing: 0.06em; }

/* ---------- features (paper panels) ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}
.panel {
  position: relative;
  padding: 2rem 2.1rem 2.1rem;
  border-radius: 6px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0)),
    var(--paper);
  color: var(--paper-ink);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35), inset 0 0 0 1px rgba(201, 154, 62, 0.45), inset 0 0 0 5px var(--paper), inset 0 0 0 6px rgba(201, 154, 62, 0.35);
}
.panel .num {
  position: absolute;
  top: 1.1rem;
  right: 1.4rem;
  color: var(--vermilion);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  opacity: 0.85;
}
.panel h3 {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.5;
}
.panel h3::after {
  content: "";
  display: block;
  width: 2.2rem;
  height: 2px;
  margin-top: 0.7rem;
  background: var(--vermilion);
}
.panel p { margin-top: 0.9rem; font-size: 0.98rem; }
.panel ul { margin-top: 0.9rem; padding-left: 1.2em; font-size: 0.98rem; }
.panel li::marker { color: var(--vermilion); }
/* ---------- screenshots ---------- */
.shots-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}
.shots-row figure {
  display: flex;
  flex-direction: column;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--rule);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.4);
}
.shots-row figcaption {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 0.7rem 1rem;
  background: var(--felt-dark);
  color: var(--ink-sub);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  line-height: 1.6;
  text-align: center;
  word-break: keep-all;
  text-wrap: balance;
}

/* ---------- closing ---------- */
.closing {
  text-align: center;
  background:
    radial-gradient(ellipse 60% 70% at 50% 50%, rgba(52, 120, 82, 0.45), transparent 75%),
    var(--felt-deep);
}
.closing .logo-small { width: min(100%, 26rem); margin: 0 auto; filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.45)); }
.closing .date { animation: none; }
.platforms {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 2rem;
}
.platforms .store,
.platforms .store-sub {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  min-height: 3rem;
  padding: 0 1.4rem;
  border-radius: 999px;
  letter-spacing: 0.06em;
  font-size: 0.95rem;
}
.platforms .store-sub {
  border: 1px solid var(--rule);
  gap: 0.6em;
  color: var(--ink);
  background: rgba(0, 0, 0, 0.18);
  text-decoration: none;
}
.platforms .store-sub:hover { border-color: var(--gold); color: var(--gold); }
.gp-badge { display: inline-flex; border-radius: 10px; }
.gp-badge img { height: 3.3rem; width: auto; }
.platforms .gp-badge img { height: 3rem; }
.gp-badge:hover { transform: translateY(-2px); transition: transform 0.15s; }
.also { margin-top: 1rem; color: var(--ink-sub); font-size: 0.9rem; }
.support-note { margin-top: 2.4rem; color: var(--ink-sub); font-size: 0.9rem; }

/* ---------- footer ---------- */
footer {
  padding: 2.6rem 1.5rem 3rem;
  background: var(--felt-dark);
  border-top: 1px solid var(--rule);
  color: var(--ink-sub);
  font-size: 0.82rem;
  text-align: center;
}
footer p + p { margin-top: 0.3rem; }
footer .credits { margin-top: 1.2rem; font-size: 0.74rem; opacity: 0.8; line-height: 1.7; }
footer a { color: var(--ink); }

/* Latin text reads loose at the Japanese tracking */
html[lang="en"] .hero .catch { letter-spacing: 0.02em; }
html[lang="en"] .hero .lead,
html[lang="en"] .btn,
html[lang="en"] .platforms .store,
html[lang="en"] .platforms .store-sub { letter-spacing: 0.02em; }
html[lang="en"] .date { letter-spacing: 0.08em; }
html[lang="en"] .sec-title { letter-spacing: 0.08em; }
html[lang="en"] .yaku-item h3 { letter-spacing: 0.03em; font-size: 1.15rem; line-height: 1.4; }
html[lang="en"] .panel h3 { letter-spacing: 0.02em; }

@media (max-width: 52rem) {
  .yaku-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 45rem) {
  section { padding: 4rem 0; }
  .features-grid { grid-template-columns: minmax(0, 1fr); }
  .panel { padding: 1.7rem 1.5rem 1.8rem; }
  .shots-row {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin: 0 -1.5rem;
    padding: 0 1.5rem 1rem;
  }
  .shots-row figure { flex: 0 0 72%; scroll-snap-align: center; }
  .btn { width: 100%; max-width: 22rem; }
  .fan img + img { margin-left: -1.1rem; }
}
@media (max-width: 30rem) {
  .yaku-grid { gap: 2rem 0.6rem; }
  .fan { height: 6.4rem; }
  .fan img + img { margin-left: -1.3rem; }
  .yaku-item h3 { font-size: 1.1rem; }
  .site .home span { display: none; }
}
