/* ============================================================
   BLC Tutos — Design System
   Thème cinématographique sombre, accents néon, glassmorphism
   ============================================================ */

:root {
  --bg: #07070d;
  --bg-2: #0d0d18;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #f2f3fb;
  --text-dim: #a9adc4;
  --text-faint: #6d7290;

  --accent: #7c5cff;     /* violet */
  --accent-2: #19d3ff;   /* cyan */
  --accent-3: #ff5c93;   /* rose */
  --good: #34e2a8;

  --grad: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  --grad-3: linear-gradient(135deg, var(--accent-3) 0%, var(--accent) 60%, var(--accent-2) 100%);

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.7);
  --maxw: 1120px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; }

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

/* Fond animé : nappes de couleur + grain léger */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(50% 40% at 15% 0%, rgba(124, 92, 255, 0.22), transparent 70%),
    radial-gradient(45% 45% at 90% 10%, rgba(25, 211, 255, 0.16), transparent 70%),
    radial-gradient(60% 50% at 50% 100%, rgba(255, 92, 147, 0.12), transparent 70%),
    var(--bg);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
  pointer-events: none;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Navbar ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(7, 7, 13, 0.6);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: -0.02em; font-size: 1.15rem; }
.brand .logo {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--grad);
  display: grid; place-items: center;
  font-size: 1rem; font-weight: 900; color: #07070d;
  box-shadow: 0 8px 24px -6px rgba(124, 92, 255, 0.7);
}
.brand small { display: block; font-weight: 500; font-size: 0.7rem; color: var(--text-faint); letter-spacing: 0.08em; text-transform: uppercase; }
.nav-links { display: flex; gap: 8px; align-items: center; }
.nav-links a {
  padding: 8px 14px; border-radius: 10px; font-size: 0.92rem; color: var(--text-dim);
  transition: all 0.2s;
}
.nav-links a:hover { color: var(--text); background: var(--surface); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 20px; border-radius: 12px; font-weight: 600; font-size: 0.95rem;
  border: 1px solid transparent; cursor: pointer; transition: all 0.2s; white-space: nowrap;
}
.btn-primary { background: var(--grad); color: #07070d; box-shadow: 0 10px 30px -8px rgba(124, 92, 255, 0.6); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -8px rgba(124, 92, 255, 0.8); }
.btn-ghost { background: var(--surface); border-color: var(--border); color: var(--text); }
.btn-ghost:hover { background: var(--surface-2); border-color: var(--border-strong); }
.btn-sm { padding: 9px 15px; font-size: 0.88rem; }

/* ---------- Hero ---------- */
.hero { padding: 92px 0 64px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero-grid > * { min-width: 0; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px; font-size: 0.8rem; font-weight: 600;
  background: var(--surface); border: 1px solid var(--border); color: var(--text-dim);
  margin-bottom: 22px;
}
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--good); box-shadow: 0 0 10px var(--good); }
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.7rem); line-height: 1.05; letter-spacing: -0.03em; font-weight: 800;
  margin-bottom: 20px;
}
.hero h1 .grad { background: var(--grad-3); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 1.18rem; color: var(--text-dim); max-width: 540px; margin-bottom: 32px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 34px; margin-top: 42px; }
.hero-stats .stat strong { display: block; font-size: 1.7rem; font-weight: 800; letter-spacing: -0.02em; }
.hero-stats .stat span { font-size: 0.85rem; color: var(--text-faint); }

