/* ─── Honey Fun — 꿀재미 Landing Stylesheet ─── */

/* ── Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;600;700&family=Noto+Serif+KR:wght@400;600;700&display=swap');

/* ── Variables ── */
:root {
  --honey: #F5A623;
  --honey-light: #FDD98E;
  --honey-dark: #C97B0E;
  --cream: #FFF9EE;
  --cream-dark: #F5E8CC;
  --brown: #4A2E0A;
  --brown-mid: #7B5230;
  --brown-light: #A67852;
  --warm-gray: #6B5B4E;
  --white: #FFFFFF;
  --off-white: #FEFCF8;

  --font-sans: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Noto Serif KR', 'Georgia', serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 40px;

  --shadow-soft: 0 4px 24px rgba(74, 46, 10, 0.08);
  --shadow-card: 0 8px 40px rgba(74, 46, 10, 0.12);
  --shadow-hover: 0 16px 48px rgba(74, 46, 10, 0.18);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--off-white);
  color: var(--brown);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--honey-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Typography ── */
h1, h2, h3 {
  font-family: var(--font-serif);
  line-height: 1.3;
  letter-spacing: -0.02em;
}
.section-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--honey-dark);
  margin-bottom: 0.75rem;
}

/* ── Layout ── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Navbar ── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 249, 238, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--cream-dark);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-logo {
  width: 36px;
  height: 36px;
}
.nav-brand-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brown);
  letter-spacing: -0.01em;
}
.nav-brand-name span {
  color: var(--honey-dark);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--warm-gray);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--brown); text-decoration: none; }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--honey);
  color: var(--white) !important;
  padding: 8px 20px;
  border-radius: var(--radius-xl);
  font-weight: 600 !important;
  font-size: 0.875rem !important;
  transition: background 0.2s, transform 0.15s;
}
.nav-cta:hover {
  background: var(--honey-dark);
  transform: translateY(-1px);
  text-decoration: none !important;
}

/* ── Hero ── */
.hero {
  padding: 80px 0 100px;
  background: linear-gradient(160deg, var(--cream) 0%, var(--off-white) 60%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -120px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(245,166,35,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--honey-light);
  color: var(--brown);
  padding: 6px 14px;
  border-radius: var(--radius-xl);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 24px;
  width: fit-content;
}
.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--honey-dark);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 700;
  color: var(--brown);
  margin-bottom: 20px;
}
.hero h1 em {
  font-style: normal;
  color: var(--honey-dark);
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--brown-mid);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 440px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--honey);
  color: var(--white);
  padding: 14px 32px;
  border-radius: var(--radius-xl);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(245, 166, 35, 0.35);
}
.btn-primary:hover {
  background: var(--honey-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(245, 166, 35, 0.45);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: var(--brown-mid);
  padding: 14px 24px;
  border-radius: var(--radius-xl);
  font-weight: 500;
  font-size: 0.95rem;
  border: 1.5px solid var(--cream-dark);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.btn-secondary:hover {
  border-color: var(--honey);
  color: var(--brown);
}
.hero-image-wrap {
  position: relative;
}
.hero-image-wrap img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  width: 100%;
  height: 380px;
  object-fit: cover;
}
.hero-image-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--brown);
}
.hero-image-badge-icon {
  width: 32px;
  height: 32px;
  background: var(--honey-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

/* ── Trust Bar ── */
.trust-bar {
  background: var(--white);
  padding: 24px 0;
  border-top: 1px solid var(--cream-dark);
  border-bottom: 1px solid var(--cream-dark);
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--warm-gray);
  font-weight: 500;
}
.trust-icon {
  width: 20px;
  height: 20px;
  background: var(--honey-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.7rem;
}

/* ── Section Base ── */
section { padding: 96px 0; }
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--brown);
  margin-bottom: 16px;
}
.section-header p {
  font-size: 1.05rem;
  color: var(--brown-mid);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ── How It Works ── */
.how-it-works {
  background: var(--cream);
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.step-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: var(--shadow-soft);
  position: relative;
  transition: transform 0.25s, box-shadow 0.25s;
}
.step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.step-number {
  width: 48px;
  height: 48px;
  background: var(--honey);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 24px;
}
.step-emoji {
  font-size: 2.4rem;
  margin-bottom: 16px;
}
.step-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--brown);
  margin-bottom: 12px;
  font-family: var(--font-sans);
}
.step-card p {
  font-size: 0.9rem;
  color: var(--warm-gray);
  line-height: 1.7;
}

