/* ============================================
   DAYCARE DUNGEON — Kawaii Pastel Theme
   Warm peach, sky blue, bubbly purple/pink
   ============================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --peach: #f5a96a;
  --peach-light: #fdd5b0;
  --peach-dark: #d4713a;
  --wood: #e8975a;
  --wood-dark: #c4673a;
  --sky: #5ecff0;
  --sky-light: #a8e8f8;
  --sky-dark: #2db0d8;
  --purple: #7b3fb5;
  --purple-light: #b87de8;
  --purple-mid: #9b5fd4;
  --pink: #f06ca0;
  --pink-light: #f8a8c8;
  --teal: #4dc8c0;
  --teal-light: #8ee8e0;
  --yellow: #fce566;
  --cream: #fff8f0;
  --cream-dark: #fdebd8;
  --cream-mid: #fdf0e4;
  --text-dark: #3a1f0d;
  --text-mid: #7a4520;
  --text-muted: #b8835a;
  --white: #ffffff;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 36px;
  --font-display: 'Fredoka One', cursive;
  --font-heading: 'Nunito', sans-serif;
  --font-body: 'Nunito', sans-serif;
  --nav-h: 72px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

#particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-label {
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--peach-dark);
  margin-bottom: 0.75rem;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 1rem;
  color: var(--purple);
  text-shadow: 3px 3px 0px var(--purple-light), 5px 5px 0px rgba(123,63,181,0.15);
}

.section-header p {
  color: var(--text-mid);
  font-size: 1.05rem;
  font-weight: 500;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2.2rem;
  border-radius: var(--radius-xl);
  font-family: var(--font-display);
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  letter-spacing: 0.03em;
}

.btn-primary {
  background: var(--purple);
  color: var(--white);
  box-shadow: 0 6px 0 var(--wood-dark), 0 8px 16px rgba(123,63,181,0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 9px 0 var(--wood-dark), 0 12px 24px rgba(123,63,181,0.35);
}

.btn-primary:active {
  transform: translateY(2px);
  box-shadow: 0 4px 0 var(--wood-dark), 0 4px 8px rgba(123,63,181,0.2);
}

.btn-secondary {
  background: var(--white);
  color: var(--purple);
  border: 3px solid var(--purple-light);
  box-shadow: 0 5px 0 var(--purple-light);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 0 var(--purple-light);
  background: var(--cream);
}

/* ============================================
   NAV
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background 0.3s, box-shadow 0.3s;
}

.nav.scrolled {
  background: rgba(255, 248, 240, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(212, 113, 58, 0.12);
  border-bottom: 3px solid var(--peach-light);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--purple);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-logo-icon { font-size: 1.3rem; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-mid);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--purple); }

.nav-links .nav-cta {
  background: var(--purple);
  color: var(--white);
  padding: 0.5rem 1.4rem;
  border-radius: var(--radius-xl);
  box-shadow: 0 4px 0 var(--wood-dark);
}

.nav-links .nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 var(--wood-dark);
  color: var(--white);
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-burger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--purple);
  border-radius: 3px;
  transition: all 0.3s;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: var(--nav-h) 2rem 4rem;
  background: linear-gradient(160deg, #e8f8ff 0%, #fff0e8 40%, #fde8f5 100%);
}

.hero-bg-shapes { position: absolute; inset: 0; pointer-events: none; }

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
}

.shape-1 { width: 500px; height: 500px; background: var(--sky-light); top: -80px; left: -100px; animation: float1 10s ease-in-out infinite; }
.shape-2 { width: 350px; height: 350px; background: var(--peach-light); top: 10%; right: -80px; animation: float2 13s ease-in-out infinite; }
.shape-3 { width: 280px; height: 280px; background: var(--pink-light); bottom: 15%; left: 15%; animation: float1 16s ease-in-out infinite reverse; }
.shape-4 { width: 400px; height: 400px; background: var(--purple-light); bottom: -100px; right: 5%; opacity: 0.2; animation: float2 18s ease-in-out infinite; }

@keyframes float1 {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(20px, -25px) scale(1.04); }
}
@keyframes float2 {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(-18px, 18px) scale(0.96); }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
}

.hero-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--peach-dark);
  margin-bottom: 1.5rem;
  animation: fadeUp 0.8s 0.2s both;
}

.hero-logo-img {
  width: min(420px, 80vw);
  height: auto;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.8s 0.3s both;
  filter: drop-shadow(0 12px 32px rgba(123,63,181,0.25));
}

/* Fallback title shown only if no logo image */
.hero-title {
  display: none;
}

