/* ============================================================
   CatHaven — official site
   Bright cartoon mobile-game look, hand-built CSS
   ============================================================ */

:root {
  --cream: #FFF8E9;
  --cream-2: #FFEFD2;
  --paper: #FFFDF7;
  --ink: #2C3A2E;
  --ink-soft: #5E6F5B;
  --green: #3FA34D;
  --green-deep: #23793C;
  --leaf: #8FD16E;
  --mint: #E4F6D6;
  --gold: #FFC24B;
  --gold-deep: #E09A24;
  --coral: #F26B3A;
  --sky: #63C7F5;
  --pink: #FF9FC6;
  --line: rgba(44, 58, 46, 0.12);
  --shadow-soft: 0 24px 48px -28px rgba(35, 60, 30, 0.45);
  --shadow-card: 0 18px 34px -24px rgba(35, 60, 30, 0.5);
  --radius: 28px;
  --font-display: "Baloo 2", "ZCOOL KuaiLe", "Noto Sans SC", "PingFang SC", system-ui, sans-serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", system-ui, -apple-system, sans-serif;
  --header-h: 82px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }

section[id] { scroll-margin-top: 88px; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.18;
  margin: 0;
  letter-spacing: 0.01em;
}

p { margin: 0; }

.wrap {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 999;
  padding: 10px 18px;
  border-radius: 12px;
  background: var(--green-deep);
  color: #fff;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 14px; }

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
  border-radius: 8px;
}

/* ---------------- Header ---------------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255, 248, 233, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: height 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  height: 68px;
  background: rgba(255, 250, 240, 0.94);
  box-shadow: 0 12px 30px -24px rgba(35, 60, 30, 0.6);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  width: min(1240px, calc(100% - 40px));
}

.brand { flex: 0 0 auto; display: flex; align-items: center; }
.brand img {
  width: 118px;
  height: auto;
  filter: drop-shadow(0 6px 10px rgba(150, 105, 20, 0.22));
  transition: width 0.25s ease;
}
.is-scrolled .brand img { width: 104px; }

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-inline: auto;
}

.nav a {
  position: relative;
  padding: 9px 15px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  transition: color 0.2s ease, background 0.2s ease;
}
.nav a:hover { background: rgba(63, 163, 77, 0.12); color: var(--green-deep); }
.nav a.is-active { color: var(--green-deep); }
.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 18px;
  height: 4px;
  border-radius: 99px;
  background: var(--gold);
  transform: translateX(-50%);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-switch {
  display: flex;
  padding: 4px;
  gap: 2px;
  background: rgba(44, 58, 46, 0.07);
  border-radius: 999px;
}
.lang-switch button {
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-soft);
  padding: 5px 11px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.lang-switch button.is-active {
  background: #fff;
  color: var(--green-deep);
  box-shadow: 0 3px 8px -4px rgba(35, 60, 30, 0.4);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 18px -12px rgba(35, 60, 30, 0.6);
  cursor: pointer;
  padding: 11px;
  flex-direction: column;
  justify-content: space-between;
}
.nav-toggle span {
  display: block;
  height: 3px;
  border-radius: 99px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------------- Buttons ---------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.01em;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}
.btn-icon { width: 20px; height: 20px; fill: currentColor; }

.btn-primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 6px 0 var(--green-deep), 0 18px 26px -18px rgba(35, 121, 60, 0.9);
}
.btn-primary:hover {
  background: #46b055;
  transform: translateY(-2px);
  box-shadow: 0 8px 0 var(--green-deep), 0 22px 30px -18px rgba(35, 121, 60, 0.9);
}
.btn-primary:active { transform: translateY(3px); box-shadow: 0 3px 0 var(--green-deep); }

.btn-ghost {
  background: #fff;
  color: var(--ink);
  border-color: rgba(44, 58, 46, 0.14);
  box-shadow: 0 6px 0 rgba(44, 58, 46, 0.1), 0 18px 26px -20px rgba(35, 60, 30, 0.6);
}
.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: rgba(63, 163, 77, 0.4);
  box-shadow: 0 8px 0 rgba(44, 58, 46, 0.1), 0 22px 30px -20px rgba(35, 60, 30, 0.6);
}
.btn-ghost:active { transform: translateY(3px); box-shadow: 0 2px 0 rgba(44, 58, 46, 0.12); }

.btn-sun {
  background: var(--gold);
  color: #402C05;
  box-shadow: 0 6px 0 var(--gold-deep), 0 20px 28px -18px rgba(224, 154, 36, 0.9);
}
.btn-sun:hover {
  background: #ffcd67;
  transform: translateY(-2px);
  box-shadow: 0 8px 0 var(--gold-deep), 0 24px 32px -18px rgba(224, 154, 36, 0.9);
}
.btn-sun:active { transform: translateY(3px); box-shadow: 0 3px 0 var(--gold-deep); }

.btn-outline-light {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.22); transform: translateY(-2px); }
.btn-outline-light:active { transform: translateY(2px); }

.btn-mini {
  padding: 9px 18px;
  font-size: 14px;
  background: var(--green);
  color: #fff;
  box-shadow: 0 4px 0 var(--green-deep);
}
.btn-mini:hover { transform: translateY(-1px); background: #46b055; }
.btn-mini:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--green-deep); }

.round-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(44, 58, 46, 0.12);
  background: #fff;
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 6px 0 rgba(44, 58, 46, 0.08);
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}
.round-btn:hover { background: var(--mint); transform: translateY(-2px); }
.round-btn:active { transform: translateY(2px); box-shadow: 0 2px 0 rgba(44, 58, 46, 0.1); }

/* ---------------- Hero ---------------- */

