/* ============================================================
   NENJODU PESU — நெஞ்சோடு பேசு
   LIGHT THEME — Warm Cream & Gold
   ============================================================ */

/* ---------- TOKENS ---------- */
:root {
  --gold:        #B8762A;
  --gold-light:  #D4933E;
  --gold-pale:   #F6D365;
  --gold-bg:     #FDF3E3;
  --gold-tint:   #FBE9CA;

  --white:       #FFFFFF;
  --cream:       #FFFAF4;
  --cream-2:     #FDF4E7;
  --cream-3:     #F7EDD8;

  --text:        #1E1608;
  --text-2:      #3D2E18;
  --text-muted:  #7A6145;
  --text-light:  #A8906E;

  --border:      rgba(184,118,42,0.15);
  --border-2:    rgba(184,118,42,0.25);

  --shadow-sm:   0 2px 8px rgba(139,90,20,0.08);
  --shadow-card: 0 4px 24px rgba(139,90,20,0.10);
  --shadow-gold: 0 6px 24px rgba(184,118,42,0.30);
  --shadow-lg:   0 12px 48px rgba(139,90,20,0.14);

  --font-display: 'Playfair Display', 'Noto Serif Tamil', Georgia, serif;
  --font-body:    'Hind', system-ui, sans-serif;
  --font-tamil:   'Noto Serif Tamil', serif;

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

  --transition: 0.28s cubic-bezier(0.4,0,0.2,1);
}

/* ---------- RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* Scrollbar */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--cream-3); }
::-webkit-scrollbar-thumb { background: var(--gold-light); border-radius: 3px; }

/* ============================================================
   NAVBAR
   ============================================================ */
.np-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0 5vw;
  background: rgba(255,250,244,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.np-nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; gap: 24px;
}

.np-logo {
  display: flex; align-items: baseline; gap: 5px; flex-shrink: 0;
}
.logo-tamil {
  font-family: var(--font-tamil);
  color: var(--gold);
  font-size: 1.15rem; font-weight: 700;
  letter-spacing: 0.02em;
}
.logo-en {
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 700;
  letter-spacing: 0.18em;
}

.np-nav-links {
  display: flex; align-items: center; gap: 28px;
}
.np-nav-links a {
  color: var(--text-muted);
  font-size: 0.875rem; font-weight: 500;
  letter-spacing: 0.02em;
  transition: var(--transition);
  position: relative; padding-bottom: 2px;
}
.np-nav-links a::after {
  content: '';
  position: absolute; bottom: -2px; left: 0; right: 100%;
  height: 2px; background: var(--gold);
  border-radius: 2px;
  transition: var(--transition);
}
.np-nav-links a:hover { color: var(--gold); }
.np-nav-links a:hover::after { right: 0; }

.np-nav-actions { display: flex; align-items: center; gap: 10px; }

.btn-search {
  color: var(--text-muted); font-size: 1.1rem;
  padding: 6px; border-radius: 50%;
  transition: var(--transition);
}
.btn-search:hover { color: var(--gold); }

.btn-login {
  color: var(--text-2); font-size: 0.875rem; font-weight: 500;
  padding: 8px 16px; border-radius: var(--radius-sm);
  border: 1px solid var(--border-2);
  transition: var(--transition);
}
.btn-login:hover { color: var(--gold); border-color: var(--gold); }

.btn-register {
  background: var(--gold);
  color: #fff; font-size: 0.875rem; font-weight: 600;
  padding: 8px 18px; border-radius: var(--radius-sm);
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(184,118,42,0.25);
}
.btn-register:hover { background: var(--gold-light); transform: translateY(-1px); box-shadow: var(--shadow-gold); }

.nav-toggle {
  display: none; color: var(--text); font-size: 1.4rem; padding: 4px;
}

/* ============================================================
   HERO SECTION — Light with warm gradient
   ============================================================ */