.hero-tagline {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-mid);
  margin-bottom: 1.75rem;
  animation: fadeUp 0.8s 0.5s both;
}

.hero-tagline em {
  color: var(--purple);
  font-style: italic;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-bottom: 2.5rem;
  animation: fadeUp 0.8s 0.65s both;
}

.badge {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-xl);
  color: var(--purple);
  background: var(--white);
  border: 2px solid var(--purple-light);
  box-shadow: 0 3px 0 var(--purple-light);
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 0.8s 0.8s both;
}

/* decorative floating stars/clouds */
.hero-art { position: absolute; inset: 0; pointer-events: none; z-index: 1; }

.hero-orb {
  position: absolute;
  width: 560px; height: 560px;
  border-radius: 50%;
  border: 3px dashed rgba(94, 207, 240, 0.25);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: orbSpin 30s linear infinite;
}

.hero-orb::before {
  content: '';
  position: absolute;
  inset: 40px;
  border-radius: 50%;
  border: 2px dashed rgba(240, 108, 160, 0.2);
}

@keyframes orbSpin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.hero-runes span {
  position: absolute;
  font-size: 1.5rem;
  opacity: 0.35;
}

.hero-runes span:nth-child(1) { top: 18%; left: 10%; animation: runeFloat 7s ease-in-out infinite; color: var(--sky); }
.hero-runes span:nth-child(2) { top: 14%; right: 12%; animation: runeFloat 9s ease-in-out infinite 1s; color: var(--pink); }
.hero-runes span:nth-child(3) { top: 35%; left: 6%; animation: runeFloat 6s ease-in-out infinite 2s; color: var(--yellow); }
.hero-runes span:nth-child(4) { top: 28%; right: 8%; animation: runeFloat 11s ease-in-out infinite 0.5s; color: var(--teal); }
.hero-runes span:nth-child(5) { bottom: 28%; left: 10%; animation: runeFloat 8s ease-in-out infinite 1.5s; color: var(--purple-light); }
.hero-runes span:nth-child(6) { bottom: 22%; right: 12%; animation: runeFloat 10s ease-in-out infinite 3s; color: var(--peach); }
.hero-runes span:nth-child(7) { bottom: 38%; left: 4%; animation: runeFloat 12s ease-in-out infinite 0.8s; color: var(--sky); }
.hero-runes span:nth-child(8) { bottom: 42%; right: 4%; animation: runeFloat 8s ease-in-out infinite 2.5s; color: var(--pink); }

@keyframes runeFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.25; }
  50% { transform: translateY(-18px) rotate(15deg); opacity: 0.55; }
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  animation: fadeUp 1s 1.2s both;
  z-index: 2;
}

.scroll-line {
  width: 2px;
  height: 36px;
  background: linear-gradient(to bottom, var(--peach-dark), transparent);
  border-radius: 2px;
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.5; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.15); }
}

/* ============================================
   ABOUT STRIP
   ============================================ */
