/* ==========================================================================
   FRANCOUZKA.CZ – Design System & Styles
   Hlavní barva: #E6007E (magenta/růžová)
   Font: Outfit
   ========================================================================== */

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Colors */
  --brand: #E6007E;
  --brand-light: #FF3DA5;
  --brand-dark: #B80064;
  --brand-glow: rgba(230, 0, 126, 0.35);

  --bg-primary: #0B0B1A;
  --bg-secondary: #12122A;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-glass: rgba(255, 255, 255, 0.06);

  --text-primary: #F0F0F8;
  --text-secondary: rgba(240, 240, 248, 0.65);
  --text-muted: rgba(240, 240, 248, 0.4);

  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(230, 0, 126, 0.2);

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Typography */
  --font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-md: 1.125rem;
  --font-size-lg: 1.25rem;
  --font-size-xl: 1.5rem;
  --font-size-2xl: 2rem;
  --font-size-3xl: 2.5rem;
  --font-size-4xl: 3.5rem;
  --font-size-5xl: 4.5rem;

  /* Borders & Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 8px 48px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 40px var(--brand-glow);

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --nav-height: 72px;
  --container-max: 1200px;
  --container-narrow: 800px;

  /* Theme-aware surface colors */
  --surface-hover: rgba(255, 255, 255, 0.1);
  --surface-subtle: rgba(255, 255, 255, 0.06);
  --surface-border: rgba(255, 255, 255, 0.08);
  --surface-border-hover: rgba(255, 255, 255, 0.15);
  --player-track: rgba(255, 255, 255, 0.12);
  --player-control-bg: rgba(255, 255, 255, 0.06);
  --player-control-border: rgba(255, 255, 255, 0.1);
}

/* ---------- Light Theme ---------- */
[data-theme="light"] {
  --bg-primary: #FAFAFA;
  --bg-secondary: #F0F0F5;
  --bg-card: rgba(0, 0, 0, 0.03);
  --bg-glass: rgba(0, 0, 0, 0.04);

  --text-primary: #1A1A2E;
  --text-secondary: rgba(26, 26, 46, 0.65);
  --text-muted: rgba(26, 26, 46, 0.4);

  --border-color: rgba(0, 0, 0, 0.08);
  --border-glow: rgba(230, 0, 126, 0.15);

  --brand-light: #D4006E;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 48px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 40px rgba(230, 0, 126, 0.1);

  --surface-hover: rgba(0, 0, 0, 0.06);
  --surface-subtle: rgba(0, 0, 0, 0.04);
  --surface-border: rgba(0, 0, 0, 0.08);
  --surface-border-hover: rgba(0, 0, 0, 0.12);
  --player-track: rgba(0, 0, 0, 0.1);
  --player-control-bg: rgba(0, 0, 0, 0.04);
  --player-control-border: rgba(0, 0, 0, 0.1);
}

/* Theme transition */
html[data-theme] body,
html[data-theme] .navbar,
html[data-theme] .footer,
html[data-theme] .glass-card,
html[data-theme] .episode-compact,
html[data-theme] .custom-player {
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: var(--brand-light);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--brand);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

/* ---------- Utility ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.section {
  padding: var(--space-4xl) 0;
}

.section-title {
  font-size: var(--font-size-3xl);
  font-weight: 800;
  text-align: center;
  margin-bottom: var(--space-lg);
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--brand-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: var(--font-size-md);
  color: var(--text-secondary);
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--space-3xl);
}

.text-center {
  text-align: center;
}

.text-brand {
  color: var(--brand);
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.875rem 2rem;
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  font-weight: 600;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-light) 100%);
  color: #fff;
  box-shadow: 0 4px 20px var(--brand-glow);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--brand-glow);
  color: #fff;
}

.btn--outline {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--border-color);
  backdrop-filter: blur(8px);
}

.btn--outline:hover {
  border-color: var(--brand);
  color: var(--brand-light);
  background: rgba(230, 0, 126, 0.08);
}

.btn--glass {
  background: var(--bg-glass);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(12px);
}

.btn--glass:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--brand);
  transform: translateY(-2px);
  color: var(--text-primary);
}

.btn--sm {
  padding: 0.625rem 1.25rem;
  font-size: var(--font-size-sm);
}

.btn--lg {
  padding: 1rem 2.5rem;
  font-size: var(--font-size-md);
}

.btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ---------- Glass Card ---------- */
.glass-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: var(--space-xl);
  transition: all var(--transition-base);
}