.hero {
  position: relative;
  isolation: isolate;
  padding: calc(var(--header-h) + 44px) 0 0;
  min-height: 780px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 45%;
  transform: scale(1.03);
  animation: hero-drift 26s ease-in-out infinite alternate;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, #FFF8E9 0%, rgba(255, 248, 233, 0.96) 34%, rgba(255, 248, 233, 0.55) 56%, rgba(255, 248, 233, 0.08) 78%, rgba(255, 248, 233, 0) 100%),
    linear-gradient(180deg, rgba(255, 248, 233, 0.55) 0%, rgba(255, 248, 233, 0) 26%, rgba(255, 248, 233, 0) 72%, #FFF8E9 100%);
}

@keyframes hero-drift {
  from { transform: scale(1.03) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(-1.5%, -1.2%, 0); }
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: 40px;
  padding-bottom: 90px;
}

.hero-copy { max-width: 600px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  border: 2px solid rgba(63, 163, 77, 0.22);
  font-size: 13px;
  font-weight: 900;
  color: var(--green-deep);
  letter-spacing: 0.08em;
  box-shadow: 0 8px 18px -14px rgba(35, 60, 30, 0.5);
}
.eyebrow .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 0 rgba(242, 107, 58, 0.55);
  animation: pulse 2.2s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(242, 107, 58, 0.5); }
  70% { box-shadow: 0 0 0 10px rgba(242, 107, 58, 0); }
  100% { box-shadow: 0 0 0 0 rgba(242, 107, 58, 0); }
}

.hero h1 {
  font-size: clamp(40px, 5.1vw, 68px);
  margin: 22px 0 20px;
  letter-spacing: 0.005em;
}
html[lang="en"] .hero h1 { font-size: clamp(36px, 4vw, 52px); }
html[lang="en"] .notify h2 { font-size: clamp(26px, 3vw, 36px); }
.hero h1 .accent {
  color: var(--green-deep);
  position: relative;
  display: inline-block;
}
.hero h1 .accent::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 12px;
  border-radius: 99px;
  background: rgba(255, 194, 75, 0.55);
  z-index: -1;
  transform: rotate(-0.6deg);
}

