/* ==========================================================================
   FLAMESPARK — Official Cinematic Movie Universe Stylesheet
   Tagline: Stories with fire behind them.
   ========================================================================== */

/* --- Fonts & Base Reset --- */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700;800;900&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Bebas+Neue&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --bg-core: #070709;
  --bg-surface: #0e0e13;
  --bg-surface-elevated: #16161f;
  --bg-card: rgba(20, 20, 28, 0.7);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-flame: rgba(255, 90, 0, 0.35);
  --border-flame-bright: rgba(255, 120, 0, 0.7);

  --flame-primary: #ff5500;
  --flame-bright: #ff7700;
  --flame-amber: #ffaa00;
  --flame-gold: #ffcc33;
  --flame-deep: #cc2200;
  --flame-ember: rgba(255, 85, 0, 0.15);

  --text-main: #f4f4f6;
  --text-muted: #94949e;
  --text-subtle: #63636e;

  --font-display: 'Cinzel', Georgia, serif;
  --font-hero: 'Bebas Neue', 'Cinzel', sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --ease-cinematic: cubic-bezier(0.16, 1, 0.3, 1);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  background-color: var(--bg-core);
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--bg-core);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Atmospheric Noise / Vignette Overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 50% 10%, rgba(255, 85, 0, 0.04) 0%, transparent 60%),
              radial-gradient(circle at 80% 80%, rgba(255, 50, 0, 0.03) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}

/* Film Grain Texture */
.film-grain {
  position: fixed;
  inset: 0;
  opacity: 0.028;
  pointer-events: none;
  z-index: 2;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Typography Utilities */
h1, h2, h3, .font-display {
  font-family: var(--font-display);
  letter-spacing: 0.03em;
  text-wrap: balance;
}

.font-hero {
  font-family: var(--font-hero);
  letter-spacing: 0.06em;
}

.text-gradient-flame {
  background: linear-gradient(135deg, #ffffff 0%, #ffe0b2 20%, #ff8800 65%, #ff3300 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-fire {
  background: linear-gradient(135deg, #ffcc00 0%, #ff6600 50%, #e62200 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* --- Header & Top Bar Contract --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 76px;
  z-index: 100;
  transition: background-color 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background-color: rgba(7, 7, 9, 0.88);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--border-subtle);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Zone 1: Single Brand Wordmark */
.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
  transition: transform 0.2s var(--ease-cinematic);
}

.brand-link:hover {
  transform: translateY(-1px);
}

.brand-logo-img {
  width: 34px;
  height: 34px;
  filter: drop-shadow(0 0 10px rgba(255, 85, 0, 0.6));
}

.brand-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #ffffff;
}

.brand-name span {
  color: var(--flame-bright);
}

/* Zone 2: Navigation Links */
.main-nav {
  display: none;
}

@media (min-width: 900px) {
  .main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
  }
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  position: relative;
  padding: 4px 0;
  transition: color 0.2s ease;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--flame-bright), var(--flame-amber));
  transition: width 0.25s var(--ease-cinematic);
  border-radius: 2px;
}

.nav-link:hover {
  color: #ffffff;
}

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

.nav-link.active {
  color: #ffffff;
}

/* Zone 3: Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.22s var(--ease-cinematic);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, #ff4500, #ff6600);
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(255, 69, 0, 0.35);
  border-color: rgba(255, 170, 0, 0.4);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #ff5500, #ff7700);
  box-shadow: 0 6px 26px rgba(255, 69, 0, 0.55), 0 0 20px rgba(255, 170, 0, 0.4);
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  border-color: var(--border-subtle);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-flame);
  transform: translateY(-2px);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.btn-ghost-sm {
  font-size: 12px;
  padding: 6px 12px;
  color: var(--text-muted);
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(20, 20, 26, 0.6);
}

.btn-ghost-sm:hover {
  color: #ffffff;
  border-color: var(--border-flame);
}

.btn-icon-pulse {
  animation: flamePulse 2s infinite ease-in-out;
}

@keyframes flamePulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 2px rgba(255, 85, 0, 0.5)); }
  50% { transform: scale(1.15); filter: drop-shadow(0 0 8px rgba(255, 170, 0, 0.9)); }
}

/* Mobile Nav Toggle */
.mobile-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  cursor: pointer;
  gap: 5px;
  padding: 8px;
}

