:root {
  --bg: #050712;
  --bg-elevated: #090b18;
  --bg-card: #101426;
  --accent: #4b8dff;
  --accent-soft: rgba(75, 141, 255, 0.18);
  --accent-strong: #64ffc7;
  --text-main: #f4f5fb;
  --text-muted: #a7adcf;
  --border-soft: rgba(255, 255, 255, 0.06);
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.55);
  --radius-lg: 1.6rem;
  --radius-md: 1rem;
  --radius-pill: 999px;
  --transition-fast: 0.16s ease-out;
  --max-width: 1120px;
}

/* Global reset-ish */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #101633 0, #050712 52%, #020308 100%);
  color: var(--text-main);
}

/* Layout */
.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.main-content {
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 3.5rem;
}

/* Header */
.site-header {
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding: 1.25rem 1.5rem 0.75rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.25rem;
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: linear-gradient(
      to bottom,
      rgba(5, 7, 18, 0.92),
      rgba(5, 7, 18, 0.78),
      transparent
    );
}

/* Logo */
.logo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 0.35rem;
}

.logo-center {
  grid-column: 2;
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 1in;
}

.logo-image {
  width: 84px;
  height: 84px;
  object-fit: contain;
}
 
.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-weight: 600;
  font-size: 1.1rem;
}

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

/* Nav */
.site-nav ul {
  display: flex;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  padding: 0.4rem 0.9rem;
  font-size: 0.83rem;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}

.nav-link:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.04);
}

.nav-link.active {
  background: var(--accent-soft);
  border-color: rgba(75, 141, 255, 0.6);
  color: var(--text-main);
  box-shadow: 0 0 0 1px rgba(75, 141, 255, 0.35);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  justify-self: end;
  grid-column: 3;
}

.site-nav {
  grid-column: 3;
  justify-self: end;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--text-main);
  border-radius: 999px;
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.3fr);
  gap: 2.5rem;
  align-items: center;
  margin-top: 0.75rem;
}

.hero-content {
  padding-top: 0.75rem;
}

.hero-tagline {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-strong);
  margin-bottom: 0.4rem;
}

.hero h1 {
  font-size: clamp(2.3rem, 3vw, 3rem);
  line-height: 1.05;
  margin: 0 0 0.7rem;
}

.hero-description {
  max-width: 34rem;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.2rem;
}

.btn {
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  padding: 0.65rem 1.2rem;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
  white-space: nowrap;
}

.btn.primary {
  background: linear-gradient(120deg, #4b8dff, #64ffc7);
  color: #050712;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.65);
}

.btn.ghost {
  background: rgba(15, 16, 35, 0.9);
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
}

.btn.ghost:hover {
  background: rgba(255, 255, 255, 0.03);
}

.btn.small {
  padding: 0.45rem 0.9rem;
  font-size: 0.8rem;
}

.btn.full-width {
  width: 100%;
}

.platform-badges {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.platform-badge {
  font-size: 0.8rem;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-main);
  text-decoration: none;
  background: rgba(9, 11, 24, 0.9);
}

/* Hero visual card */
.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-card {
  width: 100%;
  max-width: 360px;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at top left, rgba(100, 255, 199, 0.17), transparent 55%),
              radial-gradient(circle at bottom right, rgba(75, 141, 255, 0.22), transparent 55%),
              var(--bg-card);
  padding: 1.2rem 1.2rem 1rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 60%);
  mix-blend-mode: soft-light;
  opacity: 0.4;
  pointer-events: none;
}

.hero-card > * {
  position: relative;
  z-index: 1;
}

.waveform {
  height: 44px;
  border-radius: 14px;
  background-image: linear-gradient(120deg, rgba(100, 255, 199, 0.25), rgba(75, 141, 255, 0.25));
  mask-image: linear-gradient(to right, transparent 0, black 10%, black 90%, transparent 100%);
  margin-bottom: 0.85rem;
  position: relative;
  overflow: hidden;
}

.waveform::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.38) 35%,
    transparent 70%
  );
  transform: translateX(-100%);
  animation: shimmer 2.6s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(120%); }
}

.episode-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.pill {
  border-radius: var(--radius-pill);
  padding: 0.15rem 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.74rem;
  background: rgba(6, 9, 22, 0.9);
}

.hero-card .episode-title {
  font-size: 1.05rem;
  margin: 0 0 0.25rem;
}

