/* IsroPR — Modern, Human & Light Design System */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Cabinet+Grotesk:wght@700;800;900&display=swap');

:root {
  /* Surface & Canvas */
  --bg-body: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-subtle: #f1f5f9;
  --bg-card: #ffffff;
  
  /* Borders */
  --border-light: #e2e8f0;
  --border-subtle: #cbd5e1;
  --border-focus: #0f4c81;

  /* Brand Palette: Authentic Indian Space Pride */
  --isro-blue: #0f4c81;
  --isro-blue-hover: #092e50;
  --isro-blue-light: #e0f2fe;
  
  --saffron: #ff6b00;
  --saffron-light: #fff7ed;
  
  --emerald: #059669;
  --emerald-light: #ecfdf5;

  /* Real WhatsApp Web Colors */
  --wa-teal: #008069;
  --wa-teal-dark: #005c4b;
  --wa-chat-bg: #efeae2;
  --wa-user-bubble: #d9fdd3;
  --wa-bot-bubble: #ffffff;
  --wa-ticks: #53bdeb;

  /* Typography Colors */
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-dim: #94a3b8;

  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-heading: 'Plus Jakarta Sans', sans-serif;

  /* Radii & Shadows */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.05), 0 10px 25px -5px rgba(15, 23, 42, 0.04);
  --shadow-card-hover: 0 10px 30px -5px rgba(15, 23, 42, 0.08), 0 4px 6px -2px rgba(15, 23, 42, 0.02);
  --shadow-float: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);

  /* Compatibility aliases */
  --primary: var(--isro-blue);
  --primary-glow: rgba(15, 76, 129, 0.25);
  --accent-saffron: var(--saffron);
  --accent-cyan: #0284c7;
  --text-main: var(--text-primary);
  --border-glow: var(--border-light);
  --shadow-glow: var(--shadow-card);
}

html {
  scroll-behavior: auto;
}

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-body);
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* =========================================================
   1. NAVIGATION & HEADER
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.03);
  padding: 0.75rem 1.5rem;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-primary);
}

.brand-logo-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--saffron);
  box-shadow: 0 2px 10px rgba(255, 107, 0, 0.35);
  flex-shrink: 0;
  background: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.brand-logo:hover .brand-logo-avatar {
  transform: rotate(-6deg) scale(1.12);
  box-shadow: 0 4px 16px rgba(255, 107, 0, 0.55);
}

.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-mascot-badge {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  padding: 3.5px;
  background: linear-gradient(135deg, var(--saffron) 0%, #0284c7 100%);
  box-shadow: 0 0 28px rgba(255, 107, 0, 0.45);
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
  cursor: pointer;
}

.hero-mascot-badge:hover {
  transform: scale(1.1) rotate(4deg);
  box-shadow: 0 0 38px rgba(255, 107, 0, 0.7);
}

.hero-mascot-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  background: #0f172a;
}

.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--saffron), var(--isro-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #fff;
  box-shadow: 0 2px 8px rgba(255, 107, 0, 0.25);
}

.brand-text {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--isro-blue);
}

.brand-badge {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-full);
  background: var(--saffron-light);
  color: var(--saffron);
  border: 1px solid #fed7aa;
  margin-left: 0.35rem;
  letter-spacing: 0.04em;
}

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

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0.42rem 0.9rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  position: relative;
}

.nav-link:hover {
  color: var(--isro-blue);
  background: rgba(15, 76, 129, 0.08);
}

