:root {
  --pink: #ff5fa2;
  --pink-deep: #e2387f;
  --purple: #7a55e8;
  --purple-deep: #5a3bc4;
  --ink: #3b2550;
  --ink-soft: #6c5a80;
  --cream: #fff7fb;
  --card: #ffffff;
  --line: #f0dcea;
  --garden: linear-gradient(160deg, #ffe1ef 0%, #e2f6d6 100%);
  --valley: linear-gradient(160deg, #ffd3a3 0%, #ffecd0 100%);
  --night: linear-gradient(160deg, #262a63 0%, #4b3c82 100%);
  --radius: 22px;
  --shadow: 0 10px 30px rgba(122, 85, 232, 0.14);
  --font: "Nunito", "M PLUS Rounded 1c", "Mali", system-ui, sans-serif;
}
:lang(ja) { --font: "M PLUS Rounded 1c", "Nunito", system-ui, sans-serif; }
:lang(th) { --font: "Mali", "Nunito", system-ui, sans-serif; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
:lang(th) body, body:lang(th) { line-height: 1.8; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--purple); }
.wrap { width: min(1120px, 100% - 32px); margin: 0 auto; }

/* ---- top bar */
.bar {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 247, 251, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.bar .wrap { display: flex; align-items: center; gap: 16px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 900; }
.brand img { width: 36px; height: 36px; border-radius: 9px; box-shadow: 0 2px 6px rgba(0,0,0,.15); }
.bar nav { display: flex; gap: 18px; margin-left: auto; }
.bar nav a { color: var(--ink-soft); text-decoration: none; font-weight: 800; font-size: 15px; }
.bar nav a:hover { color: var(--pink-deep); }
.lang { display: flex; gap: 4px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang button {
  border: 0; background: transparent; font: inherit; font-size: 13px; font-weight: 800; color: var(--ink-soft);
  padding: 4px 10px; border-radius: 999px; cursor: pointer;
}
.lang button[aria-pressed="true"] { background: var(--pink); color: #fff; }
.lang button[data-lang="ja"] { font-family: "M PLUS Rounded 1c", sans-serif; }
.lang button[data-lang="th"] { font-family: "Mali", sans-serif; }
@media (max-width: 760px) { .bar nav { display: none; } .lang { margin-left: auto; } }

/* ---- hero */
.hero {
  background: radial-gradient(120% 90% at 50% 0%, #ffe1f0 0%, #efe4ff 55%, var(--cream) 100%);
  padding: 48px 0 64px;
  text-align: center;
  overflow: hidden;
}
.hero .logo { width: min(520px, 86%); margin: 0 auto; filter: drop-shadow(0 10px 18px rgba(122,85,232,.25)); }
.hero .tag { margin: 4px 0 0; font-weight: 800; color: var(--ink-soft); letter-spacing: .04em; }
.hero h1 {
  margin: 18px auto 10px; max-width: 760px;
  font-size: clamp(28px, 5vw, 48px); line-height: 1.2; font-weight: 900;
  color: #fff;
  -webkit-text-stroke: 0;
  /* The outline in em, so it thins with the text on phones; the drop is a filter so it falls under the outlined
     letters (as a text-shadow it is a second, bare copy of the letters that shows through below them). */
  text-shadow:
    .06em .06em 0 var(--pink), -.06em .06em 0 var(--pink), .06em -.06em 0 var(--pink), -.06em -.06em 0 var(--pink),
    0 .06em 0 var(--pink), 0 -.06em 0 var(--pink), .06em 0 0 var(--pink), -.06em 0 0 var(--pink);
  filter: drop-shadow(0 .12em 0 #9a3a8a);
}
.hero .lead { max-width: 640px; margin: 0 auto 26px; font-size: 18px; color: var(--ink-soft); }
.stores { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 14px; }
.store {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ink); color: #fff; text-decoration: none;
  padding: 12px 22px; border-radius: 16px; font-weight: 800;
  box-shadow: 0 6px 0 #1e1230;
}
.store svg { width: 22px; height: 22px; fill: #fff; }
.platforms { margin-top: 14px; font-size: 14px; color: var(--ink-soft); }
.hero .shot {
  margin: 40px auto 0; width: min(980px, 100%);
  border-radius: var(--radius); border: 6px solid #fff; box-shadow: var(--shadow);
  aspect-ratio: 2260 / 1040; object-fit: cover; background: #f3e6f6;
}

/* ---- sections */
section { padding: 72px 0; }
h2 { font-size: clamp(26px, 4vw, 36px); font-weight: 900; text-align: center; margin: 0 0 12px; }
.sub { text-align: center; color: var(--ink-soft); max-width: 640px; margin: 0 auto 36px; }

.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.how div {
  background: var(--card); border-radius: var(--radius); padding: 22px; text-align: center; box-shadow: var(--shadow);
}
.how b { display: block; font-size: 22px; color: var(--pink-deep); }
.how span.n {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--purple); color: #fff; font-weight: 900; margin-bottom: 8px;
}
@media (max-width: 760px) { .how { grid-template-columns: 1fr; } }

.features { background: #fff; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feat { background: var(--cream); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.feat img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; background: #f3e6f6; }
.feat div { padding: 16px 18px 20px; }
.feat h3 { margin: 0 0 6px; font-size: 19px; font-weight: 900; }
.feat p { margin: 0; color: var(--ink-soft); font-size: 15px; }
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .grid { grid-template-columns: 1fr; } }

.worlds .list { display: grid; gap: 18px; }
.world {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
.world img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 2260 / 1040; }
.world div { padding: 26px 28px; display: flex; flex-direction: column; justify-content: center; }
.world h3 { margin: 0 0 6px; font-size: 24px; font-weight: 900; }
.world p { margin: 0; }
.world.w1 { background: var(--garden); }
.world.w2 { background: var(--valley); }
.world.w3 { background: var(--night); color: #f1ebff; }
.world.w3 h3 { color: #fff; }
.world:nth-child(even) img { order: 2; }
@media (max-width: 760px) { .world { grid-template-columns: 1fr; } .world:nth-child(even) img { order: 0; } }

.shots { background: #fff; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.gallery figure { margin: 0; }
.gallery img { border-radius: 16px; aspect-ratio: 2260 / 1040; object-fit: cover; width: 100%; background: #f3e6f6; box-shadow: 0 4px 14px rgba(0,0,0,.08); }
.gallery figcaption { text-align: center; font-weight: 800; color: var(--ink-soft); margin-top: 8px; font-size: 15px; }
@media (max-width: 640px) { .gallery { grid-template-columns: 1fr; } }

.promise ul { list-style: none; padding: 0; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 820px; }
.promise li {
  background: #fff; border: 2px solid #e6dbff; color: var(--purple-deep); font-weight: 800;
  padding: 10px 18px; border-radius: 999px;
}

/* ---- footer */
footer { background: #2a1840; color: #d9cdee; padding: 36px 0; }
footer .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
footer .studio { width: 150px; opacity: .95; }
footer a { color: #fff; text-decoration: none; font-weight: 800; }
footer a:hover { text-decoration: underline; }
footer .links { display: flex; gap: 20px; flex-wrap: wrap; margin-left: auto; }
footer small { width: 100%; opacity: .7; }

/* ---- privacy page */
.doc { max-width: 760px; margin: 0 auto; padding: 48px 0 72px; }
.doc h1 { font-size: clamp(28px, 4vw, 38px); font-weight: 900; margin: 0 0 4px; }
.doc .updated { color: var(--ink-soft); margin: 0 0 28px; }
.doc h2 { text-align: left; font-size: 21px; margin: 28px 0 6px; }
.doc p { margin: 0 0 10px; }
.doc .back { display: inline-block; margin-top: 32px; font-weight: 800; text-decoration: none; }
