/* ═══════════════════════════════════════════════
   TEMPLE GIRL KIDS — Home Page Styles
   ═══════════════════════════════════════════════ */

/* ── Hero ───────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: linear-gradient(160deg, var(--night) 0%, #2D1200 55%, #1A0A00 100%);
  display: flex;
  align-items: center;
  padding: 100px 0 60px;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-mandala {
  position: absolute;
  right: -120px;
  top: 50%;
  transform: translateY(-50%);
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(212,160,74,0.04) 30deg, transparent 60deg, rgba(232,114,42,0.03) 90deg, transparent 120deg, rgba(212,160,74,0.04) 150deg, transparent 180deg, rgba(232,114,42,0.03) 210deg, transparent 240deg, rgba(212,160,74,0.04) 270deg, transparent 300deg, rgba(232,114,42,0.03) 330deg, transparent 360deg);
  animation: spin 60s linear infinite;
}
.hero-glow {
  position: absolute;
  top: 30%;
  right: 15%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,114,42,0.08) 0%, transparent 70%);
  filter: blur(40px);
}
.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-ornament {
  display: block;
  font-size: 11px;
  letter-spacing: 0.4em;
  color: var(--gold);
  opacity: 0.6;
  margin-bottom: 16px;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 900;
  color: #F5E6C8;
  line-height: 1.15;
  margin-bottom: 22px;
}
.hero-title em {
  font-style: italic;
  color: var(--gold);
}
.hero-subtitle {
  font-size: 16px;
  color: rgba(245,230,200,0.65);
  line-height: 1.8;
  margin-bottom: 32px;
  max-width: 460px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.hero-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.store-badge-hero {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(212,160,74,0.3);
  font-size: 13px;
  font-weight: 500;
  color: rgba(245,230,200,0.7);
  transition: var(--transition);
}
.store-badge-hero:hover { border-color: var(--gold); color: var(--gold); }

/* Phone Mockup */
.hero-phone { display: flex; justify-content: center; align-items: center; }
.phone-mockup {
  width: 260px;
  height: 530px;
  background: #1A1A1A;
  border-radius: 40px;
  border: 7px solid #2A2A2A;
  box-shadow: 0 28px 80px rgba(0,0,0,0.5), 0 0 0 1px #333, inset 0 0 0 1px #3A3A3A;
  position: relative;
  overflow: hidden;
}
.phone-notch {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 80px; height: 22px;
  background: #1A1A1A;
  border-radius: 0 0 14px 14px;
  z-index: 10;
}
.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--cream);
  overflow: hidden;
}
.phone-app {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--cream);
  padding-top: 22px;
}
.app-header {
  background: var(--night);
  padding: 14px 14px 12px;
  flex-shrink: 0;
}
.app-greeting {
  font-size: 8px;
  color: var(--muted);
  font-family: var(--font-sans);
  margin-bottom: 2px;
}
.app-title {
  font-family: var(--font-serif);
  font-size: 13px;
  font-weight: 700;
  color: #F5E6C8;
  line-height: 1.2;
  white-space: nowrap;
}
.app-now-playing {
  background: var(--night);
  padding: 10px 14px 14px;
  display: flex;
  gap: 10px;
  align-items: center;
  flex-shrink: 0;
}
.app-card-hero {
  width: 54px;
  height: 54px;
  border-radius: 10px;
  background: #0F0F38;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.card-emoji { font-size: 22px; }
.card-label { font-size: 5px; letter-spacing: 0.1em; color: #7F77DD; text-transform: uppercase; margin-top: 2px; }
.app-story-info { flex: 1; min-width: 0; }
.app-story-title {
  font-family: var(--font-serif);
  font-size: 9px;
  font-weight: 700;
  color: #F5E6C8;
  line-height: 1.3;
  margin-bottom: 2px;
}
.app-story-sub { font-size: 7px; color: var(--muted); margin-bottom: 4px; }
.app-locked-hint {
  font-size: 6px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(212, 160, 74, 0.85);
}
.app-cats {
  padding: 10px 14px 6px;
  display: flex;
  gap: 6px;
  overflow-x: auto;
  flex-shrink: 0;
}
.app-cats::-webkit-scrollbar { display: none; }
.cat-chip {
  padding: 4px 8px;
  border-radius: 10px;
  background: rgba(212,160,74,0.1);
  font-size: 7px;
  color: var(--muted);
  white-space: nowrap;
  flex-shrink: 0;
}
.cat-chip.active { background: var(--saffron); color: var(--white); }
.app-story-list {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 4px 10px;
  scrollbar-width: none;
}
.app-story-list::-webkit-scrollbar { display: none; }
.app-story-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(212,160,74,0.1);
}
.story-row-icon {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}
.story-row-text { flex: 1; min-width: 0; }
.story-row-text div:first-child { font-size: 8px; font-weight: 600; color: var(--night); line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.story-row-sub { font-size: 7px; color: var(--muted); margin-top: 1px; }
.story-row-dur { font-size: 7px; color: var(--muted); flex-shrink: 0; }

.hero-scroll-indicator {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  opacity: 0.4;
}
.scroll-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 2s ease-in-out infinite;
}
.scroll-line {
  width: 1px;
  height: 30px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}

/* ── Stats ──────────────────────────────────────── */
.stats-bar { padding: 40px 0; }
.stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.stat-item { text-align: center; padding: 16px 48px; }
.stat-num {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.stat-divider {
  color: rgba(212,160,74,0.2);
  font-size: 18px;
}

/* ── Categories ─────────────────────────────────── */
.cats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cat-card {
  display: block;
  background: var(--cat-bg, var(--night));
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}
.cat-card::before {
  content: '';
  position: absolute;
  top: -20px; right: -20px;
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--cat-accent);
  opacity: 0.08;
  transition: var(--transition);
}
.cat-card:hover { transform: translateY(-6px); box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.cat-card:hover::before { transform: scale(2.5); }
.cat-card-icon { font-size: 36px; margin-bottom: 12px; display: block; }
.cat-card-name { font-family: var(--font-serif); font-size: 18px; font-weight: 700; color: #F5E6C8; margin-bottom: 4px; }
.cat-card-count { font-size: 11px; color: var(--cat-accent); letter-spacing: 0.05em; margin-bottom: 6px; }
.cat-card-temples { font-size: 11px; color: rgba(245,230,200,0.4); line-height: 1.5; }
.cat-card-arrow { position: absolute; bottom: 20px; right: 20px; font-size: 20px; color: var(--cat-accent); opacity: 0.4; transition: var(--transition); }
.cat-card:hover .cat-card-arrow { opacity: 1; transform: translateX(4px); }
.cats-all-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--saffron);
  transition: var(--transition);
}
.cats-all-link:hover { color: #D4621E; }

/* ── How It Works ───────────────────────────────── */
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.how-step {
  text-align: center;
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(212,160,74,0.12);
  background: rgba(212,160,74,0.04);
  position: relative;
}
.how-num {
  font-family: var(--font-serif);
  font-size: 48px;
  font-weight: 900;
  color: rgba(212,160,74,0.1);
  position: absolute;
  top: 12px; right: 20px;
  line-height: 1;
}
.how-icon {
  font-size: 40px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
}
.how-icon-svg { display: block; flex-shrink: 0; }
.how-step h3 { font-family: var(--font-serif); font-size: 20px; color: #F5E6C8; margin-bottom: 10px; }
.how-step p { font-size: 14px; color: var(--muted); line-height: 1.75; }

/* ── Picks ──────────────────────────────────────── */
.picks-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.pick-card {
  display: flex;
  gap: 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}
.pick-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-deep); }
.pick-card-art {
  width: 90px;
  background: var(--cat-bg, var(--night));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  flex-shrink: 0;
}
.pick-card-body { padding: 20px; flex: 1; }
.pick-meta { font-size: 10px; color: var(--muted); margin-bottom: 6px; letter-spacing: 0.05em; }
.pick-card-body h3 { font-family: var(--font-serif); font-size: 16px; font-weight: 700; color: var(--night); margin-bottom: 8px; line-height: 1.3; }
.pick-card-body p { font-size: 12px; color: var(--muted); line-height: 1.65; margin-bottom: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pick-footer { display: flex; align-items: center; justify-content: space-between; }
.pick-play { font-size: 12px; font-weight: 600; color: var(--saffron); transition: var(--transition); }
.pick-play:hover { color: #D4621E; }

/* ── Why cards ──────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.why-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-deep); }
.why-icon { font-size: 32px; margin-bottom: 14px; display: block; }
.why-card h3 { font-family: var(--font-serif); font-size: 18px; color: var(--night); margin-bottom: 10px; }
.why-card p { font-size: 13px; color: var(--muted); line-height: 1.75; }

/* ── CTA Band ───────────────────────────────────── */
.cta-band { padding: 80px 0; }
.cta-band-inner { text-align: center; }
.cta-diya { font-size: 52px; display: block; margin: 0 auto 20px; width: fit-content; border-radius: 50%; padding: 8px; }
.cta-band h2 { font-family: var(--font-serif); font-size: clamp(24px, 4vw, 40px); color: #F5E6C8; margin-bottom: 12px; }
.cta-band > .container > .cta-band-inner > p { font-size: 15px; color: var(--muted); font-style: italic; }

/* ── Responsive ─────────────────────────────────── */
@media (max-width: 1024px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-phone { display: none; }
  .hero-subtitle { max-width: 100%; }
  .hero-actions, .hero-badges { justify-content: center; }
  .cats-grid { grid-template-columns: repeat(2, 1fr); }
  .how-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .picks-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .cats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat-item { padding: 12px 24px; }
  .stats-grid { gap: 0; }
  .stat-divider { display: none; }
  .why-grid { grid-template-columns: 1fr; }
}