/* ── Stories / Features ── */
.stories-section { background: var(--off-white); }
.stories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.story-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}
.story-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.story-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.story-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.story-tag {
  display: inline-block;
  background: var(--cream);
  color: var(--honey-dark);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-xl);
  margin-bottom: 12px;
  width: fit-content;
  letter-spacing: 0.05em;
}
.story-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--brown);
  margin-bottom: 10px;
  font-family: var(--font-sans);
}
.story-card p {
  font-size: 0.875rem;
  color: var(--warm-gray);
  line-height: 1.7;
  flex: 1;
}
.story-langs {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}
.lang-tag {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-xl);
}
.lang-tag-ko {
  background: #FFF3CD;
  color: #856404;
}
.lang-tag-en {
  background: #D4EDDA;
  color: #155724;
}
.story-card.featured {
  grid-column: 1 / -1;
  flex-direction: row;
}
.story-card.featured .story-image {
  width: 45%;
  height: auto;
  min-height: 280px;
  object-fit: cover;
}
.story-card.featured .story-body {
  padding: 40px;
  justify-content: center;
}
.story-card.featured h3 {
  font-size: 1.4rem;
}
.story-card.featured p {
  font-size: 0.95rem;
}

/* ── Emotional Section ── */
.emotional {
  background: linear-gradient(135deg, var(--brown) 0%, #2C1A0E 100%);
  color: var(--white);
  text-align: center;
}
.emotional .section-eyebrow { color: var(--honey-light); }
.emotional h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--white);
  margin-bottom: 24px;
}
.emotional p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  max-width: 580px;
  margin: 0 auto 40px;
  line-height: 1.9;
}
.emotional-actions { display: flex; justify-content: center; gap: 16px; }
.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--brown);
  padding: 14px 32px;
  border-radius: var(--radius-xl);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.btn-white:hover {
  background: var(--honey-light);
  transform: translateY(-2px);
}

/* ── Testimonials ── */
.testimonials { background: var(--cream); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-soft);
}
.testimonial-stars {
  color: var(--honey);
  font-size: 1rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}
.testimonial-card blockquote {
  font-size: 0.95rem;
  color: var(--brown-mid);
  line-height: 1.8;
  margin-bottom: 20px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--honey-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--brown);
}
.testimonial-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--brown);
}
.testimonial-role {
  font-size: 0.78rem;
  color: var(--warm-gray);
}

/* ── CTA Section ── */
.cta-section {
  background: var(--off-white);
  padding: 100px 0;
}
.cta-card {
  background: linear-gradient(135deg, var(--honey) 0%, var(--honey-dark) 100%);
  border-radius: var(--radius-xl);
  padding: 64px 56px;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 280px;
  height: 280px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
}
.cta-card h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--white);
  margin-bottom: 16px;
  position: relative;
}
.cta-card p {
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  max-width: 480px;
  margin: 0 auto 36px;
  line-height: 1.8;
  position: relative;
}
.btn-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brown);
  color: var(--white);
  padding: 14px 36px;
  border-radius: var(--radius-xl);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  position: relative;
  transition: background 0.2s, transform 0.15s;
}
.btn-dark:hover {
  background: #2C1A0E;
  transform: translateY(-2px);
}

/* ── Footer ── */
.footer {
  background: var(--brown);
  color: rgba(255,255,255,0.6);
  padding: 48px 0 32px;
  font-size: 0.85rem;
}
.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}
.footer-brand-name {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}
.footer-brand-name span { color: var(--honey-light); }
.footer p { line-height: 1.6; max-width: 260px; }
.footer-links { display: flex; gap: 40px; flex-wrap: wrap; }
.footer-col h4 {
  color: rgba(255,255,255,0.9);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col a { color: rgba(255,255,255,0.55); transition: color 0.2s; }
.footer-col a:hover { color: var(--honey-light); text-decoration: none; }
.footer-bottom {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════════
   STORIES CATALOGUE PAGE
   ═══════════════════════════════════════════ */
.page-header {
  background: linear-gradient(160deg, var(--cream) 0%, var(--off-white) 100%);
  padding: 56px 0 48px;
  border-bottom: 1px solid var(--cream-dark);
}
.page-header h1 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--brown);
  margin-bottom: 12px;
}
.page-header p {
  font-size: 1rem;
  color: var(--brown-mid);
  max-width: 520px;
}