.about-strip {
  position: relative; z-index: 1;
  padding: 6rem 0;
  background: var(--white);
  border-top: 4px solid var(--peach-light);
  border-bottom: 4px solid var(--peach-light);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text .section-label { text-align: left; }

.about-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--purple);
  text-shadow: 3px 3px 0 var(--purple-light);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.about-text p {
  color: var(--text-mid);
  font-weight: 500;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.stat-card {
  background: var(--cream-mid);
  border: 3px solid var(--peach-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.25s;
  box-shadow: 0 5px 0 var(--peach-light);
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 0 var(--peach-light);
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2.8rem;
  color: var(--purple);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-label {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ============================================
   WORLD
   ============================================ */
.world {
  position: relative; z-index: 1;
  padding: 6rem 0;
  background: linear-gradient(180deg, var(--cream) 0%, #edf8ff 100%);
}

.world-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(94,207,240,0.08) 0%, transparent 65%);
  pointer-events: none;
}

.world-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.25rem;
}

.world-card {
  background: var(--white);
  border: 3px solid var(--sky-light);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  transition: all 0.25s;
  box-shadow: 0 5px 0 var(--sky-light);
}

.world-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 11px 0 var(--sky-light), 0 15px 40px rgba(94,207,240,0.2);
  border-color: var(--sky);
}

.world-card-icon { font-size: 2.8rem; margin-bottom: 1rem; }

.world-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--purple);
  margin-bottom: 0.75rem;
}

.world-card p {
  color: var(--text-mid);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.world-tag {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sky-dark);
  background: var(--sky-light);
  padding: 0.25rem 0.8rem;
  border-radius: var(--radius-xl);
}

/* ============================================
   FEATURES
   ============================================ */
.features {
  position: relative; z-index: 1;
  padding: 6rem 0;
  background: var(--white);
  border-top: 4px solid var(--peach-light);
  border-bottom: 4px solid var(--peach-light);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.feature-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.75rem;
  background: var(--cream-mid);
  border: 3px solid var(--peach-light);
  border-radius: var(--radius-lg);
  transition: all 0.25s;
  box-shadow: 0 4px 0 var(--peach-light);
}

.feature-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 0 var(--peach-light);
  border-color: var(--peach);
}

.feature-icon { font-size: 2.2rem; flex-shrink: 0; width: 3rem; text-align: center; }

.feature-item h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--purple);
  margin-bottom: 0.5rem;
}

.feature-item p {
  color: var(--text-mid);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.6;
}

/* ============================================
   CHARACTERS
   ============================================ */
.characters {
  position: relative; z-index: 1;
  padding: 6rem 0;
  background: linear-gradient(180deg, #fdf0ff 0%, var(--cream) 100%);
}

.char-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.char-card {
  background: var(--white);
  border: 3px solid var(--purple-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  gap: 1.5rem;
  transition: all 0.3s;
  box-shadow: 0 5px 0 var(--purple-light);
}

.char-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 0 var(--purple-light), 0 14px 40px rgba(123,63,181,0.12);
}

.char-portrait {
  font-size: 3rem;
  width: 68px; height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream-mid);
  border-radius: var(--radius-md);
  border: 3px solid var(--peach-light);
  flex-shrink: 0;
}

.char-info h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--purple);
  margin-bottom: 0.35rem;
}

.char-type {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-xl);
  margin-bottom: 0.75rem;
}

