:root {
  --blue:       #4B6BF5;
  --blue-h:     #3B5AE0;
  --blue-light: #6B83F7;
  --blue-pale:  #EEF2FF;
  --ink:        #111827;
  --night:      #0D1B2E;
  --mid:        #6B7280;
  --canvas:     #F9FAFB;
  --white:      #FFFFFF;
  --rule:       #E5E7EB;
  --yellow:     #F5C518;
  --radius:     10px;
  --radius-pill:100px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--white); color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }

/* ─── HEADER ─── */
.header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
}
.header-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 32px;
  height: 64px; display: flex; align-items: center;
  justify-content: space-between; gap: 24px;
}
.logo {
  display: flex; align-items: center; gap: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px; font-weight: 800;
  color: var(--ink); letter-spacing: 0.04em; text-transform: uppercase;
}
.logo-mark {
  width: 28px; height: 28px;
  background: var(--yellow);
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  transform: rotate(180deg);
}
.nav { display: flex; gap: 28px; list-style: none; }
.nav a { font-size: 14px; font-weight: 500; color: var(--mid); transition: color 0.15s; }
.nav a:hover, .nav a.active { color: var(--ink); }
.nav a.active { font-weight: 700; }
.header-actions { display: flex; gap: 10px; align-items: center; }
.btn-ghost {
  padding: 8px 18px; border: 1.5px solid var(--rule);
  border-radius: var(--radius-pill); background: transparent; color: var(--ink);
  font-size: 14px; font-weight: 600; cursor: pointer; font-family: inherit;
  transition: border-color 0.15s;
}
.btn-ghost:hover { border-color: var(--mid); }
.btn-primary {
  padding: 9px 20px; background: var(--yellow); color: var(--ink);
  border: none; border-radius: var(--radius-pill);
  font-size: 14px; font-weight: 800; cursor: pointer; font-family: inherit;
  transition: background 0.15s;
}
.btn-primary:hover { background: #E0B400; }

/* ─── HERO ─── */
.disc-hero {
  background: var(--canvas);
  padding: 72px 24px 64px;
  text-align: center;
  border-bottom: 1px solid var(--rule);
}
.disc-hero h1 {
  font-family: 'Fraunces', serif;
  font-size: 48px; font-weight: 900;
  color: var(--ink); letter-spacing: -2px; line-height: 1.1;
  margin-bottom: 14px;
}
.disc-hero p {
  font-size: 17px; color: var(--mid);
  max-width: 520px; margin: 0 auto 32px; line-height: 1.6;
}
.search-box {
  position: relative; max-width: 600px; margin: 0 auto 16px;
}
.search-box .search-icon {
  position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
  color: var(--mid); pointer-events: none;
}
.search-box input {
  width: 100%; padding: 17px 18px 17px 52px;
  border: 1px solid var(--rule); border-radius: var(--radius);
  background: var(--white); font-size: 16px; font-family: inherit;
  color: var(--ink); outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.search-box input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(75,107,245,0.1);
}
.search-box input::placeholder { color: var(--mid); }
.quick-search { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.quick-pill {
  padding: 6px 16px; border: 1px solid var(--rule);
  border-radius: var(--radius-pill); background: var(--white);
  font-size: 13px; font-weight: 500; color: var(--mid);
  cursor: pointer; font-family: inherit; transition: border-color 0.15s, color 0.15s;
}
.quick-pill:hover { border-color: var(--blue); color: var(--blue); }

/* ─── DISCOVERY SECTION ─── */
.disc-section { padding: 56px 0; border-bottom: 1px solid var(--rule); }
.disc-section--alt { background: var(--canvas); }
.disc-inner { max-width: 1200px; margin: 0 auto; padding: 0 48px; }

.disc-section-head { margin-bottom: 20px; }
.disc-section-head h2 {
  font-family: 'Fraunces', serif;
  font-size: 26px; font-weight: 900;
  color: var(--ink); letter-spacing: -0.5px;
  margin-bottom: 4px;
}
.disc-section-head p { font-size: 14px; color: var(--mid); }

/* Category chip row */
.cat-row {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-bottom: 24px;
}
.cat-chip {
  padding: 6px 16px; border-radius: var(--radius-pill);
  border: 1px solid var(--rule); background: var(--white);
  font-size: 13px; font-weight: 500; color: var(--mid);
  cursor: pointer; font-family: inherit; white-space: nowrap;
  transition: all 0.15s;
}
.cat-chip:hover { border-color: var(--ink); color: var(--ink); }
.cat-chip.active {
  background: var(--ink); border-color: var(--ink); color: white;
}

/* ─── CAROUSEL ─── */
.carousel-wrap {
  position: relative;
}
.carousel {
  display: flex; gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-bottom: 8px;
}
.carousel::-webkit-scrollbar { display: none; }

.car-arrow {
  position: absolute; top: 42%;
  transform: translateY(-50%);
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--white); border: 1px solid var(--rule);
  font-size: 20px; line-height: 1;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  z-index: 10; transition: background 0.15s, border-color 0.15s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.car-arrow--left { left: -19px; }
.car-arrow--right { right: -19px; }
.car-arrow:hover { background: var(--ink); color: white; border-color: var(--ink); }

/* ─── EPISODE CARD ─── */
.disc-card {
  flex-shrink: 0; width: 220px;
  display: flex; flex-direction: column;
  scroll-snap-align: start;
}
.disc-card.hidden { display: none; }

.cover-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
}
.disc-thumb {
  width: 220px; height: 124px;
  border-radius: var(--radius);
  border: 1px solid var(--rule);
  position: relative; overflow: hidden;
  margin-bottom: 10px;
  transition: opacity 0.15s;
}
.disc-card:hover .disc-thumb { opacity: 0.85; }

.disc-dur {
  position: absolute; bottom: 8px; right: 8px;
  background: rgba(0,0,0,0.65); color: white;
  font-size: 10px; font-weight: 700;
  padding: 2px 7px; border-radius: var(--radius-pill);
}
.disc-new {
  position: absolute; top: 8px; left: 8px;
  background: var(--blue); color: white;
  font-size: 9px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.06em;
  padding: 2px 7px; border-radius: var(--radius-pill);
}

.disc-info { flex: 1; margin-bottom: 10px; }
.disc-show {
  font-size: 11px; font-weight: 600; color: var(--blue);
  text-transform: uppercase; letter-spacing: 0.05em;
  margin-bottom: 3px;
}
.disc-ep-title {
  font-family: 'Fraunces', serif;
  font-size: 13px; font-weight: 700;
  color: var(--ink); line-height: 1.3;
  margin-bottom: 3px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.disc-guest { font-size: 11px; color: var(--mid); }

.disc-preview-btn {
  display: block; padding: 9px;
  background: var(--blue); color: white;
  border-radius: var(--radius-pill);
  font-size: 13px; font-weight: 700;
  text-align: center; cursor: pointer;
  transition: background 0.15s;
}
.disc-card:hover .disc-preview-btn { background: var(--blue-h); }

/* ─── GUEST CTA ─── */
.guest-cta {
  background: var(--night);
  padding: 80px 24px;
  text-align: center;
}
.guest-cta h2 {
  font-family: 'Fraunces', serif;
  font-size: 40px; font-weight: 900;
  color: white; letter-spacing: -1.5px; line-height: 1.1;
  margin-bottom: 12px;
}
.guest-cta p { font-size: 16px; color: rgba(255,255,255,0.55); margin-bottom: 28px; line-height: 1.6; }
.guest-cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-cta-primary {
  padding: 14px 36px; background: var(--yellow); color: var(--ink);
  border: none; border-radius: var(--radius-pill);
  font-size: 15px; font-weight: 800; cursor: pointer; font-family: inherit;
  transition: background 0.15s;
}
.btn-cta-primary:hover { background: #E0B400; }
.btn-cta-ghost {
  padding: 14px 36px; background: transparent;
  border: 1.5px solid rgba(255,255,255,0.2); color: white;
  border-radius: var(--radius-pill); font-size: 15px; font-weight: 600;
  cursor: pointer; font-family: inherit; transition: border-color 0.2s;
}
.btn-cta-ghost:hover { border-color: rgba(255,255,255,0.5); }
.guest-cta-note { margin-top: 14px; font-size: 12px; color: rgba(255,255,255,0.3); }

/* ─── FOOTER ─── */
.footer { background: var(--ink); color: rgba(255,255,255,0.4); padding: 32px 24px; text-align: center; font-size: 13px; }
.footer a { color: var(--blue-light); }

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .nav { display: none; }
  .disc-hero h1 { font-size: 34px; }
  .disc-inner { padding: 0 24px; }
  .car-arrow { display: none; }
}
