:root {
  --bg-primary: #0B0B0F;
  --bg-secondary: #140A18;
  --bg-surface: #180D1D;
  --bg-card: rgba(22, 14, 27, 0.75);
  --bg-card-hover: rgba(32, 18, 40, 0.9);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(255, 49, 92, 0.3);
  --border-focus: #FF315C;
  --accent: #FF315C;
  --accent-hover: #E9164B;
  --accent-glow: rgba(255, 49, 92, 0.35);
  --accent-gradient: linear-gradient(135deg, #FF315C 0%, #D81343 100%);
  --accent-gradient-glow: linear-gradient(135deg, #FF315C 0%, #FF6B8B 50%, #FFA4B7 100%);
  --text-primary: #FFFFFF;
  --text-secondary: #A1A1AA;
  --text-muted: #71717A;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --font-main: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --container-max: 1240px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 1px rgba(255, 255, 255, 0.1);
  --shadow-card-hover: 0 20px 45px rgba(0, 0, 0, 0.75), 0 0 25px rgba(255, 49, 92, 0.22);
}

@font-face {
  font-family: 'Manrope';
  src: url('/assets/fonts/Manrope-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Manrope';
  src: url('/assets/fonts/Manrope-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

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

html {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: radial-gradient(circle at 50% -10%, #201026 0%, #0B0B0F 55%, #070709 100%);
  background-attachment: fixed;
  overflow-x: hidden;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

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

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ==================================================
   HEADER (SIMPLIFIED: LOGO LEFT, BOOSTY RIGHT)
================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(11, 11, 15, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 49, 92, 0.14);
  transition: var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.25rem;
  gap: 1rem;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo-img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 50%;
  filter: drop-shadow(0 0 10px rgba(255, 49, 92, 0.45));
  transition: transform 0.3s ease;
}

.logo-link:hover .brand-logo-img {
  transform: scale(1.05) rotate(4deg);
}

.brand-logo-img-sm {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 50%;
  filter: drop-shadow(0 0 8px rgba(255, 49, 92, 0.4));
}

.logo-wordmark {
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}

.logo-cliff {
  color: #FFFFFF;
}

.logo-play {
  color: var(--accent);
  text-shadow: 0 0 18px rgba(255, 49, 92, 0.5);
}

.header-action {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.header-boosty-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent-gradient);
  color: #fff;
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: 0 4px 18px var(--accent-glow);
  border: 1px solid rgba(255, 255, 255, 0.16);
  white-space: nowrap;
  transition: var(--transition);
}

.header-boosty-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--accent-glow);
}

.nav-btn-text-short {
  display: none;
}

@media (max-width: 480px) {
  .header-inner {
    height: 3.75rem;
  }
  .brand-logo-img {
    width: 34px;
    height: 34px;
  }
  .logo-wordmark {
    font-size: 1.35rem;
  }
  .header-boosty-btn {
    padding: 0.45rem 0.95rem;
    font-size: 0.85rem;
  }
  .nav-btn-text-full {
    display: none;
  }
  .nav-btn-text-short {
    display: inline;
  }
}

/* ==================================================
   HERO SECTION (PRIORITY: BOOSTY PRIMARY, CATALOG SECONDARY)
================================================== */
.hero-section {
  position: relative;
  background-size: cover;
  background-position: center 25%;
  background-repeat: no-repeat;
  padding: 4.5rem 0 3.5rem;
  overflow: hidden;
}

.hero-ambient-glow {
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 760px;
  height: 280px;
  background: radial-gradient(ellipse, rgba(255, 49, 92, 0.16) 0%, transparent 70%);
  pointer-events: none;
  filter: blur(50px);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(23, 14, 28, 0.75);
  border: 1px solid rgba(255, 49, 92, 0.35);
  color: #fff;
  padding: 0.35rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  backdrop-filter: blur(8px);
  box-shadow: 0 0 20px rgba(255, 49, 92, 0.2);
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

.hero-title {
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
}

.hero-title-accent {
  background: var(--accent-gradient-glow);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 30px rgba(255, 49, 92, 0.45));
}

.hero-subtitle {
  font-size: clamp(1.02rem, 2vw, 1.2rem);
  color: #BDBDC7;
  line-height: 1.65;
  margin: 0 auto 2.2rem;
  max-width: 660px;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  flex-wrap: wrap;
}

/* Primary Button: Boosty */
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--accent-gradient);
  color: #fff;
  padding: 0.9rem 2.2rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow: 0 6px 25px rgba(255, 49, 92, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: var(--transition);
}

.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(255, 49, 92, 0.55);
}

/* Secondary Button: Catalog */
.hero-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(25, 16, 30, 0.85);
  color: #fff;
  padding: 0.9rem 1.8rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  transition: var(--transition);
}

