/* ===== HEAVENLY TALES — STYLES ===== */

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

:root {
  --cream: #FFFBF0;
  --warm-white: #FFF8E7;
  --sky: #5BB8F5;
  --sky-light: #A8D8F7;
  --sky-dark: #3A9AD9;
  --sun: #FFD700;
  --sun-light: #FFE96A;
  --grass: #5CB85C;
  --grass-light: #8FD48F;
  --coral: #FF7B5B;
  --coral-light: #FFB5A0;
  --lavender: #C5A3E0;
  --text-dark: #3A2E1E;
  --text-medium: #5C4A32;
  --text-light: #8A7A68;
  --shadow-soft: 0 4px 24px rgba(90,60,20,0.10);
  --shadow-card: 0 8px 32px rgba(90,60,20,0.12);
  --radius: 20px;
  --radius-lg: 32px;
}

html { font-size: 18px; scroll-behavior: smooth; }

body {
  font-family: 'Nunito', sans-serif;
  background-color: var(--cream);
  color: var(--text-dark);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, .logo-text { font-family: 'Fredoka One', cursive; }

a { color: var(--sky-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ===== HEADER ===== */
.site-header {
  background: var(--warm-white);
  border-bottom: 3px solid var(--sun-light);
  padding: 0.8rem 1.5rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(90,60,20,0.08);
}
.header-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: 'Fredoka One', cursive;
  font-size: 1.6rem;
  color: var(--coral);
}
.logo-star { color: var(--sun); font-size: 1rem; animation: spin-slow 8s linear infinite; }
@keyframes spin-slow { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.nav { display: flex; gap: 0.3rem; flex-wrap: wrap; }
.nav-link {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-medium);
  padding: 0.4rem 0.9rem;
  border-radius: 50px;
  transition: all 0.2s;
  text-decoration: none;
}
.nav-link:hover, .nav-link.active {
  background: var(--sky-light);
  color: var(--sky-dark);
  text-decoration: none;
}

/* ===== MAIN ===== */
.main-content { flex: 1; padding: 2rem 1rem; }
.container { max-width: 800px; margin: 0 auto; }

/* ===== PAYWALL ===== */
.paywall-screen {
  position: fixed;
  inset: 0;
  background: linear-gradient(160deg, #FFF8E7 0%, #E8F4FD 50%, #FFF0E8 100%);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.paywall-screen.hidden { display: none; }
.paywall-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  max-width: 480px;
  width: 100%;
  box-shadow: var(--shadow-card);
  text-align: center;
}
.paywall-stars { font-size: 1.5rem; color: var(--sun); margin-bottom: 1rem; letter-spacing: 0.5rem; }
.paywall-headline { font-family: 'Fredoka One', cursive; font-size: 2rem; color: var(--coral); line-height: 1.2; margin-bottom: 1rem; }
.paywall-subtext { color: var(--text-medium); font-size: 1rem; margin-bottom: 1.5rem; }
.plan-selector { display: flex; gap: 0.75rem; margin-bottom: 1.25rem; justify-content: center; }
.plan-option { display: flex; flex-direction: column; align-items: center; cursor: pointer; }
.plan-option input { display: none; }
.plan-label {
  display: flex; flex-direction: column; align-items: center;
  padding: 0.9rem 1.2rem;
  border: 2.5px solid var(--sky-light);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.95rem;
}
.plan-label strong { font-size: 1.1rem; color: var(--text-dark); }
.plan-label small { color: var(--text-light); font-size: 0.82rem; }
.plan-option input:checked + .plan-label { border-color: var(--coral); background: #FFF3F0; }
.signup-form { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1rem; }
.form-input {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border: 2px solid var(--sky-light);
  border-radius: 50px;
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s;
}
.form-input:focus { border-color: var(--sky); }
.paywall-fine { font-size: 0.82rem; color: var(--text-light); margin-bottom: 0.5rem; }
.paywall-ministry { font-size: 0.85rem; color: var(--text-light); margin-top: 0.5rem; }

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--coral), #FF5E3A);
  color: white;
  font-family: 'Fredoka One', cursive;
  font-size: 1.15rem;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 4px 16px rgba(255,123,91,0.35);
  text-decoration: none;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 22px rgba(255,123,91,0.45); text-decoration: none; color: white; }
.btn-primary:active { transform: translateY(0); }
.btn-large { font-size: 1.3rem; padding: 1rem 2.5rem; }

/* ===== NIGHT COUNTER ===== */
.night-counter {
  display: inline-block;
  background: var(--sun-light);
  color: var(--text-dark);
  font-weight: 800;
  font-size: 0.9rem;
  padding: 0.3rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.25rem;
}
.night-counter:empty { display: none; }

/* ===== AGE SELECTOR ===== */
.age-selector { margin-bottom: 1.75rem; }
.age-label { font-weight: 700; color: var(--text-medium); margin-bottom: 0.6rem; font-size: 0.95rem; }
.age-buttons { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.age-btn {
  display: flex; flex-direction: column; align-items: center;
  padding: 0.75rem 1.25rem;
  border: 2.5px solid var(--sky-light);
  border-radius: var(--radius);
  background: white;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Nunito', sans-serif;
  min-width: 110px;
}
.age-btn:hover { border-color: var(--sky); background: var(--warm-white); }
.age-btn.active { border-color: var(--sky); background: #EAF6FF; }
.age-emoji { font-size: 1.5rem; }
.age-name { font-family: 'Fredoka One', cursive; font-size: 1rem; color: var(--text-dark); }
.age-range { font-size: 0.78rem; color: var(--text-light); }

/* ===== LOADING ===== */
.loading-state { text-align: center; padding: 3rem 1rem; color: var(--text-medium); }
.loading-stars { display: flex; justify-content: center; gap: 0.5rem; font-size: 1.5rem; color: var(--sun); margin-bottom: 1rem; }
.loading-stars span { animation: bounce 1.4s ease-in-out infinite; }
.loading-stars span:nth-child(2) { animation-delay: 0.2s; }
.loading-stars span:nth-child(3) { animation-delay: 0.4s; }
@keyframes bounce { 0%,80%,100% { transform: translateY(0); } 40% { transform: translateY(-10px); } }

/* ===== STORY ARTICLE ===== */
.story-article { animation: fadeInUp 0.5s ease; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* ===== STORY ANIMATIONS ===== */
.story-animation {
  height: 120px;
  border-radius: var(--radius) var(--radius) 0 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--sky-light), var(--sky));
}

/* Creation — stars float */
.anim-creation { background: linear-gradient(160deg, #1a1a3e, #2d3582, #6a5acd); }
.anim-creation::before {
  content: "✦ ✦ ✦ ✦ ✦ ✦ ✦ ✦";
  position: absolute; top: 20%; left: 0; right: 0; text-align: center;
  font-size: 1.5rem; color: white; opacity: 0.85;
  animation: float-stars 6s ease-in-out infinite;
}
@keyframes float-stars { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* Noah — waves */
.anim-noah { background: linear-gradient(180deg, #87CEEB 0%, #4682B4 60%, #1E5CA6 100%); }
.anim-noah::before {
  content: "〰〰〰〰〰〰〰";
  position: absolute; bottom: 20%; left: -10%; right: 0;
  font-size: 2.5rem; color: rgba(255,255,255,0.7);
  animation: waves 2.5s ease-in-out infinite;
}
@keyframes waves { 0%,100% { transform: translateX(0); } 50% { transform: translateX(20px); } }

/* David Goliath — sling spins */
.anim-david-goliath { background: linear-gradient(160deg, #C8A96A, #8B6914, #5C4A32); }
.anim-david-goliath::before {
  content: "◯";
  position: absolute; top: 30%; left: 50%; transform: translateX(-50%);
  font-size: 2rem; color: rgba(255,255,255,0.8);
  animation: sling-spin 1.2s linear infinite;
  transform-origin: 0 2rem;
}
@keyframes sling-spin { from { transform: translateX(-50%) rotate(0deg); } to { transform: translateX(-50%) rotate(360deg); } }

/* Baptism — doves fly */
.anim-baptism { background: linear-gradient(160deg, #B8E4FF, #87CEEB, #5BB8F5); }
.anim-baptism::before {
  content: "🕊 🕊";
  position: absolute; top: 30%; left: -20%;
  font-size: 1.8rem;
  animation: doves-fly 4s linear infinite;
}
@keyframes doves-fly { from { left: -20%; } to { left: 110%; } }

/* Resurrection / sunrise */
.anim-resurrection { background: linear-gradient(180deg, #FF9A5C 0%, #FFD700 40%, #FFF3A0 100%); }
.anim-resurrection::after {
  content: "";
  position: absolute; bottom: -30px; left: 50%; transform: translateX(-50%);
  width: 80px; height: 80px;
  background: radial-gradient(circle, #FFD700, #FFA500);
  border-radius: 50%;
  animation: sunrise 4s ease-in-out infinite;
  box-shadow: 0 0 30px 10px rgba(255,200,0,0.4);
}
@keyframes sunrise { 0%,100% { bottom: -30px; } 50% { bottom: 10px; } }

/* Default — gentle sky */
.anim-default { background: linear-gradient(135deg, var(--sky-light), var(--sky)); }
.anim-feeding { background: linear-gradient(160deg, #8BC34A, #C8E6A0, #5BB8F5); }
.anim-samaritan { background: linear-gradient(160deg, #CD853F, #DEB887, #8B6914); }
.anim-daniel { background: linear-gradient(160deg, #FF8C00, #CD853F, #8B0000); }
.anim-jonah { background: linear-gradient(160deg, #006994, #1E90FF, #87CEEB); }
.anim-prodigal { background: linear-gradient(160deg, #C8A96A, #FFD700, #FF8C00); }
.anim-moses { background: linear-gradient(160deg, #1E90FF, #87CEEB, #C8A96A); }
.anim-elijah { background: linear-gradient(160deg, #8B6914, #C8A96A, #87CEEB); }
.anim-nativity { background: linear-gradient(160deg, #1a1a3e, #2d3582, #FFD700); }
.anim-zacchaeus { background: linear-gradient(160deg, #5CB85C, #8FD48F, #C8A96A); }
.anim-joseph { background: linear-gradient(160deg, #9B59B6, #C39BD3, #F1C40F); }

.story-header {
  background: var(--warm-white);
  padding: 1.5rem 2rem;
  border-bottom: 2px solid var(--sun-light);
}
.story-date { font-size: 0.85rem; color: var(--text-light); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.3rem; }
.story-title { font-family: 'Fredoka One', cursive; font-size: 2.2rem; color: var(--coral); line-height: 1.2; }
.story-passage {
  display: inline-block;
  margin-top: 0.6rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sky);
  background: #EAF6FF;
  border: 1.5px solid #B8DFF8;
  border-radius: 50px;
  padding: 0.3rem 0.9rem;
}

/* ===== KEY VERSE ===== */
.key-verse-block {
  background: linear-gradient(135deg, #F5F0FF, #EDE5FF);
  border-left: 4px solid #A78BFA;
  border-radius: 0 12px 12px 0;
  padding: 1.4rem 1.8rem;
  margin: 0;
}
.key-verse-label {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7C3AED;
  margin-bottom: 0.6rem;
}
.key-verse-text {
  margin: 0;
  font-family: Georgia, serif;
  font-size: 1.05rem;
  font-style: italic;
  color: #3A2E5E;
  line-height: 1.75;
}

.story-body {
  background: white;
  padding: 2rem;
  font-size: 1.15rem;
  line-height: 1.85;
  color: var(--text-dark);
  border-left: 1px solid #F0E8D8;
  border-right: 1px solid #F0E8D8;
}
.story-body p { margin-bottom: 1.1rem; }
.story-body p:last-child { margin-bottom: 0; }

/* ===== FAITH LESSON ===== */
.faith-lesson {
  background: linear-gradient(135deg, #FFF8E0, #FFF3CC);
  border: 2px solid var(--sun-light);
  border-radius: 0 0 var(--radius) var(--radius);
  padding: 1.5rem 2rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
}
.faith-lesson-icon { font-size: 1.5rem; color: var(--sun); flex-shrink: 0; margin-top: 0.1rem; }
.faith-lesson-text { font-weight: 700; font-size: 1.1rem; color: var(--text-dark); }

/* ===== PARENT SECTION ===== */
.parent-section {
  background: linear-gradient(135deg, #F0F9FF, #E8F4FD);
  border: 2px solid var(--sky-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 2rem;
}
.parent-section-title {
  font-family: 'Fredoka One', cursive;
  font-size: 1.6rem;
  color: var(--sky-dark);
  margin-bottom: 1.25rem;
  text-align: center;
}
.parent-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 600px) { .parent-grid { grid-template-columns: 1fr 1fr; } }
.parent-card {
  background: white;
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow-soft);
}
.parent-card h3 { font-family: 'Fredoka One', cursive; font-size: 1.05rem; margin-bottom: 0.6rem; color: var(--text-dark); }
.parent-card p, .parent-card div { font-size: 0.97rem; color: var(--text-medium); line-height: 1.65; }
.prayer-card { border-top: 4px solid var(--coral); }
.context-card { border-top: 4px solid var(--sky); }
.conversation-card { border-top: 4px solid var(--grass); grid-column: 1 / -1; }
@media (min-width: 600px) { .conversation-card { grid-column: unset; } }

/* ===== PAGE HERO ===== */
.page-hero { text-align: center; margin-bottom: 2rem; }
.page-title { font-family: 'Fredoka One', cursive; font-size: 2.5rem; color: var(--coral); margin-bottom: 0.4rem; }
.page-subtitle { color: var(--text-medium); font-size: 1.05rem; }

/* ===== ARCHIVE ===== */
.archive-filters { margin-bottom: 1.5rem; }
.filter-label { font-weight: 700; color: var(--text-medium); margin-bottom: 0.5rem; font-size: 0.9rem; }
.filter-buttons { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.filter-btn {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  border: 2px solid var(--sky-light);
  background: white;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--text-medium);
}
.filter-btn:hover, .filter-btn.active { background: var(--sky-light); border-color: var(--sky); color: var(--sky-dark); }
.archive-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.archive-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  display: block;
}
.archive-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); text-decoration: none; }
.archive-card-theme { height: 70px; }
.archive-card-body { padding: 0.9rem 1rem; }
.archive-age-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.2rem 0.7rem;
  background: var(--warm-white);
  border-radius: 50px;
  margin-bottom: 0.4rem;
  color: var(--text-medium);
}
.archive-card-title { font-family: 'Fredoka One', cursive; font-size: 1.05rem; color: var(--text-dark); margin-bottom: 0.2rem; }
.archive-card-date { font-size: 0.8rem; color: var(--text-light); }
.empty-state { text-align: center; padding: 3rem; }
.empty-icon { font-size: 3rem; margin-bottom: 1rem; }

/* ===== PRAYER PAGE ===== */
.prayer-page-content { max-width: 700px; margin: 0 auto; }
.prayer-intro-card {
  background: linear-gradient(135deg, #FFF8E0, #FFF3CC);
  border: 2px solid var(--sun-light);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  margin-bottom: 2rem;
  font-size: 1.02rem;
  color: var(--text-medium);
}
.prayer-intro-card p + p { margin-top: 0.75rem; }
.prayer-cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.prayer-standing-card {
  background: white;
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow-soft);
  border-top: 4px solid var(--sky-light);
}
.prayer-card-icon { font-size: 1.8rem; margin-bottom: 0.5rem; }
.prayer-standing-card h3 { font-family: 'Fredoka One', cursive; font-size: 1.1rem; color: var(--text-dark); margin-bottom: 0.5rem; }
.prayer-text { font-style: italic; color: var(--text-medium); font-size: 0.97rem; line-height: 1.7; }
.prayer-scripture-block { text-align: center; padding: 2rem; background: var(--warm-white); border-radius: var(--radius); margin-bottom: 1.5rem; }
.prayer-scripture-verse { font-family: 'Fredoka One', cursive; font-size: 1.2rem; color: var(--text-dark); line-height: 1.6; margin-bottom: 0.5rem; }
.prayer-scripture-ref { color: var(--text-light); font-size: 0.9rem; }
.prayer-tonight-link { text-align: center; color: var(--text-medium); }

/* ===== ABOUT PAGE ===== */
.about-content { max-width: 720px; margin: 0 auto; }
.about-verse-block {
  background: linear-gradient(135deg, #EAF6FF, #D4EFFF);
  border-left: 5px solid var(--sky);
  border-radius: var(--radius);
  padding: 1.75rem 2rem;
  margin-bottom: 2rem;
  text-align: center;
}
.about-verse { font-family: 'Fredoka One', cursive; font-size: 1.2rem; color: var(--sky-dark); line-height: 1.8; margin-bottom: 0.6rem; }
.about-verse-ref { color: var(--text-light); font-size: 0.9rem; }
.about-sections { display: flex; flex-direction: column; gap: 1.75rem; }
.about-section h2 { font-family: 'Fredoka One', cursive; font-size: 1.6rem; color: var(--coral); margin-bottom: 0.75rem; }
.about-section p { color: var(--text-medium); font-size: 1rem; margin-bottom: 0.75rem; }
.age-levels-list { display: flex; flex-direction: column; gap: 1rem; margin-top: 0.5rem; }
.age-level-item { display: flex; gap: 1rem; align-items: flex-start; background: var(--warm-white); border-radius: var(--radius); padding: 1rem 1.25rem; }
.age-emoji-lg { font-size: 2rem; flex-shrink: 0; }
.age-level-item strong { font-size: 1.05rem; color: var(--text-dark); display: block; margin-bottom: 0.2rem; }
.age-level-item p { margin: 0; font-size: 0.95rem; }

/* ===== THANK YOU PAGE ===== */
.thank-you-page { background: linear-gradient(160deg, #FFF8E7 0%, #E8F4FD 50%, #FFF0E8 100%); }
.thank-you-main { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 2rem; }
.thank-you-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  max-width: 520px;
  width: 100%;
  box-shadow: var(--shadow-card);
  text-align: center;
}
.thank-you-stars { font-size: 1.5rem; color: var(--sun); margin-bottom: 0.75rem; letter-spacing: 0.5rem; }
.thank-you-icon { font-size: 3.5rem; margin-bottom: 0.75rem; }
.thank-you-title { font-family: 'Fredoka One', cursive; font-size: 2.2rem; color: var(--coral); margin-bottom: 0.75rem; }
.thank-you-message { color: var(--text-medium); font-size: 1.05rem; margin-bottom: 1.75rem; }
.thank-you-details { background: var(--warm-white); border-radius: var(--radius); padding: 1.25rem 1.5rem; margin-bottom: 1.75rem; text-align: left; }
.thank-you-details h2 { font-family: 'Fredoka One', cursive; font-size: 1.2rem; color: var(--text-dark); margin-bottom: 0.75rem; }
.thank-you-list { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.thank-you-list li { color: var(--text-medium); font-size: 0.97rem; }
.thank-you-verse { font-style: italic; color: var(--text-medium); margin-bottom: 1.75rem; font-size: 0.97rem; }
.verse-ref { font-style: normal; font-size: 0.85rem; color: var(--text-light); margin-top: 0.3rem; }
.thank-you-ministry { margin-top: 1.25rem; font-size: 0.85rem; color: var(--text-light); }

/* ===== FOOTER ===== */
.site-footer {
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--warm-white);
  border-top: 2px solid var(--sun-light);
  color: var(--text-light);
  font-size: 0.88rem;
}
.footer-verse { margin-top: 0.3rem; font-style: italic; font-size: 0.82rem; }

/* ===== WELCOME BANNER ===== */
.welcome-banner {
  background: linear-gradient(135deg, #FFF8E0, #FFF0E8);
  border: 2px solid var(--sun-light);
  border-radius: 50px;
  padding: 0.6rem 1.25rem;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
  text-align: center;
}

/* ===== STREAK BAR ===== */
.streak-bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, #FFF3CC, #FFE8A0);
  border: 2px solid var(--sun);
  border-radius: var(--radius);
  padding: 0.75rem 1.25rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}
.streak-flame { font-size: 1.4rem; flex-shrink: 0; }
#streak-text { font-weight: 700; color: var(--text-dark); font-size: 0.97rem; flex: 1; }
.streak-dots { display: flex; gap: 5px; flex-shrink: 0; }
.streak-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: rgba(90,60,20,0.15);
  transition: background 0.3s;
}
.streak-dot.filled { background: var(--coral); }

/* ===== END OF STORY NUDGE ===== */
.story-end-nudge {
  background: linear-gradient(135deg, #FFF0E8, #FFE0D0);
  border: 2px solid var(--coral-light);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-dark);
  text-align: center;
  margin: 1.5rem 0;
}

/* ===== RETURN NUDGE ===== */
.return-nudge {
  text-align: center;
  padding: 1.5rem 1rem 0.5rem;
  color: var(--text-medium);
  font-style: italic;
  font-size: 1rem;
}
.return-nudge-text { font-weight: 700; color: var(--text-medium); }

/* ===== UPGRADE CARD ===== */
.upgrade-card { border-top: 5px solid var(--coral); }
.upgrade-headline { font-size: 1.75rem; }
.upgrade-streak {
  display: flex; align-items: center; justify-content: center;
  gap: 0.5rem; margin-bottom: 0.75rem;
}
.upgrade-streak-emoji { font-size: 2.5rem; }
.upgrade-streak-num {
  font-family: 'Fredoka One', cursive;
  font-size: 1.4rem;
  color: var(--coral);
}

/* ===== HIDDEN ===== */
.hidden { display: none !important; }

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
  html { font-size: 17px; }
  .page-title { font-size: 2rem; }
  .story-title { font-size: 1.75rem; }
  .story-body { padding: 1.25rem; }
  .parent-section { padding: 1.25rem; }
  .paywall-card { padding: 2rem 1.25rem; }
  .paywall-headline { font-size: 1.7rem; }
  .plan-selector { flex-direction: column; align-items: center; }
}
