/* EZ Arena — site vitrine. Une section par bloc, dans l'ordre de la page. */

/* ---------- Base ---------- */
:root {
  --bg: #07090b; --panel: #11151a; --line: #232a33; --text: #e8ebef; --muted: #8b95a3;
  --accent: #44d62c; --accent-rgb: 68,214,44; --gold: #ffb800; --gold-rgb: 255,184,0; --ink: #0b1a08;
  --display: 'Bungee', 'Noto Sans', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.5 'Noto Sans', 'Noto Sans Lao', system-ui, sans-serif; }
a { color: var(--accent); }
/* Lao : jamais plus petit que 12,5 px, et assez contrasté (l'écriture lao a besoin de taille) */
.lo { display: block; font-family: 'Noto Sans Lao', sans-serif; font-size: max(.8em, 12.5px); font-weight: 400; opacity: .85; }
/* Navigation au clavier : contour bien visible */
a:focus-visible, button:focus-visible, .track:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.ico { width: 26px; height: 26px; flex: none; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

section { scroll-margin-top: 64px; padding: 80px 0; border-bottom: 1px solid var(--line); }
h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; margin: 0 0 32px; }
h2::before { content: ''; display: block; width: 48px; height: 4px; background: var(--accent); margin-bottom: 14px; box-shadow: 0 0 14px rgba(var(--accent-rgb),.6); }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.card h3 { margin: 0 0 6px; font-size: 19px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.big { font-size: 40px; font-weight: 800; color: var(--accent); line-height: 1; margin-bottom: 8px; }
.note { color: var(--muted); font-size: 15px; margin-top: 20px; }

.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-block; padding: 14px 24px; border-radius: 12px; font-weight: 700; text-decoration: none; border: 1px solid var(--line); background: #1a2028; color: var(--text); transition: transform .15s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--ink); box-shadow: 0 0 22px rgba(var(--accent-rgb),.35); }
.btn.primary:hover { box-shadow: 0 0 34px rgba(var(--accent-rgb),.6); }
.btn.shine { position: relative; overflow: hidden; }
.btn.shine::after { content: ''; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent); transform: skewX(-20deg); animation: shine 3.2s 1.5s infinite; }