.nav-link.active {
  color: #ffffff !important;
  background: var(--isro-blue) !important;
  font-weight: 700;
  box-shadow: 0 3px 10px rgba(15, 76, 129, 0.25);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

/* Language Selector Dropdown */
.lang-select-wrapper {
  position: relative;
}

.lang-select {
  appearance: none;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 0.45rem 2rem 0.45rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  background-image: url("data:image/svg+xml;utf8,<svg fill='%2364748b' height='16' viewBox='0 0 24 24' width='16' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0.6rem center;
}

.lang-select:focus {
  border-color: var(--isro-blue);
  box-shadow: 0 0 0 3px rgba(15, 76, 129, 0.15);
}

/* =========================================================
   2. HERO SECTION
   ========================================================= */
.hero {
  padding: 3.5rem 1.5rem 2.5rem;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  background: var(--saffron-light);
  border: 1px solid #fed7aa;
  color: #c2410c;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  letter-spacing: 0.01em;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.hero-title span {
  color: var(--isro-blue);
}

.hero-subtitle {
  color: var(--text-secondary);
  font-size: 1.12rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  font-weight: 450;
}

/* =========================================================
   3. CATEGORY FILTERS & SEARCH
   ========================================================= */
.filter-bar {
  max-width: 1200px;
  margin: 0 auto 2.25rem;
  padding: 0 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.category-tabs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
}

.cat-tab {
  background: #ffffff;
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.cat-tab:hover {
  border-color: var(--border-subtle);
  color: var(--text-primary);
  background: var(--bg-surface-subtle);
}

.cat-tab.active {
  background: var(--isro-blue);
  color: #ffffff;
  border-color: var(--isro-blue);
  box-shadow: 0 2px 8px rgba(15, 76, 129, 0.25);
}

.search-input-wrapper {
  position: relative;
  min-width: 260px;
  flex-grow: 1;
  max-width: 360px;
}

.search-input {
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--border-light);
  color: var(--text-primary);
  padding: 0.6rem 1rem 0.6rem 2.4rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  outline: none;
  transition: all 0.2s ease;
}

.search-input:focus {
  border-color: var(--isro-blue);
  box-shadow: 0 0 0 3px rgba(15, 76, 129, 0.12);
}

.search-icon {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  pointer-events: none;
}

/* Primary Global Buttons */
.btn-primary {
  background: var(--isro-blue);
  color: #ffffff;
  border: none;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-primary:hover {
  background: var(--isro-blue-hover);
}

.btn-secondary {
  background: #ffffff;
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-secondary:hover {
  background: var(--bg-surface-subtle);
}

/* =========================================================
   5. REAL WHATSAPP WEB STYLE CHAT INTERFACE
   ========================================================= */
.chat-page-bg {
  background-color: #d1d7db;
  min-height: calc(100vh - 70px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1rem;
}

.wa-container {
  width: 100%;
  max-width: 900px;
  height: 85vh;
  min-height: 600px;
  background: #ffffff;
  box-shadow: 0 17px 50px 0 rgba(11,20,26,.19), 0 12px 15px 0 rgba(11,20,26,.24);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-sm);
}

.wa-header {
  background: #f0f2f5;
  border-bottom: 1px solid #d1d7db;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wa-profile {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.wa-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--saffron), var(--isro-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: #fff;
  flex-shrink: 0;
}

.wa-title {
  font-weight: 700;
  font-size: 1rem;
  color: #111b21;
}

.wa-status {
  font-size: 0.8rem;
  color: #008069;
  font-weight: 500;
}

.wa-chat-area {
  flex-grow: 1;
  overflow-y: auto;
  padding: 1.5rem 2rem;
  background-color: var(--wa-chat-bg);
  background-image: radial-gradient(rgba(0, 0, 0, 0.04) 1px, transparent 1px);
  background-size: 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.wa-msg-row {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  max-width: 75%;
}

.wa-user {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.wa-bot {
  align-self: flex-start;
}

.wa-bubble {
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  font-size: 0.92rem;
  line-height: 1.45;
  position: relative;
  box-shadow: 0 1px 0.5px rgba(11,20,26,.13);
}

.wa-bubble-user {
  background: var(--wa-user-bubble);
  color: #111b21;
  border-top-right-radius: 0;
}

.wa-bubble-bot {
  background: var(--wa-bot-bubble);
  color: #111b21;
  border-top-left-radius: 0;
}

.wa-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.25rem;
  font-size: 0.68rem;
  color: #667781;
  margin-top: 0.25rem;
}

.wa-ticks {
  color: var(--wa-ticks);
  font-weight: 700;
  letter-spacing: -2px;
}

/* WhatsApp Voice Note Bubble */
.wa-voice-bubble,
.wa-voice-note {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 260px;
  max-width: 330px;
  padding: 0.35rem 0.2rem;
}

.wa-play-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #00a884;
  color: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.15s, background-color 0.15s;
}

.wa-play-btn:hover {
  background: #05cd9c;
  transform: scale(1.05);
}

.wa-waveform-container {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.wa-bars-row {
  display: flex;
  align-items: center;
  gap: 2.5px;
  height: 22px;
  cursor: pointer;
}

.wa-bar {
  flex: 1;
  background: #8696a0;
  border-radius: 2px;
  transition: background-color 0.1s ease;
}

.wa-bar.played {
  background: #00a884;
}

.wa-voice-meta,
.wa-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  color: #667781;
  font-family: monospace;
}

/* WhatsApp Composer Bar */
.wa-composer {
  background: #f0f2f5;
  border-top: 1px solid #d1d7db;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
}

.wa-input {
  flex-grow: 1;
  background: #ffffff;
  border: 1px solid #d1d7db;
  color: #111b21;
  padding: 0.65rem 1.15rem;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.15s;
}

.wa-input:focus {
  border-color: #00a884;
}

.wa-btn-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: none;
  color: #54656f;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}

.wa-btn-icon:hover {
  background: rgba(0, 0, 0, 0.05);
  color: #111b21;
}

.wa-btn-send {
  background: #00a884;
  color: #ffffff;
}

.wa-btn-send:hover {
  background: #008069;
  color: #ffffff;
}

.wa-btn-mic.recording {
  background: #ef4444;
  color: #ffffff;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.wa-recording-banner {
  display: none;
  position: absolute;
  top: -36px;
  left: 50%;
  transform: translateX(-50%);
  background: #dc2626;
  color: #fff;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-md);
}

.rec-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffffff;
  display: inline-block;
  animation: pulse-dot 1s infinite alternate;
}

@keyframes pulse-dot {
  from { opacity: 0.35; transform: scale(0.85); }
  to { opacity: 1; transform: scale(1.15); }
}

.msg-sources {
  margin-top: 0.5rem;
  padding-top: 0.4rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.source-chip {
  font-size: 0.72rem;
  background: var(--isro-blue-light);
  color: var(--isro-blue);
  border: 1px solid #bae6fd;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  font-weight: 600;
}

/* Floating Space Chat Launcher */
.chat-launcher {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-full);
  background: var(--isro-blue);
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 4px 16px rgba(15, 76, 129, 0.3);
  transition: all 0.25s ease;
}

.chat-launcher:hover {
  transform: translateY(-2px);
  background: var(--isro-blue-hover);
  box-shadow: 0 6px 20px rgba(15, 76, 129, 0.45);
}

.chat-launcher-badge {
  width: 9px;
  height: 9px;
  background: var(--saffron);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--saffron);
}

/* Footer */
.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--border-light);
  background: #ffffff;
  padding: 2.5rem 1.5rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.site-footer a {
  color: var(--isro-blue);
  text-decoration: none;
  font-weight: 600;
}

.site-footer a:hover {
  text-decoration: underline;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 4rem 1.5rem;
  color: var(--text-muted);
}

.empty-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.7;
}