.glass-card:hover {
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: all var(--transition-base);
}

.navbar.scrolled {
  background: rgba(11, 11, 26, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.nav-logo {
  text-decoration: none;
  z-index: 1001;
}

.logo-text {
  font-size: var(--font-size-xl);
  font-weight: 800;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
  gap: var(--space-xs);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-link {
  padding: 0.5rem 1rem;
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
}

.nav-link.active {
  color: var(--brand-light);
}

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 32px;
  position: relative;
  z-index: 1001;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-base);
  position: absolute;
  left: 4px;
}

.hamburger {
  top: 50%;
  transform: translateY(-50%);
}

.hamburger::before {
  content: '';
  top: -7px;
}

.hamburger::after {
  content: '';
  top: 7px;
}

.nav-toggle.open .hamburger {
  background: transparent;
}

.nav-toggle.open .hamburger::before {
  top: 0;
  transform: rotate(45deg);
  background: var(--brand-light);
}

.nav-toggle.open .hamburger::after {
  top: 0;
  transform: rotate(-45deg);
  background: var(--brand-light);
}

/* ---------- Hero Section ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-height) + var(--space-3xl)) var(--space-lg) var(--space-3xl);
  position: relative;
  overflow: hidden;
  background-image: url('/assets/images/hero-bg.jpg');
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    var(--bg-primary) 0%,
    var(--bg-primary) 35%,
    rgba(10, 10, 20, 0.75) 60%,
    rgba(10, 10, 20, 0.2) 100%
  );
  pointer-events: none;
  z-index: 0;
}

[data-theme="light"] .hero::before {
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 1) 30%,
    rgba(255, 255, 255, 0.92) 50%,
    rgba(255, 255, 255, 0.65) 70%,
    rgba(255, 255, 255, 0.2) 100%
  );
}

[data-theme="light"] .hero-title,
[data-theme="light"] .hero-subtitle {
  text-shadow: 0 0 30px rgba(255,255,255,0.9), 0 0 60px rgba(255,255,255,0.7);
}

.hero::after {
  display: none;
}

@keyframes heroPulse {
  0%, 100% { opacity: 0.5; transform: translateX(-50%) scale(1); }
  50% { opacity: 0.8; transform: translateX(-50%) scale(1.1); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.5rem 1.25rem;
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
  backdrop-filter: blur(8px);
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--brand);
  border-radius: 50%;
  animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 var(--brand-glow); }
  50% { opacity: 0.7; box-shadow: 0 0 0 8px transparent; }
}

.hero h1 {
  font-size: var(--font-size-5xl);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-lg);
  line-height: 1.05;
}

.hero h1 .gradient-text {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-light) 50%, #FF7EB3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
  margin-bottom: var(--space-2xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.hero-socials {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

/* ---------- Podcast Embed ---------- */
.podcast-embed {
  margin: var(--space-2xl) auto;
  max-width: 660px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.podcast-embed iframe {
  width: 100%;
  border: none;
  border-radius: var(--radius-md);
}

/* ---------- Platform Buttons ---------- */
.platforms {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.platform-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.75rem 1.5rem;
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-weight: 500;
  font-size: var(--font-size-sm);
  text-decoration: none;
  transition: all var(--transition-base);
  backdrop-filter: blur(8px);
}

.platform-btn:hover {
  border-color: var(--brand);
  background: rgba(230, 0, 126, 0.08);
  transform: translateY(-2px);
  color: var(--text-primary);
}

.platform-btn svg {
  width: 20px;
  height: 20px;
}

/* ---------- Newsletter ---------- */
.newsletter {
  text-align: center;
}

.newsletter-form {
  display: flex;
  gap: var(--space-sm);
  max-width: 480px;
  margin: 0 auto;
}

.newsletter-form input[type="email"] {
  flex: 1;
  padding: 0.875rem 1.25rem;
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  color: var(--text-primary);
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  outline: none;
  transition: all var(--transition-fast);
  backdrop-filter: blur(8px);
}

.newsletter-form input[type="email"]::placeholder {
  color: var(--text-muted);
}

.newsletter-form input[type="email"]:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-glow);
}