/* Visuel hero : lecteur "now playing" + chips flottantes + marquee */
.hero-visual { position: relative; }
.showcase { position: relative; padding: 18px; transform: perspective(1100px) rotateY(-9deg) rotateX(4deg); transition: transform 0.2s ease-out; will-change: transform; }
.show-glow {
  position: absolute; inset: 8% 12%; z-index: -1; border-radius: 40px; filter: blur(46px); opacity: 0.7;
  background: conic-gradient(from 120deg, var(--accent), var(--accent-2), var(--accent-3), var(--accent));
  animation: glowspin 14s linear infinite;
}
@keyframes glowspin { to { transform: rotate(360deg); } }
.player {
  position: relative; background: rgba(16,16,28,0.72); backdrop-filter: blur(16px);
  border: 1px solid var(--border-strong); border-radius: 22px; padding: 16px; box-shadow: var(--shadow);
}
.player-screen {
  position: relative; aspect-ratio: 16/10; border-radius: 14px; overflow: hidden;
  background: linear-gradient(135deg, #12325c 0%, #2a1c5e 55%, #0e5563 100%);
  display: grid; place-items: center;
}
.player-screen .scan {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,0.05) 0 2px, transparent 2px 6px);
  mix-blend-mode: overlay;
}
.player .play {
  width: 72px; height: 72px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255,255,255,0.92); color: #0a0a18; font-size: 1.6rem; padding-left: 6px;
  display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  transition: transform 0.2s; animation: pulse 2.6s ease-in-out infinite;
}
.player .play:hover { transform: scale(1.08); }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(255,255,255,0.35); } 50% { box-shadow: 0 0 0 16px rgba(255,255,255,0); } }
.badge-3d {
  position: absolute; top: 14px; left: 14px; padding: 6px 12px; border-radius: 9px;
  background: rgba(25,211,255,0.2); border: 1px solid var(--accent-2); color: #aef0ff;
  font-size: 0.76rem; font-weight: 800; letter-spacing: 0.04em;
}
.screen-title { position: absolute; bottom: 14px; left: 16px; font-weight: 700; font-size: 0.95rem; text-shadow: 0 2px 8px rgba(0,0,0,0.7); }
.player-bar { margin: 14px 4px 8px; height: 6px; border-radius: 3px; background: rgba(255,255,255,0.14); overflow: hidden; }
.player-bar .pb-fill { display: block; width: 42%; height: 100%; background: var(--grad); }
.player-meta { display: flex; justify-content: space-between; padding: 0 4px; font-size: 0.8rem; color: var(--text-faint); }
.chip-float {
  position: absolute; padding: 9px 14px; border-radius: 12px; font-size: 0.82rem; font-weight: 700;
  background: rgba(20,20,32,0.9); border: 1px solid var(--border-strong); box-shadow: var(--shadow);
  white-space: nowrap; animation: floaty 5s ease-in-out infinite;
}
.chip-float.c1 { top: 2%; right: -6%; color: #cfc4ff; animation-delay: 0s; }
.chip-float.c2 { bottom: 30%; left: -10%; color: #aef0ff; animation-delay: 1.2s; }
.chip-float.c3 { bottom: 2%; right: 4%; color: #ffc4d8; animation-delay: 2.1s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.marquee { margin-top: 22px; width: 100%; max-width: 100%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); overflow: hidden; }
.marquee-track { display: flex; gap: 12px; width: max-content; animation: scroll 22s linear infinite; }
.marquee-track span {
  padding: 8px 16px; border-radius: 999px; font-size: 0.82rem; color: var(--text-dim);
  background: var(--surface); border: 1px solid var(--border); white-space: nowrap;
}
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
section { padding: 64px 0; }
.section-head { margin-bottom: 40px; max-width: 640px; }
.section-head .kicker { color: var(--accent-2); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; }
.section-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); letter-spacing: -0.02em; margin: 10px 0 12px; }
.section-head p { color: var(--text-dim); font-size: 1.05rem; }

/* ---------- Tutorial cards ---------- */
.tuto-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.tuto-card {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; transition: all 0.25s; display: flex; flex-direction: column;
}
.tuto-card:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.tuto-card .thumb {
  height: 168px; position: relative; display: grid; place-items: center; overflow: hidden;
  font-size: 3.2rem;
}
.tuto-card .thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent, rgba(7,7,13,0.5)); }
.tuto-card .body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; align-self: flex-start;
  padding: 4px 11px; border-radius: 999px; font-size: 0.74rem; font-weight: 600;
  background: var(--surface-2); border: 1px solid var(--border); color: var(--text-dim); margin-bottom: 12px;
}
.tuto-card h3 { font-size: 1.22rem; letter-spacing: -0.01em; margin-bottom: 8px; }
.tuto-card p { color: var(--text-dim); font-size: 0.94rem; margin-bottom: 18px; flex: 1; }
.tuto-card .foot { display: flex; align-items: center; justify-content: space-between; }
.tuto-card .duration { font-size: 0.82rem; color: var(--text-faint); display: flex; align-items: center; gap: 6px; }
.arrow { transition: transform 0.2s; }
.tuto-card:hover .arrow { transform: translateX(4px); }

