
:root {
  --bg: #020617;
  --text: #e5e7eb;
  --text-muted: #9ca3af;
  --accent: #38bdf8;
  --accent-soft: rgba(56, 189, 248, 0.12);
  --border-subtle: #1f2933;
  --radius-lg: 18px;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.85);
  --max-width: 1040px;
}
*,
*::before,
*::after { box-sizing: border-box; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
  background-color: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}
.site-header {
  border-bottom: 1px solid rgba(31, 41, 55, 0.9);
  background-color: rgba(2, 6, 23, 0.96);
  backdrop-filter: blur(16px);
}
.site-header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.mini-logo-block {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.mini-logo-image {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  box-shadow: var(--shadow-soft);
}
.mini-title-block { display: flex; flex-direction: column; }
.site-title {
  margin: 0;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.site-subtitle {
  margin: 0.05rem 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.nav { display: flex; gap: 1.25rem; font-size: 0.95rem; }
.nav a {
  color: var(--text-muted);
  text-decoration: none;
  position: relative;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: width 0.18s ease-out;
}
.nav a:hover { color: var(--text); }
.nav a:hover::after { width: 100%; }
.page-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.5rem 1.5rem 3rem;
}
.hero {
  margin-top: 0.5rem;
  padding: 2.5rem 2.25rem;
  border-radius: 28px;
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.18), transparent 55%),
              radial-gradient(circle at bottom right, rgba(8, 47, 73, 0.85), #020617);
  box-shadow: var(--shadow-soft);
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.6fr);
  gap: 2rem;
  align-items: center;
}
.hero-cover { display: flex; justify-content: center; }
.hero-cover-image {
  width: 100%;
  max-width: 340px;
  border-radius: 24px;
  box-shadow: 0 26px 60px rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(15, 23, 42, 0.9);
}
.hero-text h2 { margin: 0 0 1rem; font-size: 2rem; }
.hero-text p {
  margin: 0 0 1.5rem;
  color: var(--text-muted);
  max-width: 46rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.16s ease-out, border-color 0.16s ease-out,
              transform 0.12s ease-out, box-shadow 0.16s ease-out;
}
.btn.primary {
  background-color: var(--accent);
  color: #0b1120;
  box-shadow: 0 18px 35px rgba(56, 189, 248, 0.35);
}
.btn.primary:hover {
  background-color: #0ea5e9;
  transform: translateY(-1px);
}
.btn.secondary {
  background-color: transparent;
  color: var(--text);
  border-color: rgba(148, 163, 184, 0.55);
}
.btn.secondary:hover { background-color: rgba(15, 23, 42, 0.9); }
.subscribe-text { font-size: 0.9rem; color: var(--text-muted); }
.subscribe-text code {
  background-color: rgba(15, 23, 42, 0.95);
  padding: 0.15rem 0.4rem;
  border-radius: 999px;
  border: 1px solid rgba(51, 65, 85, 0.9);
  font-size: 0.8rem;
}
.featured-episodes { margin-top: 2.5rem; }
.featured-episodes h2,
.about h2,
.episodes-index h2 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}
.episode-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
}
.episode-card {
  padding: 1.5rem 1.4rem;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at top left, var(--accent-soft), transparent 55%),
              rgba(15, 23, 42, 0.98);
  border: 1px solid rgba(31, 41, 55, 0.9);
}
.episode-card h3 { margin: 0 0 0.4rem; }
.episode-card h3 a {
  color: var(--text);
  text-decoration: none;
}
.episode-card h3 a:hover { color: var(--accent); }
.episode-meta {
  margin: 0 0 0.6rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}
.about {
  margin-top: 2.5rem;
  padding: 1.75rem 1.5rem 1.5rem;
  border-radius: var(--radius-lg);
  background-color: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(31, 41, 55, 0.9);
}
.about p { margin: 0 0 0.75rem; color: var(--text-muted); }
.episodes-index .intro {
  color: var(--text-muted);
  max-width: 40rem;
}
.episode-index-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
  display: grid;
  gap: 0.9rem;
}
.episode-index-list h3 { margin: 0 0 0.1rem; }
.episode-index-list a {
  color: var(--text);
  text-decoration: none;
}
.episode-index-list a:hover { color: var(--accent); }
.episode-index-list p { margin: 0; color: var(--text-muted); }
.episode-detail {
  margin-top: 1.75rem;
  padding: 1.75rem 1.5rem 2rem;
  border-radius: var(--radius-lg);
  background: rgba(15, 23, 42, 0.98);
  border: 1px solid rgba(31, 41, 55, 0.9);
  box-shadow: var(--shadow-soft);
}
.episode-label {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
}
.episode-detail h2 { margin: 0 0 0.4rem; font-size: 1.6rem; }
.episode-detail .episode-meta { margin-bottom: 1rem; }
.episode-detail .episode-description p { color: var(--text-muted); }
.episode-detail ul { margin-top: 0.5rem; color: var(--text-muted); }
.episode-audio { margin-top: 1.5rem; }
.episode-audio audio { width: 100%; margin-top: 0.75rem; }
.site-footer {
  border-top: 1px solid rgba(31, 41, 55, 0.9);
  padding: 1.25rem 1.5rem 2rem;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
}
@media (max-width: 768px) {
  .site-header-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .nav { margin-top: 0.35rem; }
  .hero { padding: 1.75rem 1.5rem; }
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
  }
  .hero-cover { justify-content: flex-start; }
  .hero-cover-image { max-width: 260px; }
}
@media (min-width: 900px) {
  .hero-text h2 { font-size: 2.3rem; }
  .episode-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