.lede {
  font-size: 17px;
  line-height: 1.85;
  color: var(--ink-soft);
  max-width: 520px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 30px;
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
}

.store-note {
  margin-top: 14px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-soft);
}
.hero-facts li { display: flex; align-items: baseline; gap: 7px; }
.hero-facts b {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
  color: var(--green-deep);
  line-height: 1;
}
.hero-facts span { font-size: 13px; font-weight: 700; color: var(--ink-soft); }

/* Phone mockup */
.hero-stage {
  position: relative;
  justify-self: center;
  padding: 28px 10px;
}

.phone {
  position: relative;
  width: min(310px, 74vw);
  aspect-ratio: 9 / 18.6;
  border-radius: 48px;
  padding: 10px;
  background: linear-gradient(160deg, #3A4A37, #1E2A1D);
  box-shadow:
    0 40px 70px -34px rgba(28, 48, 24, 0.75),
    inset 0 0 0 2px rgba(255, 255, 255, 0.12);
  transform: rotate(3deg);
  animation: phone-float 7s ease-in-out infinite;
}
@keyframes phone-float {
  0%, 100% { transform: rotate(3deg) translateY(0); }
  50% { transform: rotate(2deg) translateY(-12px); }
}
.phone-notch {
  position: absolute;
  top: 18px;
  left: 50%;
  width: 86px;
  height: 20px;
  border-radius: 999px;
  background: #1E2A1D;
  transform: translateX(-50%);
  z-index: 3;
}
.phone-screen {
  position: relative;
  height: 100%;
  border-radius: 38px;
  overflow: hidden;
  background: #BFE3A8;
}
.phone-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: screen-pan 20s ease-in-out infinite alternate;
}
@keyframes screen-pan {
  from { transform: scale(1.22) translate3d(-3%, 3%, 0); }
  to { transform: scale(1.3) translate3d(3%, -3%, 0); }
}

.hud {
  position: absolute;
  top: 40px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  z-index: 2;
}
.hud-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #3C4A30;
  font-size: 11px;
  font-weight: 900;
  box-shadow: 0 4px 10px -6px rgba(28, 48, 24, 0.6);
}
.hud-coin img { width: 15px; height: 15px; object-fit: contain; }

.hud-quest {
  position: absolute;
  top: 76px;
  left: 12px;
  z-index: 2;
  padding: 7px 12px;
  border-radius: 12px;
  background: rgba(38, 64, 33, 0.82);
  color: #FFF3D6;
  font-size: 10.5px;
  font-weight: 700;
  backdrop-filter: blur(4px);
}

.hud-tray {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 9px;
  z-index: 2;
}
.tray-slot {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid rgba(255, 255, 255, 0.75);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 16px -10px rgba(28, 48, 24, 0.8);
  animation: slot-bob 4s ease-in-out infinite;
}
.tray-slot:nth-child(2) { animation-delay: 0.6s; }
.tray-slot:nth-child(3) { animation-delay: 1.2s; }
.tray-slot img { width: 72%; height: 72%; object-fit: contain; }
@keyframes slot-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.hud-spark {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #FFF4C2;
  box-shadow: 0 0 12px 3px rgba(255, 244, 194, 0.8);
  animation: twinkle 3.4s ease-in-out infinite;
  z-index: 2;
}
.hud-spark.s1 { top: 24%; left: 22%; }
.hud-spark.s2 { top: 40%; right: 16%; animation-delay: 1.1s; }
.hud-spark.s3 { top: 62%; left: 30%; animation-delay: 2s; width: 6px; height: 6px; }
@keyframes twinkle {
  0%, 100% { opacity: 0.2; transform: scale(0.7); }
  50% { opacity: 1; transform: scale(1.15); }
}

