:root {
  --ink: #08070c;
  --night: #0c0a14;
  --night-2: #14111c;
  --night-3: #1c1828;
  --cream: #f4eee3;
  --muted: #f4eee3bf;
  --dim: #f4eee388;
  --faint: #f4eee352;
  --line: #f4eee31f;
  --lime: #d6ff3a;
  --lime-deep: #9ed40a;
  --pink: #ff3d8a;
  --cyan: #3df0ff;
  --ember: #ff6a32;
  --go: linear-gradient(90deg, #d6ff3a, #ff3d8a);
  --hot: linear-gradient(180deg, #f4ff8a 0%, #d6ff3a 42%, #8fd40a 100%);
  --display: "Teko", "Arial Narrow", Impact, sans-serif;
  --body: "Manrope", system-ui, sans-serif;
  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
  --bar: 68px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: var(--body);
  background: var(--night);
  color: var(--cream);
  line-height: 1.55;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
[hidden] { display: none !important; }
.skip {
  position: absolute; left: -999px;
}
.skip:focus {
  left: 12px; top: 12px; z-index: 100;
  background: var(--lime); color: var(--ink); padding: 8px 12px;
}

.wrap {
  width: min(var(--wrap), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

/* Header — barre principale */
.sitebar, .nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--bar);
  display: flex; align-items: center; gap: 24px;
  padding: 0 var(--gutter);
  background: color-mix(in srgb, var(--ink) 92%, transparent);
  backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid var(--line);
}
.sitebar nav { margin-left: auto; min-width: 0; }
.bar-brand, .brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 32px;
  letter-spacing: .04em;
  line-height: 1;
  flex: 0 0 auto;
}
.bar-brand img, .brand img {
  width: 40px; height: 40px; border-radius: 8px; object-fit: contain;
  filter: drop-shadow(0 2px 6px #0008);
}
.bar-links, .nav-links {
  display: flex; align-items: center; gap: 24px;
  margin: 0; padding: 0; list-style: none;
}
.bar-links a, .nav-links a {
  display: block;
  color: var(--cream);
  font-family: var(--display);
  font-style: italic;
  font-weight: 600;
  font-size: 17px;
  line-height: 1;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 6px 0;
  opacity: .72;
}
.bar-links a:hover, .nav-links a:hover,
.bar-links a.is-on, .nav-links a.is-on,
.bar-links a[aria-current="page"], .nav-links a[aria-current="page"] {
  opacity: 1; color: var(--cream);
}
.bar-links a.is-on, .nav-links a.is-on,
.bar-links a[aria-current="page"], .nav-links a[aria-current="page"] {
  box-shadow: inset 0 -3px 0 var(--cream);
}
.bar-side, .nav-cta {
  display: flex; align-items: center; gap: 14px; flex: 0 0 auto;
}
.chip {
  display: flex; align-items: center; gap: 9px;
  height: 42px; padding: 0 14px 0 6px;
  background: #0a0c1499;
  border: 2px solid #f4eee333;
  border-radius: 8px;
  color: var(--cream);
  font-family: var(--display);
  font-style: italic;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.chip img {
  width: 28px; height: 28px; border-radius: 5px; object-fit: cover; background: #100c18;
}
.chip-name { max-width: 11ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chip-level {
  display: grid; place-items: center;
  min-width: 22px; height: 22px; padding: 0 5px;
  background: var(--lime); color: #111;
  border-radius: 4px; font-style: normal; font-weight: 700; font-size: 14px;
}
.chip.is-login { padding: 0 14px; }
.plate {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 42px; padding: 0 16px;
  border: 2px solid #0a0806;
  border-radius: 6px;
  font-family: var(--display);
  font-style: italic;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: .05em;
  text-transform: uppercase;
  white-space: nowrap;
}
.plate-go {
  position: relative;
  overflow: hidden;
  background: var(--lime); color: #0a0806;
  box-shadow: 0 6px 18px #d6ff3a33;
}
.plate-go:hover { filter: brightness(1.06); }
.plate-sm { height: 38px; padding: 0 14px; font-size: 16px; }
button.bar-play { cursor: pointer; gap: 8px; }
.bar-play-chev { display: block; flex: 0 0 auto; }
.icon-btn, .burger {
  display: none; place-items: center;
  width: 42px; height: 42px;
  background: transparent; border: 1px solid var(--line); color: var(--cream);
  border-radius: 8px;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 18px;
  border-radius: 6px; border: 0;
  font-family: var(--display);
  font-size: 20px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  white-space: nowrap;
}
.btn-go {
  position: relative;
  overflow: hidden;
  background: var(--hot); color: #111;
  box-shadow: 0 8px 24px #d6ff3a44;
}
.btn-go:hover { filter: brightness(1.06); }
.btn-ghost {
  position: relative;
  overflow: hidden;
  background: #ffffff10; color: var(--cream);
  border: 1px solid var(--line-2, #ffffff22);
}
.btn-ghost:hover { background: #ffffff18; }
.btn-lg { height: 54px; padding: 0 26px; font-size: 24px; }

/* Hero — large : texte à gauche, centré verticalement */
.hero {
  position: relative;
  min-height: 100svh;
  margin-top: calc(var(--bar) * -1);
  display: grid;
  place-items: center start;
  padding: calc(var(--bar) + 24px) var(--gutter) 96px max(var(--gutter), 6vw);
  background: #08070c;
  overflow: hidden;
}
.hero-stage {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #08070c;
}
.hero-art {
  position: absolute;
  inset: -3% -1% -4%;
}
.hero-shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% 42%;
  opacity: 0;
  transition: opacity 1.15s ease;
  pointer-events: none;
}
.hero-shot.is-on { opacity: 1; }
.hero-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, #08070cd4 0%, #08070c88 22%, #08070c33 44%, transparent 62%),
    radial-gradient(120% 95% at 72% 48%, transparent 52%, #08070c7a 100%),
    linear-gradient(180deg, #08070c66 0%, transparent 18%, transparent 72%, #08070ce0 92%, #08070c 100%);
}
.hero-copy {
  position: relative; z-index: 1;
  width: min(100%, 640px, 46vw);
  margin: 0;
  padding: 0;
  text-align: left;
  display: grid;
  justify-items: start;
}
.pill {
  display: inline-flex; align-items: center; gap: 0;
  background: var(--lime); color: #111;
  font-weight: 800; font-size: 11px; letter-spacing: .16em;
  text-transform: uppercase;
  padding: 5px 12px 5px 5px; border-radius: 4px;
}
.hero .pill {
  transform: rotate(-2.5deg) skew(-8deg);
  box-shadow: 4px 4px 0 #08070c;
  margin: 0 0 14px 4px;
}
.pill em { font-style: normal; background: var(--pink); color: #fff; padding: 4px 8px; border-radius: 3px; margin-right: 10px; }
.logo-word {
  margin: 16px 0 4px;
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(72px, 12vw, 128px);
  font-weight: 700;
  letter-spacing: .01em;
  line-height: .78;
  background: linear-gradient(180deg, #fffef6 8%, #d6ff3a 48%, #9ed40a 78%, #ff3d8a 130%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 8px 0 #0005);
}
.hero .logo-word {
  margin: 0 0 8px;
  font-size: clamp(72px, 8.5vw, 140px);
  letter-spacing: .02em;
  line-height: .72;
  filter: drop-shadow(0 3px 0 #08070c) drop-shadow(0 10px 22px #000c);
}
.hero-logo {
  margin: 0 0 8px;
  width: min(100%, 560px);
  aspect-ratio: 1617 / 563;
  position: relative;
  animation: logo-slam .78s cubic-bezier(.18,.72,.22,1) .12s both;
}
.hero-logo-float {
  position: absolute;
  inset: 0;
  animation: logo-float 5.4s ease-in-out 1.15s infinite alternate;
}
.hero-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 4px 0 #08070c) drop-shadow(0 10px 22px #000c);
}
.hero-shine {
  pointer-events: none;
  position: absolute;
  inset: 0;
  overflow: hidden;
  mix-blend-mode: overlay;
  -webkit-mask: url("/assets/rixa-logo.png?v=4") center / contain no-repeat;
  mask: url("/assets/rixa-logo.png?v=4") center / contain no-repeat;
}
.hero-shine::before {
  content: "";
  position: absolute;
  top: -24%;
  bottom: -24%;
  left: 0;
  width: 30%;
  background: linear-gradient(108deg, transparent 18%, #f4eee3d8 46%, #d6ff3a99 54%, transparent 82%);
  animation: logo-shine 6.2s ease-in-out 1.45s infinite;
  opacity: 0;
}
.hero-shock {
  pointer-events: none;
  position: absolute;
  top: 8%;
  left: 42%;
  width: 24%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 3px solid #d6ff3acc;
  box-shadow: 0 0 32px #d6ff3a99, 0 0 22px #ff3d8a66 inset;
  opacity: 0;
  animation: logo-shock .68s cubic-bezier(.12,.7,.28,1) .5s both;
}
.hero-mud {
  pointer-events: none;
  position: absolute;
  top: 78%;
  left: 48%;
  width: 0;
  height: 0;
}
.hero-mud i {
  position: absolute;
  width: var(--s);
  height: var(--s);
  margin: calc(var(--s) / -2);
  clip-path: polygon(16% 6%, 74% 0, 100% 42%, 84% 92%, 28% 100%, 0 58%);
  background: radial-gradient(circle at 34% 28%, var(--c1), var(--c2) 74%);
  opacity: 0;
  animation: logo-mud var(--t) linear calc(.5s + var(--d)) both;
}
@keyframes logo-slam {
  0% { opacity: 0; transform: scale(2.2) rotate(-5.5deg); }
  38% { opacity: 1; transform: scale(.92) rotate(.45deg); }
  66% { transform: scale(1.04); }
  100% { opacity: 1; transform: none; }
}
@keyframes logo-shock {
  0% { opacity: .92; transform: scale(.2, .12); }
  100% { opacity: 0; transform: scale(2.05, 1.18); }
}
@keyframes logo-mud {
  0% { opacity: 1; transform: translate(0) rotate(0) scale(.42); }
  40% { opacity: 1; transform: translate(calc(var(--x) * .7), var(--y)) rotate(calc(var(--r) * .48)) scale(1); }
  100% { opacity: 0; transform: translate(var(--x), calc(var(--y) + var(--f))) rotate(var(--r)) scale(.82); }
}
@keyframes logo-float {
  to { transform: translateY(-2.1%) rotate(-.65deg); }
}
@keyframes logo-shine {
  0% { opacity: 1; transform: translateX(-145%) skewX(-16deg); }
  18% { opacity: 1; transform: translateX(355%) skewX(-16deg); }
  18.1%, 100% { opacity: 0; transform: translateX(355%) skewX(-16deg); }
}
.btn-go::before,
.plate-go::before,
.btn-ghost::before {
  content: "";
  position: absolute;
  top: -32%;
  bottom: -32%;
  left: 0;
  width: 36%;
  background: linear-gradient(100deg, transparent 16%, #fffef6e0 48%, #d6ff3a77 58%, transparent 84%);
  transform: translateX(-170%) skewX(-14deg);
  animation: btn-glint 5.1s ease-in-out 2.2s infinite;
  pointer-events: none;
}
.btn-ghost::before {
  background: linear-gradient(100deg, transparent 20%, #f4eee366 50%, transparent 80%);
  animation-delay: 3.4s;
  animation-duration: 6s;
}
.bar-play::before { animation-delay: 3s; }
.cta .btn-go::before { animation-delay: 2.7s; }
@keyframes btn-glint {
  0% { transform: translateX(-170%) skewX(-14deg); }
  16%, 100% { transform: translateX(370%) skewX(-14deg); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-logo,
  .hero-logo-float,
  .hero-shine::before,
  .hero-shock,
  .hero-mud i,
  .btn-go::before,
  .plate-go::before,
  .btn-ghost::before { animation: none !important; }
  .hero-shock, .hero-mud { display: none; }
  .hero-logo { opacity: 1; transform: none; }
}
.tag {
  margin: 0;
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(34px, 5.6vw, 56px);
  font-weight: 600;
  letter-spacing: .01em;
  text-transform: uppercase;
  line-height: .92;
}
.hero .tag {
  font-size: clamp(36px, 4.2vw, 76px);
  font-weight: 700;
  line-height: .9;
  letter-spacing: .005em;
  text-shadow: 3px 3px 0 #08070c, 0 0 36px #000a;
}
.tag b { color: var(--lime); }
.lead {
  margin: 18px 0 26px;
  max-width: 46ch;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.5;
}
.hero .lead {
  margin: 0 0 26px;
  max-width: 46ch;
  text-align: left;
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.6;
  color: #f4eee3e0;
  text-shadow: 0 1px 12px #000d;
}
.hero-actions { display: flex; gap: 16px 22px; justify-content: flex-start; flex-wrap: wrap; }
.hero .btn-go, .cta .btn-go {
  font-style: italic;
  font-weight: 700;
  letter-spacing: .04em;
  border: 2px solid #0a0806;
}
.hero .btn-ghost {
  background: #0c0a14cc;
  border: 2px solid #f4eee348;
  color: var(--cream);
  font-style: italic;
  font-weight: 700;
}
.hero .btn-ghost:hover { border-color: var(--lime); color: var(--lime); background: #0c0a14ee; }
.chips {
  display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 6px 22px;
  margin-top: 26px;
  max-width: none;
  font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
}
.chips span {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--cream);
}
.chips span::before {
  content: "";
  width: 7px; height: 7px;
  background: var(--lime);
  transform: rotate(45deg);
  box-shadow: 0 0 8px #d6ff3a88;
}
.live {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 10px;
  background: #102816; color: #b8ff9a;
  border: 1px solid #2e7a38;
  font-size: 10px; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px;
}
.live i {
  width: 7px; height: 7px; border-radius: 50%; background: #6dff6a;
  box-shadow: 0 0 8px #6dff6a;
}

/* Tape */
.tape {
  overflow: hidden;
  background: var(--lime);
  color: #111;
  transform: rotate(-1.15deg) scale(1.05);
  margin: -28px 0 0;
  position: relative;
  z-index: 2;
  border-block: 4px solid #111;
}
.tape-b {
  background: #111; color: var(--lime);
  transform: rotate(1.1deg) scale(1.04);
  margin: 0 0 8px;
  border-block: 4px solid var(--lime);
}
.tape-track {
  display: flex; align-items: center; gap: 26px;
  width: max-content;
  padding: 8px 26px 8px 0;
  white-space: nowrap;
  font-family: var(--display);
  font-size: 26px; font-weight: 800; font-style: italic;
  letter-spacing: .08em; text-transform: uppercase;
  animation: none;
  will-change: transform;
}
.tape-track.is-run {
  animation: marquee var(--tape-s, 34s) linear infinite;
}
.tape-b .tape-track.is-run {
  animation-duration: var(--tape-s, 40s);
  animation-direction: reverse;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* Sections */
section { padding: 96px 0; }
section[id] { scroll-margin-top: calc(var(--bar) + 10px); }
.kicker {
  display: inline-block;
  background: var(--lime); color: #111;
  font-weight: 800; font-size: 11px; letter-spacing: .16em;
  text-transform: uppercase;
  padding: 5px 10px; border-radius: 3px;
  transform: rotate(-2deg);
}
h2 {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(42px, 7vw, 78px);
  font-weight: 700;
  letter-spacing: .02em;
  line-height: .88;
  text-transform: uppercase;
  margin: 12px 0 14px;
}
.intro { max-width: 54ch; color: var(--muted); margin: 0 0 36px; font-size: 16px; }

.about { background: var(--night); }
.shots, .scenes {
  display: grid;
  grid-template-columns: 1.2fr .9fr .9fr;
  gap: 14px;
}
.shot, .scene {
  position: relative;
  min-height: 380px;
  border-radius: 18px;
  overflow: hidden;
  background: #100c18 center / cover no-repeat;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 24px 22px 22px;
  border: 1px solid #f4eee318;
  transition: border-color .2s, transform .25s;
}
.shot:hover, .scene:hover {
  border-color: #d6ff3a55;
  transform: translateY(-3px);
}
.shot::after, .scene::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 28%, #08070ce6 94%);
  pointer-events: none;
}
.shot h3, .scene h3, .shot p, .scene p { position: relative; z-index: 1; }
.shot h3, .scene h3 {
  font-family: var(--display);
  font-style: italic;
  font-size: 40px; font-weight: 700;
  margin: 0 0 6px; text-transform: uppercase; line-height: .88;
}
.shot p, .scene p { margin: 0; color: var(--muted); font-size: 15px; }

/* Tracks */
.tracks { background: var(--ink); }
.track-stage {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 40px;
  align-items: center;
}
.tv {
  position: relative;
  background: #050508;
  border: 3px solid #f4eee318;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 28px 70px #000c;
  aspect-ratio: 16/10;
}
.tv img { width: 100%; height: 100%; object-fit: cover; }
.tv .ch {
  position: absolute; top: 14px; left: 14px;
  font-family: var(--display);
  font-style: italic;
  font-size: 36px; color: var(--lime);
  text-shadow: 0 2px 10px #000a;
}
.track-meta .num {
  font-family: var(--display);
  font-style: italic;
  color: var(--lime);
  font-size: 20px; letter-spacing: .16em;
}
.track-meta h3 {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(40px, 6vw, 72px);
  margin: 4px 0 8px;
  text-transform: uppercase; line-height: .86;
}
.quote { color: var(--dim); font-style: italic; margin: 0 0 12px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.tag-chip {
  font-size: 11px; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase;
  border: 1px solid var(--line); padding: 5px 8px; border-radius: 4px;
  color: var(--muted);
}
.tag-chip.ok { background: #1a3a22; border-color: #2e6a38; color: #9dff9a; }
.stats { display: flex; gap: 18px; color: var(--lime); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.track-list {
  display: flex; flex-wrap: wrap;
  gap: 8px; margin-top: 28px;
}
.track-list button {
  background: var(--night-2);
  border: 1px solid var(--line);
  color: var(--cream);
  border-radius: 10px;
  padding: 12px 16px;
  text-align: left;
  min-width: 148px;
  transition: border-color .15s, background .15s;
}
.track-list button:hover { border-color: #f4eee348; }
.track-list button.is-on {
  border-color: var(--lime);
  background: #14180c;
  box-shadow: inset 0 0 0 1px var(--lime);
}
.track-list b {
  display: block;
  font-family: var(--display);
  font-size: 22px; font-weight: 600;
  line-height: 1;
}
.track-list span { font-size: 11px; color: var(--dim); letter-spacing: .06em; text-transform: uppercase; }
.track-list button.soon { color: var(--dim); }
.track-list button.soon b { opacity: .45; }
.tv.is-soon {
  background: linear-gradient(180deg, #1a1524, #0c0a14);
  display: grid; place-items: center;
}
.tv.is-soon::after {
  content: '?';
  font-family: var(--display);
  font-size: 120px; line-height: 1; color: #f4eee333;
}
.tv.is-soon img { display: none; }
.tv.is-soon .ch { z-index: 1; }

/* Campaign */
.campaign { background: linear-gradient(180deg, #120818, #0c0a14); }
.rival-stage {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 28px;
  align-items: stretch;
}
.rival-art {
  min-height: 420px;
  border-radius: 18px;
  background: #100c18 center / cover no-repeat;
  border: 1px solid #f4eee318;
  box-shadow: 0 28px 70px #000a;
}
.rival-copy {
  display: flex; flex-direction: column; justify-content: center;
  background: #0c0a14cc;
  border: 1px solid #f4eee318;
  border-radius: 18px;
  padding: 32px 28px;
}
.rival-copy .role {
  color: var(--pink);
  font-size: 12px; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase;
}
.rival-copy .quote { font-size: 22px; color: var(--cream); }
.rival-copy p { color: var(--muted); margin: 0 0 10px; }
.rival-copy .who {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(42px, 6vw, 72px);
  margin: 8px 0 12px; text-transform: uppercase; line-height: .86;
}
.rivals {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
}
.rival {
  background: var(--night-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
}
.rival .who {
  font-family: var(--display);
  font-size: 28px; margin: 0; text-transform: uppercase;
}
.rival .role { color: var(--pink); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.rival p { color: var(--muted); font-size: 14px; margin: 8px 0 0; }
.rival.sealed {
  min-height: 132px;
  display: grid; place-items: center;
  text-align: center;
  background: #100c18;
}
.rival.sealed .who { font-size: 48px; opacity: .28; margin: 0; }
.rival.sealed p { margin: 0; letter-spacing: .12em; text-transform: uppercase; font-size: 11px; }
.big-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 12px; margin: 28px 0 36px;
}
.big-stats div {
  background: #ffffff08;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
}
.big-stats b {
  display: block;
  font-family: var(--display);
  font-size: 48px; line-height: 1; color: var(--lime);
}
.big-stats span { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }

/* Garage */
.garage { background: var(--night); }
.cars {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: center;
}
.car-shot {
  background:
    radial-gradient(ellipse 68% 42% at 50% 82%, #d6ff3a24, transparent 70%),
    radial-gradient(circle at 50% 48%, #241832, #0c0a14 72%);
  border: 1px solid #f4eee318;
  border-radius: 18px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  box-shadow: 0 28px 70px #000a;
}
.car-shot img {
  width: 100%; height: 100%;
  object-fit: contain; object-position: center;
  padding: 6%;
  filter: drop-shadow(0 18px 40px #000a);
}
.car-title {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(48px, 7vw, 72px);
  margin: 4px 0;
  text-transform: uppercase;
  line-height: .86;
}
.bars { margin: 16px 0 20px; }
.bar-row { display: grid; grid-template-columns: 110px 1fr; gap: 10px; align-items: center; margin: 8px 0; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.bar { height: 8px; background: #ffffff12; border-radius: 99px; overflow: hidden; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, #d6ff3a, #9ed40a); }
.car-picks {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px; margin-top: 16px;
}
.car-picks button {
  width: auto; aspect-ratio: 1; height: auto; padding: 0; overflow: hidden;
  border-radius: 10px; border: 1px solid var(--line); background: #100c18;
}
.car-picks button { transition: border-color .15s, transform .15s; }
.car-picks button:hover { border-color: #f4eee348; }
.car-picks button.is-on { border-color: var(--lime); transform: translateY(-2px); }
.car-picks img {
  width: 100%; height: 100%;
  object-fit: contain; object-position: center;
  padding: 8%;
}
.car-shot.is-crate {
  background: linear-gradient(180deg, #d7bc8e 0 16%, #8a6234 16% 22%, #c4a06a 22% 100%);
  display: grid; place-items: center;
}
.car-shot.is-crate::after {
  content: '?';
  font-family: var(--display);
  font-size: 140px; line-height: 1; color: #3b2412; opacity: .4;
}
.car-picks button.crate {
  background: linear-gradient(180deg, #d7bc8e 0 22%, #8a6234 22% 28%, #c4a06a 28%);
  color: #3b2412; font-family: var(--display); font-size: 28px; line-height: 1;
}

.hall { background: var(--ink); }
/* Gadgets */
.gadgets { background: var(--ink); }
.grid-3 {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
.gad {
  background: var(--night-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 18px 20px;
}
.gad h3 {
  font-family: var(--display);
  font-size: 26px; margin: 0 0 6px; text-transform: uppercase;
}
.gad p { margin: 0; color: var(--muted); font-size: 14.5px; }
.gad.soon { opacity: .5; }
.gad.soon h3 { letter-spacing: .28em; }

/* Modes */
.modes { background: var(--night-2); }
.mode-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px;
}
.mode {
  min-height: 160px;
  border-radius: 14px;
  padding: 18px;
  background: #0c0a14;
  border: 1px solid var(--line);
}
.mode h3 {
  font-family: var(--display);
  font-size: 28px; margin: 0 0 8px; text-transform: uppercase;
}
.mode p { margin: 0; color: var(--muted); font-size: 14px; }

/* CTA */
.cta {
  text-align: center;
  padding: 110px 0 96px;
  background:
    linear-gradient(180deg, #08070cf0 0%, #08070ce0 55%, #08070cf4 100%),
    url("../assets/rixa-fete.jpg") center / cover no-repeat;
}
.cta .logo-word { font-size: clamp(56px, 12vw, 120px); margin-bottom: 8px; }
.cta .lead { margin-bottom: 28px; }

footer, .foot {
  position: relative;
  background: #030409;
  border-top: 1px solid var(--line);
  padding: 72px 0 28px;
  color: #f4eee385;
  font-size: 14px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr .8fr;
  gap: 32px;
}
.foot-brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--display);
  font-size: 36px; font-weight: 700; letter-spacing: .04em;
  color: var(--cream); line-height: 1; margin-bottom: 12px;
}
.foot-brand img {
  width: 44px; height: 44px; border-radius: 8px; object-fit: contain;
  filter: drop-shadow(0 2px 6px #0008);
}
.foot p { margin: 0 0 16px; max-width: 34ch; }
.foot nav h2 {
  margin: 0 0 12px;
  font-family: var(--display);
  font-style: italic;
  font-size: 16px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--cream);
  line-height: 1;
}
.foot nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot nav a { color: #f4eee3bd; }
.foot nav a:hover { color: var(--cream); }
.foot-base {
  display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap;
  margin-top: 36px; padding-top: 22px;
  border-top: 1px solid var(--line);
  color: #f4eee385;
}
.foot-base p { margin: 0; max-width: none; }
.legal { padding: 48px 0 80px; }
.legal h1 {
  font-family: var(--display); font-size: clamp(42px, 7vw, 72px);
  text-transform: uppercase; line-height: .9; margin: 0 0 18px;
}
.legal h2 {
  font-size: 28px; margin: 28px 0 10px;
}
.legal p, .legal li { color: var(--muted); max-width: 68ch; }
.legal ul { padding-left: 1.2em; }

@media (max-width: 1240px) {
  .bar-links a, .nav-links a { font-size: 15px; letter-spacing: .06em; }
  .bar-links, .nav-links { gap: 14px; }
}
@media (max-width: 1120px) {
  .bar-links, .nav-links { display: none; }
  .bar-links.open, .nav-links.open {
    display: flex; flex-direction: column; align-items: stretch; gap: 4px;
    position: absolute; top: var(--bar); left: 0; right: 0;
    background: var(--ink); padding: 16px var(--gutter) 20px;
    border-bottom: 1px solid var(--line);
  }
  .icon-btn, .burger { display: grid; }
  .chip-name { max-width: 8ch; }
}
@media (max-width: 980px) {
  .grid-4, .rivals, .mode-grid, .grid-3, .track-list, .big-stats, .shots, .scenes { grid-template-columns: 1fr 1fr; }
  .track-stage, .cars, .rival-stage { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .car-picks { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .hero {
    --art-h: min(52svh, 100vw);
    min-height: 0;
    padding: calc(var(--art-h) - 120px) var(--gutter) 64px;
    place-items: start center;
  }
  .hero-art { inset: 0 0 auto; height: var(--art-h); }
  .hero-shot { object-position: 50% 46% !important; }
  .hero-shade {
    background:
      linear-gradient(180deg, #08070c66 0%, transparent 16%, transparent 40%, #08070ce8 78%, #08070c 100%);
  }
  .hero-copy {
    text-align: center;
    justify-items: center;
    width: min(100%, 560px);
  }
  .hero .lead { text-align: center; }
  .hero-actions, .chips { justify-content: center; }
}
@media (max-height: 560px) and (min-width: 761px) {
  .hero { padding: calc(var(--bar) + 4px) var(--gutter) 30px max(var(--gutter), 5vw); }
  .hero-copy { width: min(100%, 46vw); }
  .hero-logo { width: min(100%, 340px); }
  .hero .tag { font-size: clamp(24px, 3.8vw, 40px); }
  .hero .lead { margin-bottom: 12px; font-size: 13px; }
  .chips, .live { display: none; }
}
@media (max-width: 560px) {
  .hero-logo { width: min(92vw, 420px); }
  .hero .tag { font-size: clamp(26px, 8.4vw, 38px); }
  .grid-4, .rivals, .mode-grid, .grid-3, .track-list, .big-stats, .foot-grid, .shots, .scenes { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn, .cta .btn { width: 100%; }
  .shot, .scene { min-height: 260px; }
  .chip img, .chip-level { display: none; }
  .chip { padding: 0 12px; }
  .car-picks { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

body.pick-on { overflow: hidden; }
.pick {
  position: fixed; inset: 0; z-index: 80;
  display: grid; place-items: center;
  padding: 20px;
}
.pick[hidden] { display: none !important; }
.pick-dim {
  position: absolute; inset: 0;
  background: #05040aef;
  backdrop-filter: blur(10px);
}
.pick-box {
  position: relative; z-index: 1;
  width: min(1080px, 100%);
  border: 1px solid #f4eee328;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 40px 90px #000c;
  background: #0c0a14;
}
.pick-scene {
  position: relative;
  padding: 32px 28px 20px;
  background:
    linear-gradient(180deg, #0c0a14f2 0%, #0c0a1488 38%, #0c0a14f5 100%),
    url("/assets/tex/tex-asphalt.jpg") center 70%/cover;
}
.pick-close {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 36px; height: 36px; border-radius: 8px;
  border: 1px solid #f4eee333; background: #0c0a14cc; color: var(--cream);
  display: grid; place-items: center;
}
.pick-close:hover { border-color: var(--lime); color: var(--lime); }
.pick-scene h2 {
  margin: 0 0 22px;
  font-family: var(--display);
  font-size: clamp(34px, 5.4vw, 58px);
  line-height: .9;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-align: center;
}
.pick-bays {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}
.pick-bay {
  --tone: var(--lime);
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  min-height: 292px;
  padding: 12px 10px 14px;
  border-radius: 10px;
  background: linear-gradient(180deg, #1a1630 0%, #0c0a14 72%);
  border: 1px solid #f4eee318;
  text-align: center;
}
.pick-bay::before {
  content: "";
  display: block; width: 100%; height: 7px; border-radius: 4px;
  margin-bottom: 10px;
  background: var(--tone);
  box-shadow: 0 0 18px color-mix(in srgb, var(--tone) 70%, transparent);
}
.pick-bay.web { --tone: var(--cyan); }
.pick-bay.win { --tone: var(--lime); }
.pick-bay.lin { --tone: var(--cream); }
.pick-bay.mac { --tone: var(--pink); }
.pick-bay.mob { --tone: #f4eee355; }
.pick-name {
  font-family: var(--display);
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: .08em;
  text-transform: uppercase;
  line-height: 1;
}
.pick-bay img {
  width: 100%; height: 118px; object-fit: contain;
  margin: 10px 0 14px;
  filter: drop-shadow(0 14px 12px #000a);
}
.pick-bay .btn { width: 100%; height: 40px; font-size: 15px; padding: 0 8px; }
.pick-alt {
  margin-top: 8px; font-size: 11px; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase; color: var(--dim);
}
.pick-alt:hover { color: var(--lime); }
.pick-badge {
  display: inline-block; margin: 6px 0 0;
  background: var(--pink); color: #fff;
  font-size: 9px; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; padding: 3px 6px; border-radius: 3px;
}
.pick-bay.is-soon { opacity: .58; pointer-events: none; }
.pick-bay.is-soon .btn {
  background: #f4eee318; color: var(--cream); box-shadow: none;
}
.pick-foot {
  margin: 16px 0 0;
  text-align: center;
  color: var(--dim);
  font-size: 12px;
}
@media (max-width: 980px) {
  .pick-bays { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pick-bay { min-height: 240px; }
}
@media (max-width: 560px) {
  .pick-bays { grid-template-columns: 1fr; }
  .pick-scene { padding: 48px 16px 16px; }
}