.hero-btn-secondary:hover {
  background: rgba(35, 22, 42, 0.95);
  border-color: rgba(255, 49, 92, 0.4);
  transform: translateY(-2px);
}

/* ==================================================
   CATALOG SECTION & CODE DROPDOWN SELECT
================================================== */
.catalog-section {
  padding: 2.5rem 0 4.5rem;
  flex: 1;
}

.catalog-header {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.25rem;
}

.catalog-title-wrap {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.catalog-title {
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.catalog-count {
  font-size: 0.95rem;
  color: #D4D4D8;
  font-weight: 600;
  white-space: nowrap;
}

.catalog-count-num {
  font-weight: 800;
  color: #fff;
  background: rgba(255, 49, 92, 0.15);
  border: 1px solid rgba(255, 49, 92, 0.3);
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-sm);
  margin-left: 0.25rem;
}

.catalog-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  justify-content: space-between;
}

/* Custom Series Dropdown */
.series-select-container {
  flex: 1;
  min-width: 280px;
  max-width: 440px;
}

.series-select-wrapper {
  position: relative;
  width: 100%;
}

.series-select-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  background: rgba(22, 14, 27, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 0.75rem 1.25rem;
  color: #fff;
  font-size: 0.92rem;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: var(--transition);
  text-align: left;
}

.series-select-trigger:hover:not(:disabled) {
  border-color: rgba(255, 49, 92, 0.4);
  box-shadow: 0 0 12px rgba(255, 49, 92, 0.15);
}

.series-select-trigger:focus, .series-select-wrapper.active .series-select-trigger {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 16px var(--accent-glow);
}

.series-select-trigger:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.series-select-icon {
  display: flex;
  align-items: center;
  color: var(--accent);
  flex-shrink: 0;
}

.series-select-label {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 500;
}

.series-select-arrow {
  display: flex;
  align-items: center;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.series-select-wrapper.active .series-select-arrow {
  transform: rotate(180deg);
  color: var(--accent);
}

.series-select-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(20, 12, 25, 0.96);
  border: 1px solid rgba(255, 49, 92, 0.35);
  border-radius: 16px;
  padding: 0.5rem;
  list-style: none;
  max-height: 290px;
  overflow-y: auto;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.8), 0 0 25px rgba(255, 49, 92, 0.15);
  backdrop-filter: blur(20px);
  display: none;
}

.series-select-wrapper.active .series-select-dropdown {
  display: block;
  animation: dropdownFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes dropdownFadeIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.series-select-option {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-sm);
  color: #E4E4E7;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.15s ease;
}

.series-select-option:hover, .series-select-option:focus {
  background: rgba(255, 49, 92, 0.15);
  color: #fff;
  outline: none;
}

.series-option-code {
  font-weight: 800;
  color: var(--accent);
  background: rgba(255, 49, 92, 0.12);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.series-option-sep {
  color: var(--text-muted);
  flex-shrink: 0;
}

.series-option-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 600;
}

/* Custom scrollbar for dropdown */
.series-select-dropdown::-webkit-scrollbar {
  width: 6px;
}
.series-select-dropdown::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 3px;
}
.series-select-dropdown::-webkit-scrollbar-thumb {
  background: rgba(255, 49, 92, 0.4);
  border-radius: 3px;
}

.genre-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.genre-tag {
  background: rgba(22, 14, 27, 0.7);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: var(--transition);
}

.genre-tag:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.genre-tag.active {
  background: var(--accent-gradient);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 0 16px var(--accent-glow);
}

/* ==================================================
   SERIES GRID & CARDS
================================================== */
.series-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.75rem;
  justify-content: center;
}

@media (min-width: 1100px) {
  .series-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.series-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.series-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 49, 92, 0.5);
  box-shadow: var(--shadow-card-hover);
}

.card-poster-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  background: #120916;
  overflow: hidden;
}

.card-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.series-card:hover .card-poster {
  transform: scale(1.06);
}

.card-badge-code {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  background: rgba(11, 11, 15, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 49, 92, 0.4);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.05em;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.card-badge-duration {
  position: absolute;
  bottom: 0.85rem;
  right: 0.85rem;
  background: rgba(11, 11, 15, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #E4E4E7;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-genre {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.45rem;
}

.card-title {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.55rem;
  color: #fff;
}

.card-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.card-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 0.95rem;
}

.btn-card {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent);
  transition: var(--transition);
}

.btn-card:hover {
  color: #fff;
  transform: translateX(3px);
}