.float-cat {
  position: absolute;
  filter: drop-shadow(0 14px 18px rgba(35, 60, 30, 0.28));
  animation: float-y 6.5s ease-in-out infinite;
}
.cat-a { width: 104px; top: -6px; right: -34px; }
.cat-b { width: 86px; bottom: 44px; left: -54px; animation-delay: 1.4s; }
@keyframes float-y {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-14px) rotate(3deg); }
}

.float-item {
  position: absolute;
  filter: drop-shadow(0 10px 14px rgba(35, 60, 30, 0.22));
  animation: float-y 5.5s ease-in-out infinite;
}
.fig-a { width: 62px; top: 24px; left: -46px; animation-delay: 0.8s; }
.fig-b { width: 70px; bottom: -6px; right: -18px; animation-delay: 2.1s; }

.hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  line-height: 0;
  z-index: 1;
}
.hero-wave svg { width: 100%; height: 110px; display: block; }

/* ---------------- Shared section bits ---------------- */

.section { padding: 100px 0; position: relative; }

.kicker {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.24em;
  color: var(--green-deep);
  margin-bottom: 12px;
}
.kicker-light { color: var(--gold); }

.section-head {
  max-width: 760px;
  margin: 0 auto 52px;
  text-align: center;
}
.section-head h2 {
  font-size: clamp(30px, 3.6vw, 46px);
  margin-bottom: 14px;
}
.section-head p {
  color: var(--ink-soft);
  font-size: 16.5px;
  max-width: 600px;
  margin-inline: auto;
}

/* ---------------- Story ---------------- */

.story { background: var(--cream); padding-top: 86px; }

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 86px);
  align-items: center;
}

.story-art {
  position: relative;
  min-height: 540px;
}
.story-card {
  position: absolute;
  margin: 0;
  border: 9px solid #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(35, 60, 30, 0.6);
  background: #fff;
}
.story-card img { width: 100%; height: 100%; object-fit: cover; }
.story-card.tilt-left {
  width: 63%;
  aspect-ratio: 3 / 4;
  left: 0;
  top: 0;
  transform: rotate(-4deg);
  z-index: 1;
}
.story-card.tilt-right {
  width: 50%;
  aspect-ratio: 3 / 4;
  right: 0;
  bottom: 0;
  transform: rotate(4.5deg);
  z-index: 2;
}

.sticker {
  position: absolute;
  z-index: 3;
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  background: var(--gold);
  color: #45300A;
  border: 3px solid #fff;
  box-shadow: 0 10px 20px -12px rgba(35, 60, 30, 0.6);
  transform: rotate(-5deg);
}
.sticker-gold { top: 26px; right: -8px; animation: sticker-wiggle 6s ease-in-out infinite; }
@keyframes sticker-wiggle {
  0%, 100% { transform: rotate(-5deg); }
  50% { transform: rotate(2deg) translateY(-6px); }
}

.story-copy h2 { font-size: clamp(30px, 3.7vw, 46px); margin-bottom: 20px; }
.story-copy > p {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.9;
  margin-bottom: 14px;
}

blockquote {
  margin: 28px 0;
  padding: 22px 26px;
  border-radius: 20px;
  border-left: 6px solid var(--gold);
  background: #FFF1D4;
}
blockquote p {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.55;
  color: #4A3A16;
}
blockquote cite {
  display: block;
  margin-top: 8px;
  font-style: normal;
  font-size: 13px;
  font-weight: 700;
  color: #8A7135;
}

