/* DayZero2DayOne - Agentic AI & OpenAI / Claude / Grok Aesthetic Design System */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  --bg-dark: #030712;
  --bg-card: rgba(15, 23, 42, 0.65);
  --bg-card-hover: rgba(30, 41, 59, 0.85);
  --bg-modal: #090d16;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 242, 254, 0.4);
  
  --accent-cyan: #00f2fe;
  --accent-purple: #8b5cf6;
  --accent-pink: #ec4899;
  --accent-gradient: linear-gradient(135deg, #00f2fe 0%, #8b5cf6 50%, #ec4899 100%);
  --accent-gradient-hover: linear-gradient(135deg, #38f9d7 0%, #a855f7 50%, #f43f5e 100%);
  --glow-shadow: 0 0 30px rgba(139, 92, 246, 0.25);
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --player-height: 90px;
  --header-height: 80px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --backdrop-blur: blur(24px);
}

/* Reset & Global Canvas */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  padding-bottom: var(--player-height);
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(139, 92, 246, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 85% 60%, rgba(0, 242, 254, 0.10) 0%, transparent 45%),
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 40px 40px, 40px 40px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

code, .mono {
  font-family: 'JetBrains Mono', monospace;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
}

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

.gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.glass-panel {
  background: var(--bg-card);
  backdrop-filter: var(--backdrop-blur);
  -webkit-backdrop-filter: var(--backdrop-blur);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Header & Agentic Navigation */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(3, 7, 18, 0.85);
  backdrop-filter: var(--backdrop-blur);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid rgba(0, 242, 254, 0.5);
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.3);
}

.brand-text h1 {
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.1;
}

.brand-text span {
  font-size: 0.72rem;
  color: var(--accent-cyan);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all 0.2s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-main);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #030712;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--glow-shadow);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 35px rgba(139, 92, 246, 0.5);
  background: var(--accent-gradient-hover);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Agentic Hero Section */
.hero {
  padding: 80px 0 60px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.3);
  color: #a78bfa;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.15);
}

.hero-title {
  font-size: 3.6rem;
  line-height: 1.08;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

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

.hero-hosts {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 36px;
  padding: 16px 20px;
  background: rgba(15, 23, 42, 0.5);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  max-width: 580px;
}

.host-avatars {
  display: flex;
  align-items: center;
}

.host-avatars img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--bg-dark);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.host-avatars img:nth-child(2) {
  margin-left: -16px;
}

.host-info p {
  font-size: 0.8rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.host-info h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  aspect-ratio: 1;
}

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

.hero-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px;
  background: linear-gradient(to top, rgba(3, 7, 18, 0.95) 0%, rgba(3, 7, 18, 0.6) 70%, transparent 100%);
  backdrop-filter: blur(12px);
}

.featured-pill {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--accent-purple);
  color: #fff;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  display: inline-block;
  margin-bottom: 10px;
}

.hero-card-title {
  font-size: 1.25rem;
  margin-bottom: 8px;
  color: #fff;
}

/* Sections */
.section {
  padding: 60px 0;
}

.section-header {
  margin-bottom: 36px;
}

.section-title {
  font-size: 2.2rem;
  margin-bottom: 8px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
}

/* Search Bar & Tabs */
.search-filter-bar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}

.search-input-wrapper {
  position: relative;
  width: 100%;
}

.search-input-wrapper i {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
}

.search-input {
  width: 100%;
  padding: 16px 20px 16px 54px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: #fff;
  font-size: 1rem;
  transition: all 0.2s ease;
}

.search-input:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.2);
}

/* Season Tabs */
.season-tabs {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.season-tab {
  padding: 12px 24px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

.season-tab:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-main);
}

.season-tab.active {
  background: rgba(0, 242, 254, 0.12);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.15);
}

.season-tab span.count {
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

/* Topic Tags */
.topic-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.topic-chip {
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  color: var(--text-dim);
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.topic-chip:hover, .topic-chip.active {
  background: rgba(139, 92, 246, 0.18);
  border-color: var(--accent-purple);
  color: #fff;
}

/* Episode Cards Grid */
.episodes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 24px;
}

.episode-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.episode-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 242, 254, 0.3);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 242, 254, 0.1);
}

.ep-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.ep-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
}