.hero-section {
  min-height: 100svh;
  background: linear-gradient(135deg, #FFFAF4 0%, #FDF3E3 40%, #FAE8CC 100%);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 100px 5vw 60px;
  gap: 48px;
  position: relative;
  overflow: hidden;
}

/* Decorative background circles */
.hero-section::before {
  content: '';
  position: absolute; top: -100px; right: -100px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(246,211,101,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.hero-section::after {
  content: '';
  position: absolute; bottom: -80px; left: -80px;
  width: 350px; height: 350px; border-radius: 50%;
  background: radial-gradient(circle, rgba(184,118,42,0.10) 0%, transparent 70%);
  pointer-events: none;
}

.hero-film-grain { display: none; }

.hero-content { position: relative; z-index: 1; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--gold);
  background: var(--gold-bg);
  border: 1px solid var(--border-2);
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 14px; border-radius: 30px;
  margin-bottom: 24px;
}

.dot-pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100%{ opacity:1; transform:scale(1); }
  50%    { opacity:0.4; transform:scale(0.6); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  line-height: 1.1; margin-bottom: 20px;
}
.hero-tamil {
  color: var(--gold);
  font-style: italic; display: block;
}
.hero-english {
  color: var(--text);
  font-weight: 400;
}

.hero-sub {
  color: var(--text-muted);
  font-size: 1.05rem; max-width: 480px;
  margin-bottom: 36px; line-height: 1.8;
}

.hero-actions {
  display: flex; flex-wrap: wrap; gap: 14px;
  margin-bottom: 48px;
}

/* ===== SHARED BUTTONS ===== */
.btn-primary-gold {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold);
  color: #fff; font-weight: 600; font-size: 0.9rem;
  padding: 13px 24px; border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(184,118,42,0.30);
}
.btn-primary-gold:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: var(--shadow-gold); }
.btn-primary-gold.sm { padding: 9px 18px; font-size: 0.85rem; }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1.5px solid var(--border-2);
  color: var(--text-2); font-weight: 500; font-size: 0.9rem;
  padding: 13px 24px; border-radius: var(--radius-sm);
  transition: var(--transition); white-space: nowrap;
  background: var(--white);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); background: var(--gold-bg); }
.btn-ghost.sm { padding: 9px 18px; font-size: 0.85rem; }
.btn-ghost.light { border-color: var(--border-2); }

.hero-stats {
  display: flex; align-items: center; gap: 24px;
}
.stat-item { text-align: center; }
.stat-num {
  display: block;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 700;
}
.stat-label {
  color: var(--text-light);
  font-size: 0.78rem; letter-spacing: 0.04em;
}
.stat-divider {
  width: 1px; height: 36px;
  background: var(--border-2);
}

/* ===== HERO CARD STACK ===== */
.hero-visual {
  position: relative; z-index: 1;
  display: flex; justify-content: center;
}
.hero-card-stack {
  position: relative; width: 340px; height: 420px;
}
.hcard {
  position: absolute; border-radius: var(--radius-lg);
  padding: 24px; box-shadow: var(--shadow-card);
}
.hcard-back {
  width: 280px; height: 180px;
  background: var(--gold-tint);
  border: 1px solid var(--border-2);
  top: 0; right: 0; transform: rotate(6deg);
  animation: float-back 5s ease-in-out infinite;
}
.hcard-mid {
  width: 290px; height: 170px;
  background: var(--white);
  border: 1px solid var(--border);
  top: 80px; left: 0; transform: rotate(-4deg);
  animation: float-mid 5s ease-in-out infinite 0.5s;
}
.hcard-front {
  width: 310px;
  background: var(--white);
  border: 1px solid var(--border-2);
  bottom: 0; right: 0;
  animation: float-front 5s ease-in-out infinite 1s;
  box-shadow: var(--shadow-lg);
}
@keyframes float-back  { 0%,100%{transform:rotate(6deg) translateY(0)}  50%{transform:rotate(6deg) translateY(-8px)}}
@keyframes float-mid   { 0%,100%{transform:rotate(-4deg) translateY(0)} 50%{transform:rotate(-4deg) translateY(-10px)}}
@keyframes float-front { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-6px)}}

.hcard-tag {
  display: inline-block;
  background: var(--gold-bg);
  color: var(--gold); font-size: 0.72rem;
  font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 20px; margin-bottom: 12px;
  border: 1px solid var(--border-2);
}
.hcard-text {
  color: var(--text-muted);
  font-size: 0.88rem; line-height: 1.7;
  font-family: var(--font-display); font-style: italic;
}
.hcard-label {
  color: var(--gold); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 12px;
}
.hcard-ep-thumb {
  border-radius: var(--radius-sm); overflow: hidden;
  height: 140px; margin-bottom: 16px; position: relative;
}
.ep-thumb-art {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--gold-tint), var(--cream-3), var(--gold-bg));
  display: flex; align-items: center; justify-content: center;
}
.ep-play-icon {
  color: var(--gold); font-size: 2.8rem;
  filter: drop-shadow(0 2px 8px rgba(184,118,42,0.3));
}
.ep-season { color: var(--text-light); font-size: 0.75rem; }
.ep-title {
  color: var(--text); font-family: var(--font-display);
  font-size: 1rem; margin: 4px 0;
}
.ep-views { color: var(--text-light); font-size: 0.78rem; }

.hero-scroll-hint {
  position: absolute; right: 5vw; bottom: 40px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--text-light); font-size: 0.72rem;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, var(--gold-light), transparent);
  animation: scroll-down 2s ease-in-out infinite;
}
@keyframes scroll-down {
  0%,100%{ transform:scaleY(1); transform-origin:top; }
  50%    { transform:scaleY(0.5); transform-origin:top; }
}

/* ============================================================
   FEELING STRIP
   ============================================================ */