.stat-row {
  display: flex;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.stat-row li { display: flex; flex-direction: column; }
.stat-row b {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
  color: var(--green);
  line-height: 1.1;
}
.stat-row span { font-size: 12.5px; font-weight: 700; color: var(--ink-soft); }

/* ---------------- Gameplay ---------------- */

.gameplay { background: linear-gradient(180deg, var(--cream) 0%, #FFF3DA 100%); }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.feature-card {
  position: relative;
  min-height: 214px;
  padding: 32px 34px 44px;
  border-radius: var(--radius);
  border: 2px solid rgba(44, 58, 46, 0.06);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 44px -26px rgba(35, 60, 30, 0.55);
}
.tone-mint { background: #E9F8D9; }
.tone-lemon { background: #FFF3C4; }
.tone-peach { background: #FFE4D3; }
.tone-sky { background: #DCF1FF; }

.feature-num {
  position: absolute;
  top: 16px;
  right: 24px;
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 800;
  line-height: 1;
  color: rgba(44, 58, 46, 0.1);
}
.feature-text { position: relative; z-index: 2; max-width: 74%; }
.feature-text h3 {
  font-size: 27px;
  margin-bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.feature-text h3::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(63, 163, 77, 0.16);
}
.feature-text p {
  font-size: 15px;
  line-height: 1.85;
  color: #55664F;
}

.feature-art {
  position: absolute;
  right: 16px;
  bottom: -8px;
  width: 122px;
  filter: drop-shadow(0 16px 18px rgba(35, 60, 30, 0.22));
  transform: rotate(-7deg);
  transition: transform 0.3s ease;
}
.feature-card:hover .feature-art { transform: rotate(0deg) scale(1.05); }

.feature-tag {
  position: absolute;
  left: 34px;
  bottom: 20px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: rgba(44, 58, 46, 0.38);
}

/* ---------------- Cats ---------------- */

.cats {
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 194, 75, 0.18), transparent 42%),
    radial-gradient(circle at 88% 78%, rgba(99, 199, 245, 0.16), transparent 45%),
    var(--cream);
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 18px 22px;
  border-radius: 24px;
  background: #FFFDF7;
  border: 2px solid rgba(44, 58, 46, 0.08);
  box-shadow: 0 16px 30px -26px rgba(35, 60, 30, 0.6);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.cat-card:hover {
  transform: translateY(-6px);
  border-color: rgba(63, 163, 77, 0.35);
  box-shadow: 0 24px 38px -24px rgba(35, 60, 30, 0.55);
}

.cat-bubble {
  width: 108px;
  height: 108px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 26%, #FFFFFF 0%, #EAF7DC 52%, #D6EEC5 100%);
  border: 3px solid #fff;
  box-shadow: inset 0 -8px 18px rgba(120, 170, 100, 0.22), 0 10px 18px -14px rgba(35, 60, 30, 0.6);
  margin-bottom: 14px;
}
.cat-bubble img { width: 96px; height: auto; }

.cat-card h3 {
  font-size: 21px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.cat-card h3 small {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #9AA894;
}
.cat-card p {
  margin: 6px 0 12px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-soft);
  line-height: 1.6;
}

.cat-tag {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--mint);
  font-size: 11.5px;
  font-weight: 700;
  color: #3D6B3F;
}
.cat-tag--link {
  background: #FFF0C9;
  color: #8A6416;
  transition: background 0.2s ease;
}
.cat-tag--link:hover { background: var(--gold); }

.cat-card--open {
  background: rgba(255, 253, 247, 0.5);
  border: 2px dashed rgba(63, 163, 77, 0.4);
  box-shadow: none;
  justify-content: center;
}
.cat-bubble--empty { background: #FFF6E2; }
.cat-bubble--empty img { width: 78px; opacity: 0.8; }

/* ---------------- World / gallery ---------------- */

.world { background: linear-gradient(180deg, #FFF3DA 0%, var(--cream) 100%); }
.world .section-head { margin-bottom: 38px; }

.gallery-wrap { position: relative; }

.gallery {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 18px max(24px, calc((100vw - 1180px) / 2)) 34px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.gallery::-webkit-scrollbar { display: none; }

.shot {
  flex: 0 0 clamp(280px, 38vw, 430px);
  margin: 0;
  scroll-snap-align: center;
  transform: rotate(-1.4deg);
  transition: transform 0.25s ease;
}
.shot:nth-child(even) { transform: rotate(1.4deg); }
.shot:hover { transform: rotate(0deg) translateY(-6px); }

.shot img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 20px;
  border: 7px solid #fff;
  box-shadow: 0 24px 40px -26px rgba(35, 60, 30, 0.6);
}
.shot figcaption {
  display: flex;
  flex-direction: column;
  padding: 14px 6px 0;
}
.shot figcaption b { font-family: var(--font-display); font-size: 19px; }
.shot figcaption span { font-size: 12.5px; color: var(--ink-soft); }

.gallery-nav {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding-inline: max(24px, calc((100vw - 1180px) / 2));
  margin-top: 2px;
}

/* ---------------- Chapters ---------------- */

.chapters {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 194, 75, 0.16), transparent 40%),
    radial-gradient(circle at 82% 82%, rgba(63, 163, 77, 0.3), transparent 45%),
    linear-gradient(140deg, #1F5133, #173F2A 60%, #123322);
  color: #F3F8E8;
  padding: 86px 0;
}

.chapters-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 60px;
  align-items: center;
}

.chapters-copy h2 { font-size: clamp(26px, 3vw, 38px); margin-bottom: 16px; max-width: 460px; }
.chapters-copy p {
  color: rgba(243, 248, 232, 0.78);
  font-size: 16px;
  line-height: 1.9;
  max-width: 420px;
}
.chapters-copy .btn { margin-top: 28px; }

.chapters-marquee {
  display: flex;
  flex-direction: column;
  gap: 14px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: marquee 42s linear infinite;
}
.marquee-track--reverse { animation-direction: reverse; animation-duration: 48s; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.chapter-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 14px;
  font-weight: 700;
  color: #EAF4DC;
  white-space: nowrap;
}
.chapter-chip b {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  color: var(--gold);
}

/* ---------------- About / SEO ---------------- */

.about {
  background:
    radial-gradient(760px 420px at 8% 0%, rgba(255, 209, 102, 0.16), transparent 70%),
    #FFFDF6;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(36px, 6vw, 76px);
  align-items: center;
}

.about-copy h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.28;
  margin: 14px 0 20px;
}

.about-copy p {
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.95;
  margin: 0 0 14px;
  max-width: 620px;
}

.keyword-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  max-width: 540px;
}

.keyword-chips li {
  padding: 7px 14px;
  border-radius: 999px;
  background: #fff;
  border: 2px solid rgba(63, 163, 77, 0.16);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--green-deep, #3F7A4A);
}

.about-card {
  background: #fff;
  border: 2px solid rgba(44, 58, 46, 0.07);
  border-radius: 28px;
  padding: clamp(24px, 3vw, 34px);
  box-shadow: 0 18px 40px rgba(44, 58, 46, 0.08);
  text-align: center;
}

.about-logo {
  display: block;
  margin: 0 auto 18px;
  width: min(160px, 60%);
  height: auto;
}

.about-facts { margin: 0; text-align: left; }

.about-facts > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(44, 58, 46, 0.13);
}

.about-facts > div:last-child { border-bottom: 0; }

.about-facts dt {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-soft);
}

.about-facts dd {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  color: var(--ink);
  text-align: right;
}

.about-cta {
  width: 100%;
  margin-top: 22px;
  justify-content: center;
}

/* ---------------- Support / FAQ ---------------- */

.support { background: var(--cream); }

.support-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}