.newsletter-message {
  margin-top: var(--space-md);
  font-size: var(--font-size-sm);
  font-weight: 500;
  opacity: 0;
  transform: translateY(8px);
  transition: all var(--transition-base);
}

.newsletter-message.visible {
  opacity: 1;
  transform: translateY(0);
}

.newsletter-message.success {
  color: #4ade80;
}

.newsletter-message.error {
  color: #f87171;
}

/* ---------- FAQ / Accordion ---------- */
.faq-list {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.faq-item {
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-base);
}

.faq-item:hover {
  border-color: var(--border-glow);
}

.faq-question {
  width: 100%;
  padding: var(--space-lg) var(--space-xl);
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--text-primary);
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  transition: color var(--transition-fast);
}

.faq-question:hover {
  color: var(--brand-light);
}

.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  position: relative;
  transition: transform var(--transition-base);
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--brand-light);
  border-radius: 2px;
  transition: transform var(--transition-base);
}

.faq-icon::before {
  width: 16px;
  height: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-icon::after {
  width: 2px;
  height: 16px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-item.open .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow), padding var(--transition-slow);
}

.faq-answer-inner {
  padding: 0 var(--space-xl) var(--space-lg);
  color: var(--text-secondary);
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

/* ---------- Episode Card ---------- */
.episodes-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.episode-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--transition-base);
  backdrop-filter: blur(8px);
}

.episode-card:hover {
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.episode-meta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.episode-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 var(--space-sm);
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-light) 100%);
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: var(--font-size-sm);
  color: #fff;
}

.episode-date {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
}

.episode-title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.episode-desc {
  color: var(--text-secondary);
  font-size: var(--font-size-sm);
  margin-bottom: var(--space-lg);
  line-height: 1.6;
}

.episode-player {
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.episode-player iframe {
  width: 100%;
  border: none;
  border-radius: var(--radius-sm);
}

/* ---------- Lesson Card ---------- */
.lessons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.lesson-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--transition-base);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
}

.lesson-card:hover {
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}

.lesson-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-light) 100%);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
  font-size: 1.5rem;
}

.lesson-card h3 {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.lesson-card p {
  color: var(--text-secondary);
  font-size: var(--font-size-sm);
  line-height: 1.6;
  flex: 1;
  margin-bottom: var(--space-lg);
}

.lesson-card .btn {
  align-self: flex-start;
}

/* ---------- About / Bio ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-3xl);
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(230, 0, 126, 0.15) 100%);
  pointer-events: none;
}

.about-text h2 {
  font-size: var(--font-size-3xl);
  font-weight: 800;
  margin-bottom: var(--space-lg);
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--brand-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-text p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-lg);
  font-size: var(--font-size-md);
}

.about-text .highlight {
  color: var(--brand-light);
  font-weight: 500;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
}

.contact-info-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
  transition: all var(--transition-base);
}

.contact-info-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-2px);
}

.contact-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-light) 100%);
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

.contact-icon svg {
  width: 24px;
  height: 24px;
  color: #fff;
}

.contact-info-card h3 {
  font-size: var(--font-size-base);
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.contact-info-card p,
.contact-info-card a {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.form-group label {
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
  padding: 0.875rem 1.25rem;
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  color: var(--text-primary);
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  outline: none;
  transition: all var(--transition-fast);
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-glow);
}

.form-group textarea {
  min-height: 120px;
}

/* ---------- Page Header ---------- */
.page-header {
  padding: calc(var(--nav-height) + var(--space-3xl)) 0 var(--space-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--brand-glow) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0.5;
}

.page-header h1 {
  font-size: var(--font-size-4xl);
  font-weight: 800;
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--brand-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-header p {
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
  margin-top: var(--space-lg);
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

.footer-logo {
  font-size: var(--font-size-xl);
  font-weight: 800;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-tagline {
  color: var(--text-secondary);
  font-size: var(--font-size-sm);
  margin-top: var(--space-md);
  line-height: 1.6;
}

.footer-nav h4,
.footer-social h4 {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-lg);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-nav a {
  color: var(--text-secondary);
  font-size: var(--font-size-sm);
  transition: color var(--transition-fast);
}

.footer-nav a:hover {
  color: var(--brand-light);
}

.social-links {
  display: flex;
  gap: var(--space-md);
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.social-link:hover {
  color: var(--brand-light);
  border-color: var(--brand);
  background: rgba(230, 0, 126, 0.1);
  transform: translateY(-2px);
}

.footer-bottom {
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border-color);
  text-align: center;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: var(--font-size-sm);
}

/* ---------- Decorative Elements ---------- */
.bg-grid {
  display: none;
}

/* ---------- Episode Detail ---------- */
.episode-back {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--text-secondary);
  font-size: var(--font-size-sm);
  font-weight: 500;
  margin-bottom: var(--space-xl);
  transition: color var(--transition-fast);
  position: relative;
  z-index: 1;
}

.episode-back:hover {
  color: var(--brand-light);
}

.episode-detail-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  position: relative;
  z-index: 1;
}

.episode-duration {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
}

.episode-link {
  display: inline-block;
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--brand-light);
  transition: color var(--transition-fast);
}

.episode-card:hover .episode-link {
  color: var(--brand);
}

.episode-content {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: var(--font-size-md);
}

.episode-content h2 {
  font-size: var(--font-size-xl);
  color: var(--text-primary);
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
}

.episode-content h3 {
  font-size: var(--font-size-lg);
  color: var(--text-primary);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
}

.episode-content p {
  margin-bottom: var(--space-md);
}

.episode-content ul,
.episode-content ol {
  margin-bottom: var(--space-md);
  padding-left: var(--space-xl);
}

.episode-content li {
  margin-bottom: var(--space-sm);
  list-style: disc;
}

.episode-content ol li {
  list-style: decimal;
}

.episode-content table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-lg) 0;
  background: var(--bg-glass);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.episode-content th,