.ep-badge.s1 { background: rgba(0, 242, 254, 0.12); color: var(--accent-cyan); }
.ep-badge.s2 { background: rgba(139, 92, 246, 0.15); color: var(--accent-purple); }

.ep-duration {
  font-size: 0.85rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 6px;
}

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

.ep-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ep-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 24px;
}

.ep-topic-tag {
  font-size: 0.75rem;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.04);
  padding: 3px 10px;
  border-radius: 4px;
}

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

.play-ep-btn {
  background: rgba(0, 242, 254, 0.15);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 242, 254, 0.3);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.play-ep-btn:hover {
  background: var(--accent-cyan);
  color: #030712;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.4);
}

.details-ep-btn {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.details-ep-btn:hover {
  color: #fff;
}

/* Host Section */
.hosts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 32px;
}

.host-card {
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.host-header {
  display: flex;
  align-items: center;
  gap: 20px;
}

.host-avatar-large {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-cyan);
  box-shadow: 0 0 25px rgba(0, 242, 254, 0.3);
}

.host-name {
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.host-company {
  font-size: 0.88rem;
  color: var(--accent-cyan);
  font-weight: 600;
}

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

.host-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-badge {
  font-size: 0.78rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  color: var(--text-muted);
}

/* Platform Cards */
.platforms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.platform-card {
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  transition: all 0.2s ease;
}

.platform-card:hover {
  border-color: var(--accent-cyan);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.platform-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

/* Modal Drawer */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(12px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 20px;
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  width: 100%;
  max-width: 860px;
  max-height: 85vh;
  background: var(--bg-modal);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow-y: auto;
  padding: 36px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
  position: relative;
}

.modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.modal-title {
  font-size: 1.9rem;
  margin-top: 8px;
  margin-bottom: 12px;
}

/* Sticky Audio Player */
.audio-player-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--player-height);
  background: rgba(9, 13, 22, 0.95);
  backdrop-filter: blur(24px);
  border-top: 1px solid var(--border-color);
  z-index: 150;
  display: flex;
  align-items: center;
  padding: 0 24px;
}

.player-container {
  display: grid;
  grid-template-columns: 280px 1fr 200px;
  align-items: center;
  width: 100%;
  gap: 20px;
}

.player-track-info {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow: hidden;
}

.player-thumb {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--border-color);
}

.player-details h5 {
  font-size: 0.9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player-details p {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.player-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

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

.ctrl-btn {
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.ctrl-btn:hover {
  color: #fff;
}

.play-pause-main {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-gradient);
  color: #030712;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.4);
  transition: transform 0.2s ease;
}

.play-pause-main:hover {
  transform: scale(1.08);
}

.progress-bar-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 540px;
}

.time-stamp {
  font-size: 0.75rem;
  font-family: 'JetBrains Mono', monospace;
  color: var(--text-dim);
}

.seek-slider {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.15);
  outline: none;
  cursor: pointer;
}

.seek-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
  cursor: pointer;
}

.player-extra-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.speed-select {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.8rem;
  cursor: pointer;
}

/* Audio Visualizer */
.visualizer {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 18px;
}

.v-bar {
  width: 3px;
  background: var(--accent-cyan);
  border-radius: 2px;
  animation: pulse 1s ease-in-out infinite alternate;
}

.v-bar:nth-child(1) { height: 40%; animation-delay: 0.1s; }
.v-bar:nth-child(2) { height: 80%; animation-delay: 0.3s; }
.v-bar:nth-child(3) { height: 100%; animation-delay: 0.5s; }
.v-bar:nth-child(4) { height: 50%; animation-delay: 0.2s; }

@keyframes pulse {
  0% { height: 20%; }
  100% { height: 100%; }
}

.audio-player-bar.paused .v-bar {
  animation-play-state: paused;
  height: 30% !important;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-color);
  padding: 40px 0 20px;
  margin-top: 60px;
  color: var(--text-dim);
  font-size: 0.9rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 2.7rem;
  }
  .player-container {
    grid-template-columns: 1fr 1fr;
  }
  .player-extra-controls {
    display: none;
  }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
  }
  .episodes-grid {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 2.1rem;
  }
  .player-container {
    grid-template-columns: 1fr;
  }
  .player-track-info {
    display: none;
  }
}