@media (min-width: 900px) {
  .mobile-toggle {
    display: none;
  }
}

.mobile-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--text-main);
  transition: all 0.25s ease;
}

.mobile-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.open span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  top: 76px;
  left: 0;
  right: 0;
  background: rgba(8, 8, 12, 0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 24px;
  display: none;
  flex-direction: column;
  gap: 18px;
  z-index: 99;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu .nav-link {
  font-size: 16px;
  padding: 8px 0;
}

/* --- HERO SECTION --- */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 100px;
  padding-bottom: 80px;
  overflow: hidden;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(0.7) contrast(1.15);
  transform: scale(1.02);
  transition: transform 12s ease-out;
}

.hero-section:hover .hero-img {
  transform: scale(1.06);
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 40%, rgba(7, 7, 9, 0.4) 0%, rgba(7, 7, 9, 0.85) 65%, #070709 100%),
              linear-gradient(180deg, rgba(7, 7, 9, 0.6) 0%, transparent 40%, rgba(7, 7, 9, 0.8) 80%, #070709 100%);
}

#ember-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

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

.hero-meta-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--flame-amber);
  margin-bottom: 20px;
  text-shadow: 0 0 16px rgba(255, 170, 0, 0.5);
}

.hero-meta-kicker svg {
  color: var(--flame-bright);
}

.hero-title {
  font-family: var(--font-hero);
  font-size: clamp(3.8rem, 11vw, 8.5rem);
  line-height: 0.92;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 22px;
  filter: drop-shadow(0 10px 40px rgba(255, 69, 0, 0.35));
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.2vw, 2.4rem);
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.03em;
  color: #ffffff;
  margin-bottom: 20px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.hero-tagline span {
  color: var(--flame-bright);
  font-style: normal;
}

.hero-description {
  font-size: clamp(1rem, 1.3vw, 1.25rem);
  color: #d1d1db;
  max-width: 680px;
  margin: 0 auto 38px;
  line-height: 1.65;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

.btn-hero-lg {
  padding: 15px 32px;
  font-size: 14px;
  letter-spacing: 0.08em;
  border-radius: var(--radius-sm);
}

/* Movie Spec Bar */
.hero-specs {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--text-subtle);
  text-transform: uppercase;
}

.hero-specs span.spec-dot {
  color: var(--flame-bright);
  opacity: 0.8;
}

.hero-specs .spec-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Section Common Styles */
.section {
  position: relative;
  padding: 120px 0;
  border-top: 1px solid var(--border-subtle);
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 64px;
}

.section-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--flame-amber);
  margin-bottom: 14px;
  display: inline-block;
}

.section-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.12;
  color: #ffffff;
  margin-bottom: 18px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* --- ABOUT SECTION --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
  }
}

.about-narrative p {
  font-size: 17px;
  color: #d1d1db;
  line-height: 1.8;
  margin-bottom: 24px;
}

.about-narrative p.lead {
  font-size: 21px;
  color: #ffffff;
  font-weight: 500;
  border-left: 3px solid var(--flame-primary);
  padding-left: 18px;
  margin-bottom: 28px;
}

.genre-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 12px;
  margin-top: 32px;
}

.genre-pillar-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 14px 12px;
  text-align: center;
  transition: all 0.25s var(--ease-cinematic);
  cursor: default;
}

.genre-pillar-item:hover {
  border-color: var(--border-flame);
  background: var(--bg-surface-elevated);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 85, 0, 0.15);
}

.genre-pillar-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 4px;
}

.genre-pillar-desc {
  font-size: 11px;
  color: var(--text-subtle);
}

.about-media-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.about-media-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-cinematic);
}

.about-media-card:hover img {
  transform: scale(1.04);
}

.about-media-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px;
  background: linear-gradient(180deg, transparent 0%, rgba(7, 7, 9, 0.95) 80%);
}