/* ==================================================
   EMPTY STATES
================================================== */
.empty-catalog {
  text-align: center;
  padding: 4rem 1.5rem;
  background: rgba(20, 13, 26, 0.65);
  border: 1px dashed rgba(255, 49, 92, 0.3);
  border-radius: 20px;
  max-width: 560px;
  margin: 3rem auto;
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.empty-icon-wrap {
  width: 68px;
  height: 68px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: rgba(255, 49, 92, 0.1);
  border: 1px solid rgba(255, 49, 92, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  box-shadow: 0 0 24px rgba(255, 49, 92, 0.15);
}

.empty-icon {
  width: 2.2rem;
  height: 2.2rem;
}

.empty-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
  color: #fff;
  letter-spacing: -0.01em;
}

.empty-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.btn-reset-search {
  display: inline-flex;
}

/* ==================================================
   SERIES DETAIL PAGE (/cp-XXXX)
================================================== */
.detail-section {
  padding: 2rem 0 5rem;
}

.detail-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.detail-breadcrumbs a {
  color: var(--text-secondary);
}

.detail-breadcrumbs a:hover {
  color: var(--accent);
}

.bc-sep {
  color: var(--text-muted);
}

.bc-current {
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.detail-mobile-header {
  display: none;
  margin-bottom: 1.5rem;
}

.detail-desktop-meta {
  display: block;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 820px) {
  .detail-grid {
    grid-template-columns: 360px 1fr;
    gap: 3rem;
  }
}

@media (min-width: 1100px) {
  .detail-grid {
    grid-template-columns: 400px 1fr;
    gap: 3.5rem;
  }
}

.detail-poster-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(255, 49, 92, 0.18);
  background: #110A16;
}

.detail-poster-wrap {
  width: 100%;
  aspect-ratio: 9 / 16;
  background: #110A16;
  display: flex;
  align-items: center;
  justify-content: center;
}

.detail-poster-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.detail-info {
  display: flex;
  flex-direction: column;
}

.detail-header-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.badge-code-lg {
  background: var(--accent-gradient);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 800;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.05em;
  box-shadow: 0 4px 14px var(--accent-glow);
}

.badge-meta {
  background: rgba(23, 14, 28, 0.8);
  border: 1px solid var(--border-subtle);
  color: #E4E4E7;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-sm);
  backdrop-filter: blur(8px);
}

.detail-title {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.detail-cta-box {
  background: linear-gradient(145deg, rgba(32, 17, 38, 0.9) 0%, rgba(18, 11, 22, 0.95) 100%);
  border: 1px solid rgba(255, 49, 92, 0.38);
  border-radius: 20px;
  padding: 1.75rem 2rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 49, 92, 0.15);
  margin-bottom: 2rem;
}

.cta-price-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn-boosty-main {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  width: 100%;
  background: var(--accent-gradient);
  color: #fff;
  padding: 1.15rem 2.2rem;
  border-radius: var(--radius-md);
  font-size: 1.15rem;
  font-weight: 800;
  box-shadow: 0 8px 30px var(--accent-glow);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition);
  text-align: center;
}

.btn-boosty-main:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px var(--accent-glow);
}

.btn-boosty-main svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: #fff;
}

.cta-terms-lines {
  margin-top: 1rem;
  text-align: center;
}

.cta-notice-primary {
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 0.25rem;
}

