/* ============================================================
   VERTEX — Premium Design System Override
   Подключается ПОСЛЕ styles.css. Не изменяет оригинал.
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
  /* Palette */
  --bg:          #07090F;
  --surface:     #0F1218;
  --surface-2:   #161B26;
  --surface-3:   #1C2333;
  --border:      rgba(255,255,255,.07);
  --border-lit:  rgba(255,255,255,.13);
  --border-accent: rgba(0,229,255,.22);

  --accent:      #00E5FF;
  --accent-rgb:  0,229,255;
  --accent-2:    #3ECFCF;
  --accent-2-rgb:62,207,207;
  --accent-warm: #E8724F;

  --text:        #ECEEF2;
  --text-2:      #8B95A8;
  --text-3:      #4A5263;

  /* Typography */
  --font-head:  'Space Grotesk', 'Inter', -apple-system, sans-serif;
  --font-body:  'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono:  'JetBrains Mono', 'Fira Code', monospace;

  /* Radii */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,.5), 0 1px 2px rgba(0,0,0,.3);
  --shadow-md:  0 4px 16px rgba(0,0,0,.5), 0 1px 4px rgba(0,0,0,.3);
  --shadow-lg:  0 12px 40px rgba(0,0,0,.6), 0 4px 12px rgba(0,0,0,.4);
  --shadow-xl:  0 24px 64px rgba(0,0,0,.7), 0 8px 24px rgba(0,0,0,.5);

  /* Transitions */
  --ease-out:   cubic-bezier(.16,1,.3,1);
  --ease-in-out:cubic-bezier(.4,0,.2,1);
  --t-fast:     150ms;
  --t-base:     220ms;
  --t-slow:     380ms;

  /* Override original vars */
  --primary:      #00E5FF;
  --primary-rgb:  0,229,255;
  --secondary:    #3ECFCF;
  --secondary-rgb:62,207,207;
  --radius:       var(--r-lg);
  --radius-sm:    var(--r-md);
  --radius-xs:    var(--r-sm);
  --transition:   var(--t-base) var(--ease-in-out);
}

/* ---------- Base overrides ---------- */
body {
  background: var(--bg);
  font-family: var(--font-body);
}

h1, h2, h3, .brand, .pg-title {
  font-family: var(--font-head);
}

/* ---------- Google Fonts import ---------- */
/* Space Grotesk loaded via <link> in HTML */

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  border-radius: 3px;
  opacity: .4;
}

/* ---------- Background ---------- */
.bg-layers .orb {
  opacity: .07;
  filter: blur(160px);
}
.bg-layers .orb--primary {
  width: 800px; height: 800px;
  animation: orbDrift 28s ease-in-out infinite;
}
.bg-layers .orb--secondary {
  width: 640px; height: 640px;
  animation: orbDrift 32s ease-in-out infinite reverse;
}
.bg-layers .orb--accent { opacity: .04; }

@keyframes orbDrift {
  0%,100% { transform: translate(0,0) scale(1); }
  33%      { transform: translate(40px,30px) scale(1.04); }
  66%      { transform: translate(-20px,50px) scale(.97); }
}

/* Perspective grid floor */
.bg-grid {
  background-image:
    linear-gradient(rgba(0,229,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,229,255,.05) 1px, transparent 1px);
  background-size: 80px 80px;
  transform: perspective(600px) rotateX(40deg) scaleY(2.5) translateY(-10%);
  transform-origin: center bottom;
  mask-image: linear-gradient(to top, black 0%, transparent 55%);
  opacity: .7;
  top: auto;
  bottom: 0;
  height: 60%;
}

/* ---------- Cursor spotlight ---------- */
.cursor-spotlight {
  position: fixed;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle, rgba(0,229,255,.04) 0%, transparent 70%);
  transform: translate(-50%,-50%);
  transition: opacity .4s ease;
  will-change: transform;
}

/* ============================================================
   TOPBAR
   ============================================================ */
