:root {
  --bg: #121212;
  --bg-alt: #1a1a1a;
  --card: #1e1e1e;
  --border: #2c2c2c;
  --text: #f2f0ec;
  --muted: #a3a09a;
  --accent: #d9a441;
  --accent-soft: rgba(217, 164, 65, 0.12);
  --max: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

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

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(18, 18, 18, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

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

.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: 34px; height: 34px; border: 1px solid var(--border); }
.brand span {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  letter-spacing: 0.06em;
  font-size: 0.95rem;
}

.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { font-size: 0.9rem; color: var(--muted); transition: color 0.2s; }
.nav-links a:hover { color: var(--accent); }

.nav-cta {
  border: 1px solid var(--accent);
  color: var(--accent) !important;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.85rem !important;
}
.nav-cta:hover { background: var(--accent); color: var(--bg) !important; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.menu-toggle span { width: 22px; height: 2px; background: var(--text); }

/* Hero */
.hero {
  padding: 90px 24px 70px;
  text-align: center;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, var(--accent-soft), transparent 60%);
  pointer-events: none;
}
.hero-logo {
  width: 96px;
  height: 96px;
  margin: 0 auto 28px;
  border: 1px solid var(--border);
}
.hero h1 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  letter-spacing: 0.02em;
  font-weight: 600;
}
.hero .tagline {
  color: var(--accent);
  font-size: 1.05rem;
  margin-top: 10px;
  letter-spacing: 0.03em;
}
.hero p.lead {
  max-width: 640px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 1.05rem;
}
.hero-ctas {
  margin-top: 36px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  transition: transform 0.15s, background 0.2s, color 0.2s;
}
.btn-primary { background: var(--accent); color: #141414; }
.btn-primary:hover { transform: translateY(-2px); }
.btn-outline { border: 1px solid var(--border); color: var(--text); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

.stats {
  margin-top: 56px;
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.stat { text-align: center; }
.stat b {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 1.6rem;
  color: var(--accent);
}
.stat span { font-size: 0.82rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }

/* Section shared */
section { padding: 84px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 600;
}
.section-head h2 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
  margin-top: 10px;
}
.section-head p { color: var(--muted); margin-top: 14px; }

.alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: start;
}
.about-grid p { color: var(--muted); margin-bottom: 18px; }
.about-grid p strong { color: var(--text); }
.pillars { display: grid; gap: 16px; }
.pillar {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 22px;
}
.pillar h3 { font-family: 'Poppins', sans-serif; font-size: 1rem; margin-bottom: 6px; color: var(--accent); }
.pillar p { color: var(--muted); font-size: 0.92rem; margin: 0; }

/* Topics */
.topic-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.topic-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--card);
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 500;
}
.topic-tag i { color: var(--accent); }

/* Episodes */
.ep-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
}
.ep-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}
.ep-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.ep-thumb { position: relative; aspect-ratio: 16/9; background: #000; overflow: hidden; }
.ep-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: 0.88; }
.ep-thumb .play {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem; color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,0.6);
}
.ep-body { padding: 16px 18px 20px; }
.ep-body .ep-num { color: var(--accent); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.05em; }
.ep-body h3 { font-size: 0.98rem; margin: 6px 0 8px; line-height: 1.4; }
.ep-body .ep-meta { color: var(--muted); font-size: 0.82rem; }

.view-all { text-align: center; margin-top: 40px; }

/* Episode detail page */
.ep-detail { padding: 140px 0 90px; }
.ep-detail .wrap { max-width: 860px; }
.breadcrumb { color: var(--muted); font-size: 0.85rem; margin-bottom: 18px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--accent); }
.ep-detail > .wrap > .ep-num {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}
.ep-detail h1 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  line-height: 1.25;
  margin-bottom: 18px;
}
.ep-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 32px;
}
.ep-detail-meta span { display: inline-flex; align-items: center; gap: 8px; }
.ep-detail-meta i { color: var(--accent); }
.video-embed {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 28px;
}
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.ep-detail-desc { color: var(--muted); font-size: 1.05rem; line-height: 1.75; margin-bottom: 36px; }

/* Guests */
.guest-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}
.guest-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px 22px;
  text-align: center;
  background: var(--card);
}
.guest-item .icon { font-size: 1.6rem; color: var(--accent); margin-bottom: 12px; }
.guest-item h3 { font-family: 'Poppins', sans-serif; font-size: 1rem; margin-bottom: 8px; }
.guest-item p { color: var(--muted); font-size: 0.88rem; margin: 0; }

/* Community */
.community {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.community-visual {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(160deg, var(--card), var(--bg));
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.rule-row { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 0.95rem; }
.rule-row i { color: var(--accent); width: 20px; text-align: center; }
.community h2 { font-family: 'Poppins', sans-serif; font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 16px; }
.community p { color: var(--muted); margin-bottom: 14px; }

/* Connect / socials */
.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 18px;
}
.social-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px 18px;
  text-align: center;
  background: var(--card);
  transition: border-color 0.2s, transform 0.2s;
}
.social-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.social-card i { font-size: 1.7rem; margin-bottom: 10px; color: var(--accent); }
.social-card h4 { font-size: 0.9rem; margin-bottom: 4px; }
.social-card span { color: var(--muted); font-size: 0.78rem; }

/* Contact */
.contact-box {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
}
.contact-box h2 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
  margin: 10px 0 18px;
}
.contact-box p { color: var(--muted); margin-bottom: 30px; }
.contact-box .btn { font-size: 1rem; }

/* Episode archive */
.archive-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 860px;
  margin: 0 auto;
  padding-bottom: 20px;
}
.archive-row {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  transition: border-color 0.2s, transform 0.2s;
}
.archive-row:hover { border-color: var(--accent); transform: translateX(4px); }
.archive-row img {
  width: 120px;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}
.archive-row-body { flex: 1; min-width: 0; }
.archive-row-label { color: var(--accent); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.05em; }
.archive-row-body h3 { font-size: 0.95rem; margin: 4px 0; line-height: 1.4; }
.archive-row-meta { color: var(--muted); font-size: 0.8rem; }
.archive-row > i { color: var(--muted); flex-shrink: 0; }

@media (max-width: 560px) {
  .archive-row img { width: 88px; }
  .archive-row-body h3 { font-size: 0.88rem; }
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 24px;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}
footer .foot-brand {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-bottom: 14px; color: var(--text); font-family: 'Poppins', sans-serif; letter-spacing: 0.05em;
}
footer .foot-brand img { width: 22px; height: 22px; border: 1px solid var(--border); }
footer .foot-links { display: flex; gap: 20px; justify-content: center; margin: 16px 0; flex-wrap: wrap; }
footer .foot-links a:hover { color: var(--accent); }

@media (max-width: 860px) {
  .about-grid, .community { grid-template-columns: 1fr; }
  .community-visual { order: -1; }
}

@media (max-width: 720px) {
  .nav-links { position: fixed; top: 62px; left: 0; right: 0; background: var(--bg-alt); border-bottom: 1px solid var(--border); flex-direction: column; padding: 20px 24px; gap: 18px; transform: translateY(-150%); transition: transform 0.25s; }
  .nav-links.open { transform: translateY(0); }
  .menu-toggle { display: flex; }
  .stats { gap: 28px; }
}