.stories-filter {
  display: flex;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.filter-btn {
  padding: 8px 20px;
  border-radius: var(--radius-xl);
  border: 1.5px solid var(--cream-dark);
  background: var(--white);
  color: var(--warm-gray);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}
.filter-btn:hover, .filter-btn.active {
  border-color: var(--honey);
  background: var(--honey-light);
  color: var(--brown);
}
.filter-btn.all { background: var(--cream); }

.catalogue-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  padding: 48px 0 80px;
}
.catalogue-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s, box-shadow 0.25s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.catalogue-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
}
.catalogue-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: var(--cream);
}
.catalogue-card-img.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}
.catalogue-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.catalogue-card-tag {
  display: inline-block;
  background: var(--cream);
  color: var(--honey-dark);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-xl);
  margin-bottom: 10px;
  width: fit-content;
}
.catalogue-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--brown);
  margin-bottom: 8px;
  font-family: var(--font-sans);
}
.catalogue-card p {
  font-size: 0.83rem;
  color: var(--warm-gray);
  line-height: 1.6;
  flex: 1;
}
.level-pills {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}
.level-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 14px;
  border-radius: var(--radius-xl);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all 0.2s;
  text-decoration: none;
}
.level-pill.a1 { background: #E8F5E9; color: #2E7D32; border-color: #A5D6A7; }
.level-pill.a1:hover { background: #C8E6C9; }
.level-pill.a2 { background: #FFF8E1; color: #F57F17; border-color: #FFE082; }
.level-pill.a2:hover { background: #FFECB3; }
.level-pill.b1 { background: #FBE9E7; color: #BF360C; border-color: #FFAB91; }
.level-pill.b1:hover { background: #FFCCBC; }
.level-pill.locked { background: var(--cream); color: var(--warm-gray); border-color: var(--cream-dark); opacity: 0.6; cursor: not-allowed; }
.level-pill.pending { opacity: 0.85; }
.voice-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 10px;
  font-size: 0.75rem;
  color: var(--warm-gray);
}
.voice-badge svg { width: 14px; height: 14px; }

.loading-state {
  text-align: center;
  padding: 60px 0;
  color: var(--warm-gray);
}
.spinner {
  width: 32px;
  height: 32px;
  border: 3px solid var(--cream-dark);
  border-top-color: var(--honey);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 16px;
}
@keyframes spin { to { transform: rotate(360deg); } }

.empty-state {
  text-align: center;
  padding: 80px 0;
}
.empty-state h3 { color: var(--brown); margin-bottom: 8px; }
.empty-state p { color: var(--warm-gray); }

/* ═══════════════════════════════════════════
   AUDIO PLAYER PAGE
   ═══════════════════════════════════════════ */
.player-page {
  min-height: 100vh;
  background: var(--off-white);
}
.player-main {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}
.player-story-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 32px;
}
.player-cover {
  width: 100px;
  height: 100px;
  border-radius: var(--radius-md);
  object-fit: cover;
  background: var(--cream);
  flex-shrink: 0;
}
.player-cover.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
}
.player-meta h1 {
  font-size: 1.4rem;
  color: var(--brown);
  margin-bottom: 6px;
}
.player-meta p {
  font-size: 0.875rem;
  color: var(--warm-gray);
  margin-bottom: 14px;
}
.level-selector {
  display: flex;
  gap: 10px;
}
.level-btn {
  padding: 6px 16px;
  border-radius: var(--radius-xl);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid var(--cream-dark);
  background: var(--white);
  color: var(--warm-gray);
  transition: all 0.2s;
  text-decoration: none;
}
.level-btn:hover { border-color: var(--honey); color: var(--brown); }
.level-btn.active-a1 { background: #E8F5E9; color: #2E7D32; border-color: #A5D6A7; }
.level-btn.active-a2 { background: #FFF8E1; color: #F57F17; border-color: #FFE082; }
.level-btn.active-b1 { background: #FBE9E7; color: #BF360C; border-color: #FFAB91; }

/* Audio Controls */
.audio-controls {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  box-shadow: var(--shadow-soft);
  margin-bottom: 24px;
}
.audio-waveform {
  height: 60px;
  background: var(--cream);
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 2px;
  overflow: hidden;
}
.waveform-bar {
  flex: 1;
  background: var(--cream-dark);
  border-radius: 2px;
  transition: background 0.2s;
  cursor: pointer;
  min-width: 3px;
  height: 100%;
}
.waveform-bar.active { background: var(--honey); }
.waveform-bar.played { background: var(--honey-dark); }

.time-display {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--warm-gray);
  margin-bottom: 16px;
  font-variant-numeric: tabular-nums;
}

.player-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.player-btn {
  border: none;
  cursor: pointer;
  background: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s;
  color: var(--brown-mid);
}
.player-btn:hover { transform: scale(1.1); }
.player-btn svg { width: 24px; height: 24px; }
.player-btn.play-btn svg { width: 40px; height: 40px; }
.play-btn {
  width: 64px;
  height: 64px;
  background: var(--honey);
  border-radius: 50%;
  color: white;
  box-shadow: 0 4px 20px rgba(245, 166, 35, 0.4);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.play-btn:hover { background: var(--honey-dark); transform: scale(1.06); box-shadow: 0 6px 28px rgba(245, 166, 35, 0.5); }
.play-btn svg { width: 28px; height: 28px; }

.speed-control {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-xl);
  border: 1.5px solid var(--cream-dark);
  background: var(--white);
  color: var(--warm-gray);
  cursor: pointer;
  transition: all 0.2s;
}
.speed-control:hover { border-color: var(--honey); color: var(--brown); }

/* Vocabulary */
.vocab-section {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.vocab-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.vocab-header h2 { font-size: 0.95rem; color: var(--brown); font-family: var(--font-sans); }
.subtitle-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--warm-gray);
  cursor: pointer;
}
.subtitle-toggle input { accent-color: var(--honey); }

.vocab-list { padding: 8px 0; }
.vocab-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  border-bottom: 1px solid var(--cream);
  cursor: pointer;
  transition: background 0.15s;
}
.vocab-item:last-child { border-bottom: none; }
.vocab-item:hover { background: var(--cream); }
.vocab-item .word {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--brown);
}
.vocab-item .translation {
  font-size: 0.875rem;
  color: var(--honey-dark);
  font-weight: 500;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.2s, transform 0.2s;
}
.vocab-item.revealed .translation {
  opacity: 1;
  transform: translateX(0);
}
.vocab-tap-hint {
  font-size: 0.72rem;
  color: var(--warm-gray);
  opacity: 0.7;
}
.vocab-item.playing {
  background: var(--cream);
  border-left: 3px solid var(--honey);
  padding-left: 21px;
}

/* TTS pending state */
.tts-pending-banner {
  background: #FFF8E1;
  border: 1px solid #FFE082;
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 24px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.tts-pending-banner .icon { font-size: 1.4rem; }
.tts-pending-banner h3 { font-size: 0.95rem; color: var(--brown); margin-bottom: 4px; font-family: var(--font-sans); }
.tts-pending-banner p { font-size: 0.83rem; color: var(--warm-gray); }
.tts-pending-banner .emoji { font-size: 1.2rem; }

/* Narration Script */
.narration-section {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 28px 32px;
  margin-bottom: 24px;
}
.narration-section h2 {
  font-size: 0.95rem;
  color: var(--brown);
  font-family: var(--font-sans);
  margin-bottom: 16px;
}
.narration-text p {
  font-size: 0.92rem;
  color: var(--brown-mid);
  line-height: 1.9;
  margin-bottom: 14px;
}
.narration-text p:last-child { margin-bottom: 0; }

/* Back nav */
.back-nav {
  padding: 20px 0 0;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  color: var(--warm-gray);
  text-decoration: none;
  transition: color 0.2s;
}
.back-link:hover { color: var(--brown); }

/* Mobile responsive additions */
@media (max-width: 768px) {
  .hero .container { grid-template-columns: 1fr; gap: 40px; }
  .hero-image-wrap { order: -1; }
  .hero-image-wrap img { height: 260px; }
  .hero { padding: 56px 0 72px; }
  .steps-grid, .testimonials-grid { grid-template-columns: 1fr; }
  .stories-grid { grid-template-columns: 1fr; }
  .story-card.featured { flex-direction: column; }
  .story-card.featured .story-image { width: 100%; min-height: 200px; }
  .story-card.featured .story-body { padding: 28px; }
  .nav-links { display: none; }
  .trust-bar-inner { gap: 24px; }
  .cta-card { padding: 40px 24px; }
  .footer .container { flex-direction: column; }
}