@media (max-width: 768px) {
  .site-header {
    padding: 0.6rem 0.85rem 0.5rem;
  }
  .header-container {
    flex-wrap: wrap;
    row-gap: 0.45rem;
  }
  .brand-logo {
    order: 1;
  }
  .header-actions {
    order: 2;
    margin-left: auto;
  }
  .header-container > nav,
  nav[aria-label="Main Navigation"] {
    order: 3;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0.1rem 0;
  }
  .header-container > nav::-webkit-scrollbar,
  nav[aria-label="Main Navigation"]::-webkit-scrollbar {
    display: none;
  }
  .nav-links {
    display: flex !important;
    gap: 0.4rem;
    white-space: nowrap;
    width: max-content;
    padding-bottom: 2px;
  }
  .nav-link {
    font-size: 0.82rem;
    padding: 0.38rem 0.85rem;
    background: #f8fafc;
    border: 1px solid var(--border-light);
    border-radius: 9999px;
    color: var(--text-secondary);
    white-space: nowrap;
    transition: all 0.2s ease;
  }
  .nav-link:hover {
    color: var(--isro-blue);
    background: #f1f5f9;
  }
  .nav-link.active {
    color: #ffffff !important;
    background: var(--isro-blue) !important;
    border-color: var(--isro-blue) !important;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(15, 76, 129, 0.25);
  }
  .hero {
    padding: 2rem 1rem 1.5rem;
  }
  .stories-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   SPOTIFY-STYLE GLOBAL AUDIO SYSTEM & CREATIVE CONTROLS
   ========================================================= */

/* Body spacer when persistent player bar is mounted */
body.has-spotify-bar {
  padding-bottom: 84px !important;
}

body.has-spotify-bar .chat-launcher {
  bottom: 5.75rem !important;
}

/* Hide floating bar on dedicated podcast episode page to prevent control overlap */
body:has(#player-content) #spotify-player-bar {
  display: none !important;
}

body:has(#player-content) {
  padding-bottom: 2.5rem !important;
}

/* 1. Small & Creative Card Play FAB */
.card-play-fab {
  position: absolute;
  bottom: 0.85rem;
  right: 0.85rem;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  background: var(--isro-blue);
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(15, 76, 129, 0.35);
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 5;
}

.card-play-fab:hover {
  transform: scale(1.12);
  background: var(--saffron);
  box-shadow: 0 6px 18px rgba(255, 107, 0, 0.45);
  border-color: #ffffff;
}

.card-play-fab:active {
  transform: scale(0.96);
}

.card-play-fab .icon-play {
  display: block;
  margin-left: 2px;
}

.card-play-fab .icon-pause {
  display: none;
}

.card-play-fab .sp-equalizer-bars {
  display: none;
}

.card-play-fab.playing {
  background: #008069;
  border-color: #25d366;
  box-shadow: 0 0 16px rgba(37, 211, 102, 0.5);
  animation: fabPulse 2s infinite ease-in-out;
}

.card-play-fab.playing .icon-play {
  display: none;
}

.card-play-fab.playing .icon-pause {
  display: none;
}

.card-play-fab.playing .sp-equalizer-bars {
  display: inline-flex;
}

@keyframes fabPulse {
  0%, 100% { box-shadow: 0 0 14px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 0 22px rgba(37, 211, 102, 0.7); }
}

/* 2. Instant Listen Pill Button on Cards */
.btn-listen-instant {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--isro-blue-light);
  color: var(--isro-blue);
  border: 1px solid #bae6fd;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.42rem 0.95rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-listen-instant:hover {
  background: var(--isro-blue);
  color: #ffffff;
  border-color: var(--isro-blue);
  transform: translateY(-1px);
}

.btn-listen-instant.playing {
  background: #008069;
  color: #ffffff;
  border-color: #008069;
}

.btn-listen-instant.playing .icon-play {
  display: none;
}

.btn-listen-instant.playing .sp-equalizer-bars {
  display: inline-flex;
}

/* 3. Small Animated Equalizer Bars */
.sp-equalizer-bars {
  display: none;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
}

.sp-equalizer-bars span {
  width: 2.5px;
  height: 100%;
  background: currentColor;
  border-radius: 2px;
  animation: spBarWave 0.9s ease-in-out infinite alternate;
}

.sp-equalizer-bars span:nth-child(1) {
  animation-delay: 0s;
  height: 40%;
}
.sp-equalizer-bars span:nth-child(2) {
  animation-delay: 0.25s;
  height: 90%;
}
.sp-equalizer-bars span:nth-child(3) {
  animation-delay: 0.5s;
  height: 60%;
}

@keyframes spBarWave {
  0% { height: 25%; }
  100% { height: 100%; }
}

/* 4. Persistent Bottom Spotify Player Bar */
.spotify-player-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 74px;
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
}

/* Left: Track Info */
.sp-track-info {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: 28%;
  min-width: 200px;
}

.sp-thumb-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--saffron), var(--isro-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.sp-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sp-thumb-fallback {
  font-size: 1.35rem;
}

.sp-meta {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.sp-title {
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.01em;
}

.sp-title:hover {
  text-decoration: underline;
  color: #38bdf8;
}

.sp-subtitle {
  color: #94a3b8;
  font-size: 0.72rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sp-equalizer {
  display: none;
  align-items: flex-end;
  gap: 2px;
  height: 14px;
  margin-left: 0.25rem;
  flex-shrink: 0;
}

.sp-equalizer span {
  width: 2.5px;
  height: 100%;
  background: #22c55e;
  border-radius: 2px;
  animation: spBarWave 0.8s ease-in-out infinite alternate;
}
.sp-equalizer span:nth-child(1) { animation-delay: 0.1s; }
.sp-equalizer span:nth-child(2) { animation-delay: 0.3s; }
.sp-equalizer span:nth-child(3) { animation-delay: 0.2s; }

/* Center: Controls & Timeline */
.sp-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  width: 44%;
  max-width: 540px;
}

.sp-controls {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.sp-ctrl-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.sp-ctrl-btn:hover {
  color: #ffffff;
  transform: scale(1.12);
}

.sp-play-main {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  color: #0f172a;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(255, 255, 255, 0.25);
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sp-play-main:hover {
  transform: scale(1.08);
  background: #f8fafc;
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.45);
}

.sp-timeline {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
}

.sp-time {
  font-family: monospace;
  font-size: 0.72rem;
  color: #94a3b8;
  font-weight: 600;
  min-width: 32px;
}

.sp-slider-wrap {
  flex-grow: 1;
  display: flex;
  align-items: center;
}

.sp-seek-slider {
  width: 100%;
  height: 4px;
  border-radius: var(--radius-full);
  accent-color: #38bdf8;
  cursor: pointer;
}

/* Right: Speed & Full Story Expand */
.sp-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.85rem;
  width: 28%;
}

.sp-speed-pill {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #f1f5f9;
  font-size: 0.76rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  padding: 0.25rem 0.65rem;
  cursor: pointer;
  transition: all 0.2s;
}

.sp-speed-pill:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  border-color: #38bdf8;
}

.sp-expand-link {
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem;
  border-radius: 50%;
  transition: all 0.2s;
}

.sp-expand-link:hover {
  color: #ffffff;
  transform: scale(1.1);
}

/* 5. Spotify-Style Story Podcast View Layout */
.spotify-podcast-hero {
  max-width: 760px;
  margin: 1.5rem auto 3rem;
  padding: 2.25rem;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 24px;
  box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.podcast-ambient-glow {
  display: none;
}

.podcast-cover-box {
  width: 280px;
  height: 280px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(15, 23, 42, 0.12), 0 0 0 1px #e2e8f0;
  margin-bottom: 1.75rem;
  position: relative;
  z-index: 2;
  background: #000000;
  transition: transform 0.25s ease;
}

.podcast-cover-box:hover {
  transform: scale(1.02);
}

.podcast-cover-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.podcast-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1rem;
  z-index: 2;
}

.podcast-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.03em;
}

