:root {
  --bg: #03070f;
  --panel: rgba(7, 15, 28, 0.78);
  --panel-strong: rgba(6, 10, 18, 0.92);
  --text: #f5f7fb;
  --muted: #b9c4d8;
  --red: #ff3e5f;
  --blue: #38bdf8;
  --gold: #ffd36a;
  --border: rgba(255, 255, 255, 0.16);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(3, 7, 15, 0.22), rgba(3, 7, 15, 0.95) 70%),
    url("assets/rewind-affiche-epoques.png") center top / cover no-repeat;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 20% 20%, rgba(255, 62, 95, 0.18), transparent 30%),
              radial-gradient(circle at 80% 15%, rgba(56, 189, 248, 0.18), transparent 30%);
  pointer-events: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 6vw;
  background: rgba(3, 7, 15, 0.62);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.logo {
  color: var(--text);
  text-decoration: none;
  font-weight: 900;
  font-size: 1.45rem;
  letter-spacing: 0.18em;
  text-shadow: 0 0 16px rgba(56, 189, 248, 0.8), 0 0 18px rgba(255, 62, 95, 0.6);
}

nav { display: flex; gap: 22px; }
nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
}
nav a:hover { color: var(--text); }

.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  padding: 130px 6vw 70px;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3, 7, 15, 0.92), rgba(3, 7, 15, 0.55), rgba(3, 7, 15, 0.86));
}

.hero-content {
  position: relative;
  max-width: 720px;
  padding: 38px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(9, 15, 28, 0.8), rgba(7, 15, 28, 0.42));
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 700;
  font-size: 0.78rem;
}

h1 {
  margin: 0;
  font-size: clamp(4rem, 11vw, 9.5rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
  color: white;
  text-shadow: 0 0 24px rgba(255, 62, 95, 0.75), 0 0 38px rgba(56, 189, 248, 0.7);
}

h2 {
  margin: 0 0 20px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.05;
}

h3 { margin: 0 0 8px; font-size: 1.3rem; }
p { color: var(--muted); }
.tagline {
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 700;
}
.hero-text { max-width: 560px; font-size: 1.1rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 22px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.primary {
  color: white;
  background: linear-gradient(135deg, #e11d48, #b91c1c);
  box-shadow: 0 12px 32px rgba(225, 29, 72, 0.35);
}
.secondary {
  color: white;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.08);
}
.hero-actions, .preorder-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 24px; }

.stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  margin: -45px 6vw 80px;
  position: relative;
  z-index: 2;
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  background: var(--border);
  box-shadow: var(--shadow);
}
.stats article {
  background: var(--panel-strong);
  padding: 24px;
  text-align: center;
}
.stats strong {
  display: block;
  font-size: 2rem;
  color: var(--red);
}
.stats span { color: var(--muted); text-transform: uppercase; font-size: 0.78rem; letter-spacing: 0.14em; }

.section {
  margin: 0 auto 90px;
  width: min(1180px, 88vw);
  padding: 42px;
  border: 1px solid var(--border);
  border-radius: 30px;
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}
.two-columns {
  display: grid;
  grid-template-columns: 1fr 0.86fr;
  gap: 36px;
  align-items: center;
}
.poster-card img, .edition-card img, .gallery img {
  width: 100%;
  display: block;
  border-radius: 20px;
  border: 1px solid var(--border);
}
.poster-card img { max-height: 660px; object-fit: cover; object-position: top; }

.feature-grid, .edition-grid, .gallery {
  display: grid;
  gap: 22px;
}
.feature-grid { grid-template-columns: repeat(3, 1fr); }
.feature-grid article {
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.06);
}
.feature-grid span { font-size: 2rem; }

.edition-grid { grid-template-columns: repeat(2, 1fr); }
.edition-card {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 22px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.06);
}
.edition-card.highlight { box-shadow: inset 0 0 0 1px rgba(56, 189, 248, 0.35); }
ul { padding-left: 20px; color: var(--muted); }

.gallery { grid-template-columns: 1.2fr 1fr 1fr 1.2fr; }
.gallery a { display: block; }
.gallery img {
  height: 360px;
  object-fit: cover;
  transition: transform 0.2s ease, filter 0.2s ease;
}
.gallery img:hover { transform: scale(1.02); filter: brightness(1.1); }

.preorder {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}
footer {
  padding: 38px 6vw;
  text-align: center;
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.45);
}

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .site-header { align-items: flex-start; flex-direction: column; gap: 12px; }
  nav { flex-wrap: wrap; gap: 12px; }
  .hero-content { padding: 26px; }
  .stats { grid-template-columns: repeat(2, 1fr); margin-top: -25px; }
  .two-columns, .edition-grid, .edition-card, .preorder { grid-template-columns: 1fr; display: grid; }
  .feature-grid, .gallery { grid-template-columns: 1fr; }
  .gallery img { height: auto; }
}