.tuto-card.soon { opacity: 0.6; }
.tuto-card.soon:hover { transform: none; }

/* ---------- Tools / downloads ---------- */
.tools-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.tool-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; transition: all 0.25s; position: relative; overflow: hidden;
}
.tool-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--grad); opacity: 0.8;
}
.tool-card:hover { transform: translateY(-4px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.tool-card .ic {
  width: 52px; height: 52px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--border);
  display: grid; place-items: center; font-size: 1.6rem; margin-bottom: 16px;
}
.tool-card h3 { font-size: 1.25rem; margin-bottom: 6px; }
.tool-card .ver { font-size: 0.78rem; color: var(--text-faint); margin-bottom: 12px; }
.tool-card p { color: var(--text-dim); font-size: 0.92rem; margin-bottom: 20px; }

/* ---------- Films 3D ---------- */
.films3d { position: relative; }
.films3d::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(60% 80% at 80% 50%, rgba(25,211,255,0.08), transparent 70%),
              radial-gradient(50% 70% at 10% 40%, rgba(124,92,255,0.1), transparent 70%);
}
.films3d-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: stretch; }
.f3-pipeline {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px; display: flex; flex-direction: column; gap: 18px;
}
.f3-step { display: flex; gap: 16px; align-items: flex-start; }
.f3-step .n {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px; background: var(--grad);
  color: #07070d; font-weight: 800; display: grid; place-items: center; box-shadow: 0 8px 22px -8px rgba(124,92,255,0.6);
}
.f3-step strong { display: block; font-size: 1.05rem; margin-bottom: 2px; }
.f3-step p { color: var(--text-dim); font-size: 0.92rem; }
.f3-pipeline .btn { align-self: flex-start; margin-top: 6px; }
.f3-source {
  background: linear-gradient(160deg, rgba(124,92,255,0.14), rgba(25,211,255,0.06));
  border: 1px solid var(--border-strong); border-radius: var(--radius); padding: 30px;
  display: flex; flex-direction: column;
}
.f3-source h3 { font-size: 1.6rem; letter-spacing: -0.02em; margin: 4px 0 8px; }
.f3-source p { color: var(--text-dim); margin-bottom: 16px; }
.f3-note {
  background: rgba(255,184,92,0.08); border: 1px solid rgba(255,184,92,0.3); border-radius: 12px;
  padding: 14px 16px; font-size: 0.9rem; color: #ffd9a8; margin-bottom: 20px;
}
.f3-source .btn { align-self: flex-start; margin-top: auto; }