.podcast-badge-primary {
  background: var(--isro-blue-light);
  color: var(--isro-blue);
  border: 1px solid #bae6fd;
}

.podcast-badge-saffron {
  background: var(--saffron-light);
  color: var(--saffron);
  border: 1px solid #fed7aa;
}

.podcast-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-primary);
  margin-bottom: 0.85rem;
  letter-spacing: -0.02em;
  z-index: 2;
}

.podcast-summary {
  color: var(--text-secondary);
  font-size: 1.02rem;
  line-height: 1.6;
  max-width: 600px;
  margin-bottom: 2rem;
  z-index: 2;
}

/* Large Spotlight Controls inside Podcast View */
.podcast-player-dock {
  width: 100%;
  max-width: 580px;
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: 18px;
  padding: 1.5rem 1.75rem;
  margin-bottom: 1.5rem;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.podcast-controls-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
}

.btn-podcast-main {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--isro-blue);
  color: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(15, 76, 129, 0.35);
  transition: all 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-podcast-main:hover {
  background: var(--isro-blue-hover);
  transform: scale(1.08);
  box-shadow: 0 8px 24px rgba(15, 76, 129, 0.45);
}

.btn-podcast-main:active {
  transform: scale(0.95);
}

.btn-podcast-sec {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-podcast-sec:hover {
  color: var(--isro-blue);
  border-color: var(--isro-blue);
  transform: translateY(-1px);
  background: #f1f5f9;
}

.podcast-timeline {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
}

.podcast-time {
  font-family: monospace;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 700;
  min-width: 34px;
}

.podcast-slider {
  flex-grow: 1;
  height: 6px;
  border-radius: var(--radius-full);
  accent-color: var(--isro-blue);
  cursor: pointer;
}

.podcast-actions-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 580px;
  padding: 0.5rem 0.25rem;
  z-index: 2;
}

@media (max-width: 600px) {
  .spotify-player-bar {
    padding: 0 0.85rem;
    height: 70px;
  }
  .sp-track-info {
    width: 45%;
    min-width: 130px;
  }
  .sp-center {
    width: 45%;
  }
  .sp-right {
    display: none;
  }
  .sp-timeline {
    display: none;
  }
  .podcast-cover-box {
    width: 180px;
    height: 180px;
  }
  .spotify-podcast-hero {
    padding: 1.5rem 1rem;
  }
}

/* =========================================================
   MONUMENTAL SPOTLIGHT HERO & CRAZY CREATIVE LANDING PAGE
   ========================================================= */

.landing-main-wrap {
  overflow-x: hidden;
  width: 100%;
}

/* 1. Spotlight Hero */
.hero-spotlight {
  position: relative;
  padding: 5rem 1.5rem 3.5rem;
  text-align: center;
  overflow: hidden;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
}

.hero-spotlight::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(15, 76, 129, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 76, 129, 0.035) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.spotlight-aurora {
  display: none;
}

.spotlight-content {
  position: relative;
  z-index: 2;
  max-width: 1160px;
  margin: 0 auto;
}

/* MONUMENTAL SPOTLIGHT TITLE: IsroPR (Strict Case-Sensitivity with Logo in 'O') */
.brand-spotlight-title {
  font-family: var(--font-heading);
  font-size: clamp(4.5rem, 13vw, 9.8rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1;
  margin: 1rem auto 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  user-select: none;
}

.title-text {
  font-size: inherit;
  font-weight: 900;
  color: #0b2f4c;
  background: none;
  -webkit-text-fill-color: #0b2f4c;
  filter: none;
}

/* Interactive 'O' in IsroPR */
.brand-spotlight-o-btn {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 0;
  margin: 0 0.03em;
  cursor: pointer;
  position: relative;
  outline: none;
  vertical-align: middle;
  transform: translateY(-0.02em);
  transition: transform 0.25s ease;
}

.brand-spotlight-o-btn:hover {
  transform: translateY(-0.02em) scale(1.04);
}

.brand-spotlight-o-btn:focus-visible {
  outline: 3px solid var(--saffron);
  outline-offset: 4px;
  border-radius: 50%;
}

.o-outer-ring {
  width: 0.85em;
  height: 0.85em;
  border-radius: 50%;
  padding: 0.06em;
  background: #0b2f4c;
  border: 2px solid var(--saffron);
  box-shadow: 0 4px 16px rgba(11, 47, 76, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.brand-spotlight-o-btn:hover .o-outer-ring {
  box-shadow: 0 6px 20px rgba(255, 107, 0, 0.35);
  border-color: #ff8533;
}

.brand-spotlight-o-btn.playing .o-outer-ring {
  border-color: #059669;
  box-shadow: 0 4px 16px rgba(5, 150, 105, 0.25);
}

.o-logo-wrap {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  background: #0f172a;
}

.o-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: filter 0.25s ease;
}

.brand-spotlight-o-btn:hover .o-logo-img {
  filter: brightness(0.8);
}

.o-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.35);
  opacity: 0;
  transition: opacity 0.25s ease;
  border-radius: 50%;
  color: #ffffff;
}

.brand-spotlight-o-btn:hover .o-play-overlay {
  opacity: 1;
}

.o-play-icon {
  width: 38%;
  height: 38%;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.7));
}

.brand-spotlight-o-btn.playing .o-play-overlay {
  opacity: 1;
  background: rgba(15, 23, 42, 0.5);
}

.brand-spotlight-o-btn.playing .o-play-icon {
  display: none;
}

.o-soundwave-bars {
  display: none;
  align-items: flex-end;
  gap: 3px;
  height: 30%;
}

.brand-spotlight-o-btn.playing .o-soundwave-bars {
  display: flex;
}

.o-soundwave-bars span {
  width: 3.5px;
  background: #25d366;
  border-radius: 2px;
  animation: oEqAnim 0.75s ease-in-out infinite alternate;
}