.feeling-strip {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 14px 5vw;
  display: flex; align-items: center; gap: 20px;
  overflow-x: auto; scrollbar-width: none;
  box-shadow: var(--shadow-sm);
}
.feeling-strip::-webkit-scrollbar { display: none; }

.strip-label {
  color: var(--text-light);
  font-size: 0.8rem; white-space: nowrap; flex-shrink: 0;
}
.feelings-row { display: flex; gap: 8px; }
.feeling-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--cream-2);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.82rem; font-weight: 500;
  padding: 7px 16px; border-radius: 30px;
  white-space: nowrap; transition: var(--transition);
}
.feeling-pill:hover, .feeling-pill.active {
  background: var(--gold-bg);
  border-color: var(--gold);
  color: var(--gold);
}

/* ============================================================
   SHARED SECTION STYLES
   ============================================================ */
.section-block { padding: 72px 5vw; }
.section-block:nth-child(even) { background: var(--cream-2); }

.section-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 40px; gap: 16px;
}

.section-eyebrow {
  color: var(--gold); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 6px;
}
.section-eyebrow.light { color: var(--gold-light); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--text); font-weight: 700; line-height: 1.2;
}

.section-link {
  color: var(--gold); font-size: 0.875rem; font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px;
  white-space: nowrap; transition: var(--transition);
}
.section-link:hover { gap: 10px; }

/* ============================================================
   EPISODES GRID
   ============================================================ */
.episodes-grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 24px;
}

.ep-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  display: flex; flex-direction: column;
  border: 1px solid var(--border);
}
.ep-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.ep-card-featured { grid-column: span 2; }

.ep-thumb {
  position: relative; padding-top: 56.25%;
  background: var(--cream-3); overflow: hidden;
}
.ep-card-featured .ep-thumb { padding-top: 46%; }