.support-copy { position: relative; }
.support-copy h2 { font-size: clamp(30px, 3.5vw, 44px); margin-bottom: 14px; }
.support-copy p { color: var(--ink-soft); font-size: 16px; max-width: 340px; }

.mail-link {
  display: inline-block;
  margin-top: 18px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--green-deep);
  border-bottom: 3px solid var(--gold);
  padding-bottom: 2px;
  transition: color 0.2s ease;
}
.mail-link:hover { color: var(--coral); }

.support-cat {
  width: 132px;
  margin-top: 30px;
  filter: drop-shadow(0 14px 18px rgba(35, 60, 30, 0.2));
  animation: float-y 7s ease-in-out infinite;
}

.faq details {
  border-bottom: 2px solid rgba(44, 58, 46, 0.1);
  padding: 6px 0;
}
.faq summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 18px 48px 18px 0;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  transition: color 0.2s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--mint);
  color: var(--green-deep);
  font-size: 21px;
  font-weight: 700;
  transform: translateY(-50%);
  transition: transform 0.25s ease, background 0.2s ease;
}
.faq details[open] summary { color: var(--green-deep); }
.faq details[open] summary::after {
  content: "−";
  background: var(--gold);
  color: #4A330A;
  transform: translateY(-50%) rotate(180deg);
}
.faq summary:hover { color: var(--green-deep); }
.faq details p {
  padding: 0 44px 20px 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.85;
}