.o-soundwave-bars span:nth-child(1) { height: 50%; animation-delay: 0.1s; }
.o-soundwave-bars span:nth-child(2) { height: 100%; animation-delay: 0.25s; }
.o-soundwave-bars span:nth-child(3) { height: 70%; animation-delay: 0.15s; }

@keyframes oEqAnim {
  0% { transform: scaleY(0.3); }
  100% { transform: scaleY(1); }
}

/* Explore Glory of Space India Subtitle */
.spotlight-glory-tag {
  display: block;
  text-align: center;
  width: 100%;
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.6vw, 1.85rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  margin: 0.65rem auto 1rem;
  background: linear-gradient(90deg, #ff6b00 0%, #ea580c 45%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 8px rgba(255, 107, 0, 0.15));
}

.spotlight-tagline {
  font-size: clamp(1.02rem, 1.8vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 1.25rem;
  line-height: 1.55;
  font-weight: 500;
}

/* Creative Multilingual Audio Narration Highlight */
.multilingual-audio-highlight {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin: 0.25rem auto 2.25rem;
  padding: 0.85rem 1.35rem;
  background: #ffffff;
  border: 1px solid rgba(15, 76, 129, 0.12);
  border-radius: 20px;
  box-shadow: 0 4px 18px rgba(15, 76, 129, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
  max-width: 900px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.multilingual-audio-highlight:hover {
  border-color: rgba(15, 76, 129, 0.22);
  box-shadow: 0 8px 26px rgba(15, 76, 129, 0.1), 0 2px 6px rgba(0, 0, 0, 0.04);
}

.mah-header-strip {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  justify-content: center;
}

.mah-eq-icon {
  display: inline-flex;
  align-items: flex-end;
  gap: 2.5px;
  height: 14px;
}

.mah-eq-icon span {
  width: 2.5px;
  background: var(--isro-blue);
  border-radius: 2px;
  animation: mahEq 1s ease-in-out infinite alternate;
}

.mah-eq-icon span:nth-child(1) { height: 40%; animation-delay: 0.1s; }
.mah-eq-icon span:nth-child(2) { height: 100%; animation-delay: 0.3s; }
.mah-eq-icon span:nth-child(3) { height: 75%; animation-delay: 0.2s; }
.mah-eq-icon span:nth-child(4) { height: 50%; animation-delay: 0.4s; }

@keyframes mahEq {
  0% { transform: scaleY(0.35); }
  100% { transform: scaleY(1); }
}

.mah-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: #334155;
  letter-spacing: -0.01em;
}

.mah-lang-count {
  color: var(--isro-blue);
  font-weight: 800;
}

.mah-badge-live {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-full);
}

.mah-chips-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.mah-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  color: #334155;
  cursor: pointer;
  outline: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: inherit;
}

.mah-chip:hover {
  background: #ffffff;
  border-color: var(--isro-blue);
  color: var(--isro-blue);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(15, 76, 129, 0.12);
}

.mah-chip:focus-visible {
  outline: 2px solid var(--saffron);
  outline-offset: 2px;
}

.mah-chip-code {
  font-size: 0.65rem;
  font-weight: 800;
  background: #e2e8f0;
  color: #475569;
  padding: 1px 5px;
  border-radius: 4px;
  transition: all 0.2s;
}

.mah-chip-name {
  font-size: 0.86rem;
  font-weight: 600;
  color: inherit;
}

.mah-chip.active {
  background: var(--isro-blue);
  border-color: var(--isro-blue);
  color: #ffffff;
  box-shadow: 0 3px 12px rgba(15, 76, 129, 0.28);
}

.mah-chip.active .mah-chip-code {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

.mah-chip.active .mah-chip-name {
  color: #ffffff;
  font-weight: 700;
}

.hero-action-dock {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.15rem;
  flex-wrap: wrap;
}

.btn-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: none;
}

.btn-hero-primary {
  background: var(--isro-blue);
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(15, 76, 129, 0.35);
}

.btn-hero-primary:hover {
  background: var(--isro-blue-hover);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 25px rgba(15, 76, 129, 0.45);
}

.btn-hero-primary.playing {
  background: #008069;
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.5);
}

.btn-hero-primary.playing .icon-play {
  display: none;
}

.btn-hero-primary.playing .sp-equalizer-bars {
  display: inline-flex;
}

.btn-hero-secondary {
  background: #ffffff;
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

.btn-hero-secondary:hover {
  border-color: var(--isro-blue);
  color: var(--isro-blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
}

.btn-hero-outline {
  background: rgba(0, 128, 105, 0.08);
  color: #008069;
  border: 1px solid rgba(0, 128, 105, 0.3);
}

.btn-hero-outline:hover {
  background: #008069;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 128, 105, 0.3);
}

/* 2. Milestones Strip */
.milestones-strip {
  max-width: 1240px;
  margin: -1rem auto 4.5rem;
  padding: 0 1.5rem;
}

.milestones-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.milestone-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}

.milestone-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: #cbd5e1;
}

.milestone-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--saffron), var(--isro-blue));
}

.milestone-value {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 900;
  color: var(--isro-blue);
  line-height: 1;
  margin-bottom: 0.45rem;
  letter-spacing: -0.03em;
}

.milestone-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.milestone-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* 3. Section Headers */
.section-header-box {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 2.5rem;
  padding: 0 1.5rem;
}

.section-tag-pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--isro-blue);
  background: var(--isro-blue-light);
  border: 1px solid #bae6fd;
  padding: 0.25rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.85rem;
}

.section-heading {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.6vw, 2.85rem);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.section-subheading {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* =========================================================
   HIGHLIGHT: AUDIO STORIES SECTION & ATTENTION-CATCHING CARDS
   ========================================================= */
.audio-stories-section {
  padding: 2.5rem 1.5rem 5.5rem;
  max-width: 1280px;
  margin: 0 auto;
  scroll-margin-top: 80px;
}

/* Controls Bar: Category Tabs & Instant Search */
.stories-controls-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 2.75rem;
  padding: 0.5rem 0;
}

.stories-tabs-row {
  display: flex;
  gap: 0.65rem;
  overflow-x: auto;
  padding-bottom: 0.35rem;
  scrollbar-width: none;
}