/* ---------- Sites compatibles ---------- */
.sites-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.site-card {
  display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px; transition: all 0.25s; position: relative;
}
.site-card:hover { transform: translateY(-4px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.site-card.is-3d { border-color: rgba(25,211,255,0.35); }
.site-card .site-head { display: flex; align-items: center; gap: 13px; margin-bottom: 12px; }
.site-card .site-ic {
  width: 48px; height: 48px; border-radius: 13px; background: var(--surface-2); border: 1px solid var(--border);
  display: grid; place-items: center; font-size: 1.5rem;
}
.site-card h3 { font-size: 1.2rem; }
.site-card .site-tag { font-size: 0.76rem; color: var(--accent-2); font-weight: 700; }
.site-card p { color: var(--text-dim); font-size: 0.9rem; margin-bottom: 18px; flex: 1; }
.site-card .site-url { font-size: 0.82rem; color: var(--text-faint); margin-bottom: 16px; word-break: break-all; }
.badge-feat {
  position: absolute; top: 16px; right: 16px; padding: 4px 10px; border-radius: 999px; font-size: 0.7rem;
  font-weight: 800; background: var(--grad); color: #07070d;
}

/* ---------- Tutorial detail page ---------- */
.tuto-hero { padding: 56px 0 30px; }
.breadcrumb { font-size: 0.88rem; color: var(--text-faint); margin-bottom: 22px; }
.breadcrumb a:hover { color: var(--text); }
.tuto-hero h1 { font-size: clamp(2rem, 4.5vw, 3rem); letter-spacing: -0.03em; line-height: 1.08; margin: 14px 0 18px; max-width: 820px; }
.tuto-hero .lead { font-size: 1.15rem; color: var(--text-dim); max-width: 720px; }
.tuto-meta { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 26px; }
.tuto-meta .m { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; color: var(--text-dim); }

.layout { display: grid; grid-template-columns: 240px 1fr; gap: 48px; align-items: start; padding-top: 20px; }
.toc { position: sticky; top: 92px; }
.toc h4 { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 14px; }
.toc a { display: block; padding: 8px 14px; border-radius: 9px; font-size: 0.9rem; color: var(--text-dim); border-left: 2px solid transparent; transition: all 0.2s; }
.toc a:hover, .toc a.active { color: var(--text); background: var(--surface); border-left-color: var(--accent); }

.content { max-width: 760px; }
.callout {
  display: flex; gap: 14px; padding: 18px 20px; border-radius: var(--radius-sm);
  background: var(--surface); border: 1px solid var(--border); margin: 26px 0;
}
.callout .ci { font-size: 1.3rem; flex-shrink: 0; }
.callout.tip { border-color: rgba(52, 226, 168, 0.3); background: rgba(52, 226, 168, 0.06); }
.callout.warn { border-color: rgba(255, 184, 92, 0.3); background: rgba(255, 184, 92, 0.06); }
.callout strong { display: block; margin-bottom: 2px; }
.callout p { color: var(--text-dim); font-size: 0.94rem; }

.step { display: flex; gap: 22px; padding: 28px 0; border-top: 1px solid var(--border); }
.step:first-of-type { border-top: none; }
.step-num {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: 14px; background: var(--grad);
  color: #07070d; font-weight: 800; font-size: 1.2rem; display: grid; place-items: center;
  box-shadow: 0 10px 26px -8px rgba(124, 92, 255, 0.6);
}
.step-body h3 { font-size: 1.4rem; letter-spacing: -0.01em; margin-bottom: 10px; }
.step-body p { color: var(--text-dim); margin-bottom: 12px; }
.step-body ul { list-style: none; margin: 12px 0; }
.step-body ul li { position: relative; padding-left: 26px; margin-bottom: 9px; color: var(--text-dim); }
.step-body ul li::before { content: "✓"; position: absolute; left: 0; color: var(--good); font-weight: 700; }
.step-body .tool-ref {
  display: inline-flex; align-items: center; gap: 7px; padding: 4px 12px; border-radius: 8px;
  background: var(--surface-2); border: 1px solid var(--border-strong); font-weight: 600; font-size: 0.88rem;
  color: var(--text); margin: 0 2px;
}
kbd {
  background: var(--surface-2); border: 1px solid var(--border-strong); border-bottom-width: 2px;
  border-radius: 6px; padding: 1px 7px; font-size: 0.85em; font-family: var(--font);
}

/* ---------- Captures d'écran (cadre navigateur + lightbox) ---------- */
.shots { margin: 22px 0 4px; display: grid; gap: 22px; }
.shot {
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  background: #0c0c16; box-shadow: var(--shadow); transition: transform 0.2s, border-color 0.2s;
}
.shot:hover { border-color: var(--border-strong); transform: translateY(-3px); }
.shot-bar {
  display: flex; align-items: center; gap: 8px; padding: 11px 14px;
  background: linear-gradient(180deg, #16161f, #101019); border-bottom: 1px solid var(--border);
}
.shot-bar .dots { display: flex; gap: 7px; }
.shot-bar .dots i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.shot-bar .dots i:nth-child(1) { background: #ff5f57; }
.shot-bar .dots i:nth-child(2) { background: #febc2e; }
.shot-bar .dots i:nth-child(3) { background: #28c840; }
.shot-bar .url {
  flex: 1; margin-left: 8px; padding: 5px 12px; border-radius: 8px; font-size: 0.8rem;
  color: var(--text-faint); background: rgba(0,0,0,0.35); border: 1px solid var(--border);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.shot-bar .expand { font-size: 0.78rem; color: var(--text-faint); display: flex; align-items: center; gap: 5px; }
.shot-figure { margin: 0; cursor: zoom-in; position: relative; display: block; }
.shot-imgwrap {
  position: relative; aspect-ratio: 16 / 10; background: #0a0a12; overflow: hidden;
}
/* skeleton shimmer pendant le chargement */
.shot-imgwrap::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, #14141f 30%, #20202e 50%, #14141f 70%);
  background-size: 200% 100%; animation: shimmer 1.4s infinite;
}
.shot-imgwrap.loaded::before { display: none; }
.shot-imgwrap.error::before { animation: none; background: #14141f; }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.shot-imgwrap img {
  position: relative; z-index: 2; width: 100%; height: 100%; object-fit: contain; display: block;
  background: #07070d; opacity: 0; transition: opacity 0.4s;
}
.shot-imgwrap.loaded img { opacity: 1; }
.shot-imgwrap .missing {
  position: absolute; inset: 0; z-index: 1; display: none; flex-direction: column;
  align-items: center; justify-content: center; gap: 8px; color: var(--text-faint);
  font-size: 0.9rem; text-align: center; padding: 20px;
}
.shot-imgwrap.error .missing { display: flex; }
.shot-imgwrap.error .missing .em { font-size: 2rem; }
figcaption { padding: 13px 16px; font-size: 0.88rem; color: var(--text-dim); border-top: 1px solid var(--border); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 1000; display: none;
  align-items: center; justify-content: center; padding: 4vh 4vw;
  background: rgba(4, 4, 9, 0.88); backdrop-filter: blur(8px);
  opacity: 0; transition: opacity 0.25s;
}
.lightbox.open { display: flex; opacity: 1; }
.lightbox img {
  max-width: 100%; max-height: 88vh; border-radius: 14px; border: 1px solid var(--border-strong);
  box-shadow: 0 40px 90px -20px rgba(0,0,0,0.8); transform: scale(0.96); transition: transform 0.25s;
}
.lightbox.open img { transform: scale(1); }
.lightbox .lb-cap {
  position: absolute; bottom: 22px; left: 0; right: 0; text-align: center;
  color: var(--text-dim); font-size: 0.92rem; padding: 0 24px;
}
.lightbox .lb-close {
  position: absolute; top: 20px; right: 24px; width: 44px; height: 44px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--border-strong); color: var(--text);
  font-size: 1.4rem; cursor: pointer; display: grid; place-items: center; transition: background 0.2s;
}
.lightbox .lb-close:hover { background: var(--surface-2); }

@media (prefers-reduced-motion: reduce) {
  .shot-imgwrap::before { animation: none; }
  .reveal { transition: none; }
  .chip-float, .show-glow, .marquee-track, .player .play { animation: none; }
}

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--border); padding: 48px 0 60px; margin-top: 40px; }
.foot-grid { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot-grid p { color: var(--text-faint); font-size: 0.9rem; }
.foot-links { display: flex; gap: 18px; }
.foot-links a { color: var(--text-dim); font-size: 0.9rem; }
.foot-links a:hover { color: var(--text); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .showcase { transform: none; margin: 0 auto; max-width: 460px; }
  .chip-float.c1 { right: 0; }
  .chip-float.c2 { left: 0; }
  .films3d-grid { grid-template-columns: 1fr; }
  .layout { grid-template-columns: 1fr; }
  .toc { position: static; display: none; }
  .nav-links { display: none; }
}
@media (max-width: 560px) {
  .hero-stats { gap: 22px; }
  .step { flex-direction: column; gap: 14px; }
}