.about-media-badge {
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--flame-amber);
  letter-spacing: 0.12em;
  margin-bottom: 6px;
}

.about-media-title {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
}

/* --- THE FLAMESPARK UNIVERSE (8 Genres) --- */
.universe-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .universe-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.universe-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  transition: all 0.35s var(--ease-cinematic);
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.universe-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-flame-bright);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 25px rgba(255, 85, 0, 0.25);
}

.universe-card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #121217;
}

.universe-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-cinematic), filter 0.4s ease;
  filter: brightness(0.85) contrast(1.1);
}

.universe-card:hover .universe-card-img {
  transform: scale(1.08);
  filter: brightness(1) contrast(1.15);
}

.universe-card-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(14, 14, 19, 0.95) 100%);
}

.universe-tag-row {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
}

.universe-tag-index {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--flame-amber);
  background: rgba(7, 7, 9, 0.7);
  backdrop-filter: blur(6px);
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid rgba(255, 170, 0, 0.2);
}

.universe-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.universe-card-title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #ffffff;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.universe-card-title svg {
  opacity: 0;
  transform: translateX(-4px);
  transition: all 0.25s ease;
  color: var(--flame-bright);
}

.universe-card:hover .universe-card-title svg {
  opacity: 1;
  transform: translateX(0);
}

.universe-card-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}

.universe-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--text-subtle);
}

/* --- THE SPARK BEHIND THE STORY (Creative Philosophy) --- */
.spark-philosophy-wrap {
  position: relative;
  margin-top: 40px;
}

/* Glowing connector line on desktop */
.spark-connector-line {
  display: none;
}

@media (min-width: 1024px) {
  .spark-connector-line {
    display: block;
    position: absolute;
    top: 50px;
    left: 8%;
    right: 8%;
    height: 2px;
    background: linear-gradient(90deg, 
      rgba(255, 69, 0, 0.2) 0%, 
      var(--flame-bright) 50%, 
      rgba(255, 204, 0, 0.2) 100%);
    box-shadow: 0 0 12px rgba(255, 100, 0, 0.5);
    z-index: 1;
  }
}

.spark-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  position: relative;
  z-index: 2;
}

@media (min-width: 640px) {
  .spark-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.spark-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  position: relative;
  transition: all 0.3s var(--ease-cinematic);
  display: flex;
  flex-direction: column;
}

.spark-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-flame);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 85, 0, 0.2);
}

.spark-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.spark-node {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: radial-gradient(circle, #ff5500 0%, #1a1a24 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  border: 2px solid var(--flame-amber);
  box-shadow: 0 0 16px rgba(255, 85, 0, 0.6);
  transition: transform 0.3s ease;
}

.spark-card:hover .spark-node {
  transform: scale(1.12) rotate(15deg);
}

.spark-step-index {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--flame-amber);
}

.spark-card-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 12px;
}

.spark-card-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* --- OPEN CINEMATIC UNIVERSE --- */
.open-universe-hero {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: #0d0d12;
  margin-bottom: 48px;
}

.open-universe-img-wrap {
  width: 100%;
  height: 380px;
  position: relative;
}

@media (min-width: 768px) {
  .open-universe-img-wrap {
    height: 460px;
  }
}

.open-universe-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7) contrast(1.1);
}

.open-universe-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 7, 9, 0.3) 0%, rgba(7, 7, 9, 0.7) 60%, rgba(7, 7, 9, 0.95) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 36px;
}

.open-universe-headline {
  font-size: clamp(1.8rem, 3.8vw, 2.8rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
}

.open-universe-sub {
  font-size: 16px;
  color: #d1d1db;
  max-width: 680px;
  line-height: 1.6;
}

.environments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}

.environment-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px;
  transition: all 0.25s var(--ease-cinematic);
  position: relative;
  overflow: hidden;
}

.environment-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--flame-primary);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.environment-card:hover {
  border-color: var(--border-flame);
  background: var(--bg-surface-elevated);
  transform: translateY(-3px);
}

.environment-card:hover::before {
  opacity: 1;
}