/* ---------------- Notify ---------------- */

.notify {
  position: relative;
  overflow: hidden;
  padding: 76px 0;
  background: linear-gradient(135deg, #FFD86B 0%, #FFB25F 55%, #FF9A6B 100%);
}

.notify-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 2;
}
.notify h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  color: #3A2A0C;
  margin-bottom: 12px;
}
.notify p {
  font-size: 16px;
  color: rgba(58, 42, 12, 0.78);
  max-width: 480px;
  font-weight: 500;
}
.notify .kicker { color: #7A5310; }
.notify-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  flex: 0 0 auto;
}
.notify-actions .btn-primary { box-shadow: 0 6px 0 var(--green-deep); }

.notify-bubbles span {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.6);
  background: radial-gradient(circle at 30% 28%, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.12) 60%);
  animation: bubble-rise 14s linear infinite;
}
.notify-bubbles span:nth-child(1) { width: 46px; height: 46px; left: 6%; bottom: -60px; animation-delay: 0s; }
.notify-bubbles span:nth-child(2) { width: 22px; height: 22px; left: 24%; bottom: -40px; animation-delay: 3.5s; }
.notify-bubbles span:nth-child(3) { width: 64px; height: 64px; left: 48%; bottom: -80px; animation-delay: 6s; }
.notify-bubbles span:nth-child(4) { width: 30px; height: 30px; left: 72%; bottom: -50px; animation-delay: 2s; }
.notify-bubbles span:nth-child(5) { width: 52px; height: 52px; left: 88%; bottom: -70px; animation-delay: 8s; }
@keyframes bubble-rise {
  0% { transform: translateY(0) scale(0.8); opacity: 0; }
  15% { opacity: 0.9; }
  100% { transform: translateY(-560px) scale(1.15); opacity: 0; }
}

/* ---------------- Footer ---------------- */

.site-footer {
  background: #1B2A1C;
  color: #E7EFDA;
  padding: 54px 0 46px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.footer-brand img { width: 112px; height: auto; margin-bottom: 12px; }
.footer-brand p { font-size: 13.5px; color: rgba(231, 239, 218, 0.66); max-width: 260px; }

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 14px;
  font-weight: 700;
}
.footer-nav a { transition: color 0.2s ease; }
.footer-nav a:hover { color: var(--gold); }

.footer-meta { font-size: 13px; color: rgba(231, 239, 218, 0.62); }
.footer-meta a { color: var(--gold); font-weight: 700; }
.footer-meta p { margin-top: 8px; }
.footer-note { font-size: 12px; opacity: 0.7; }
.footer-company { font-size: 11.5px; line-height: 1.6; opacity: 0.62; max-width: 320px; }
.footer-legal-links { font-size: 12px; opacity: 0.78; display: flex; flex-wrap: wrap; gap: 4px 8px; }
.footer-legal-links a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------------- Toast ---------------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  z-index: 200;
  transform: translate(-50%, 24px);
  padding: 13px 22px;
  border-radius: 999px;
  background: rgba(35, 48, 30, 0.94);
  color: #FFF7E6;
  font-size: 14px;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  max-width: calc(100vw - 40px);
  text-align: center;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------------- Reveal ---------------- */

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.js .reveal.is-in { opacity: 1; transform: none; }