.cta-notice-secondary {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.detail-desc-block {
  background: rgba(22, 14, 27, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 1.5rem 1.75rem;
  margin-bottom: 1.75rem;
  backdrop-filter: blur(10px);
}

.detail-desc-title {
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}

.detail-desc-text {
  font-size: 1rem;
  line-height: 1.75;
  color: #e4e4e7;
  white-space: pre-line;
}

.back-to-catalog-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 600;
  transition: var(--transition);
}

.back-to-catalog-link:hover {
  color: #fff;
  transform: translateX(-3px);
}

.preview-banner {
  background: #f59e0b;
  color: #000;
  padding: 0.75rem 1.25rem;
  font-weight: 700;
  font-size: 0.92rem;
  text-align: center;
  border-radius: var(--radius-sm);
  margin-bottom: 1.75rem;
}

/* Recommendations Section */
.recommendations-section {
  margin-top: 4.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.recommendations-header {
  margin-bottom: 1.75rem;
}

.recommendations-title {
  font-size: 1.65rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.35rem;
  letter-spacing: -0.01em;
}

.recommendations-sub {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.recommendations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.25rem;
}

@media (min-width: 1100px) {
  .recommendations-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.rec-card .card-title {
  font-size: 0.95rem;
  line-height: 1.3;
}

.rec-card .card-body {
  padding: 0.85rem;
}

/* Mobile Smart Sticky CTA */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99;
  background: rgba(11, 11, 15, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid rgba(255, 49, 92, 0.25);
  padding: 0.75rem 1rem;
  padding-bottom: calc(0.75rem + env(safe-area-inset-bottom, 0));
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-sticky-cta.hidden-by-scroll {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 819px) {
  .mobile-sticky-cta {
    display: block;
  }
  body {
    padding-bottom: 4.5rem;
  }
}

@media (max-width: 767px) {
  .detail-mobile-header {
    display: block;
  }
  .detail-desktop-meta {
    display: none;
  }
  .detail-poster-card {
    max-width: 320px;
    margin: 0 auto;
  }
  .recommendations-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }
}

/* ==================================================
   LEGAL PAGES
================================================== */
.legal-section {
  padding: 3.5rem 0 5.5rem;
}

.legal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: clamp(1.75rem, 4.5vw, 3.5rem);
  max-width: 900px;
  margin: 0 auto;
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.6);
}

.legal-title {
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 0.6rem;
  letter-spacing: -0.02em;
}

.legal-date {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 2.25rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.legal-content h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 2.25rem 0 0.85rem;
  color: #fff;
}

.legal-content p {
  color: #d4d4d8;
  margin-bottom: 1.1rem;
  line-height: 1.75;
}

.legal-content ul {
  margin: 0 0 1.5rem 1.5rem;
  color: #d4d4d8;
}

.legal-content li {
  margin-bottom: 0.55rem;
}

.legal-highlight {
  background: rgba(255, 49, 92, 0.08);
  border-left: 3px solid var(--accent);
  padding: 1.1rem 1.35rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.75rem 0;
  font-size: 0.92rem;
  color: #f4f4f5;
}

/* ==================================================
   COMPACT COOKIE BANNER
================================================== */
.cookie-banner {
  position: fixed;
  bottom: 1.25rem;
  left: 1.25rem;
  max-width: 380px;
  z-index: 1000;
  background: rgba(20, 13, 25, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 49, 92, 0.28);
  border-radius: 14px;
  padding: 0.95rem 1.15rem;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.75), 0 0 20px rgba(255, 49, 92, 0.12);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.cookie-banner.hidden {
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  display: none;
}

.cookie-text {
  font-size: 0.82rem;
  color: #D4D4D8;
  line-height: 1.45;
  margin-bottom: 0.75rem;
}

.cookie-text a {
  color: var(--accent);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.btn-cookie {
  padding: 0.38rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-cookie-accept {
  background: var(--accent-gradient);
  color: #fff;
  box-shadow: 0 2px 8px var(--accent-glow);
}

.btn-cookie-accept:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px var(--accent-glow);
}

.btn-cookie-necessary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

.btn-cookie-necessary:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.btn-cookie-more {
  background: transparent;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.78rem;
  padding: 0.38rem 0.6rem;
}

.btn-cookie-more:hover {
  color: #fff;
}

/* ==================================================
   COMPACT FOOTER (SUBSTANTIALLY REDUCED HEIGHT)
================================================== */
.site-footer {
  background: #07070A;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 2.25rem 0 1.5rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1.2fr 1.2fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  align-items: start;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-top: 0.5rem;
  max-width: 320px;
  line-height: 1.45;
}

.footer-heading {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  margin-bottom: 0.75rem;
}

.footer-socials-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  font-weight: 600;
  color: #D4D4D8;
  transition: var(--transition);
}

.social-link svg {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.social-link:hover {
  background: rgba(255, 49, 92, 0.12);
  border-color: rgba(255, 49, 92, 0.35);
  color: #fff;
  transform: translateY(-1px);
}

.social-link:hover svg {
  transform: scale(1.1);
}

.footer-legal-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-legal-links a {
  font-size: 0.82rem;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.footer-legal-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1.1rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.ai-notice {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* ==================================================
   RESPONSIVE DESIGN (TABLET & MOBILE)
================================================== */
@media (max-width: 820px) {
  .hero-section {
    padding: 3.25rem 0 2.25rem;
    background-position: 35% center;
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  .series-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .card-body {
    padding: 0.85rem;
  }

  .card-title {
    font-size: 0.98rem;
    margin-bottom: 0.35rem;
  }

  .card-desc {
    display: none;
  }

  .series-select-container {
    max-width: 100%;
  }

  .cookie-banner {
    left: 0.75rem;
    right: 0.75rem;
    max-width: none;
    bottom: calc(0.75rem + env(safe-area-inset-bottom, 0));
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding: 2.5rem 0 1.75rem;
    background-position: 25% center;
  }

  .hero-title {
    font-size: 2.1rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .hero-cta, .hero-btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .catalog-title-wrap {
    flex-direction: row;
    align-items: center;
  }

  .series-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .card-desc {
    display: -webkit-box;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .footer-socials-row {
    justify-content: flex-start;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}

/* Accessibility & Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