.topbar {
  height: 72px;
  background: rgba(7,9,15,.6);
  backdrop-filter: blur(24px) saturate(1.6);
  -webkit-backdrop-filter: blur(24px) saturate(1.6);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-base) var(--ease-in-out),
              background var(--t-base) var(--ease-in-out);
}

.topbar.scrolled {
  background: rgba(7,9,15,.82);
  border-bottom-color: var(--border);
}

.topbar .wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Nav centered */
.main-nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  position: relative;
  padding: 6px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  border-radius: var(--r-sm);
  background: none;
  transition: color var(--t-base) var(--ease-in-out);
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 1px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-base) var(--ease-out);
}

.main-nav a:hover { color: var(--text); background: none; }
.main-nav a.current { color: var(--text); }
.main-nav a.current::after { transform: scaleX(1); }

/* Brand */
.brand {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.025em;
  gap: 10px;
}

.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: var(--r-xs);
  transition: filter var(--t-base) ease;
}

.brand:hover .brand-logo {
  filter: drop-shadow(0 0 8px rgba(0,229,255,.4));
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  z-index: 1;
  min-height: calc(100dvh - 72px);
  display: flex;
  align-items: center;
  padding: 80px 0 60px;
  text-align: left;
  animation: none;
  overflow: hidden;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  width: 100%;
}

/* Left column */
.hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Right column — 3D scene */
.hero__scene {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  max-width: 520px;
  justify-self: center;
}

#hero-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* Fallback when WebGL unavailable */
.hero__scene-fallback {
  display: none;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
}

.hero__scene-fallback .fallback-shape {
  width: 240px;
  height: 240px;
  background: linear-gradient(135deg,
    rgba(0,229,255,.1) 0%,
    rgba(62,207,207,.1) 100%);
  border: 1px solid rgba(0,229,255,.16);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  animation: morphShape 8s ease-in-out infinite;
}

@keyframes morphShape {
  0%,100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
  25%     { border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%; }
  50%     { border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%; }
  75%     { border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%; }
}

/* Hero badge */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 14px 5px 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--accent-2);
  background: rgba(62,207,207,.07);
  border: 1px solid rgba(62,207,207,.18);
  border-radius: 100px;
  margin-bottom: 28px;
}

.hero__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-2);
  animation: badgePulse 2.4s ease-in-out infinite;
}

@keyframes badgePulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%     { opacity: .5; transform: scale(.8); }
}

/* Hero title */
.hero__title {
  font-family: var(--font-head);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.04em;
  color: var(--text);
  margin-bottom: 24px;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}

/* Outlined accent word — no gradient */
.hero__title .gradient {
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
  background-clip: unset;
  color: transparent;
  -webkit-text-stroke: 2px var(--accent);
  font-style: italic;
}

.hero__sub {
  font-size: 17px;
  font-weight: 400;
  color: var(--text-2);
  max-width: 460px;
  margin: 0 0 40px;
  line-height: 1.65;
  text-align: left;
}

/* Hero CTA row */
.hero__cta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 56px;
}

/* Hero scroll indicator */
.hero__scroll {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-3);
}

.hero__scroll-line {
  width: 32px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

/* Search in hero */
.search-wrap {
  max-width: none;
  margin: 0 0 32px;
}

.search-field input {
  background: rgba(15,18,24,.7);
  border: 1px solid var(--border-lit);
  border-radius: var(--r-md);
  color: var(--text);
  height: 54px;
  font-size: 15px;
  transition:
    border-color var(--t-base) var(--ease-in-out),
    box-shadow var(--t-base) var(--ease-in-out);
}

.search-field input:focus {
  border-color: rgba(0,229,255,.3);
  box-shadow: 0 0 0 3px rgba(0,229,255,.08), 0 4px 20px rgba(0,0,0,.3);
  background: rgba(15,18,24,.9);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: -.01em;
  border-radius: var(--r-sm);
  transition:
    transform var(--t-fast) var(--ease-out),
    box-shadow var(--t-fast) var(--ease-out),
    background var(--t-base) var(--ease-in-out);
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent) 0%, #0A70D4 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(0,229,255,.2), 0 1px 4px rgba(0,0,0,.3);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,229,255,.25), 0 2px 8px rgba(0,0,0,.3);
}