.char-type.fire { background: #ffe8d8; color: #c45a20; border: 2px solid #ffcaaa; }
.char-type.shadow { background: #ede0ff; color: var(--purple); border: 2px solid var(--purple-light); }
.char-type.nature { background: #d8f8e8; color: #1a7a40; border: 2px solid #a8eecc; }

.char-info p {
  color: var(--text-mid);
  font-size: 0.88rem;
  font-style: italic;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.char-stats { display: flex; flex-direction: column; gap: 0.5rem; }

.cstat { display: flex; align-items: center; gap: 0.75rem; }

.cstat span {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  width: 2.5rem;
  flex-shrink: 0;
}

.bar {
  flex: 1;
  height: 8px;
  background: var(--cream-mid);
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid var(--peach-light);
}

.bar::after {
  content: '';
  display: block;
  height: 100%;
  width: var(--w);
  background: linear-gradient(90deg, var(--sky), var(--purple-mid));
  border-radius: 6px;
  transition: width 1s 0.5s ease;
}

/* ============================================
   MEDIA
   ============================================ */
.media {
  position: relative; z-index: 1;
  padding: 6rem 0;
  background: var(--white);
  border-top: 4px solid var(--sky-light);
  border-bottom: 4px solid var(--sky-light);
}

.media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1rem;
}

.media-item--large { grid-column: 1 / -1; }

.media-placeholder {
  background: var(--cream-mid);
  border: 3px solid var(--peach-light);
  border-radius: var(--radius-lg);
  padding: 5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  cursor: pointer;
  transition: all 0.25s;
  text-align: center;
  box-shadow: 0 4px 0 var(--peach-light);
}

.media-placeholder.ss { padding: 3.5rem 2rem; }

.media-placeholder:hover {
  border-color: var(--peach);
  transform: translateY(-4px);
  box-shadow: 0 8px 0 var(--peach-light);
}

.play-icon { font-size: 3rem; color: var(--purple); transition: transform 0.25s; }
.media-placeholder:hover .play-icon { transform: scale(1.15); }

.media-placeholder p, .media-placeholder span {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ============================================
   PRESS
   ============================================ */
.press {
  position: relative; z-index: 1;
  padding: 5rem 0;
  background: linear-gradient(135deg, #f5f0ff 0%, #fff0f8 100%);
  border-top: 4px solid var(--purple-light);
  border-bottom: 4px solid var(--purple-light);
}

.press-quotes {
  display: flex;
  align-items: center;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.press-quote { flex: 1; text-align: center; }

.press-quote p {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 600;
  font-style: italic;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.press-quote cite {
  font-family: var(--font-display);
  font-size: 0.82rem;
  color: var(--purple);
  font-style: normal;
}

.press-divider { font-size: 1.8rem; color: var(--peach); flex-shrink: 0; }

/* ============================================
   BUY
   ============================================ */
.buy {
  position: relative; z-index: 1;
  padding: 6rem 0;
  background: var(--cream);
  overflow: hidden;
}

.buy-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(123,63,181,0.06) 0%, transparent 55%);
  pointer-events: none;
}

.store-cards {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.store-card {
  background: var(--white);
  border: 3px solid var(--peach-light);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  text-decoration: none;
  min-width: 280px;
  transition: all 0.25s;
  box-shadow: 0 5px 0 var(--peach-light);
}

.store-card:hover {
  border-color: var(--peach);
  transform: translateY(-5px);
  box-shadow: 0 10px 0 var(--peach-light), 0 14px 40px rgba(212,113,58,0.15);
}

.store-icon {
  width: 64px; height: 64px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.steam-icon { background: #e8f0ff; color: #4a6fa5; border: 3px solid #c8d8f8; }
.switch-icon { background: #ffe8e8; color: #cc2222; border: 3px solid #ffcccc; }

.store-info { display: flex; flex-direction: column; gap: 0.2rem; }

.store-platform {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.store-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--purple);
  line-height: 1.1;
}

.store-action {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--peach-dark);
}

/* Newsletter */
.newsletter {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
  padding: 3rem;
  background: var(--white);
  border: 3px solid var(--purple-light);
  border-radius: var(--radius-lg);
  box-shadow: 0 6px 0 var(--purple-light);
}

.newsletter h3 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--purple);
  margin-bottom: 0.5rem;
}

.newsletter p {
  color: var(--text-mid);
  font-size: 0.92rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.newsletter-form { display: flex; gap: 0.5rem; }

.newsletter-form input {
  flex: 1;
  background: var(--cream-mid);
  border: 3px solid var(--peach-light);
  border-radius: var(--radius-xl);
  padding: 0.75rem 1.25rem;
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  outline: none;
  transition: border-color 0.2s;
}

.newsletter-form input::placeholder { color: var(--text-muted); }
.newsletter-form input:focus { border-color: var(--purple-light); }

.newsletter-form button {
  background: var(--purple);
  color: var(--white);
  border: none;
  border-radius: var(--radius-xl);
  padding: 0.75rem 1.5rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 0 var(--wood-dark);
  white-space: nowrap;
}

.newsletter-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 var(--wood-dark);
}

.newsletter-note { margin-top: 0.75rem !important; font-size: 0.78rem !important; color: var(--text-muted) !important; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--text-dark);
  padding: 4rem 0 2rem;
  position: relative; z-index: 1;
  border-top: 4px solid var(--wood-dark);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: var(--peach-light);
  font-size: 0.9rem;
  font-weight: 500;
  margin: 0.75rem 0 1.25rem;
  max-width: 300px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--peach);
}

.footer-social { display: flex; gap: 1rem; }

.footer-social a {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.08);
  border: 2px solid rgba(245,169,106,0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--peach-light);
  transition: all 0.2s;
}

.footer-social a:hover {
  border-color: var(--peach);
  color: var(--peach);
  background: rgba(245,169,106,0.1);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--peach);
  margin-bottom: 1rem;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }

.footer-col a {
  color: var(--peach-light);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.footer-col a:hover { opacity: 1; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.footer-bottom p { color: var(--peach-light); font-size: 0.78rem; font-weight: 500; opacity: 0.5; }

/* ============================================
   REVEAL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: var(--delay, 0s);
}

.reveal.visible { opacity: 1; transform: translateY(0); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .press-quotes { flex-direction: column; gap: 1.5rem; }
  .press-divider { display: none; }
  .footer-inner { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 680px) {
  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: rgba(255,248,240,0.98);
    backdrop-filter: blur(12px);
    padding: 2rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    border-bottom: 3px solid var(--peach-light);
  }
  .nav-links.open { display: flex; }
  .nav-burger { display: flex; }
  .features-grid, .char-cards, .media-grid { grid-template-columns: 1fr; }
  .media-item--large { grid-column: 1; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .newsletter-form { flex-direction: column; }
  .store-cards { flex-direction: column; align-items: stretch; }
  .hero-runes span:nth-child(n+5) { display: none; }
}

/* ============================================
   WORLD CARDS — GIF showcase layout
   ============================================ */

/* Override grid to 2-3 columns for bigger cards */
.world-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.world-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.world-card-gif {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--cream-dark);
  overflow: hidden;
  border-bottom: 3px solid var(--sky-light);
  position: relative;
}

.world-card-gif img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.world-card:hover .world-card-gif img {
  transform: scale(1.04);
}

/* Placeholder shimmer shown while GIF loads */
.world-card-gif img[src$=".gif"]::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--cream-dark) 25%, var(--peach-light) 50%, var(--cream-dark) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.world-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.world-card-body .world-card-icon {
  font-size: 1.8rem;
  margin-bottom: 0.25rem;
}

.world-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--purple);
  margin-bottom: 0.25rem;
}