.episode-content td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.episode-content th {
  font-weight: 600;
  color: var(--text-primary);
  background: rgba(230, 0, 126, 0.08);
}

.episode-content blockquote {
  border-left: 3px solid var(--brand);
  padding: var(--space-md) var(--space-lg);
  margin: var(--space-lg) 0;
  background: var(--bg-glass);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text-secondary);
}

.episode-content strong {
  color: var(--text-primary);
  font-weight: 600;
}

.episode-content em {
  color: var(--brand-light);
}

/* Video Embed */
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Episode Navigation */
.episode-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  padding-top: var(--space-2xl);
  border-top: 1px solid var(--border-color);
}

.episode-nav-link {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  padding: var(--space-lg);
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all var(--transition-base);
}

.episode-nav-link:hover {
  border-color: var(--brand);
  transform: translateY(-2px);
}

.episode-nav-link.next {
  text-align: right;
}

.episode-nav-label {
  font-size: var(--font-size-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.episode-nav-title {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--text-primary);
}

/* ---------- Lesson Features ---------- */
.lesson-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}

.lesson-features li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
}

.lesson-features li svg {
  flex-shrink: 0;
}

/* ---------- Featured Episode ---------- */
.featured-episode {
  padding: var(--space-2xl);
  position: relative;
  overflow: hidden;
}

.featured-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-light) 100%);
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-lg);
}

.episode-series {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  background: rgba(230, 0, 126, 0.12);
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  font-weight: 500;
  color: var(--brand-light);
}

/* ---------- Custom Audio Player ---------- */
.custom-player {
  background: linear-gradient(135deg, rgba(20, 20, 35, 0.95) 0%, rgba(30, 15, 40, 0.95) 100%);
  border: 1px solid rgba(230, 0, 126, 0.2);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: 0 8px 32px rgba(230, 0, 126, 0.08), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
}

.player-main {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.player-play {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-light) 100%);
  color: #fff;
  cursor: pointer;
  flex-shrink: 0;
  transition: all var(--transition-base);
  box-shadow: 0 4px 20px rgba(230, 0, 126, 0.3);
  padding-left: 3px;
}

.player-play:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(230, 0, 126, 0.45);
}

.player-play.playing {
  animation: pulse-glow 2s ease-in-out infinite;
  padding-left: 0;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 4px 20px rgba(230, 0, 126, 0.3); }
  50% { box-shadow: 0 4px 30px rgba(230, 0, 126, 0.55), 0 0 60px rgba(230, 0, 126, 0.15); }
}

.player-body {
  flex: 1;
  min-width: 0;
}

.player-info {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: var(--space-sm);
  gap: var(--space-md);
}