.stories-tabs-row::-webkit-scrollbar {
  display: none;
}

.cat-tab {
  padding: 0.55rem 1.35rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
  background: #ffffff;
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.cat-tab:hover {
  background: var(--bg-surface-subtle);
  border-color: var(--border-subtle);
  color: var(--text-primary);
  transform: translateY(-1px);
}

.cat-tab.active {
  background: var(--isro-blue);
  color: #ffffff;
  border-color: var(--isro-blue);
  box-shadow: 0 4px 14px rgba(15, 76, 129, 0.28);
}

.stories-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 280px;
  flex-grow: 1;
  max-width: 440px;
}

.stories-search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  pointer-events: none;
  font-size: 0.95rem;
}

.stories-search-input {
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--border-light);
  color: var(--text-primary);
  padding: 0.65rem 1rem 0.65rem 2.6rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  outline: none;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.stories-search-input:focus {
  border-color: var(--isro-blue);
  box-shadow: 0 0 0 3px rgba(15, 76, 129, 0.15);
}

/* Stories Grid & Attention-Catching Cards */
.stories-container {
  width: 100%;
}

.stories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 2.25rem;
  justify-content: center;
}

/* If only 1 story (e.g. Chandrayaan-3), keep it heroically centered with max width */
.stories-grid:has(> .story-card:only-child) {
  max-width: 680px;
  margin: 0 auto;
}

.story-card {
  position: relative;
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.story-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px -4px rgba(15, 23, 42, 0.12);
  border-color: #cbd5e1;
}

.story-card.playing {
  border-color: var(--isro-blue);
  box-shadow: 0 4px 20px rgba(15, 76, 129, 0.18);
}

/* Cover Image Box: Respectful authentic lunar photo framing */
.story-card-top {
  position: relative;
  height: 380px;
  overflow: hidden;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #e2e8f0;
}

.story-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.story-card-overlay {
  display: none;
}

/* Authentic ISRO Archive Telemetry Strip */
.photo-telemetry-strip {
  background: #090f1d;
  color: #e2e8f0;
  padding: 0.65rem 1.25rem;
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid #1e293b;
}