.ep-thumb-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.ep-bg-1 { background: linear-gradient(135deg, #FDF0DC, #F5DEB3, #EFD08A); }
.ep-bg-2 { background: linear-gradient(135deg, #DCF0F5, #B3DEF5, #8ACDEF); }
.ep-bg-3 { background: linear-gradient(135deg, #F5DCDC, #F5B3B3, #EF8A8A); }
.ep-bg-4 { background: linear-gradient(135deg, #E8DCF5, #D4B3F5, #C08AEF); }

.ep-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,250,244,0); transition: var(--transition);
}
.ep-card:hover .ep-overlay { background: rgba(255,250,244,0.25); }

.ep-play-btn {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--gold);
  color: white; font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: scale(0.8);
  transition: var(--transition);
  box-shadow: var(--shadow-gold);
}
.ep-card:hover .ep-play-btn { opacity: 1; transform: scale(1); }

.ep-duration {
  position: absolute; bottom: 10px; right: 10px;
  background: rgba(255,255,255,0.9);
  color: var(--text); font-size: 0.75rem; font-weight: 600;
  padding: 3px 8px; border-radius: 4px;
  box-shadow: var(--shadow-sm);
}

.ep-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--gold); color: #fff;
  font-size: 0.72rem; font-weight: 700;
  padding: 3px 10px; border-radius: 20px;
}
.ep-badge-trend { background: #E84040; }

.ep-body { padding: 20px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.ep-meta-row { display: flex; align-items: center; justify-content: space-between; }

.ep-cat {
  background: var(--gold-bg);
  color: var(--gold); font-size: 0.75rem; font-weight: 600;
  padding: 3px 10px; border-radius: 20px;
  border: 1px solid var(--border-2);
}
.ep-date { color: var(--text-light); font-size: 0.78rem; }

.ep-name {
  font-family: var(--font-display);
  font-size: 1.05rem; color: var(--text); font-weight: 700; line-height: 1.3;
}
.ep-card-featured .ep-name { font-size: 1.3rem; }

.ep-desc { color: var(--text-muted); font-size: 0.875rem; line-height: 1.6; flex: 1; }

.ep-footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: auto; padding-top: 12px;
  border-top: 1px solid var(--border);
}
.ep-author { display: flex; align-items: center; gap: 8px; }
.ep-avatar { width: 28px; height: 28px; border-radius: 50%; }
.ep-av-1 { background: linear-gradient(135deg, #C08B3E, #F6D365); }
.ep-av-2 { background: linear-gradient(135deg, #3E7CC0, #65B8F6); }
.ep-av-3 { background: linear-gradient(135deg, #C03E7A, #F665A8); }
.ep-av-4 { background: linear-gradient(135deg, #3EC08B, #65F6D3); }
.ep-author span { font-size: 0.8rem; font-weight: 500; color: var(--text-muted); }

.ep-actions { display: flex; gap: 4px; }
.ep-action-btn {
  display: flex; align-items: center; gap: 4px;
  color: var(--text-light); font-size: 0.8rem;
  padding: 5px 8px; border-radius: var(--radius-sm);
  transition: var(--transition);
}
.ep-action-btn:hover { color: var(--gold); background: var(--gold-bg); }

/* ============================================================
   QUOTE SPOTLIGHT — light warm version
   ============================================================ */
.quote-spotlight {
  background: linear-gradient(135deg, var(--gold-bg) 0%, var(--cream-3) 100%);
  padding: 72px 5vw;
  position: relative; overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.quote-spotlight::before {
  content: '';
  position: absolute; top: -80px; right: -80px;
  width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(246,211,101,0.25), transparent 70%);
  pointer-events: none;
}

.qs-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start;
}

.qs-heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--text); margin-bottom: 32px;
}

.qs-quote-block {
  position: relative; padding-left: 20px;
  border-left: 3px solid var(--gold);
}
.qs-quotemark {
  font-family: Georgia, serif; font-size: 6rem; line-height: 0.7;
  color: var(--gold); opacity: 0.25;
  position: absolute; top: -12px; left: -8px; pointer-events: none;
}
.qs-quote-tamil {
  font-family: var(--font-tamil);
  color: var(--text); font-size: 1.1rem;
  line-height: 1.9; margin-bottom: 16px;
}
.qs-quote-en {
  color: var(--text-muted); font-style: italic;
  font-size: 0.9rem; line-height: 1.7; margin-bottom: 24px;
}
.qs-author-row { display: flex; align-items: center; gap: 14px; }
.qs-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-pale));
  flex-shrink: 0;
}
.qs-author-name { color: var(--text); font-weight: 600; font-size: 0.9rem; }
.qs-author-tag { color: var(--text-light); font-size: 0.78rem; }
.qs-actions { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }

.qs-mini-heading {
  color: var(--text-light); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 16px;
}
.qs-mini-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }

.qs-mini-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 14px 16px;
  transition: var(--transition); box-shadow: var(--shadow-sm);
}
.qs-mini-card:hover { border-color: var(--gold); box-shadow: var(--shadow-card); transform: translateX(4px); }
.qs-mini-card p {
  font-family: var(--font-tamil);
  color: var(--text-2); font-size: 0.9rem;
  line-height: 1.7; margin-bottom: 8px;
}
.qs-mini-card span { color: var(--text-light); font-size: 0.78rem; }

/* ============================================================
   LOVE LETTERS
   ============================================================ */
.letters-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 20px;
}
.letter-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-card);
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
  transition: var(--transition);
  border: 1px solid var(--border);
}
.letter-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.letter-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-pale));
}
.letter-featured { background: linear-gradient(145deg, #fffbf5, #fdf4e4); }

.letter-seal { font-size: 2rem; margin-bottom: 12px; }
.letter-tag {
  display: inline-block;
  background: var(--gold-bg);
  color: var(--gold); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 20px;
  margin-bottom: 16px; border: 1px solid var(--border-2);
}
.letter-to { font-weight: 600; color: var(--text); font-size: 0.875rem; margin-bottom: 14px; }
.letter-body {
  font-size: 0.9rem; line-height: 1.8;
  color: var(--text-muted); flex: 1; font-style: italic;
}
.letter-footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 20px; padding-top: 16px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap; gap: 8px;
}
.letter-anon { color: var(--text-light); font-size: 0.8rem; display: flex; align-items: center; gap: 6px; }
.letter-reactions { display: flex; gap: 8px; }
.react-btn {
  display: flex; align-items: center; gap: 5px;
  color: var(--text-muted); font-size: 0.82rem;
  padding: 5px 10px; border-radius: 20px;
  border: 1px solid var(--border);
  transition: var(--transition); background: var(--cream-2);
}
.react-btn:hover { border-color: var(--gold); color: var(--gold); background: var(--gold-bg); }

.write-cta {
  margin-top: 32px;
  background: linear-gradient(135deg, var(--gold-bg), var(--cream-3));
  border: 1px solid var(--border-2);
  border-radius: var(--radius-md); padding: 28px 32px;
}
.write-cta-content { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.write-icon { font-size: 2rem; color: var(--gold); flex-shrink: 0; }
.write-cta-content h3 { font-family: var(--font-display); color: var(--text); font-size: 1.2rem; margin-bottom: 4px; }
.write-cta-content p { color: var(--text-muted); font-size: 0.875rem; }
.write-cta-content .btn-primary-gold { margin-left: auto; }

/* ============================================================
   AI KAVITHAI SECTION — light version
   ============================================================ */
.ai-kavithai-section {
  background: linear-gradient(160deg, var(--cream-3) 0%, var(--gold-tint) 50%, var(--cream-3) 100%);
  padding: 80px 5vw;
  position: relative; overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.ai-kavithai-section::before {
  content: '';
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(246,211,101,0.15), transparent 60%);
  pointer-events: none;
}

.aik-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }

.aik-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--text); margin-bottom: 12px;
}
.aik-desc { color: var(--text-muted); margin-bottom: 32px; }

