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

html,
body {
  margin: 0;
  padding: 0;
}

body.dd-dark {
  background: #05060a;
  color: #ffffff;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
}

/* NAVBAR -------------------------------------------------- */

.dd-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 40px;
  background: #05060a;
  border-bottom: 1px solid #15151c;
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 10px;
}

.nav-logo img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
}

.brand {
  font-weight: 700;
  font-size: 1rem;
  color: #21c7ff;
  letter-spacing: 0.04em;
}

.nav-right a {
  margin-left: 18px;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.95rem;
  opacity: 0.8;
}

.nav-right a:hover {
  opacity: 1;
}

.nav-right a.active {
  color: #ff33aa;
}

/* BUTTONS -------------------------------------------------- */

.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease,
    color 0.15s ease;
}

.btn-primary {
  background: #ff33aa;
  color: #ffffff;
  box-shadow: 0 0 24px rgba(255, 51, 170, 0.6);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 32px rgba(255, 51, 170, 0.8);
}

.btn-ghost {
  background: transparent;
  color: #ff33aa;
  border: 1px solid rgba(255, 51, 170, 0.4);
}

.btn-ghost:hover {
  background: rgba(255, 51, 170, 0.08);
}

/* HOME PAGE -------------------------------------------------- */

.home-hero {
  min-height: calc(100vh - 64px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
}

.home-title {
  font-size: clamp(2.6rem, 4vw, 3.2rem);
  margin-bottom: 12px;
}

.home-tagline {
  font-size: 1.05rem;
  color: #d0d0e6;
  margin-bottom: 28px;
}

/* SHOWS PAGE -------------------------------------------------- */

.shows-page {
  max-width: 1100px;
  margin: 40px auto 80px;
  padding: 0 20px 40px;
}

.shows-header h1 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.shows-header p {
  color: #c3c3dd;
  margin-bottom: 28px;
}

.shows-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}

.show-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 20px;
  padding: 16px;
  background: radial-gradient(circle at top left, #2b1530, #05060a);
  border-radius: 18px;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}

.show-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.8);
}

.show-card-image img {
  width: 100%;
  height: 100%;
  border-radius: 14px;
  object-fit: cover;
}

.show-card-title {
  font-size: 1.4rem;
  margin: 0 0 6px;
}

.show-card-tagline {
  color: #ff66c4;
  margin: 0 0 8px;
}

.show-card-meta {
  color: #9c9cc1;
  font-size: 0.9rem;
}

/* SHOW DETAIL PAGE (Touché) ---------------------------------- */

.show-page {
  max-width: 1100px;
  margin: 40px auto 80px;
  padding: 0 20px 40px;
}

.show-header {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 28px;
  margin-bottom: 40px;
  align-items: center;
}

.show-poster {
  width: 100%;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.9);
}

.show-info h1 {
  font-size: 2.2rem;
  margin: 0 0 10px;
}

.show-tagline {
  color: #ff33aa;
  font-size: 1.05rem;
  margin: 0 0 16px;
}

.show-desc {
  color: #d0d0e6;
  line-height: 1.6;
  margin: 0 0 20px;
}

/* Episodes section */
.episodes-section {
  margin-top: 20px;
}

.episodes-section h2 {
  font-size: 1.6rem;
  margin-bottom: 18px;
}

.episode-card {
  border-radius: 16px;
  padding: 16px 18px;
  background: #101018;
  border: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 14px;
}

.episode-card h3 {
  margin: 0 0 8px;
}

.episode-card p {
  margin: 0 0 10px;
  color: #d5d5ed;
  font-size: 0.98rem;
}

/* RESPONSIVE -------------------------------------------------- */

@media (max-width: 900px) {
  .dd-nav {
    padding: 12px 16px;
  }

  .nav-right a {
    margin-left: 12px;
  }

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

  .show-poster {
    max-width: 360px;
    justify-self: center;
  }

  .show-page,
  .shows-page {
    margin-top: 24px;
  }

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