.navcam-badge {
  background: rgba(255, 107, 0, 0.2);
  color: #ff9838;
  border: 1px solid rgba(255, 107, 0, 0.4);
  font-weight: 800;
  font-size: 0.7rem;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.photo-caption-text {
  font-size: 0.76rem;
  color: #cbd5e1;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.story-top-badges {
  position: absolute;
  top: 1.15rem;
  left: 1.15rem;
  right: 1.15rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
  pointer-events: none;
}

.story-badge-cat {
  background: rgba(15, 76, 129, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.story-duration-pill {
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Card Content Area */
.story-card-content {
  padding: 1.75rem 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.story-languages-cue {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--isro-blue);
  background: var(--isro-blue-light);
  padding: 0.32rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.85rem;
  align-self: flex-start;
  border: 1px solid #bae6fd;
}

.story-card-title {
  font-family: var(--font-heading);
  font-size: 1.32rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.35;
  margin-bottom: 0.75rem;
  text-decoration: none;
  transition: color 0.2s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.story-card-title:hover {
  color: var(--isro-blue);
}

.story-card-summary {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.story-card-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid #f1f5f9;
}

.story-meta-col {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.facts-as-of {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--emerald);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.story-actions-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.btn-card-explore {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
  background: #ffffff;
  transition: all 0.22s ease;
}

.btn-card-explore:hover {
  color: var(--isro-blue);
  background: var(--isro-blue-light);
  border-color: #bae6fd;
  transform: translateX(2px);
}

/* 6. Space Chat Teaser */
.chat-teaser-section {
  padding: 4rem 1.5rem 6.5rem;
  max-width: 1140px;
  margin: 0 auto;
}

.chat-teaser-card {
  background: #0b253e;
  color: #ffffff;
  border-radius: 24px;
  padding: 3.5rem 2.5rem;
  text-align: center;
  box-shadow: 0 12px 30px rgba(11, 37, 62, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.chat-teaser-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-bottom: 1.25rem;
  color: #bae6fd;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.chat-status-dot {
  width: 8px;
  height: 8px;
  background: var(--saffron);
  border-radius: 50%;
}

.chat-teaser-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 0.85rem;
  color: #ffffff;
}

.chat-teaser-desc {
  max-width: 680px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

.chat-quick-prompts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-bottom: 2.25rem;
}

.prompt-chip {
  background: rgba(255, 255, 255, 0.08);
  color: #f1f5f9;
  font-size: 0.84rem;
  font-weight: 600;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.16);
  transition: all 0.2s;
}

.prompt-chip:hover {
  background: #ffffff;
  color: #0b253e;
  transform: translateY(-2px);
}

.btn-chat-open {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--saffron);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 800;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(255, 107, 0, 0.35);
  transition: all 0.25s;
}

.btn-chat-open:hover {
  background: #ea580c;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 0, 0.45);
}

@media (max-width: 680px) {
  .stories-grid {
    grid-template-columns: 1fr;
  }
  .story-card-top {
    height: 210px;
  }
  .stories-controls-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .stories-search-wrap {
    max-width: 100%;
  }
}

/* ============================================================
   UPCOMING / ONGOING MISSIONS SPOTLIGHT SHOWCASE
   ============================================================ */
.upcoming-missions-section {
  position: relative;
  max-width: 1160px;
  margin: -1.5rem auto 3.5rem;
  padding: 0 1.5rem;
  z-index: 10;
  scroll-margin-top: 96px;
}

.upcoming-container {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.98) 0%, rgba(15, 76, 129, 0.95) 100%);
  border-radius: 24px;
  border: 1px solid rgba(255, 107, 0, 0.35);
  box-shadow: 0 20px 45px -10px rgba(15, 76, 129, 0.25), 0 0 35px -5px rgba(255, 107, 0, 0.18);
  padding: 2.25rem;
  color: #ffffff;
  overflow: hidden;
  position: relative;
}

.upcoming-container::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(255, 107, 0, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.upcoming-badge-strip {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.live-dot-pulse {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: #ff6b00;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(255, 107, 0, 0.7);
  animation: pulse-ring 1.8s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 107, 0, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(255, 107, 0, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 107, 0, 0); }
}

.upcoming-tag {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #ffaa5a;
  text-transform: uppercase;
}

.upcoming-date-pill {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #f1f5f9;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.3px;
}

.upcoming-spotlight-card {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 2.5rem;
  align-items: center;
}

.upcoming-media-col {
  display: flex;
  justify-content: center;
  align-items: center;
}

.upcoming-img-wrapper {
  position: relative;
  width: 320px;
  height: 320px;
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.upcoming-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.4s ease;
}

.upcoming-img-wrapper:hover .upcoming-cover-img {
  transform: scale(1.03);
}

.upcoming-overlay-badge {
  position: absolute;
  bottom: 0.85rem;
  left: 0.85rem;
  right: 0.85rem;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.45rem 0.75rem;
  border-radius: 10px;
  font-size: 0.74rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #f1f5f9;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.pad-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
}

.upcoming-info-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.upcoming-meta-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 0.9rem;
}

.chip-accent {
  background: rgba(14, 165, 233, 0.15);
  border: 1px solid rgba(14, 165, 233, 0.35);
  color: #38bdf8;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  letter-spacing: 0.2px;
}

.chip-duration {
  background: rgba(255, 107, 0, 0.2);
  border: 1px solid rgba(255, 107, 0, 0.4);
  color: #ffaa5a;
  font-size: 0.74rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
}

.upcoming-mission-title {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 0.85rem;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.upcoming-mission-desc {
  font-size: 0.95rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin: 0 0 1.5rem;
}

.upcoming-action-dock {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-upcoming-play {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: linear-gradient(135deg, #ff6b00 0%, #ea580c 100%);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-full);
  padding: 0.85rem 1.65rem;
  font-family: var(--font-heading);
  font-size: 0.94rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(255, 107, 0, 0.4);
  transition: all 0.25s ease;
}

.btn-upcoming-play .sp-equalizer-bars {
  display: none;
}

.btn-upcoming-play:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255, 107, 0, 0.55);
}

.btn-upcoming-play.playing {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.4);
}

.btn-upcoming-play.playing .icon-play {
  display: none;
}

.btn-upcoming-play.playing .sp-equalizer-bars {
  display: inline-flex;
}

.btn-upcoming-details {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-full);
  padding: 0.85rem 1.45rem;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-upcoming-details:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.cat-tab-upcoming {
  border-color: rgba(255, 107, 0, 0.4) !important;
  color: #ea580c !important;
}

.cat-tab-upcoming.active {
  background: linear-gradient(135deg, #ff6b00 0%, #ea580c 100%) !important;
  color: #ffffff !important;
  border-color: transparent !important;
}

.cat-tab-upcoming .live-dot-pulse {
  width: 7px;
  height: 7px;
  margin-right: 0.4rem;
  vertical-align: middle;
}

.story-card.card-upcoming-highlight {
  border: 2px solid rgba(255, 107, 0, 0.35);
  box-shadow: 0 10px 30px -4px rgba(255, 107, 0, 0.15);
}

.story-card.card-upcoming-highlight:hover {
  border-color: rgba(255, 107, 0, 0.65);
  box-shadow: 0 16px 36px -4px rgba(255, 107, 0, 0.25);
}

.telemetry-upcoming {
  background: linear-gradient(90deg, #1e293b 0%, #0f172a 100%) !important;
  border-bottom: 1px solid rgba(255, 107, 0, 0.25) !important;
}

.badge-live {
  background: #ff6b00 !important;
  color: #ffffff !important;
  font-weight: 800 !important;
}

/* ============================================================
   MINI TOP PROGRESS BAR ON DOCKED PLAYER
   ============================================================ */
.sp-mini-progress-track {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2.5px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  z-index: 10;
}

.sp-mini-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #ff6b00 0%, #38bdf8 100%);
  transition: width 0.15s linear;
}

/* ============================================================
   QUICK MISSION STATIONS STRIP (Native App / Streaming Style)
   ============================================================ */
.quick-stations-section {
  max-width: 1160px;
  margin: -1rem auto 2.5rem;
  padding: 0 1.5rem;
}

.quick-stations-scroll {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.station-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 1rem;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.7) 0%, rgba(30, 41, 59, 0.7) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  cursor: pointer;
  text-align: left;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.station-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 107, 0, 0.45);
  box-shadow: 0 8px 24px -4px rgba(255, 107, 0, 0.2);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(30, 41, 59, 0.85) 100%);
}

.station-card.playing {
  border-color: #ff6b00;
  box-shadow: 0 0 20px -2px rgba(255, 107, 0, 0.35);
  background: linear-gradient(135deg, rgba(255, 107, 0, 0.15) 0%, rgba(15, 23, 42, 0.9) 100%);
}