.world-card-body p {
  color: var(--text-mid);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.6;
  flex: 1;
}

.world-card-body .world-tag {
  align-self: flex-start;
  margin-top: 0.5rem;
}

/* ============================================
   LANGUAGE SWITCHER
   ============================================ */
.lang-btn {
  background: var(--white);
  border: 2px solid var(--purple-light);
  border-radius: var(--radius-xl);
  padding: 0.4rem 1rem;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--purple);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  box-shadow: 0 3px 0 var(--purple-light);
}

.lang-btn:hover {
  background: var(--cream);
  transform: translateY(-2px);
  box-shadow: 0 5px 0 var(--purple-light);
}

/* Japanese font override */
[data-lang="ja"] body,
[data-lang="ja"] p,
[data-lang="ja"] h2,
[data-lang="ja"] h3,
[data-lang="ja"] .hero-tagline,
[data-lang="ja"] .section-header p,
[data-lang="ja"] .about-text p,
[data-lang="ja"] .world-card-body p,
[data-lang="ja"] .feature-item p,
[data-lang="ja"] .press-quote p,
[data-lang="ja"] .newsletter p,
[data-lang="ja"] .footer-brand p {
  font-family: 'Noto Sans JP', sans-serif;
}

[data-lang="ja"] .section-label,
[data-lang="ja"] .badge,
[data-lang="ja"] .world-tag,
[data-lang="ja"] .store-platform,
[data-lang="ja"] .store-action,
[data-lang="ja"] .newsletter-note,
[data-lang="ja"] .footer-bottom p {
  font-family: 'Noto Sans JP', sans-serif;
  letter-spacing: 0.05em;
}

/* Mailchimp response message */
.mc-response {
  margin-top: 0.75rem;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  min-height: 1.2em;
}

.mc-response.success { color: #1a7a40; }
.mc-response.error   { color: #c0392b; }