.cat-grid .reveal:nth-child(4n + 2) { transition-delay: 0.06s; }
.cat-grid .reveal:nth-child(4n + 3) { transition-delay: 0.12s; }
.cat-grid .reveal:nth-child(4n + 4) { transition-delay: 0.18s; }
.feature-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.feature-grid .reveal:nth-child(3) { transition-delay: 0.12s; }
.feature-grid .reveal:nth-child(4) { transition-delay: 0.18s; }

/* ---------------- Responsive ---------------- */

@media (max-width: 1080px) {
  .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cat-grid .reveal:nth-child(n) { transition-delay: 0s; }
  .hero-inner { gap: 20px; }
  .float-cat.cat-a { right: -10px; }
  .float-cat.cat-b { left: -26px; }
}

@media (max-width: 900px) {
  .nav {
    position: absolute;
    top: 100%;
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px;
    border-radius: 22px;
    background: #FFFDF7;
    box-shadow: 0 26px 44px -24px rgba(35, 60, 30, 0.55);
    border: 2px solid rgba(44, 58, 46, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  }
  .nav-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav a { padding: 13px 16px; font-size: 16px; }
  .nav a.is-active::after { display: none; }
  .nav-toggle { display: flex; }
  .header-actions .btn-mini { display: none; }

  .hero { min-height: 0; }
  .hero-inner { grid-template-columns: 1fr; padding-top: 20px; padding-bottom: 110px; }
  .hero-copy { max-width: 620px; }
  .hero-stage { margin-top: 30px; }
  .hero-bg::after {
    background:
      linear-gradient(180deg, rgba(255, 248, 233, 0.92) 0%, rgba(255, 248, 233, 0.82) 42%, rgba(255, 248, 233, 0.55) 68%, #FFF8E9 100%);
  }

  .story-grid { grid-template-columns: 1fr; gap: 50px; }
  .story-art { min-height: 460px; max-width: 560px; }
  .feature-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .chapters-inner { grid-template-columns: 1fr; gap: 44px; }
  .support-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 34px; }
  .about-card { max-width: 460px; }
  .notify-inner { flex-direction: column; align-items: flex-start; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .wrap { width: calc(100% - 36px); }
  .header-inner { width: calc(100% - 28px); gap: 12px; }
  .brand img { width: 96px; }
  .is-scrolled .brand img { width: 88px; }
  .lang-switch button { padding: 4px 9px; font-size: 12px; }
  .hero { padding-top: calc(var(--header-h) + 18px); }
  .hero h1 { font-size: 38px; }
  .lede { font-size: 15.5px; }
  .hero-facts { gap: 10px 20px; margin-top: 26px; }
  .hero-facts b { font-size: 24px; }
  .cat-a { width: 82px; right: -12px; }
  .cat-b { width: 70px; left: -18px; }
  .fig-a { left: -18px; width: 46px; }
  .fig-b { width: 52px; right: -6px; }

  .section { padding: 70px 0; }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat-bubble { width: 92px; height: 92px; }
  .cat-bubble img { width: 82px; }
  .cat-card h3 { font-size: 18px; }
  .story-art { min-height: 390px; }
  .story-card { border-width: 6px; }
  .story-card.tilt-right { width: 54%; }
  .sticker { font-size: 12px; padding: 8px 13px; }

  .feature-card { padding: 26px 24px 40px; }
  .feature-text { max-width: 68%; }
  .feature-art { width: 88px; right: 8px; }
  .feature-tag { left: 24px; }

  .cat-card h3 { flex-direction: column; align-items: center; gap: 0; line-height: 1.3; }
  .cat-card h3 small { font-size: 11px; }

  .gallery { padding-left: 18px; padding-right: 18px; gap: 16px; }
  .gallery-nav { display: none; }

  .notify-actions { width: 100%; }
  .notify-actions .btn { flex: 1 1 100%; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