.mood-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-bottom: 28px; }

.mood-btn {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 16px 10px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-muted); font-size: 0.82rem;
  transition: var(--transition); box-shadow: var(--shadow-sm);
}
.mood-btn:hover, .mood-btn.active {
  border-color: var(--gold);
  background: var(--gold-bg); color: var(--gold);
  box-shadow: var(--shadow-gold);
}
.mood-icon { font-size: 1.5rem; }

.aik-prompt-row { display: flex; gap: 10px; }
.aik-input {
  flex: 1; background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px; color: var(--text);
  font-size: 0.9rem; font-family: var(--font-body);
  outline: none; transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.aik-input::placeholder { color: var(--text-light); }
.aik-input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184,118,42,0.12); }

.aik-generate-btn {
  display: flex; align-items: center; gap: 8px;
  background: var(--gold); color: #fff;
  font-weight: 700; font-size: 0.9rem;
  padding: 12px 20px; border-radius: var(--radius-sm);
  white-space: nowrap; transition: var(--transition);
  box-shadow: var(--shadow-gold);
}
.aik-generate-btn:hover { background: var(--gold-light); }

.aik-output {
  background: var(--white);
  border: 1.5px solid var(--border-2);
  border-radius: var(--radius-lg); padding: 28px;
  min-height: 280px; box-shadow: var(--shadow-card);
}
.aik-output-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 24px;
}
.aik-output-tag {
  background: var(--gold-bg);
  color: var(--gold); font-size: 0.78rem; font-weight: 600;
  padding: 4px 12px; border-radius: 20px;
  display: flex; align-items: center; gap: 6px;
  border: 1px solid var(--border-2);
}
.aik-output-actions { display: flex; gap: 8px; }
.aik-action {
  color: var(--text-light); font-size: 1rem;
  padding: 6px; border-radius: var(--radius-sm);
  transition: var(--transition); background: var(--cream-2);
  border: 1px solid var(--border);
}
.aik-action:hover { color: var(--gold); background: var(--gold-bg); border-color: var(--gold); }

.aik-poem { margin-bottom: 20px; }
.poem-line {
  font-family: var(--font-tamil);
  color: var(--text-2); font-size: 1.05rem; line-height: 2.2;
}

.aik-meta {
  color: var(--text-light); font-size: 0.78rem;
  padding-top: 16px; border-top: 1px solid var(--border);
}