/* ---------- En-tête ---------- */
.top { position: sticky; top: 0; z-index: 10; background: rgba(7,9,11,.85); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 400; letter-spacing: .02em; font-size: 24px; color: var(--accent); text-shadow: 0 0 18px rgba(var(--accent-rgb),.6); text-decoration: none; line-height: 1; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.brand small { white-space: nowrap; }
.name { font-family: 'Saira', 'Play', var(--display); font-weight: 900; font-stretch: 125%; font-style: italic; letter-spacing: .02em; color: #fff; white-space: nowrap; }
.name b { color: var(--accent); }
.brand .name { display: block; font-size: 24px; line-height: 1; text-shadow: none; }
.brand img { border-radius: 50%; box-shadow: 0 0 0 2px var(--accent); }

@media (max-width: 420px) { .brand { gap: 8px; } .brand img { width: 32px; height: 32px; } .brand .name { font-size: 19px; } .brand small { font-size: 8px; letter-spacing: .06em; } }
.brand small { display: block; font-family: 'Noto Sans', sans-serif; font-size: 10px; letter-spacing: .12em; color: var(--muted); text-shadow: none; font-weight: 600; margin-top: 3px; }
.top nav { display: flex; gap: 22px; }
.top nav a { color: var(--text); text-decoration: none; font-size: 14px; font-weight: 600; }
.top nav a:hover { color: var(--accent); }
.menu-btn { display: none; width: 44px; height: 44px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; background: #1a2028; color: var(--text); cursor: pointer; }
.menu-btn svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.menu-btn path { transition: transform .2s, opacity .2s; transform-origin: 12px 12px; }
.top.open .menu-btn .l1 { transform: translateY(5px) rotate(45deg); }
.top.open .menu-btn .l2 { opacity: 0; }
.top.open .menu-btn .l3 { transform: translateY(-5px) rotate(-45deg); }

/* ---------- Accueil ---------- */

/* Logo qui tourne + images de jeux à gauche, nom et offres au centre */


h1.neon .w1 { display: inline-block; animation: rise .7s .25s both; }
h1.neon .w2 { display: inline-block; color: var(--accent); animation: rise .7s .4s both, flicker 5s 1.2s infinite; }

/* Offres de l'accueil */
[hidden] { display: none !important; }


/* ---------- Bande défilante ---------- */
.ticker { overflow: hidden; background: var(--accent); color: var(--ink); border-bottom: 1px solid var(--line); }
.ticker-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.ticker span { padding: 11px 26px; font-weight: 800; font-size: 14px; letter-spacing: .12em; white-space: nowrap; }
.ticker span::after { content: '◆'; margin-left: 26px; opacity: .55; }

/* ---------- Carrousel des jeux ---------- */
.carousel { position: relative; }
.track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 8px; }
.track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 min(340px, 82%); margin: 0; scroll-snap-align: start; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.slide:hover { border-color: var(--accent); box-shadow: 0 0 22px rgba(var(--accent-rgb),.25); }
.slide img { display: block; width: 100%; height: auto; aspect-ratio: 460 / 215; object-fit: cover; }
.slide figcaption { padding: 14px 16px; }
.slide strong { display: block; font-size: 17px; }
.slide span { color: var(--accent); font-size: 13px; font-weight: 600; }
.carousel .nav { position: absolute; top: 34%; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: rgba(7,9,11,.85); color: var(--text); font-size: 26px; line-height: 1; cursor: pointer; }
.carousel .nav:hover { border-color: var(--accent); color: var(--accent); }
.carousel .prev { left: -14px; }
.carousel .next { right: -14px; }

/* ---------- Marques ---------- */
.brands { border-bottom: 1px solid var(--line); background: #0b0e12; padding: 40px 0; }
.brands p { margin: 0 0 22px; text-align: center; color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.brands .lo { text-transform: none; letter-spacing: 0; }
ul.logos { list-style: none; margin: 0 auto; padding: 0; max-width: 960px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; justify-content: center; align-items: center; }
.logo-tile { height: 84px; display: flex; align-items: center; justify-content: center; padding: 0 18px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.02); transition: border-color .2s, background .2s, box-shadow .2s; }
.logo-tile:hover { border-color: rgba(var(--accent-rgb),.6); background: rgba(var(--accent-rgb),.06); box-shadow: 0 0 20px rgba(var(--accent-rgb),.15); }
.logos .logo-tile img { display: block; height: 30px; width: auto; max-width: 100%; object-fit: contain; opacity: .8; transition: opacity .2s; }
.logo-tile:hover img { opacity: 1; }
/* équilibrage optique selon la forme du logo */
.logos .t-geforce-rtx img { height: 18px; }
.logos .t-razer img { height: 22px; }
.logos .t-nvidia img { height: 26px; }
.logos .t-logitech img, .logos .t-msi img { height: 32px; }

/* ---------- Setup ---------- */
.setup { display: grid; grid-template-columns: 1.5fr 1fr; gap: 16px; }
.feature { padding: 28px; background: linear-gradient(160deg, rgba(var(--accent-rgb),.10), transparent 45%), var(--panel); }
.feature-head { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.feature-head .big { font-family: var(--display); font-weight: 400; font-size: 64px; margin: 0; text-shadow: 0 0 24px rgba(var(--accent-rgb),.45); }
.feature-head h3 { font-size: 24px; margin: 0; }
.specs { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.specs li { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--line); }
.specs strong { display: block; font-size: 17px; }
.specs span { color: var(--muted); font-size: 15px; }
.specs .lo { margin-top: 2px; }
.side { display: grid; gap: 16px; }
.mini { display: flex; gap: 16px; align-items: center; }
.mini .ico { width: 40px; height: 40px; padding: 10px; box-sizing: content-box; border-radius: 14px; background: rgba(var(--accent-rgb),.1); }
.mini h3 { margin: 0 0 4px; }
.combo { margin-top: 8px !important; color: var(--text) !important; font-size: 14px; }
.combo strong { display: inline-block; background: var(--gold); color: var(--ink); font-size: 10px; letter-spacing: .1em; padding: 2px 7px; border-radius: 999px; margin-right: 4px; }
.combo b { color: var(--gold); }
.combo s { color: var(--muted); margin-left: 4px; }
.combo .lo { margin-top: 2px; }

/* ---------- Prix ---------- */
.prices .card { text-align: center; }
.price { font-size: 38px; font-weight: 800; color: var(--accent); text-shadow: 0 0 20px rgba(var(--accent-rgb),.4); }
.price small { font-size: 16px; color: var(--muted); font-weight: 600; text-shadow: none; }
.price-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.price-box { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 26px 20px; }
.price-box h3 { margin: 0; font-size: 22px; }
.price-spec { margin: 0 0 6px; font-size: 13px; color: var(--muted); }
.price-box .price { font-family: var(--display); font-weight: 400; font-size: clamp(28px, 3.2vw, 40px); margin-top: auto; }
.price-main { border-color: var(--accent); box-shadow: 0 0 30px rgba(var(--accent-rgb),.25); }
@media (max-width: 760px) { .price-cards { grid-template-columns: 1fr; } }
.table-box { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.topup { width: 100%; border-collapse: collapse; min-width: 0; font-size: 17px; }
.topup th, .topup td { padding: 14px 18px; text-align: center; }
.topup th { color: var(--muted); font-size: 13px; letter-spacing: .1em; font-weight: 700; border-bottom: 1px solid var(--line); }
.topup th:first-child, .topup td:first-child { text-align: left; }
.topup th:last-child, .topup td:last-child { text-align: right; }
.topup td { white-space: nowrap; }
.topup td:first-child { font-weight: 700; white-space: normal; }
.topup td:last-child { font-weight: 800; color: var(--text); }
.topup tbody tr + tr td { border-top: 1px solid var(--line); }
.topup tbody tr:hover { background: rgba(var(--accent-rgb),.05); }
.topup tr.promo td { background: rgba(var(--accent-rgb),.08); }
.topup tr.promo td:first-child { box-shadow: inset 4px 0 0 var(--accent); }
.topup tr.promo td:last-child { color: var(--accent); }
.topup tr.launch td { background: rgba(var(--gold-rgb),.07); }
.topup tr.launch td:first-child { box-shadow: inset 4px 0 0 var(--gold); }
.topup tr.launch td:last-child { color: var(--gold); }
.topup .got { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-top: 4px; }
.topup .got .lo { display: inline; margin-left: 4px; }
.topup tr.promo .got { color: var(--accent); }
.topup tr.launch .got { color: var(--gold); }
.free { display: block; font-size: 12px; font-weight: 700; color: var(--muted); margin-top: 2px; }
.bonus-rule { margin: 18px 0 0; padding: 12px 16px; border-left: 3px solid var(--muted); background: rgba(255,255,255,.03); border-radius: 0 10px 10px 0; color: var(--muted); font-size: 14px; }
.bonus-rule strong { color: var(--text); }
.perks { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 12px 28px; }
.perks li { display: flex; align-items: flex-start; gap: 8px; font-weight: 600; }
.perks .ico { width: 20px; height: 20px; margin-top: 2px; stroke-width: 2.6; }

/* ---------- Étapes ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; }
.steps::before { content: ''; position: absolute; top: 36px; left: 16%; right: 16%; height: 2px; background: repeating-linear-gradient(90deg, var(--accent) 0 10px, transparent 10px 18px); opacity: .5; }
.steps li { position: relative; text-align: center; padding: 0 8px; }
.step-ico { position: relative; width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%; background: var(--panel); border: 2px solid var(--accent); display: grid; place-items: center; box-shadow: 0 0 24px rgba(var(--accent-rgb),.25); }
.step-ico .ico { width: 30px; height: 30px; }
.step-ico b { position: absolute; top: -6px; right: -6px; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: var(--ink); font-size: 14px; display: grid; place-items: center; }
.steps h3 { margin: 0 0 6px; font-size: 20px; }
.steps p { margin: 0 auto; color: var(--muted); max-width: 280px; font-size: 15px; }

/* ---------- Règlement ---------- */
.rules-intro { color: var(--muted); max-width: 720px; margin: -12px 0 26px; }
ul.rules { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.rules li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 18px 10px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); font-weight: 700; font-size: 14px; }
.rules li .lo { font-weight: 400; margin-top: 2px; }
.nosign { width: 72px; height: 72px; filter: drop-shadow(0 0 10px rgba(255,59,59,.35)); }
.rules li:hover .nosign { transform: scale(1.08); transition: transform .2s; }

/* ---------- Contact et pied de page ---------- */
.info dt { color: var(--muted); font-size: 14px; margin-top: 16px; }
.info dd { margin: 2px 0 0; font-size: 18px; font-weight: 600; }
footer { padding: 30px 0; color: var(--muted); font-size: 14px; text-align: center; }
footer .credit { display: inline-block; margin-top: 6px; font-size: 12px; letter-spacing: .08em; opacity: .7; }

/* ---------- Animations ---------- */
.reveal.in { animation: pop .7s cubic-bezier(.2,.8,.2,1) both; }
@keyframes pop { from { opacity: 0; transform: translateY(28px); } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes flicker { 0%, 19%, 22%, 62%, 64%, 100% { text-shadow: 0 0 10px rgba(var(--accent-rgb),.9), 0 0 34px rgba(var(--accent-rgb),.65), 0 0 70px rgba(var(--accent-rgb),.35); opacity: 1; }
  20%, 21%, 63% { text-shadow: none; opacity: .55; } }
@keyframes shine { 0% { left: -60%; } 35%, 100% { left: 130%; } }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Tablette et mobile ---------- */
@media (max-width: 760px) {
  ul.logos { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .logo-tile { height: 68px; padding: 0 14px; }
  .logos .logo-tile img { height: 24px; }
  .logos .t-geforce-rtx img { height: 13px; }
  .logos .t-razer img { height: 17px; }
  .logos .t-nvidia img { height: 21px; }
  .logos .t-logitech img, .logos .t-msi img { height: 26px; }
  .setup { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps::before { top: 36px; bottom: 90px; left: 36px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--accent) 0 10px, transparent 10px 18px); }
  .steps li { display: grid; grid-template-columns: 72px 1fr; column-gap: 18px; text-align: left; padding: 0 0 26px; }
  .step-ico { grid-row: span 2; margin: 0; }
  .steps h3 { align-self: end; }
  .steps p { margin: 0; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  /* Animations allégées sur téléphone */
  section { padding: 56px 0; }
  .carousel .nav { display: none; }
  .topup th, .topup td { padding: 12px 6px; }
  .topup th:first-child, .topup td:first-child { padding-left: 14px; }
  .topup th { font-size: 11px; letter-spacing: .04em; }
  ul.rules { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .nosign { width: 60px; height: 60px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Langue : lao ou anglais ---------- */
.lang-btn { margin-left: auto; margin-right: 10px; height: 36px; padding: 0 12px; border: 1px solid var(--accent); border-radius: 999px; background: transparent; color: var(--accent); font: 700 13px 'Noto Sans', 'Noto Sans Lao', sans-serif; cursor: pointer; }
.lang-btn:hover { background: rgba(var(--accent-rgb),.12); }
html[data-lang="lo"] .lang-lo, html[data-lang="en"] .lang-en { display: none; }
html[data-lang="en"] .lo { display: none !important; }
html[data-lang="lo"] .en { display: none !important; }
html[data-lang="lo"] .lo { font-size: 1em; opacity: 1; margin-top: 0; }
@media (min-width: 901px) { .lang-btn { margin-left: 22px; margin-right: 0; order: 3; } }
@media (min-width: 901px) { .top nav { margin-left: auto; } }
.price small .lo { display: inline; }

/* Menu ☰ dès 900 px : le menu en lao est plus long que l'anglais */
@media (max-width: 900px) {
  .menu-btn { display: block; }
  .top nav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; gap: 0; padding: 8px 16px 16px; background: rgba(7,9,11,.97); border-bottom: 1px solid var(--line); }
  .top.open nav { display: flex; }
  .top nav a { padding: 14px 4px; font-size: 17px; border-bottom: 1px solid var(--line); }
  .top nav a:last-child { border-bottom: 0; }
}

/* ===== Accueil S-Rank : le personnage à droite, « Play. Rank up. », les recharges en rangs B → A → S ===== */
.hx { --void: #000; --violet: #5b2bb5; --lilac: #a07bff; --chrome: linear-gradient(180deg, #fff 0%, #dfe4ea 45%, #8d96a3 52%, #c9d0d8 100%);
  position: relative; isolation: isolate; overflow: hidden; background: var(--void); min-height: min(860px, calc(100svh - 64px)); display: flex; align-items: center; }
/* décalé vers la droite pour que le visage reste à côté du titre, jamais dessous */
.hx-art { position: absolute; top: 0; right: -16vw; bottom: 0; width: min(80vw, 1400px); display: flex; align-items: center; z-index: -1; }
.hx-art img { display: block; width: 100%; height: auto;
  -webkit-mask-image: linear-gradient(90deg, transparent 12%, #000 56%), linear-gradient(0deg, transparent 0, #000 18%); -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 12%, #000 56%), linear-gradient(0deg, transparent 0, #000 18%); mask-composite: intersect;
  animation: hx-art 1.1s cubic-bezier(.2,.7,.2,1) both; }
.hx-in { width: 100%; padding-top: 40px; padding-bottom: 40px; }
.hx-status { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; color: var(--text); font-size: 15px; }
.hx-status i { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(var(--accent-rgb),.18); }
.hx-title { margin: 0; font-family: 'Saira', var(--display); font-style: italic; font-weight: 900; font-stretch: 125%; font-size: clamp(56px, 8.4vw, 108px); line-height: .86; letter-spacing: -.02em;
  background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .12em;
  filter: drop-shadow(0 2px 0 rgba(var(--accent-rgb),.9)) drop-shadow(0 18px 40px rgba(0,0,0,.6)); }
.hx-title-lo { margin: 10px 0 0; font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; color: var(--accent); }
.hx-lead { max-width: 34em; margin: 18px 0 24px; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.5; color: #c9d0d8; }
.hx-btns .btn { padding: 15px 28px; border-radius: 6px; }
.hx-btns .btn:not(.primary) { background: transparent; border-color: rgba(255,255,255,.28); }


@keyframes hx-art { from { opacity: 0; transform: translateX(6%); } }

html[data-lang="lo"] .hx-lead, html[data-lang="lo"] .hp-small { line-height: 1.6; }
html[data-lang="en"] .hx-title-lo { display: none; }

@media (max-width: 899px) {
  .hx { display: block; min-height: 0; }
  .hx-art { position: relative; top: auto; right: auto; bottom: auto; display: block; width: 100%; height: min(62svh, 520px); }
  .hx-art img { height: 100%; object-fit: cover; object-position: 50% 12%; -webkit-mask-image: linear-gradient(0deg, transparent 0, #000 45%); mask-image: linear-gradient(0deg, transparent 0, #000 45%); -webkit-mask-composite: source-over; mask-composite: add; }
  .hx-in { margin-top: -120px; position: relative; padding-top: 0; padding-bottom: 44px; }
  .hx-status { margin-bottom: 14px; }
}
@media (max-width: 520px) {
  .hx-btns .btn { flex: 1 1 auto; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .hx-art img { animation: none; }
  .hero-beams { display: none; }
}

/* fond animé (particules, faisceaux), cadres de jeux et promos de la caisse */
.btn.shine { position: relative; overflow: hidden; }
.btn.shine::after { content: ''; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent); transform: skewX(-20deg); animation: shine 3.2s 1.5s infinite; }
.hero-fx { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.hero-beams { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.hero-beams i { position: absolute; top: -20%; width: 3px; height: 140%; background: linear-gradient(transparent, var(--accent), transparent); opacity: 0; transform: rotate(25deg); filter: blur(.5px); box-shadow: 0 0 14px var(--accent); animation: beam 7s linear infinite; }
.hero-beams i:nth-child(1) { left: 55%; animation-delay: 0s; }
.hero-beams i:nth-child(2) { left: 68%; animation-delay: 1.8s; animation-duration: 9s; }
.hero-beams i:nth-child(3) { left: 80%; animation-delay: 3.4s; }
.hero-beams i:nth-child(4) { left: 40%; animation-delay: 5s; animation-duration: 10s; }
.hero-games { position: relative; z-index: 1; width: 100%; max-width: 360px; aspect-ratio: 460 / 215; border-radius: 16px; overflow: hidden; border: 2px solid rgba(var(--accent-rgb),.6); box-shadow: 0 0 30px rgba(var(--accent-rgb),.3); background: #000; }
.hero-games.second { margin-top: -10px; border-color: rgba(var(--gold-rgb),.55); box-shadow: 0 0 30px rgba(var(--gold-rgb),.22); }
.hero-games::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(var(--accent-rgb),.18), transparent 50%); }
.hero-games i { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transform: scale(1); transition: opacity 1s ease, transform 5s linear; }
.hero-games i.on { opacity: 1; transform: scale(1.06); }
.hero-promos { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 26px; width: 100%; max-width: 640px; }
.hero-promo { position: relative; display: grid; justify-items: center; gap: 8px; flex: 1 1 210px; max-width: 340px; padding: 16px; border: 2px solid var(--accent); border-radius: 18px; background: linear-gradient(135deg, rgba(var(--accent-rgb),.22), rgba(7,9,11,.85) 60%); color: var(--text); text-decoration: none; overflow: hidden; box-shadow: 0 0 30px rgba(var(--accent-rgb),.3); animation: rise .7s .85s both, promo-glow 2.4s 1.6s ease-in-out infinite; transition: transform .2s; }
.hero-promo:hover { transform: translateY(-3px) scale(1.02); }
.hero-promo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.18) 50%, transparent 70%); transform: translateX(-100%); animation: promo-sweep 3.5s 2s infinite; }
.hero-promo.launch { background: linear-gradient(135deg, rgba(var(--gold-rgb),.22), rgba(7,9,11,.85) 60%); border-color: var(--gold); box-shadow: 0 0 30px rgba(var(--gold-rgb),.3); animation: rise .7s .85s both, launch-glow 2.4s 1.6s ease-in-out infinite; }
.hp-big { font-family: 'Play', var(--display); font-weight: 700; letter-spacing: .03em; font-size: clamp(20px, 2vw, 26px); line-height: 1.15; text-align: center; }
.hp-big em { font-style: normal; color: var(--accent); text-shadow: 0 0 16px rgba(var(--accent-rgb),.6); }
.hero-promo.launch .hp-big em { color: var(--gold); text-shadow: 0 0 16px rgba(var(--gold-rgb),.5); }
.hp-small { font-size: 13px; color: var(--muted); text-align: center; }
.hp-small .lo { margin-top: 2px; }
.hp-ref { margin: 14px 0 0; font-size: 14px; color: var(--muted); animation: rise .7s 1s both; }
.hp-ref strong { color: var(--text); }
.hp-ref .lo { display: block; }
@keyframes beam { 0% { opacity: 0; translate: 0 -30%; } 15% { opacity: .55; } 60% { opacity: .25; } 100% { opacity: 0; translate: 0 30%; } }
@keyframes shine { 0% { left: -60%; } 35%, 100% { left: 130%; } }
@keyframes promo-glow { 50% { box-shadow: 0 0 46px rgba(var(--accent-rgb),.6); } }
@keyframes launch-glow { 50% { box-shadow: 0 0 46px rgba(var(--gold-rgb),.55); } }
@keyframes promo-sweep { 0% { transform: translateX(-100%); } 40%, 100% { transform: translateX(100%); } }
/* placement dans l'accueil S-Rank : fond animé derrière le personnage, dont le noir devient transparent */
.hx .hero-fx, .hx .hero-beams { z-index: -2; }
.hx-art img { animation: hx-art 1.1s cubic-bezier(.2,.7,.2,1) both, hx-float 7s 1.2s ease-in-out infinite; }
@keyframes hx-float { 50% { transform: translateY(-12px); } }
/* promos (remplies par la caisse) + 2 images de jeux : une seule rangée de tuiles de même taille */
.hx-row { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 12px; margin-top: 28px; }
.hx-row > .hero-promos, .hx-row > .hx-games { display: contents; }
.hx-row > .hero-promos[hidden] { display: none; }
.hx-row .hero-games, .hx-row .hero-games.second { width: auto; max-width: none; height: auto; min-height: 96px; aspect-ratio: auto; margin: 0; }
.hx .hero-promo { max-width: none; padding: 14px 10px; }
.hx .hp-big { font-size: clamp(17px, 1.5vw, 20px); }
.hx .hp-ref { text-align: left; }
.hx-games .hero-games, .hx-games .hero-games.second { margin: 0; max-width: none; }
@media (max-width: 899px) {
  .hx .hero-promo { max-width: none; }
  .hx-row { grid-auto-flow: row; grid-template-columns: 1fr 1fr; }
  .hx-row .hero-promo { grid-column: 1 / -1; }
  .hx-row .hero-games, .hx-row .hero-games.second { aspect-ratio: 460 / 215; min-height: 0; }
}
@media (prefers-reduced-motion: reduce) { .hx-art img { animation: none; } }
/* petits téléphones : les boutons gardent leur taille, le nom se réduit */
.top .menu-btn, .top .lang-btn { flex-shrink: 0; }
.brand, .brand > span { min-width: 0; }
.brand small { overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 360px) { .brand .name { font-size: 16px; } .brand img { width: 28px; height: 28px; } }

.hp-hours { font-size: 12px; font-weight: 700; color: var(--accent); text-align: center; }