.environment-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255, 85, 0, 0.12);
  color: var(--flame-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.environment-title {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.environment-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --- FEATURED PRODUCTIONS (Streaming Slate) --- */
.originals-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 44px;
}

.slate-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 640px) {
  .slate-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .slate-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.production-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.3s var(--ease-cinematic);
  display: flex;
  flex-direction: column;
  position: relative;
}

.production-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-flame);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 25px rgba(255, 85, 0, 0.2);
}

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

.production-poster-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-cinematic);
  filter: brightness(0.9);
}

.production-card:hover .production-poster-img {
  transform: scale(1.06);
  filter: brightness(1);
}

.production-play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 7, 9, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.production-card:hover .production-play-overlay {
  opacity: 1;
}

.play-circle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--flame-primary), var(--flame-amber));
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 24px rgba(255, 85, 0, 0.8);
  transform: scale(0.9);
  transition: transform 0.2s var(--ease-cinematic);
}

.production-card:hover .play-circle {
  transform: scale(1);
}

.production-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.production-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--flame-amber);
  margin-bottom: 8px;
  font-family: var(--font-mono);
}

.production-meta span.separator {
  color: var(--text-subtle);
}

.production-title {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}

.production-synopsis {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.production-cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
}

.production-watch-link {
  font-size: 12px;
  font-weight: 700;
  color: var(--flame-bright);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.production-watch-link:hover {
  gap: 9px;
  color: #ffffff;
}

/* --- VISUAL STORYTELLING (Cinematic Movie Frames Gallery) --- */
.gallery-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover {
  color: #ffffff;
  border-color: var(--border-flame);
  background: rgba(255, 255, 255, 0.08);
}

.filter-btn.active {
  background: linear-gradient(135deg, rgba(255, 69, 0, 0.2), rgba(255, 140, 0, 0.2));
  border-color: var(--flame-bright);
  color: #ffffff;
  box-shadow: 0 0 14px rgba(255, 85, 0, 0.3);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gallery-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  aspect-ratio: 16/10;
  cursor: pointer;
  transition: all 0.35s var(--ease-cinematic);
}

.gallery-card.featured-wide {
  grid-column: span 1;
}

@media (min-width: 1024px) {
  .gallery-card.featured-wide {
    grid-column: span 2;
  }
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-cinematic), filter 0.4s ease;
  filter: brightness(0.85);
}

.gallery-card:hover img {
  transform: scale(1.05);
  filter: brightness(1);
}

.gallery-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(7, 7, 9, 0.9) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  opacity: 0.95;
  transition: opacity 0.25s ease;
}

.gallery-card-meta {
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--flame-amber);
  margin-bottom: 4px;
}

.gallery-card-title {
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.gallery-card-aspect {
  font-size: 11px;
  color: var(--text-subtle);
}

/* --- THE FLAME (Minimal Brand Statement) --- */
.the-flame-section {
  position: relative;
  padding: 140px 0;
  text-align: center;
  background: radial-gradient(circle at 50% 50%, rgba(255, 69, 0, 0.08) 0%, transparent 70%);
}

.the-flame-inner {
  max-width: 860px;
  margin: 0 auto;
}

.flame-icon-large {
  width: 64px;
  height: 64px;
  margin: 0 auto 32px;
  filter: drop-shadow(0 0 24px rgba(255, 85, 0, 0.8));
  animation: flamePulse 3s infinite ease-in-out;
}

.the-flame-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
}

.the-flame-text {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: #d1d1db;
  line-height: 1.7;
  max-width: 720px;
  margin: 0 auto;
}

/* --- CONTACT SECTION --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 1.2fr;
    gap: 64px;
  }
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.contact-info-item:hover {
  border-color: var(--border-flame);
  transform: translateY(-2px);
}

.contact-icon-box {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: rgba(255, 85, 0, 0.12);
  color: var(--flame-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-text {
  display: flex;
  flex-direction: column;
}

.contact-info-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--flame-amber);
  margin-bottom: 2px;
}

.contact-info-value,
.contact-info-value a {
  font-size: 15px;
  color: #ffffff;
  text-decoration: none;
  line-height: 1.5;
  transition: color 0.2s ease;
}

.contact-info-value a:hover {
  color: var(--flame-bright);
  text-decoration: underline;
}

/* Contact Form */
.contact-form-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  position: relative;
}

