:root {
  --bg-canvas: #1e2530;
  --bg-surface: #303b48;
  --bg-surface-hover: #3a4756;
  --text-primary: #ffffff;
  --text-muted: #cbd5e1;
  --accent-primary: #a3e635;
  --accent-hover: #bef264;
  --accent-secondary: #84cc16;
  --border-subtle: #475569;
  --font-serif: Georgia, 'Times New Roman', serif;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --dot-pattern: radial-gradient(#3a4756 1px, transparent 1px);
}

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

html {
  font-family: var(--font-sans);
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  line-height: 1.6;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-canvas);
}

a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover, a:focus-visible {
  color: var(--accent-primary);
}

/* Header */
.site-header {
  position: relative;
  width: 100%;
  padding: 12px 1.5rem;
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 100;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.brand-dot {
  width: 10px;
  height: 10px;
  background: var(--accent-primary);
  border-radius: 50%;
  display: inline-block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding-bottom: 4px;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent-primary);
  transition: width 0.25s ease;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.cta-header-btn {
  background-color: var(--accent-primary);
  color: #111827;
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.5rem 1.15rem;
  border-radius: 999px;
  transition: background-color 0.2s ease, transform 0.2s ease;
  display: inline-block;
  white-space: nowrap;
}

.cta-header-btn:hover {
  background-color: var(--accent-hover);
  color: #000;
  transform: translateY(-1px);
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  padding: 6px 12px;
  color: var(--text-primary);
  font-size: 1.25rem;
  cursor: pointer;
  line-height: 1;
}

/* Layout */
main {
  flex: 1;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.content-narrow {
  max-width: 72ch;
  margin: 0 auto;
}

.section-padding {
  padding: clamp(2.5rem, 5vw, 4.5rem) 0;
}

.dot-bg {
  background-size: 24px 24px;
  background-image: var(--dot-pattern);
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 65vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem;
  background-color: #171d26;
  background-size: 20px 20px;
  background-image: var(--dot-pattern);
  border-bottom: 1px solid var(--border-subtle);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(30, 37, 48, 0.4) 0%, rgba(20, 25, 33, 0.95) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.hero-kicker {
  display: inline-block;
  background: rgba(163, 230, 53, 0.12);
  color: var(--accent-primary);
  border: 1px solid rgba(163, 230, 53, 0.35);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
  font-weight: 600;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--text-primary);
  line-height: 1.25;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.hero-title {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 700;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.6;
}

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

/* Primary and Secondary Buttons */
.btn-primary {
  background-color: var(--accent-primary);
  color: #0f172a;
  font-weight: 700;
  padding: 0.85rem 1.75rem;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease;
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  color: #000;
  transform: translateY(-2px);
}

.link-growing {
  display: inline-flex;
  align-items: center;
  color: var(--text-primary);
  font-weight: 600;
  position: relative;
  padding-bottom: 2px;
}

.link-growing::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-primary);
  transition: width 0.25s ease;
}

.link-growing:hover::after {
  width: 100%;
}

/* Editorial Recommendation Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.movie-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-4px);
  border-color: #64748b;
}

.card-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #1a202c;
  overflow: hidden;
}

.card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.badge-tag {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: var(--accent-primary);
  color: #0f172a;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
}

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

.card-title {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.stat-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--accent-primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-strip span:not(:last-child)::after {
  content: '•';
  margin-left: 0.75rem;
  color: var(--border-subtle);
}

.card-description {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.card-audience {
  margin-top: auto;
  font-size: 0.85rem;
  background: rgba(20, 26, 34, 0.6);
  padding: 0.75rem 1rem;
  border-left: 3px solid var(--accent-primary);
  color: #e2e8f0;
}

/* Feature Spotlight Component */
.spotlight-panel {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  margin-bottom: 3rem;
}

@media (max-width: 840px) {
  .spotlight-panel {
    grid-template-columns: 1fr;
  }
}

.spotlight-visual {
  position: relative;
  aspect-ratio: 16 / 9;
  min-height: 320px;
  background: #171d26;
}

.spotlight-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.spotlight-content {
  padding: clamp(1.75rem, 3.5vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section-head {
  text-align: left;
  margin-bottom: 2rem;
}

.section-head h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  margin-bottom: 0.5rem;
}

.section-head p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 65ch;
}

/* Accordion Component */
.accordion-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.accordion-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--text-primary);
  text-align: left;
  cursor: pointer;
}