.player-title {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player-time {
  font-size: var(--font-size-xs);
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Progress bar */
.player-progress {
  position: relative;
  height: 6px;
  cursor: pointer;
  border-radius: 3px;
  overflow: visible;
}

.player-progress:hover {
  height: 8px;
}

.player-progress-bg {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 3px;
}

.player-progress-buffered {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 0;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 3px;
  transition: width 0.3s ease;
}

.player-progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 0;
  background: linear-gradient(90deg, var(--brand) 0%, var(--brand-light) 100%);
  border-radius: 3px;
  transition: width 0.1s linear;
}

.player-progress-thumb {
  position: absolute;
  top: 50%;
  left: 0;
  width: 14px;
  height: 14px;
  background: #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform var(--transition-fast);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.player-progress:hover .player-progress-thumb,
.custom-player:focus-within .player-progress-thumb {
  transform: translate(-50%, -50%) scale(1);
}

/* Controls row */
.player-controls {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.player-skip {
  display: flex;
  align-items: center;
  gap: 2px;
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  overflow: visible;
}

.player-skip svg {
  overflow: visible;
  flex-shrink: 0;
}

.player-skip:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
}

.player-speed {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: var(--font-size-xs);
  font-weight: 600;
  padding: 0.3rem 0.5rem;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.player-speed:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

.player-volume {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  margin-left: auto;
}

.player-vol-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: var(--space-xs);
  border-radius: var(--radius-sm);
  display: flex;
  transition: all var(--transition-fast);
}

.player-vol-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
}

.player-volume-slider {
  width: 80px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: linear-gradient(to right, var(--brand-light) 0%, var(--brand-light) 100%, rgba(255, 255, 255, 0.12) 100%);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}

.player-volume-slider::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 2px;
}

.player-volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  background: var(--brand-light);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  margin-top: -4px;
}

.player-volume-slider::-moz-range-track {
  height: 4px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 2px;
}

.player-volume-slider::-moz-range-progress {
  height: 4px;
  background: var(--brand-light);
  border-radius: 2px;
}

.player-volume-slider::-moz-range-thumb {
  width: 12px;
  height: 12px;
  background: var(--brand-light);
  border-radius: 50%;
  border: none;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* Simple fallback for podcast page */
.audio-player {
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: var(--space-md);
}

.audio-player audio {
  width: 100%;
  height: 40px;
  border-radius: var(--radius-sm);
}

/* ---------- Compact Episode List ---------- */
.episodes-compact-grid {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.episode-compact {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  padding: var(--space-lg) var(--space-xl);
  background: var(--bg-secondary);
  transition: all var(--transition-base);
  color: inherit;
}

.episode-compact:hover {
  background: rgba(230, 0, 126, 0.04);
}

.episode-compact-number {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 var(--space-sm);
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-light) 100%);
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: var(--font-size-sm);
  color: #fff;
  flex-shrink: 0;
}

.episode-compact-body {
  flex: 1;
  min-width: 0;
}

.episode-compact-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-md);
  margin-bottom: var(--space-xs);
}

.episode-compact-top h3 {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.episode-compact-date {
  font-size: var(--font-size-xs);
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
}

.episode-compact-body p {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.episode-compact-footer {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-top: var(--space-xs);
}

.episode-compact-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  margin-left: var(--space-sm);
}

.episode-platform-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--surface-subtle);
  border: 1px solid var(--surface-border);
  color: var(--text-muted);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.episode-platform-link:hover {
  background: var(--surface-hover);
  color: var(--brand-light);
  border-color: var(--surface-border-hover);
  transform: scale(1.1);
}

.episode-detail-link:hover {
  background: var(--brand);
  color: white;
  border-color: var(--brand);
}

/* ---------- Theme Toggle ---------- */
.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  z-index: 1001;
}

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface-subtle);
  border: 1px solid var(--surface-border);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
  margin-left: var(--space-sm);
}

.theme-toggle:hover {
  background: var(--surface-hover);
  color: var(--brand-light);
  border-color: var(--surface-border-hover);
}

.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
  width: 18px;
  height: 18px;
}

/* Dark mode: show sun icon (to switch to light) */
.theme-toggle .icon-sun { display: block; }
.theme-toggle .icon-moon { display: none; }

/* Light mode: show moon icon (to switch to dark) */
[data-theme="light"] .theme-toggle .icon-sun { display: none; }
[data-theme="light"] .theme-toggle .icon-moon { display: block; }