.form-group {
  margin-bottom: 22px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #ffffff;
  margin-bottom: 8px;
}

.form-input,
.form-textarea {
  width: 100%;
  background: rgba(7, 7, 9, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 14px;
  transition: all 0.2s ease;
  outline: none;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--flame-bright);
  box-shadow: 0 0 16px rgba(255, 85, 0, 0.25);
  background: rgba(14, 14, 19, 0.95);
}

.form-textarea {
  min-height: 140px;
  resize: vertical;
}

.form-status {
  margin-top: 16px;
  font-size: 13px;
  display: none;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
}

.form-status.success {
  display: block;
  background: rgba(46, 204, 113, 0.15);
  border: 1px solid rgba(46, 204, 113, 0.4);
  color: #2ecc71;
}

/* --- FINAL CTA --- */
.final-cta-section {
  position: relative;
  padding: 130px 0;
  overflow: hidden;
  text-align: center;
  background: linear-gradient(180deg, #070709 0%, #150a04 50%, #070709 100%);
  border-top: 1px solid var(--border-flame);
}

.final-cta-bg-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 69, 0, 0.25) 0%, rgba(255, 120, 0, 0.08) 50%, transparent 80%);
  pointer-events: none;
  filter: blur(40px);
}

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

.final-cta-title {
  font-family: var(--font-hero);
  font-size: clamp(3.2rem, 8vw, 6.2rem);
  letter-spacing: 0.05em;
  line-height: 1;
  color: #ffffff;
  margin-bottom: 18px;
}

.final-cta-text {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: #e4e4eb;
  margin-bottom: 38px;
  line-height: 1.6;
}

/* --- FOOTER --- */
.site-footer {
  background: #050507;
  border-top: 1px solid var(--border-subtle);
  padding: 70px 0 36px;
  position: relative;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

@media (min-width: 768px) {
  .footer-top {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-tagline {
  font-size: 14px;
  color: var(--text-muted);
  font-style: italic;
}

.footer-desc {
  font-size: 13px;
  color: var(--text-subtle);
  line-height: 1.6;
  max-width: 340px;
}

.footer-heading {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--flame-bright);
}

.footer-contact-details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
}

.footer-contact-details a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-contact-details a:hover {
  color: var(--flame-bright);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 30px;
  border-top: 1px solid var(--border-subtle);
  font-size: 12px;
  color: var(--text-subtle);
}

.footer-pkg-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--flame-amber);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 4px 10px;
  background: rgba(255, 170, 0, 0.08);
  border: 1px solid rgba(255, 170, 0, 0.2);
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.footer-pkg-badge:hover {
  background: rgba(255, 170, 0, 0.16);
  border-color: var(--flame-bright);
  color: #ffffff;
}

/* --- LIGHTBOX MODAL --- */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(3, 3, 5, 0.95);
  backdrop-filter: blur(16px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-dialog {
  max-width: 1100px;
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--border-flame);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.9), 0 0 40px rgba(255, 85, 0, 0.3);
  display: flex;
  flex-direction: column;
  max-height: 92vh;
}

.lightbox-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border-subtle);
}

.lightbox-title-wrap h4 {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
}

.lightbox-title-wrap p {
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--flame-amber);
}

.lightbox-close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 6px;
  border-radius: 4px;
  transition: color 0.2s ease;
}

.lightbox-close-btn:hover {
  color: #ffffff;
}

.lightbox-body {
  position: relative;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.lightbox-img {
  width: 100%;
  max-height: 62vh;
  object-fit: contain;
  display: block;
}

.lightbox-footer {
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-surface);
}

.lightbox-lore {
  font-size: 13px;
  color: var(--text-muted);
  max-width: 640px;
  line-height: 1.5;
}

.lightbox-actions {
  display: flex;
  gap: 10px;
}

/* Utility Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 0.8s var(--ease-cinematic) forwards;
}