.btn--primary:active {
  transform: translateY(0) scale(.98);
  box-shadow: 0 2px 10px rgba(0,229,255,.2);
}

.btn--ghost {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border-lit);
  color: var(--text-2);
}

.btn--ghost:hover {
  background: rgba(255,255,255,.07);
  color: var(--text);
  border-color: rgba(255,255,255,.2);
  transform: translateY(-1px);
}

/* Download button on detail page */
.btn--download {
  height: 52px;
  padding: 0 36px;
  font-size: 15px;
  background: linear-gradient(135deg, var(--accent) 0%, #0A70D4 100%);
  box-shadow: 0 4px 24px rgba(0,229,255,.22);
}

.btn--download:hover {
  box-shadow: 0 8px 36px rgba(0,229,255,.3);
}

/* ============================================================
   CATALOG SECTION
   ============================================================ */
.catalog {
  position: relative;
  z-index: 1;
  padding: 0 0 100px;
}

.catalog .wrap { animation: none; }

.catalog-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 40px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.catalog-header h2 {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -.03em;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 12px;
}

.catalog-header h2::before {
  content: '';
  display: block;
  width: 4px;
  height: 24px;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  border-radius: 2px;
}

/* ============================================================
   TILE GRID — overridden by nexora.css
   ============================================================ */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ============================================================
   TILE — Full-bleed image with overlay
   ============================================================ */
.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition:
    border-color var(--t-base) var(--ease-in-out),
    box-shadow var(--t-base) var(--ease-in-out),
    transform var(--t-base) var(--ease-out);
  will-change: transform;
  /* tilt perspective applied via JS */
  transform-style: preserve-3d;
}

.tile:hover {
  border-color: var(--border-lit);
  box-shadow: 0 16px 48px rgba(0,0,0,.55),
              0 0 0 1px rgba(0,229,255,.08);
  /* base lift; tilt JS adds rotateX/Y */
  transform: translateY(-4px);
}

/* Cover: full bleed — 3:4 ratio */
.tile__cover {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--surface-2);
  flex-shrink: 0;
}

.tile__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease-out), filter .4s ease;
  filter: brightness(.9) saturate(.95);
}

.tile:hover .tile__cover img {
  transform: scale(1.06);
  filter: brightness(1) saturate(1.05);
}

/* Bottom overlay on cover */
.tile__cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(7,9,15,.92) 0%,
    rgba(7,9,15,.5)  35%,
    rgba(7,9,15,.1)  65%,
    transparent      100%
  );
  transition: opacity .4s ease;
}

/* Hover overlay — subtle accent tint */
.tile__cover::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 60% 40%,
    rgba(0,229,255,.08),
    transparent 70%
  );
  opacity: 0;
  transition: opacity .4s ease;
  z-index: 1;
}

.tile:hover .tile__cover::before { opacity: 1; }

/* Label badge */
.tile__label {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 4px 10px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text);
  background: rgba(0,229,255,.6);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0,229,255,.25);
  border-radius: 100px;
  z-index: 2;
}

/* Body sits below cover, on the dark base */
.tile__body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
  background: var(--surface);
}

