/* Fonts: Inter for UI, Cinzel for cinematic headings */
:root {
  --bg: #000000;
  --bg-elev: #101018;
  --text: #e6e6ea;
  --muted: #a4a4ad;
  --primary: #e50914; /* cinematic red */
  --accent: #7a7aff;
  --card: #14141c;
  --border: #23232f;
  --shadow: rgba(0, 0, 0, 0.5);
}

html, body {
  height: 100%;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

/* Intro video overlay */
#intro {
  position: fixed;
  inset: 0;
  background: #000;
  display: grid;
  place-items: center;
  z-index: 9999;
}

#introVideo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.05) saturate(1.05);
  pointer-events: none;
}

#introOverlay {
  position: absolute;
  inset: 0;
  display: block;
  pointer-events: none;
}

.intro-hint { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); color: #e6e6ea; font-size: 13px; opacity: 0.95; text-shadow: 0 2px 8px rgba(0,0,0,0.8); pointer-events: none; }



/* Header */
.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 28px;
  height: 28px;
}

.brand-name {
  font-family: Cinzel, serif;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 16px;
  transition: color 150ms ease;
}

.nav a:hover {
  color: var(--text);
}

/* Mobile nav */
.menu-btn { display: none; width: 36px; height: 36px; border: 1px solid #1a1a24; border-radius: 8px; background: #0a0a0d; color: #e6e6ea; align-items: center; justify-content: center; gap: 4px; }
.menu-btn span { display: block; width: 18px; height: 2px; background: #e6e6ea; }

@media (max-width: 860px) {
  .menu-btn { display: inline-flex; }
  .nav { position: absolute; top: 60px; right: 12px; background: rgba(8,8,12,0.9); border: 1px solid #1a1a24; border-radius: 10px; padding: 8px; display: none; flex-direction: column; gap: 6px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
  .nav a { margin: 0; padding: 8px 10px; border-radius: 6px; }
  .nav a:hover { background: rgba(255,255,255,0.06); }
  .nav.open { display: flex; }
}

/* Frosted glass header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(8,8,12,0.45); border-bottom: 1px solid rgba(255,255,255,0.06); backdrop-filter: blur(10px) saturate(1.1); -webkit-backdrop-filter: blur(10px) saturate(1.1); }

/* Hero */
.hero { position: relative; overflow: hidden; }
.hero-full { min-height: 100vh; display: flex; align-items: center; }
.hero-full .hero-inner { padding: 120px 0 72px 0; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(0.5) contrast(1.05) saturate(1.1); z-index: 0; }

.hero-inner { position: relative; z-index: 2; }
.hero-vignette { position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 200px 80px rgba(0,0,0,0.8); z-index: 1; }
.hero-grain { position: absolute; inset: 0; pointer-events: none; opacity: 0.06; background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="140" height="140" viewBox="0 0 140 140"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="2" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23n)" opacity="0.7"/></svg>'); z-index: 1; mix-blend-mode: overlay; }

.hero-content { text-align: center; max-width: 900px; margin: 0 auto; }
.hero-logo { width: 80px; height: 80px; object-fit: contain; display: block; margin: 0 auto 10px auto; filter: drop-shadow(0 6px 18px rgba(0,0,0,0.6)); }
.hero-content h1 {
  font-family: Cinzel, serif;
  font-weight: 700;
  font-size: clamp(28px, 5vw, 48px);
  margin: 0 0 12px 0;
  line-height: 1.1;
}

.lead {
  color: var(--muted);
  font-size: clamp(16px, 2.2vw, 18px);
  max-width: 900px;
}

.cta {
  margin-top: 24px;
  display: flex;
  gap: 12px;
}

/* Hero covers */
.hero-covers { margin-top: 28px; display: flex; justify-content: center; }
.hero-swiper { width: 100%; overflow: hidden; }
.hero-swiper { max-width: 1000px; }
.hero-swiper .swiper-wrapper { align-items: center; }
.hero-swiper .swiper-slide { width: auto; display: flex; justify-content: center; }
.poster { width: 160px; height: 240px; border-radius: 12px; background-size: cover; background-position: center; border: 1px solid var(--border); box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
@media (max-width: 640px) { .poster { width: 120px; height: 180px; } }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--text);
  background: #1a1a24;
  border: 1px solid var(--border);
  transition: transform 120ms ease, background 160ms ease, border-color 160ms ease;
}

.btn:hover { transform: translateY(-1px); border-color: #2e2e3c; }

.btn.primary { background: linear-gradient(180deg, #e50914, #b40811); border-color: #b40811; }
.btn.primary:hover { filter: brightness(1.05); }

/* Sections */
.section { padding: 48px 0; }
.section h2 {
  font-family: Cinzel, serif;
  font-weight: 700;
  font-size: clamp(22px, 3.6vw, 32px);
  margin: 0 0 20px 0;
}

.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

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

/* Mobile: use full-width container to avoid large side gaps */
@media (max-width: 760px) {
  .container { width: 100%; padding-left: 12px; padding-right: 12px; }
  .hero-swiper { max-width: 100%; }
  .hero-content { padding-left: 4px; padding-right: 4px; }
}

.card {
  background: rgba(0,0,0,0.55);
  border: 1px solid #1a1a24;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 10px 30px var(--shadow);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.card-glow { position: relative; }
.card-glow::after { content: none; }

.card h3 {
  margin: 0 0 8px 0;
  font-size: 18px;
}

.card p { color: var(--muted); }

.bullets { padding-left: 18px; color: var(--muted); }
.bullets li { margin: 6px 0; }

/* Contact */
.contact { text-align: center; }

/* Mechanics (vertical cards with film-themed icons) */
.mechanics-list { display: grid; gap: 12px; }
.mechanics-card { display: grid; grid-template-columns: 40px 1fr; align-items: start; gap: 12px; }
.mech-icon { width: 40px; height: 40px; display: grid; place-items: center; color: #e6e6ea; background: #0a0a0d; border: 1px solid #1a1a24; border-radius: 8px; }

/* Social cards */
.social-card { display: grid; grid-template-columns: 56px 1fr; align-items: center; gap: 12px; }
.social-icon { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 14px; border: 1px solid #1a1a24; background: #0a0a0d; }
.social-icon.telegram { background: #0b2a3a; }
.social-icon.twitter { background: #0a0a0d; }

/* BG2 video layer for sections */
.bg2-layer { position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0.25; }
.bg2-layer video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Elevate real content above bg2 */
main, .site-footer { position: relative; z-index: 1; }
/* Keep hero above bg2 overlay logic already uses hero-bg */

/* Player */
.player { background: rgba(0,0,0,0.55); border: 1px solid #1a1a24; border-radius: 12px; padding: 12px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.player-media { position: relative; background: #000; border-radius: 8px; overflow: hidden; }
.player-media video { width: 100%; height: auto; background: #000; display: block; }
.player-overlay { position: absolute; inset: 0; display: grid; place-items: center; color: #e6e6ea; font-weight: 700; letter-spacing: 1px; background: rgba(0,0,0,0.2); opacity: 0; transition: opacity 200ms ease; }
.player-media:hover .player-overlay { opacity: 1; }
.player-controls { display: flex; align-items: center; gap: 10px; padding: 10px 6px 0 6px; }
.player-controls button, .player-controls select { background: #0a0a0d; color: #e6e6ea; border: 1px solid #1a1a24; border-radius: 8px; padding: 8px 10px; cursor: pointer; }
.player-controls button:hover, .player-controls select:hover { border-color: #2a2a34; }
.pl-timeline { flex: 1; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px; }
.pl-timeline input[type="range"] { width: 100%; accent-color: #e50914; }
.pl-right { display: inline-flex; align-items: center; gap: 8px; }
.player-source { display: flex; gap: 8px; margin-top: 10px; }
.player-source input, .player-source button, .player-source select { background: #0a0a0d; color: #e6e6ea; border: 1px solid #1a1a24; border-radius: 8px; padding: 8px 10px; }
.player-source input { flex: 1; }

.playlist { margin-top: 14px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.playlist-item { display: flex; gap: 10px; align-items: center; padding: 10px; border: 1px solid #1a1a24; border-radius: 10px; background: #000; cursor: pointer; transition: border-color 150ms ease, transform 120ms ease; }
.playlist-item:hover { border-color: #2a2a34; transform: translateY(-1px); }
.playlist-item.active { border-color: #e50914; }
.pl-thumb { width: 48px; height: 48px; border-radius: 8px; background: #0a0a0d; display: grid; place-items: center; color: #e6e6ea; border: 1px solid #1a1a24; font-size: 12px; }
.pl-meta { display: grid; }
.pl-title { font-weight: 600; }
.pl-sub { color: #a4a4ad; font-size: 12px; }

/* Films carousel */
/* Remove bottom films carousel styles */

/* Timeline */
.timeline { counter-reset: step; list-style: none; padding-left: 0; display: grid; gap: 12px; }
.timeline li { background: #000000; border: 1px solid #1a1a24; border-radius: 12px; padding: 16px; }
.timeline h4 { margin: 0 0 6px 0; font-size: 16px; }
.timeline p { margin: 0; color: var(--muted); }

/* Partners marquee */
.marquee { overflow: hidden; border: 1px solid #1a1a24; border-radius: 12px; background: #000000; }
.marquee-track { display: flex; gap: 40px; padding: 16px 20px; animation: slide 22s linear infinite; white-space: nowrap; }
.marquee-track span { color: #c6c6ce; opacity: 0.8; }
@keyframes slide { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq-item { border: 1px solid #1a1a24; border-radius: 12px; background: #000000; }
.faq-question { width: 100%; text-align: left; padding: 14px 16px; background: transparent; color: var(--text); border: 0; font-weight: 600; cursor: pointer; }
.faq-answer { padding: 0 16px 14px 16px; color: var(--muted); }

/* Disclosures */
.disclosure-grid { display: grid; grid-template-columns: repeat(3, 300px); gap: 14px; justify-content: center; }
.disclosure-card { background: rgba(0,0,0,0.55); border: 1px solid #1a1a24; border-radius: 10px; overflow: hidden; display: grid; grid-template-rows: auto 1fr; transform-style: preserve-3d; perspective: 800px; transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.disclosure-card::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(60deg, rgba(255,255,255,0.08), rgba(0,0,0,0)); opacity: 0; transition: opacity 180ms ease; }
.disclosure-card:hover { border-color: #2a2a34; box-shadow: 0 16px 40px rgba(0,0,0,0.6); }
.disclosure-card:hover::after { opacity: 1; }
.poster-wrap { position: relative; }
.disclosure-poster { width: 100%; height: auto; display: block; }
.poster-logo { position: absolute; right: 8px; bottom: 8px; width: 44px; height: 44px; opacity: 0.95; filter: drop-shadow(0 3px 10px rgba(0,0,0,0.7)); }
.poster-badge { position: absolute; left: 8px; top: 8px; background: linear-gradient(180deg, #e50914, #b40811); color: #fff; font-weight: 700; font-size: 12px; padding: 6px 10px; border-radius: 999px; letter-spacing: 0.4px; box-shadow: 0 6px 16px rgba(0,0,0,0.5); }
@media (max-width: 640px) {
  .poster-logo { width: 36px; height: 36px; }
}
.disclosure-meta { padding: 12px; display: grid; gap: 8px; }
.disclosure-title { font-weight: 700; font-family: Cinzel, serif; font-size: 18px; }
.disclosure-row { display: flex; align-items: center; justify-content: space-between; color: #c6c6ce; font-size: 13px; }
@media (max-width: 900px) { .disclosure-grid { grid-template-columns: 1fr; } }

.hash { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; color: #9aa0a6; }
.progress { width: 100%; height: 6px; background: #0a0a0d; border: 1px solid #1a1a24; border-radius: 999px; overflow: hidden; }
.progress-bar { height: 100%; width: 0%; background: linear-gradient(90deg, #e50914, #7a1a1f); }
.btn.full { width: 100%; justify-content: center; }
.btn.disabled { opacity: 0.6; cursor: not-allowed; }
.disclosure-card .btn { padding: 8px 12px; font-size: 14px; }

.single-row { margin-top: 14px; display: grid; place-items: center; }
.disclosure-card.horizontal { width: min(960px, 96%); display: grid; grid-template-columns: 300px 1fr; align-items: stretch; }
.disclosure-card.horizontal .poster-wrap { height: 100%; }
.disclosure-card.horizontal .disclosure-poster { height: 100%; object-fit: cover; }

/* Mobile optimizations for the horizontal featured card */
@media (max-width: 760px) {
  .disclosure-card.horizontal { grid-template-columns: 1fr; width: min(640px, 96%); }
  .disclosure-card.horizontal .disclosure-poster { height: 220px; object-fit: cover; }
  .disclosure-card.horizontal .disclosure-meta { padding: 10px; gap: 6px; }
  .disclosure-card.horizontal .btn { width: 100%; justify-content: center; }
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: #000000;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 640px) {
  .footer-inner { flex-direction: column; gap: 8px; }
}

/* Hidden utility */
.hidden { display: none !important; }

/* Lock scroll while intro is visible */
body.no-scroll { overflow: hidden; }

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 500ms ease, transform 500ms ease;
}
.reveal-visible {
  opacity: 1;
  transform: none;
}