/* ---------- Light Mode Overrides ---------- */
[data-theme="light"] .navbar.scrolled {
  background: rgba(250, 250, 250, 0.9);
}

[data-theme="light"] .bg-grid {
  background-image:
    linear-gradient(rgba(0,0,0,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.03) 1px, transparent 1px);
}

[data-theme="light"] .page-header::before {
  opacity: 0.15;
}


[data-theme="light"] .glass-card {
  background: rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-sm);
}

[data-theme="light"] .glass-card:hover {
  background: rgba(255, 255, 255, 0.85);
}

[data-theme="light"] .episode-compact {
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .episode-compact:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: var(--brand);
}

[data-theme="light"] .custom-player {
  background: linear-gradient(145deg, rgba(0, 0, 0, 0.03) 0%, rgba(0, 0, 0, 0.06) 100%);
  border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .player-progress-bg {
  background: rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .player-progress-buffered {
  background: rgba(0, 0, 0, 0.18);
}

[data-theme="light"] .btn--glass:hover {
  background: var(--surface-hover);
}

[data-theme="light"] .nav-link.active {
  background: rgba(230, 0, 126, 0.1);
}

[data-theme="light"] .footer {
  background: #1A1A2E;
  color: #F0F0F8;
}

[data-theme="light"] .footer a {
  color: rgba(240, 240, 248, 0.7);
}

[data-theme="light"] .footer a:hover {
  color: var(--brand);
}

[data-theme="light"] .footer h4 {
  color: #F0F0F8;
}

[data-theme="light"] .footer-tagline {
  color: rgba(240, 240, 248, 0.5);
}

[data-theme="light"] .footer-bottom {
  border-color: rgba(255, 255, 255, 0.08);
  color: rgba(240, 240, 248, 0.4);
}

[data-theme="light"] .footer .social-link {
  color: rgba(240, 240, 248, 0.5);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="light"] .hamburger,
[data-theme="light"] .hamburger::before,
[data-theme="light"] .hamburger::after {
  background: var(--text-primary);
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  :root {
    --font-size-5xl: 2.75rem;
    --font-size-4xl: 2.25rem;
    --font-size-3xl: 1.75rem;
    --font-size-2xl: 1.5rem;
    --space-4xl: 3.5rem;
    --space-3xl: 2.5rem;
  }

  /* Mobile nav */
  .nav-toggle {
    display: block;
  }

  .nav-menu {
    display: none !important;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: var(--bg-primary);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-2xl);
    transform: none;
    z-index: 1000;
  }

  .nav-menu.open {
    display: flex !important;
  }

  .nav-link {
    font-size: var(--font-size-xl);
    padding: var(--space-md);
  }

  /* Grids */
  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-image {
    max-width: 360px;
    margin: 0 auto;
    aspect-ratio: 1;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .hero {
    background-position: 70% center;
  }

  .hero::before {
    background: linear-gradient(
      to bottom,
      var(--bg-primary) 0%,
      rgba(10, 10, 20, 0.85) 40%,
      rgba(10, 10, 20, 0.7) 100%
    ) !important;
  }

  [data-theme="light"] .hero::before {
    background: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.95) 0%,
      rgba(255, 255, 255, 0.85) 40%,
      rgba(255, 255, 255, 0.7) 100%
    ) !important;
  }

  .hero-actions {
    flex-direction: column;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .platforms {
    flex-direction: column;
    align-items: stretch;
  }

  .platform-btn {
    justify-content: center;
  }

  .lessons-grid {
    grid-template-columns: 1fr;
  }

  .episode-nav {
    grid-template-columns: 1fr;
  }

  .episode-compact {
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
  }

  .episode-compact-top {
    flex-direction: column;
    gap: 0;
  }

  .episode-compact-top h3 {
    white-space: normal;
  }

  .episode-compact-links {
    flex-direction: row;
    margin-left: 0;
    margin-top: var(--space-xs);
    align-self: flex-end;
  }

  .custom-player {
    padding: var(--space-lg);
  }

  .player-play {
    width: 48px;
    height: 48px;
  }

  .player-controls {
    flex-wrap: wrap;
  }

  .player-volume-slider {
    width: 60px;
  }
}

@media (max-width: 480px) {
  :root {
    --font-size-5xl: 2.25rem;
    --font-size-4xl: 1.75rem;
  }

  .container {
    padding: 0 var(--space-md);
  }
}