.aik-history { margin-top: 20px; }
.aik-history-label {
  color: var(--text-light); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 12px;
}
.aik-history-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px;
  background: var(--cream-2); border: 1px solid var(--border);
  border-radius: var(--radius-sm); margin-bottom: 8px;
  transition: var(--transition); cursor: pointer;
}
.aik-history-item:hover { background: var(--gold-bg); border-color: var(--gold); }
.hist-mood { font-size: 0.8rem; white-space: nowrap; }
.hist-preview { color: var(--text-muted); font-size: 0.82rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ============================================================
   CONFESSION WALL
   ============================================================ */
.confession-section { background: var(--cream-2); }

.confessions-masonry { columns: 3; gap: 20px; }
.conf-card {
  break-inside: avoid;
  background: var(--white);
  border-radius: var(--radius-md); padding: 22px;
  margin-bottom: 20px; box-shadow: var(--shadow-card);
  transition: var(--transition); position: relative;
  overflow: hidden; border: 1px solid var(--border);
}
.conf-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; }
.conf-love::before     { background: #E84040; }
.conf-regret::before   { background: #8040E8; }
.conf-friendship::before { background: #4082E8; }
.conf-marriage::before { background: var(--gold); }
.conf-breakup::before  { background: #405CE8; }
.conf-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.conf-cat-tag {
  display: inline-block; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 20px; margin-bottom: 14px;
}
.conf-love .conf-cat-tag     { background: rgba(232,64,64,0.1);  color: #E84040; }
.conf-regret .conf-cat-tag   { background: rgba(128,64,232,0.1); color: #8040E8; }
.conf-friendship .conf-cat-tag { background: rgba(64,130,232,0.1); color: #4082E8; }
.conf-marriage .conf-cat-tag { background: var(--gold-bg); color: var(--gold); }
.conf-breakup .conf-cat-tag  { background: rgba(64,92,232,0.1); color: #405CE8; }

.conf-card p { color: var(--text-2); font-size: 0.9rem; line-height: 1.75; margin-bottom: 16px; }
.conf-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 12px; border-top: 1px solid var(--border);
}
.conf-footer span { color: var(--text-light); font-size: 0.78rem; }
.conf-react {
  display: flex; align-items: center; gap: 5px;
  color: var(--text-light); font-size: 0.82rem; transition: var(--transition);
}
.conf-react:hover { color: #E84040; }

/* ============================================================
   CATEGORIES
   ============================================================ */
.categories-section { padding: 72px 5vw; background: var(--white); }
.cat-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }

.cat-card {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 10px; padding: 32px 16px;
  border-radius: var(--radius-md); text-align: center;
  transition: var(--transition); position: relative; overflow: hidden;
  cursor: pointer; box-shadow: var(--shadow-sm);
  border: 1px solid transparent;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--border-2); }
.cat-icon { font-size: 2.2rem; }
.cat-card h3 { font-weight: 700; font-size: 0.95rem; }
.cat-count { font-size: 0.78rem; opacity: 0.7; }

.cat-firstlove  { background: linear-gradient(135deg, #FFF8E8, #FFF0CC); color: #7A4F0A; }
.cat-friendship { background: linear-gradient(135deg, #E8F4FF, #CCE6FF); color: #0A4F8A; }
.cat-missing    { background: linear-gradient(135deg, #F0E8FF, #E0CCFF); color: #4A0A8A; }
.cat-breakup    { background: linear-gradient(135deg, #FFE8E8, #FFCCCC); color: #8A0A0A; }
.cat-marriage   { background: linear-gradient(135deg, #FFF0F6, #FFD6E8); color: #8A0A4F; }
.cat-college    { background: linear-gradient(135deg, #E8FFF0, #CCFFE0); color: #0A6A2D; }
.cat-kavithai   { background: linear-gradient(135deg, #FFF8E8, #FDEFD0); color: #7A5200; }
.cat-motivation { background: linear-gradient(135deg, #FFF0E8, #FFD6C0); color: #8A3200; }

/* ============================================================
   COMMUNITY SECTION — warm light
   ============================================================ */
.community-section {
  background: linear-gradient(135deg, var(--gold-bg) 0%, var(--cream-3) 100%);
  padding: 80px 5vw;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.community-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }

.comm-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--text); margin: 12px 0;
}
.comm-sub { color: var(--text-muted); line-height: 1.8; margin-bottom: 32px; }
.comm-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.badge-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.badge-card {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 20px 12px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-muted); font-size: 0.8rem; text-align: center;
  transition: var(--transition); box-shadow: var(--shadow-sm);
}
.badge-card i { font-size: 1.4rem; }
.badge-card:hover { border-color: var(--gold); color: var(--gold); box-shadow: var(--shadow-gold); }
.active-badge { background: var(--gold-bg); border-color: var(--gold); color: var(--gold); }
.badge-note { color: var(--text-light); font-size: 0.78rem; text-align: center; margin-top: 14px; }

/* ============================================================
   INSTAGRAM
   ============================================================ */
.insta-section { background: var(--white); padding: 72px 5vw; }
.insta-inner { display: grid; grid-template-columns: 280px 1fr; gap: 48px; align-items: center; }
.insta-icon { font-size: 2rem; color: var(--gold); margin-bottom: 12px; display: block; }
.insta-text h3 { font-family: var(--font-display); font-size: 1.5rem; color: var(--text); margin-bottom: 10px; }
.insta-text p { color: var(--text-muted); margin-bottom: 24px; line-height: 1.7; }

.insta-posts { display: grid; grid-template-columns: repeat(6,1fr); gap: 8px; }
.insta-post {
  aspect-ratio: 1; border-radius: var(--radius-sm);
  transition: var(--transition); cursor: pointer;
}
.insta-post:hover { transform: scale(1.05); box-shadow: var(--shadow-card); }
.ip1 { background: linear-gradient(135deg, #FDF0DC, #F5DEB3); }
.ip2 { background: linear-gradient(135deg, #FFE0E0, #FFB5B5); }
.ip3 { background: linear-gradient(135deg, #E8E0FF, #CCB5FF); }
.ip4 { background: linear-gradient(135deg, #E0F0FF, #B5D5FF); }
.ip5 { background: linear-gradient(135deg, #E0FFE8, #B5FFCA); }
.ip6 { background: linear-gradient(135deg, #FFF0E0, #FFD5B5); }

/* ============================================================
   NEWSLETTER — warm gold
   ============================================================ */
.newsletter-section {
  background: linear-gradient(135deg, var(--gold) 0%, #9A6520 100%);
  padding: 72px 5vw; text-align: center; position: relative; overflow: hidden;
}
.newsletter-section::before {
  content: '';
  position: absolute; top: -60px; right: -60px;
  width: 280px; height: 280px; border-radius: 50%;
  background: rgba(255,255,255,0.06); pointer-events: none;
}
.newsletter-section::after {
  content: '';
  position: absolute; bottom: -40px; left: -40px;
  width: 200px; height: 200px; border-radius: 50%;
  background: rgba(255,255,255,0.06); pointer-events: none;
}

.nl-inner { position: relative; max-width: 560px; margin: 0 auto; }
.nl-icon { font-size: 2.5rem; color: rgba(255,255,255,0.9); margin-bottom: 20px; display: block; }
.nl-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: #fff; margin-bottom: 12px;
}
.nl-inner p { color: rgba(255,255,255,0.75); margin-bottom: 28px; line-height: 1.7; }

.nl-form { display: flex; gap: 10px; max-width: 440px; margin: 0 auto 16px; }
.nl-input {
  flex: 1; background: rgba(255,255,255,0.18);
  border: 1.5px solid rgba(255,255,255,0.4);
  border-radius: var(--radius-sm);
  padding: 13px 16px; color: #fff;
  font-size: 0.9rem; font-family: var(--font-body); outline: none;
  transition: var(--transition);
}
.nl-input::placeholder { color: rgba(255,255,255,0.55); }
.nl-input:focus { border-color: rgba(255,255,255,0.8); background: rgba(255,255,255,0.22); }

.nl-form .btn-primary-gold {
  background: #fff; color: var(--gold);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.nl-form .btn-primary-gold:hover { background: var(--cream); }

.nl-note { color: rgba(255,255,255,0.6); font-size: 0.78rem; }

/* ============================================================
   FOOTER — warm dark
   ============================================================ */
.np-footer {
  background: #1E1608;
  padding: 64px 5vw 0;
  border-top: 3px solid var(--gold);
}
.footer-inner {
  display: grid; grid-template-columns: 280px 1fr;
  gap: 64px; padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-tagline { color: rgba(255,248,241,0.45); font-size: 0.875rem; line-height: 1.7; margin: 16px 0 24px; }

.footer-socials { display: flex; gap: 12px; }
.footer-socials a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,248,241,0.5); font-size: 0.9rem; transition: var(--transition);
}
.footer-socials a:hover { color: var(--gold-pale); border-color: var(--gold); background: rgba(184,118,42,0.15); }

.footer-links { display: grid; grid-template-columns: repeat(4,1fr); gap: 32px; }
.footer-col h4 {
  color: rgba(255,248,241,0.9); font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 16px;
}
.footer-col a {
  display: block; color: rgba(255,248,241,0.4);
  font-size: 0.875rem; margin-bottom: 10px; transition: var(--transition);
}
.footer-col a:hover { color: var(--gold-pale); }

.footer-bottom {
  padding: 20px 0; text-align: center;
  color: rgba(255,248,241,0.25); font-size: 0.82rem;
}

/* Logo in footer */
.np-footer .np-logo .logo-tamil { color: var(--gold-pale); }
.np-footer .np-logo .logo-en   { color: rgba(255,248,241,0.85); }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from { opacity:0; transform:translateY(24px); }
  to   { opacity:1; transform:translateY(0); }
}
.hero-content > * { animation: fadeUp 0.7s ease both; }
.hero-eyebrow  { animation-delay: 0.1s; }
.hero-title    { animation-delay: 0.22s; }
.hero-sub      { animation-delay: 0.34s; }
.hero-actions  { animation-delay: 0.46s; }
.hero-stats    { animation-delay: 0.58s; }
.hero-visual   { animation: fadeUp 0.9s 0.3s ease both; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width:1100px) {
  .episodes-grid { grid-template-columns: repeat(2,1fr); }
  .ep-card-featured { grid-column: span 2; }
  .confessions-masonry { columns: 2; }
  .cat-grid { grid-template-columns: repeat(4,1fr); }
  .qs-inner { gap: 40px; }
}
@media (max-width:900px) {
  .hero-section { grid-template-columns:1fr; padding-top:120px; text-align:center; }
  .hero-sub { margin:0 auto 36px; }
  .hero-actions { justify-content:center; }
  .hero-stats { justify-content:center; }
  .hero-visual { display:none; }
  .hero-scroll-hint { display:none; }
  .aik-inner { grid-template-columns:1fr; gap:40px; }
  .community-inner { grid-template-columns:1fr; gap:40px; }
  .qs-inner { grid-template-columns:1fr; }
  .insta-inner { grid-template-columns:1fr; }
  .insta-posts { grid-template-columns:repeat(3,1fr); }
  .letters-grid { grid-template-columns:1fr 1fr; }
  .footer-inner { grid-template-columns:1fr; gap:32px; }
  .footer-links { grid-template-columns:repeat(2,1fr); }
  .cat-grid { grid-template-columns:repeat(2,1fr); }
  .np-nav-links { display:none; }
  .nav-toggle { display:block; }
}
@media (max-width:600px) {
  .episodes-grid { grid-template-columns:1fr; }
  .ep-card-featured { grid-column:span 1; }
  .confessions-masonry { columns:1; }
  .letters-grid { grid-template-columns:1fr; }
  .mood-grid { grid-template-columns:repeat(2,1fr); }
  .nl-form { flex-direction:column; }
  .cat-grid { grid-template-columns:repeat(2,1fr); }
  .footer-links { grid-template-columns:1fr 1fr; }
  .badge-grid { grid-template-columns:repeat(2,1fr); }
  .insta-posts { grid-template-columns:repeat(3,1fr); }
  .write-cta-content { flex-direction:column; text-align:center; }
  .write-cta-content .btn-primary-gold { margin-left:0; }
}

/* Mobile nav open */
.np-nav.nav-open .np-nav-links {
  display: flex; flex-direction: column;
  position: absolute; top: 68px; left: 0; right: 0;
  background: rgba(255,250,244,0.98);
  border-bottom: 1px solid var(--border);
  padding: 20px 5vw; gap: 16px;
  box-shadow: var(--shadow-lg);
}

/* Revealed class for scroll animations */
.revealed { opacity:1 !important; transform:translateY(0) !important; }

@media (prefers-reduced-motion:reduce) {
  *, *::before, *::after { animation-duration:0.01ms !important; transition-duration:0.01ms !important; }
}

/* Share toast notification */
.share-toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--text);
  color: #fff;
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 0.875rem;
  font-weight: 500;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 9999;
  white-space: nowrap;
  pointer-events: none;
}
.share-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Share dropdown */
.share-dropdown {
  position: absolute;
  bottom: calc(100% + 8px);
  right: 0;
  background: #fff;
  border: 1px solid var(--border-2);
  border-radius: var(--radius-md);
  padding: 8px;
  min-width: 200px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  z-index: 100;
  display: none;
}
.share-dropdown.open { display: block; }
.share-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-2);
  cursor: pointer;
  transition: 0.2s ease;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: inherit;
  text-decoration: none;
}
.share-option:hover { background: var(--gold-bg); color: var(--gold); }
.share-option i { font-size: 1rem; width: 20px; text-align: center; }
.share-wrap { position: relative; display: inline-block; }

/* ===== NAV MISSING STYLES ===== */
.np-nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem; font-weight: 700;
  color: var(--gold); text-decoration: none;
  display: flex; align-items: center; gap: 6px;
}
.np-nav-icon {
  color: var(--text-2); font-size: 1.1rem;
  text-decoration: none; display: flex;
  align-items: center; padding: 4px;
}
.np-nav-icon:hover { color: var(--gold); }
.np-nav-user {
  display: flex; align-items: center; gap: 7px;
  text-decoration: none; color: var(--text-2);
  font-size: 0.875rem; font-weight: 600;
}
.np-nav-avatar {
  width: 30px; height: 30px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), #F6D365);
  color: #fff; font-weight: 700; font-size: 0.8rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.np-nav-toggle {
  display: none; background: none; border: none;
  font-size: 1.4rem; color: var(--text-2); cursor: pointer;
}
@media(max-width:900px) {
  .np-nav-toggle { display: flex; align-items: center; }
  .np-nav-links  { display: none; }
  .np-nav.nav-open .np-nav-links {
    display: flex; flex-direction: column;
    position: absolute; top: 68px; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--border);
    padding: 16px 20px; gap: 4px; z-index: 999;
  }
}

/* ===== NAV RHS FIX ===== */
.np-nav-inner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  height: 68px !important;
  gap: 16px !important;
}
.np-nav-actions {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  flex-shrink: 0 !important;
  margin-left: auto !important;
}
.np-nav-links {
  display: flex !important;
  align-items: center !important;
  gap: 20px !important;
  flex: 1 !important;
  justify-content: center !important;
}

/* ===== REMOVE GAP BETWEEN NAV AND HERO ===== */
.hp-hero { margin-top: 0 !important; padding-top: 60px !important; }
section.hp-hero { margin-top: 0 !important; }

/* ===== NAV RHS FIX ===== */
.np-nav-inner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  height: 68px !important;
  gap: 16px !important;
}
.np-nav-actions {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  flex-shrink: 0 !important;
  margin-left: auto !important;
}
.np-nav-links {
  display: flex !important;
  align-items: center !important;
  gap: 20px !important;
  flex: 1 !important;
  justify-content: center !important;
}

/* ===== REMOVE GAP BETWEEN NAV AND HERO ===== */
.hp-hero { margin-top: 0 !important; padding-top: 60px !important; }
section.hp-hero { margin-top: 0 !important; }

/* ===== NAV ACTIVE LINK FIX ===== */
.np-nav-links a {
  position: relative;
  text-decoration: none !important;
  border: none !important;
  outline: none !important;
}
.np-nav-links a.nav-active {
  color: var(--gold) !important;
  font-weight: 700 !important;
}
.np-nav-links a.nav-active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

/* ===== LANG TOGGLE ===== */
.lang-toggle {
  background: var(--gold-bg);
  border: 1.5px solid var(--border-2);
  color: var(--gold);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 5px 10px;
  border-radius: 20px;
  cursor: pointer;
  font-family: 'Hind', sans-serif;
  transition: 0.2s ease;
  letter-spacing: 0.05em;
}
.lang-toggle:hover {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}