.accordion-trigger:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: -2px;
}

.accordion-icon {
  font-size: 1.25rem;
  transition: transform 0.2s ease;
  color: var(--accent-primary);
}

.accordion-item[open] .accordion-icon {
  transform: rotate(45deg);
}

.accordion-body {
  padding: 0 1.5rem 1.5rem 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* Genre Filter Tabs */
.tabs-nav {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.5rem;
}

.tab-btn {
  background: none;
  border: 1px solid transparent;
  color: var(--text-muted);
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tab-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.tab-btn.active {
  background: var(--accent-primary);
  color: #0f172a;
}

/* Editorial Form */
.draft-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  margin: 2rem 0;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  color: #e2e8f0;
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 0.85rem 1rem;
  background: #171d26;
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1rem;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--accent-primary);
}

.form-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.preview-box {
  background: #141922;
  border: 1px solid #334155;
  padding: 1.25rem;
  margin-top: 1.5rem;
  font-family: monospace;
  font-size: 0.9rem;
  white-space: pre-wrap;
  color: #f1f5f9;
  min-height: 100px;
}

/* Data Table wrapper */
.table-wrapper {
  overflow-x: auto;
  margin: 2rem 0;
  border: 1px solid var(--border-subtle);
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

th, td {
  padding: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

th {
  background: #252e39;
  color: var(--accent-primary);
  font-family: var(--font-serif);
  font-size: 1rem;
}

tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.02);
}

/* Footer */
.site-footer {
  background: #141922;
  border-top: 1px solid var(--border-subtle);
  padding: 3rem 1.5rem 2rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 4rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-col h3 {
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col a {
  color: var(--text-muted);
}

.footer-col a:hover {
  color: var(--accent-primary);
}

.footer-bottom {
  max-width: 1200px;
  margin: 1.5rem auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #1e2530;
    flex-direction: column;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-list {
    flex-direction: column;
    width: 100%;
    gap: 1rem;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
}

/* Cookie Consent Pop-up Banner */
#choice-box {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  max-width: 460px;
  background-color: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  border-left: 4px solid var(--accent-primary);
  border-radius: 6px;
  padding: 1.4rem 1.5rem;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55), 0 4px 12px rgba(0, 0, 0, 0.35);
  z-index: 9999;
  font-size: 0.925rem;
  line-height: 1.55;
  animation: choiceBoxFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

#choice-box[hidden] {
  display: none !important;
}

#choice-box p {
  margin: 0;
  color: var(--text-muted);
}

#choice-box p strong {
  display: block;
  font-size: 1.05rem;
  color: var(--text-primary);
  font-family: var(--font-serif);
  margin-bottom: 0.45rem;
}

#choice-box a {
  color: var(--accent-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

#choice-box a:hover {
  color: var(--accent-hover);
}

.choice-box-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem !important;
  flex-wrap: wrap;
}

.choice-box-actions button {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.6rem 1.15rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1.3;
}

.choice-box-actions button[data-consent="all"] {
  background-color: var(--accent-primary);
  color: #0f172a;
  border: 1px solid var(--accent-primary);
}

.choice-box-actions button[data-consent="all"]:hover,
.choice-box-actions button[data-consent="all"]:focus-visible {
  background-color: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #000;
  transform: translateY(-1px);
}

.choice-box-actions button[data-consent="essential"] {
  background-color: #1a222d;
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

.choice-box-actions button[data-consent="essential"]:hover,
.choice-box-actions button[data-consent="essential"]:focus-visible {
  background-color: #242d3b;
  border-color: #64748b;
  transform: translateY(-1px);
}

@keyframes choiceBoxFadeIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 600px) {
  #choice-box {
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    max-width: none;
    padding: 1.25rem;
  }

  .choice-box-actions {
    flex-direction: column;
  }

  .choice-box-actions button {
    width: 100%;
    text-align: center;
    padding: 0.75rem 1rem;
  }
}

@media (prefers-reduced-motion: reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}