.station-icon-wrap {
  position: relative;
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.station-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.station-ai-icon {
  background: linear-gradient(135deg, #0284c7 0%, #0f4c81 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.station-play-badge {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
  color: #ffffff;
}

.station-play-badge svg {
  width: 18px;
  height: 18px;
}

.station-card:hover .station-play-badge,
.station-card.playing .station-play-badge {
  opacity: 1;
}

.station-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.station-title {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.station-sub {
  font-size: 0.74rem;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 0.15rem;
}

/* ============================================================
   TRENDING MISSIONS SHELF (Horizontal Swipe on Phone)
   ============================================================ */
.trending-shelf-section {
  max-width: 1160px;
  margin: 0 auto 3.5rem;
  padding: 0 1.5rem;
  scroll-margin-top: 96px;
}

.shelf-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.shelf-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.shelf-badge {
  font-family: var(--font-heading);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #ffaa5a;
  text-transform: uppercase;
}

.shelf-heading {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.2;
}

.shelf-scroll-cue {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
}

.trending-shelf-scroll {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.shelf-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 18px;
  padding: 0.85rem;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.shelf-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(255, 107, 0, 0.35);
}

.shelf-card.playing {
  border-color: #ff6b00;
  box-shadow: 0 8px 24px rgba(255, 107, 0, 0.2);
}

.shelf-card-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 0.85rem;
  background: #0f172a;
}

.shelf-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.shelf-card:hover .shelf-card-thumb img {
  transform: scale(1.05);
}

.shelf-duration-tag {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.shelf-tag-accent {
  background: rgba(255, 107, 0, 0.9);
  color: #ffffff;
}

.shelf-play-fab {
  position: absolute;
  bottom: 0.6rem;
  right: 0.6rem;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: #ff6b00;
  color: #ffffff;
  border: 2px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(255, 107, 0, 0.4);
  cursor: pointer;
  transition: all 0.25s ease;
  z-index: 2;
}

.shelf-play-fab:hover {
  transform: scale(1.1);
  background: #ea580c;
}

.shelf-play-fab .sp-equalizer-bars {
  display: none;
}

.shelf-play-fab.playing {
  background: #10b981;
}

.shelf-play-fab.playing .icon-play {
  display: none;
}

.shelf-play-fab.playing .sp-equalizer-bars {
  display: inline-flex;
}

.shelf-card-info {
  display: flex;
  flex-direction: column;
}

.shelf-card-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 0.25rem;
  line-height: 1.3;
}

.shelf-card-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ============================================================
   PHONE / MOBILE LAYOUT OPTIMIZATION (Streaming App Feel)
   ============================================================ */
@media (max-width: 860px) {
  /* Quick Stations horizontal swipe strip */
  .quick-stations-section {
    padding: 0 1rem;
    margin-bottom: 2rem;
  }

  .quick-stations-scroll {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.35rem;
  }

  .quick-stations-scroll::-webkit-scrollbar {
    display: none;
  }

  .station-card {
    flex: 0 0 200px;
    scroll-snap-align: start;
    padding: 0.65rem 0.85rem;
  }

  /* Trending Shelf Horizontal Carousel on Phone (like "Your Frequent Plays") */
  .trending-shelf-section {
    padding: 0 1rem;
    margin-bottom: 2.5rem;
  }

  .shelf-heading {
    font-size: 1.25rem;
  }

  .trending-shelf-scroll {
    display: flex;
    gap: 0.9rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.5rem;
  }

  .trending-shelf-scroll::-webkit-scrollbar {
    display: none;
  }

  .shelf-card {
    flex: 0 0 220px;
    max-width: 220px;
    scroll-snap-align: start;
    padding: 0.75rem;
  }

  .shelf-card-thumb {
    aspect-ratio: 1 / 1;
    border-radius: 14px;
  }

  /* Upcoming Showcase Banner on Phone */
  .upcoming-missions-section {
    padding: 0 1rem;
    margin-top: -0.5rem;
    margin-bottom: 2.5rem;
  }

  .upcoming-container {
    padding: 1.25rem;
    border-radius: 20px;
  }

  .upcoming-spotlight-card {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .upcoming-media-col {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .upcoming-img-wrapper {
    width: 100%;
    max-width: 280px;
    height: 280px;
    aspect-ratio: 1 / 1;
    min-height: auto;
    margin: 0 auto;
    border-radius: 18px;
  }

  .upcoming-mission-title {
    font-size: 1.25rem;
    line-height: 1.3;
  }

  .upcoming-mission-desc {
    font-size: 0.88rem;
    line-height: 1.5;
    margin-bottom: 1.15rem;
  }

  .upcoming-action-dock {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .btn-upcoming-play, .btn-upcoming-details {
    justify-content: center;
    width: 100%;
    padding: 0.75rem 1.25rem;
  }

  /* All Audio Stories as Compact Streaming Rows (like "Songs for You") */
  .audio-stories-section {
    padding: 0 1rem 3rem;
  }

  .stories-tabs-row {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0.5rem;
    padding-bottom: 0.5rem;
    flex-wrap: nowrap;
  }

  .stories-tabs-row::-webkit-scrollbar {
    display: none;
  }

  .cat-tab {
    flex-shrink: 0;
    scroll-snap-align: start;
    padding: 0.45rem 0.85rem;
    font-size: 0.78rem;
    white-space: nowrap;
  }

  .stories-grid {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
  }

  .story-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.9rem;
    padding: 0.75rem;
    border-radius: 14px;
  }

  .story-card-top {
    width: 72px;
    height: 72px;
    min-width: 72px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    margin: 0;
  }

  .story-top-badges {
    display: none;
  }

  .card-play-fab {
    width: 32px;
    height: 32px;
    bottom: 0.35rem;
    right: 0.35rem;
  }

  .card-play-fab svg {
    width: 14px;
    height: 14px;
  }

  .story-card-content {
    padding: 0;
    flex: 1;
    min-width: 0;
  }

  .story-card-title {
    font-size: 0.92rem;
    font-weight: 700;
    margin: 0 0 0.2rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .story-card-summary {
    display: none;
  }

  .story-languages-cue {
    font-size: 0.7rem;
    margin-bottom: 0.35rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .story-card-footer {
    border-top: none;
    padding-top: 0;
    margin-top: 0;
  }

  .story-meta-col {
    display: none;
  }

  .story-actions-row {
    width: 100%;
    justify-content: flex-start;
    gap: 0.6rem;
  }

  .btn-listen-instant {
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
    border-radius: 6px;
  }

  .btn-card-explore {
    padding: 0.35rem 0.65rem;
    font-size: 0.75rem;
  }

  /* Bottom Docked Mini Player on Mobile */
  .spotify-player-bar {
    height: 64px;
    padding: 0 0.85rem;
    background: rgba(10, 15, 29, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .sp-track-info {
    flex: 1;
    min-width: 0;
    gap: 0.65rem;
  }

  .sp-thumb-wrap {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 8px;
  }

  .sp-meta {
    min-width: 0;
  }

  .sp-title {
    font-size: 0.86rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
  }

  .sp-subtitle {
    font-size: 0.72rem;
    color: #94a3b8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
  }

  .sp-center {
    width: auto;
    margin: 0;
  }

  .sp-controls {
    gap: 0.5rem;
  }

  .sp-ctrl-btn {
    display: none;
  }

  .sp-play-main {
    width: 40px;
    height: 40px;
    min-width: 40px;
  }

  .sp-play-main svg {
    width: 18px;
    height: 18px;
  }

  .sp-timeline {
    display: none;
  }

  .sp-right {
    display: flex;
    align-items: center;
    margin-left: 0.4rem;
  }

  .sp-speed-toggle {
    display: none;
  }

  .sp-expand-link {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
  }
}