.tile__body h3 {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.02em;
  margin-bottom: 8px;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tile__body p {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.55;
  margin-bottom: 16px;
  flex: 1;
  -webkit-line-clamp: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Stats row */
.tile__stats {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

/* Stat badges */
.stat-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px 5px 7px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  background: var(--surface-2);
  border: 1px solid var(--border);
  transition: border-color var(--t-base) ease;
}

.tile:hover .stat-badge { border-color: var(--border-lit); }

.stat-badge__icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  flex-shrink: 0;
}

.stat-badge__value {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -.01em;
}

.stat-badge--downloads {
  border-color: rgba(62,207,207,.2);
  background: rgba(62,207,207,.06);
}
.stat-badge--downloads .stat-badge__icon {
  background: rgba(62,207,207,.15);
  color: var(--accent-2);
}

.stat-badge--rating {
  border-color: rgba(255,195,55,.2);
  background: rgba(255,195,55,.05);
}
.stat-badge--rating .stat-badge__icon {
  background: rgba(255,195,55,.15);
  color: #FFC337;
}
.stat-badge--rating .stat-badge__value { color: #FFD060; }

/* CTA button in tile */
.tile .btn--primary.btn--sm {
  align-self: flex-start;
  height: 38px;
  padding: 0 20px;
  font-size: 13px;
  border-radius: var(--r-sm);
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity var(--t-slow) var(--ease-out),
    transform var(--t-slow) var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger for tiles */
.tile.reveal:nth-child(1) { transition-delay:  0ms; }
.tile.reveal:nth-child(2) { transition-delay: 60ms; }
.tile.reveal:nth-child(3) { transition-delay:120ms; }
.tile.reveal:nth-child(4) { transition-delay:180ms; }
.tile.reveal:nth-child(5) { transition-delay:240ms; }
.tile.reveal:nth-child(6) { transition-delay:300ms; }

/* ============================================================
   PAGER
   ============================================================ */
.pager {
  gap: 6px;
  margin-top: 60px;
}

.pager__btn {
  width: 38px;
  height: 38px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  color: var(--text-2);
  transition:
    background var(--t-fast) ease,
    border-color var(--t-fast) ease,
    color var(--t-fast) ease,
    transform var(--t-fast) ease;
}

.pager__btn:hover {
  background: var(--surface-2);
  border-color: var(--border-lit);
  color: var(--text);
  transform: translateY(-1px);
}

.pager__btn.on,
.pager__btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(0,229,255,.25);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-ft {
  background: var(--surface);
  border-top: none;
  position: relative;
  padding: 72px 0 36px;
}

.site-ft::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0,229,255,.25) 30%,
    rgba(62,207,207,.4) 70%,
    transparent 100%
  );
}

.ft-brand {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
}

.ft-links h3 {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 14px;
}

.ft-links ul li a {
  font-size: 14px;
  color: var(--text-2);
}

.ft-links ul li a:hover { color: var(--accent-2); }

.ft-legal {
  font-size: 12px;
  color: var(--text-3);
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

/* ============================================================
   DETAIL PAGE
   ============================================================ */

/* Full-width cinematic cover */
.item-detail {
  padding: 0 0 60px;
}

.item-cinema {
  position: relative;
  width: 100%;
  height: 480px;
  overflow: hidden;
  margin-bottom: 0;
}

.item-cinema img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: brightness(.75) saturate(.9);
}

.item-cinema::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(7,9,15,.2)  0%,
    rgba(7,9,15,.1)  40%,
    rgba(7,9,15,.85) 80%,
    var(--bg)        100%
  );
}

.item-cinema__title {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 1;
  padding: 0 0 40px;
}

.item-cinema__title .wrap h1 {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -.04em;
  color: var(--text);
  line-height: 1.1;
  max-width: 720px;
  margin-bottom: 16px;
}

/* Hide original grid layout, use cinema instead */
.item-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Original cover in item-grid — hidden, cinema replaces it */
.item-grid > figure.tile__cover {
  display: none;
}

.item-info {
  padding: 32px 0 0;
}

.item-info h1 {
  display: none; /* shown in cinema overlay */
}

/* Meta row */
.item-meta {
  gap: 10px;
  margin-bottom: 24px;
}

.item-meta .stat-badge {
  padding: 8px 16px 8px 10px;
}

.item-meta .stat-badge__icon {
  width: 30px;
  height: 30px;
  font-size: 12px;
}

.item-meta .stat-badge__value {
  font-size: 15px;
}

/* Description */
.item-desc {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-2);
  margin-bottom: 28px;
  max-width: 640px;
}

