/* ==========================================================================
   GETTING SLOPPY — Ultra-Minimal Design System (Snap/Lyft/OpenAI Inspired)
   ========================================================================== */

:root {
  --bg-main: #FFFFFF;
  --bg-alt: #F9FAFB;
  --bg-card: #FFFFFF;
  
  --border-light: #E5E7EB;
  --border-hover: #D1D5DB;
  
  /* Vibrant Magenta Accent (Lyft inspired) */
  --accent-primary: #FF00BF;
  --accent-hover: #D900A3;
  --accent-glow: rgba(255, 0, 191, 0.15);
  
  /* Typography */
  --text-main: #111827;
  --text-muted: #4B5563;
  --text-sub: #6B7280;
  
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  
  --transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-family);
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  padding-bottom: 90px;
}

/* Base Components */
.clean-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.clean-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
}

/* Navigation Bar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-light);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.5px;
}

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

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--text-main);
}

.nav-actions {
  display: flex;
  gap: 12px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 9999px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-primary {
  background: var(--text-main);
  color: #FFF;
}

.btn-primary:hover {
  background: #000;
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.btn-secondary {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-light);
}

.btn-secondary:hover {
  background: var(--bg-alt);
  border-color: var(--border-hover);
}

.btn-large {
  padding: 14px 28px;
  font-size: 1rem;
}

.btn-icon {
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: 50%;
  color: var(--text-main);
}

/* Hero Section */
.hero-section {
  padding: 160px 0 80px;
  background-color: var(--bg-main);
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  margin-bottom: 24px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-primary);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
  color: var(--text-main);
}

.hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 500px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
}

.quick-stats {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border-light);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-sub);
  font-weight: 500;
}

/* Featured Hero Card */
.hero-card-wrapper {
  padding: 10px;
}

.hero-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.card-cover-container {
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  aspect-ratio: 1;
}

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

.card-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
}

.meta-tag {
  color: var(--accent-primary);
}

.card-ep-title {
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1.25;
  margin-top: 4px;
}

.card-ep-snippet {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.visualizer-box {
  background: var(--bg-alt);
  border-radius: var(--border-radius-sm);
  padding: 8px 12px;
  border: 1px solid var(--border-light);
}

#waveform-canvas {
  width: 100%;
  height: 40px;
  display: block;
}

.mini-player-controls {
  display: flex;
  align-items: center;
  gap: 16px;
}

.play-btn-large {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-primary);
  color: #FFF;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.play-btn-large:hover {
  transform: scale(1.05);
  background: var(--accent-hover);
  box-shadow: var(--accent-glow) 0 4px 12px;
}

.time-info {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}

.progress-track {
  flex: 1;
  height: 6px;
  background: var(--border-light);
  border-radius: 3px;
  position: relative;
  cursor: pointer;
  overflow: hidden;
}

.progress-fill {
  width: 0%;
  height: 100%;
  background: var(--accent-primary);
  border-radius: 3px;
  transition: width 0.1s linear;
}

/* Host Section */
.hosts-section {
  padding: 100px 0;
  background-color: var(--bg-alt);
  border-top: 1px solid var(--border-light);
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-header {
  text-align: left;
  margin-bottom: 60px;
}

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

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -1px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-top: 8px;
}

.hosts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px;
}

.host-card {
  padding: 32px;
  display: flex;
  flex-direction: column;
}

.host-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--bg-alt);
  color: var(--text-main);
  border: 1px solid var(--border-light);
  margin-bottom: 24px;
}

.host-name {
  font-size: 1.4rem;
  font-weight: 800;
}

.host-handle {
  font-size: 0.9rem;
  color: var(--text-sub);
  margin-bottom: 16px;
}

.host-bio {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Episode Directory Section */
.episodes-section {
  padding: 100px 0;
}

.episodes-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
  padding: 10px 16px;
  border-radius: 9999px;
  color: var(--text-muted);
}

.search-box input {
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 0.9rem;
  outline: none;
}

.filter-tabs {
  display: flex;
  gap: 4px;
  background: var(--bg-alt);
  padding: 4px;
  border-radius: 9999px;
  border: 1px solid var(--border-light);
}

.tab-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  padding: 8px 16px;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn.active, .tab-btn:hover {
  background: var(--bg-card);
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
}

.episodes-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.ep-item-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ep-item-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.76rem;
  color: var(--text-sub);
  margin-bottom: 12px;
  font-weight: 600;
}

.ep-vibe-tag {
  color: var(--accent-primary);
}

.ep-item-title {
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 12px;
}

.ep-item-notes {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ep-item-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

/* Subscribe Section */
.subscribe-section {
  padding: 80px 0 120px;
  background-color: var(--bg-alt);
  border-top: 1px solid var(--border-light);
}

.subscribe-card {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 0 24px;
}

.subscribe-title {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.subscribe-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.subscribe-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Sticky Bottom Audio Dock */
.bottom-audio-dock {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid var(--border-light);
  z-index: 1000;
  padding: 12px 0;
}

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

.dock-track-info {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 250px;
}

.dock-art {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid var(--border-light);
}

.dock-text {
  display: flex;
  flex-direction: column;
}

.dock-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-main);
}

.dock-subtitle {
  font-size: 0.8rem;
  color: var(--text-sub);
}

.dock-controls {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 600px;
}

.dock-btn {
  background: var(--text-main);
  border: none;
  color: #FFF;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.dock-btn:hover {
  background: #000;
  transform: scale(1.05);
}

.dock-progress-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
}

.dock-time {
  font-size: 0.75rem;
  color: var(--text-sub);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.dock-slider {
  flex: 1;
  height: 4px;
  -webkit-appearance: none;
  background: var(--border-light);
  border-radius: 2px;
  outline: none;
}

.dock-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--text-main);
  cursor: pointer;
}

.dock-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dock-action-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  transition: var(--transition);
}

.dock-action-btn:hover {
  color: var(--text-main);
}

.site-footer {
  padding: 24px 0 100px; /* Account for dock */
  text-align: center;
  background: var(--bg-main);
  color: var(--text-sub);
  font-size: 0.85rem;
}
