:root {
  --navy: #16213e;
  --navy-dark: #10182e;
  --orange: #d9944e;
  --cream: #f5f2ec;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  background: var(--cream);
  color: var(--navy-dark);
}

.hero {
  background: var(--navy);
  color: #fff;
  margin: -3.5rem calc(50% - 50vw) 3rem;
  padding: 5rem 1.5rem 4rem;
  text-align: center;
}

.hero-inner {
  max-width: 640px;
  margin: 0 auto;
}

.logo-img {
  max-width: min(420px, 90%);
  width: 100%;
  height: auto;
  margin: 0 auto 2rem;
  display: block;
}

.description {
  font-size: 1.15rem;
  line-height: 1.6;
  color: #d8dce6;
  max-width: 520px;
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--navy-dark);
  border-bottom: 1px solid #2a3454;
}

.tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 0 1.5rem;
}

.tab-link {
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  color: #b6bccc;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 1rem 1.25rem;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.tab-link:hover {
  color: #fff;
}

.tab-link.active {
  color: #fff;
  border-bottom-color: var(--orange);
}

main {
  max-width: 640px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem;
  text-align: center;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

h2 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--navy);
  margin-bottom: 1.5rem;
}

.host-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.5rem;
  font-size: 1.2rem;
  font-weight: 600;
}

.subscribe-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin: 1.5rem 0 2rem;
}

.badge {
  border: 1px solid var(--orange);
  color: var(--orange);
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.badge:hover {
  background: var(--orange);
  color: var(--navy-dark);
}

.episodes {
  text-align: left;
}

.episodes h2 {
  text-align: center;
}

.episode-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.episode-card {
  background: #fff;
  border: 1px solid #e4ded0;
  border-radius: 12px;
  padding: 1.5rem;
}

.episode-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.episode-cover {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.episode-title {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  color: var(--navy-dark);
}

.episode-meta {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--orange);
}

.episode-description {
  margin: 0 0 1rem;
  line-height: 1.6;
  color: #4a4638;
  white-space: pre-line;
}

.episode-player {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.episode-play-btn {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--orange);
  color: #fff;
  font-size: 0.9rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.episode-seek {
  flex: 1;
  accent-color: var(--orange);
}

.episode-time {
  flex-shrink: 0;
  font-size: 0.8rem;
  color: #4a4638;
  font-variant-numeric: tabular-nums;
}

.episode-loading,
.episode-error {
  text-align: center;
  color: #7a7568;
  font-style: italic;
}

footer {
  text-align: center;
  padding: 2rem 1.5rem;
  font-size: 0.85rem;
  color: #7a7568;
}

.contact-link {
  color: var(--orange);
  text-decoration: none;
}

.contact-link:hover {
  text-decoration: underline;
}