/* Password badge */
.password-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 10px 20px;
  background: rgba(232,114,79,.1);
  border: 1px solid rgba(232,114,79,.35);
  color: #F08060;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .04em;
  border-radius: var(--r-sm);
  animation: none;
  box-shadow: none;
}

.password-badge::before {
  content: '\f023';
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 12px;
  opacity: .7;
}

/* Detail sections */
.detail-section {
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
}

.detail-section h2 {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.025em;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
}

.detail-section h2::before {
  content: '';
  display: block;
  width: 3px;
  height: 20px;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  border-radius: 2px;
  flex-shrink: 0;
}

.detail-section li {
  position: relative;
  padding-left: 16px;
  color: var(--text-2);
  font-size: 15px;
}

.detail-section li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
}

.detail-section ol { padding-left: 0; counter-reset: steps; }
.detail-section ol li { counter-increment: steps; padding-left: 28px; }
.detail-section ol li::before {
  content: counter(steps);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(0,229,255,.12);
  border: 1px solid rgba(0,229,255,.22);
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 4px;
}

.info-row {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  transition: border-color var(--t-base) ease;
}

.info-row:hover { border-color: rgba(0,229,255,.16); }

.detail-section details {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
}

.detail-section details:hover { border-color: rgba(0,229,255,.12); }
.detail-section summary { font-family: var(--font-head); }

/* Similar section */
.similar-section { padding: 56px 0; }
.similar-section .wrap { animation: none; }
.similar-section h2 {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -.03em;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.similar-section h2::before {
  content: '';
  display: block;
  width: 4px;
  height: 22px;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  border-radius: 2px;
}

/* ============================================================
   FAQ PAGE
   ============================================================ */
.content-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px 36px;
  position: relative;
  overflow: hidden;
}

.content-block::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  border-radius: 0 2px 2px 0;
  opacity: 0;
  transition: opacity var(--t-base) ease;
}

.content-block:hover {
  border-color: var(--border-lit);
  box-shadow: var(--shadow-md);
}

.content-block:hover::before { opacity: 1; }

.content-block h3 {
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
  letter-spacing: -.025em;
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .cursor-spotlight { display: none; }
  .hero__scene { display: none; }
  .hero__scene-fallback { display: flex; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .tile-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  /* Hero: stack vertically, scene below */
  .hero {
    min-height: auto;
    padding: 56px 0 48px;
  }

  .hero .wrap {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero__content { align-items: center; }

  .hero__title { text-align: center; font-size: clamp(36px, 8vw, 52px); }
  .hero__sub { text-align: center; max-width: 480px; }
  .hero__cta { justify-content: center; }

  .hero__scene {
    max-width: 320px;
    aspect-ratio: 1;
    opacity: .6;
  }

  /* Nav reset for mobile burger */
  .main-nav {
    position: fixed;
    top: 72px;
    left: 0; right: 0;
    /* override desktop centering */
    left: 0;
    transform: translateY(-8px);
    flex-direction: column;
    gap: 0;
    background: rgba(7,9,15,.97);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border);
    padding: 8px 0;
    display: none;
    opacity: 0;
    transition: opacity .25s ease, transform .25s ease;
    /* reset desktop absolute positioning */
    margin: 0;
  }

  .topbar.nav-open .main-nav {
    display: flex;
    opacity: 1;
    transform: translateY(0);
  }

  .main-nav a {
    padding: 14px 24px;
    font-size: 16px;
    border-radius: 0;
    width: 100%;
  }

  .main-nav a::after { display: none; }

  .tile-grid { grid-template-columns: 1fr; }

  .item-cinema { height: 300px; }
  .item-cinema__title .wrap h1 { font-size: 28px; }
  .item-grid { gap: 0; }
}

@media (max-width: 480px) {
  .hero__title { font-size: 34px; }
  .tile-grid { gap: 14px; }
  .item-cinema { height: 240px; }
  .content-block { padding: 24px 20px; }
}