.episode-subtitle {
  margin: 0 0 0.9rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero-audio {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.play-button {
  border-radius: 999px;
  border: none;
  width: 44px;
  height: 44px;
  background: radial-gradient(circle at 30% 30%, #ffffff, #c5f8ff);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.6);
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.play-button:hover {
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.7);
}

.play-button svg {
  width: 18px;
  height: 18px;
  fill: #050712;
  transform: translateX(1px);
}

.audio-meta {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.audio-progress {
  position: relative;
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.audio-progress-fill {
  position: absolute;
  inset: 0;
  width: 38%;
  background: linear-gradient(90deg, #4b8dff, #64ffc7);
}

/* Sections */
.content-section {
  display: none;
  margin-top: 3rem;
}

.content-section.active {
  display: block;
}

.section-header {
  max-width: 44rem;
  margin-bottom: 1.75rem;
}

.section-header h2 {
  margin: 0 0 0.5rem;
  font-size: 1.4rem;
}

.section-header p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Cards and grid */
.grid {
  display: grid;
  gap: 1.5rem;
}

.grid.two-column {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  border-radius: var(--radius-md);
  background: rgba(8, 10, 24, 0.95);
  border: 1px solid var(--border-soft);
  padding: 1.35rem 1.4rem;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.55);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

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

/* Checklist */
.checklist {
  list-style: none;
  padding: 0;
  margin: 0.2rem 0 0;
}

.checklist li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.4rem;
  font-size: 0.93rem;
  color: var(--text-muted);
}

.checklist li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0.1rem;
  font-size: 0.78rem;
  color: var(--accent-strong);
}

/* Host area */
.hosts-area {
  margin-top: 2.5rem;
}

.host-card {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  margin-top: 0.5rem;
  border-radius: var(--radius-md);
  padding: 1.1rem 1.2rem;
  background: linear-gradient(120deg, rgba(75, 141, 255, 0.3), rgba(16, 20, 46, 0.96));
  border: 1px solid rgba(100, 255, 199, 0.3);
  box-shadow: var(--shadow-soft);
}

.host-avatar {
  width: 52px;
  height: 52px;
  border-radius: 20px;
  background: radial-gradient(circle at 35% 25%, #ffffff, #b1f9ff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #050712;
  font-size: 0.85rem;
}

.host-info h4 {
  margin: 0 0 0.2rem;
}

.host-info p {
  margin: 0.1rem 0 0.4rem;
  font-size: 0.9rem;
}

.host-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

/* Episodes */
.episodes-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
  margin-bottom: 1.4rem;
}

.search-wrapper {
  flex: 1;
  min-width: 200px;
}

#episode-search {
  width: 100%;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(9, 11, 24, 0.9);
  color: var(--text-main);
  padding: 0.55rem 0.9rem;
  font-size: 0.88rem;
}

#episode-search::placeholder {
  color: rgba(167, 173, 207, 0.7);
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.filter-btn {
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  background: rgba(7, 9, 20, 0.9);
  color: var(--text-muted);
  font-size: 0.78rem;
  padding: 0.35rem 0.8rem;
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.filter-btn.active {
  background: var(--accent-soft);
  border-color: rgba(75, 141, 255, 0.7);
  color: var(--text-main);
}

.filter-btn:hover {
  background: rgba(255, 255, 255, 0.05);
}

.episodes-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.episode-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(8, 10, 24, 0.98);
  border: 1px solid var(--border-soft);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.55);
}

.episode-number {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-strong);
  padding-top: 0.15rem;
}

.episode-body .episode-title {
  margin: 0 0 0.15rem;
  font-size: 1rem;
}

.episode-meta {
  margin: 0 0 0.35rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.episode-description {
  margin: 0 0 0.55rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.episode-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

/* Forms */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 0.85rem;
}

.form-group-inline {
  margin-bottom: 0.85rem;
}

label {
  font-size: 0.83rem;
  color: var(--text-muted);
}

input[type="text"],
input[type="email"],
textarea,
select {
  border-radius: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(9, 11, 24, 0.9);
  color: var(--text-main);
  padding: 0.55rem 0.8rem;
  font-size: 0.88rem;
  font-family: inherit;
}

textarea {
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: rgba(167, 173, 207, 0.7);
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.checkbox-label input {
  margin-top: 0.12rem;
}

.form-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
}

.form-message {
  font-size: 0.8rem;
  margin-top: 0.45rem;
}

.form-message.success {
  color: #64ffc7;
}

.form-message.error {
  color: #ff8ba7;
}

/* Text link */
.text-link {
  font-size: 0.86rem;
  color: var(--accent-strong);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: border-color var(--transition-fast), color var(--transition-fast);
}

.text-link:hover {
  border-color: rgba(100, 255, 199, 0.7);
}

/* Social list */
.social-list {
  list-style: none;
  padding: 0;
  margin: 0.3rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

/* Contact layout */
.stacked-on-mobile {
  align-items: flex-start;
}

/* Footer */
.site-footer {
  margin-top: auto;
  padding: 1rem 1.5rem 1.6rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Responsiveness */
@media (max-width: 880px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-visual {
    order: -1;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding-inline: 1rem;
  }

  .main-content {
    padding-inline: 1rem;
  }

  .site-nav {
    position: absolute;
    top: 56px;
    right: 1rem;
    background: rgba(5, 7, 18, 0.98);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.7);
    padding: 0.4rem;
    transform-origin: top right;
    transform: scale(0.95);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-fast), transform var(--transition-fast);
  }

  .site-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0.2rem;
  }

  .nav-toggle {
    display: flex;
  }

  .grid.two-column {
    grid-template-columns: minmax(0, 1fr);
  }

  .episode-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .host-card {
    flex-direction: row;
  }

  .stacked-on-mobile {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-card {
    max-width: 100%;
  }
}
