:root { --bg: #07090b; --panel: #11151a; --line: #232a33; --text: #e8ebef; --muted: #8b95a3; --accent: #44d62c; --ink: #0b1a08; }
* { 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); }
.lo { display: block; font-family: 'Noto Sans Lao', sans-serif; font-size: .8em; font-weight: 400; opacity: .75; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* 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 { font-weight: 800; font-size: 24px; color: var(--accent); text-shadow: 0 0 18px rgba(68,214,44,.6); text-decoration: none; line-height: 1; }
.brand small { display: block; 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); }

/* Accueil */
.hero { min-height: calc(100vh - 64px); display: flex; align-items: center; background: url(img/fond.jpg) center/cover no-repeat; border-bottom: 1px solid var(--line); }
.tag { display: inline-block; background: var(--accent); color: var(--ink); font-weight: 800; font-size: 13px; letter-spacing: .08em; padding: 5px 10px; }
.hero h1 { font-size: clamp(44px, 9vw, 96px); font-weight: 800; line-height: .95; margin: 18px 0 10px; letter-spacing: -.02em; }
.hero h1 span { color: var(--accent); text-shadow: 0 0 34px rgba(68,214,44,.55); }
.hero .sub { font-size: clamp(18px, 2.4vw, 24px); color: var(--text); max-width: 620px; margin: 0 0 28px; }
.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); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--ink); box-shadow: 0 0 22px rgba(68,214,44,.35); }

/* Sections */
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(68,214,44,.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; }

/* Tarifs */
.prices .card { text-align: center; }
.price { font-size: 38px; font-weight: 800; color: var(--accent); text-shadow: 0 0 20px rgba(68,214,44,.4); }
.price small { font-size: 16px; color: var(--muted); font-weight: 600; text-shadow: none; }
.note { color: var(--muted); font-size: 15px; margin-top: 20px; }

/* Jeux */
.games { display: flex; flex-wrap: wrap; gap: 10px; }
.games span { border: 1px solid var(--line); background: var(--panel); border-radius: 999px; padding: 9px 18px; font-weight: 600; font-size: 15px; }

/* Étapes */
.steps { counter-reset: s; }
.steps .card { position: relative; padding-top: 54px; }
.steps .card::before { counter-increment: s; content: counter(s); position: absolute; top: 18px; left: 22px; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: var(--ink); font-weight: 800; display: grid; place-items: center; font-size: 15px; }

/* Contact */
.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; }

@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .top nav { display: none; }
  section { padding: 56px 0; }
  .hero { min-height: auto; padding: 72px 0; background-position: 70% center; }
}

/* Marques */
.brands { border-bottom: 1px solid var(--line); background: #0b0e12; padding: 26px 0; }
.brands p { margin: 0 0 16px; 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; }
.logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 22px 40px; }
.logos img { height: 28px; width: auto; opacity: .7; transition: opacity .2s; }
.logos img:hover { opacity: 1; }

/* 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(68,214,44,.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; }
@media (max-width: 640px) {
  .carousel .nav { display: none; }
  .logos { gap: 18px 28px; }
  .logos img { height: 22px; }
}

/* Logo EZ Arena (cible EZ, police Bungee) */
.brand { display: flex; align-items: center; gap: 10px; font-family: 'Bungee', 'Noto Sans', sans-serif; font-weight: 400; letter-spacing: .02em; }
.brand small { font-family: 'Noto Sans', sans-serif; }
.hero h1 { font-family: 'Bungee', 'Noto Sans', sans-serif; font-weight: 400; letter-spacing: .01em; }
.hero-logo { display: block; width: clamp(96px, 14vw, 150px); height: auto; margin-top: 22px; filter: drop-shadow(0 0 22px rgba(68,214,44,.45)); }

/* Accueil animé */
.hero { position: relative; overflow: hidden; isolation: isolate; --px: 0; --py: 0; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 60% 50% at 70% 30%, rgba(68,214,44,.22), transparent 70%); animation: breathe 6s ease-in-out infinite; }
.hero-in { position: relative; z-index: 2; transform: translate(calc(var(--px) * -14px), calc(var(--py) * -10px)); transition: transform .3s ease-out; }
.hero-fx { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.hero-scan { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 1px, transparent 1px 3px); mix-blend-mode: overlay; }
.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, #44d62c, transparent); opacity: .0; transform: rotate(25deg); filter: blur(.5px); box-shadow: 0 0 14px #44d62c; 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; }
@keyframes beam { 0% { opacity: 0; translate: 0 -30%; } 15% { opacity: .55; } 60% { opacity: .25; } 100% { opacity: 0; translate: 0 30%; } }
@keyframes breathe { 50% { opacity: .55; transform: scale(1.08); } }

.tag { display: inline-flex; align-items: center; gap: 8px; animation: rise .7s both; }
.tag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ink); animation: blink 1.2s steps(2) infinite; }
@keyframes blink { 50% { opacity: .15; } }

svg.hero-logo { width: clamp(110px, 15vw, 170px); height: auto; overflow: visible; filter: drop-shadow(0 0 18px rgba(68,214,44,.55)); animation: rise .8s .1s both; }
.hero-logo .ring { transform-origin: 200px 200px; animation: spin 14s linear infinite, pulse 2.4s ease-in-out infinite; }
.hero-logo .ez { transform-origin: 200px 200px; animation: lockon 1.1s .3s cubic-bezier(.2,1.6,.4,1) both; }
@keyframes spin { to { rotate: 360deg; } }
@keyframes pulse { 50% { opacity: .6; } }
@keyframes lockon { 0% { transform: scale(2.2); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }

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; }
@keyframes flicker { 0%, 19%, 22%, 62%, 64%, 100% { text-shadow: 0 0 10px rgba(68,214,44,.9), 0 0 34px rgba(68,214,44,.65), 0 0 70px rgba(68,214,44,.35); opacity: 1; }
  20%, 21%, 63% { text-shadow: none; opacity: .55; } }
.hero .sub { animation: rise .7s .55s both; }
.hero .btns { animation: rise .7s .7s both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

.btn { transition: transform .15s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); }
.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; }
.btn.primary:hover { box-shadow: 0 0 34px rgba(68,214,44,.6); }
@keyframes shine { 0% { left: -60%; } 35%, 100% { left: 130%; } }

.scroll-hint { position: absolute; z-index: 2; left: 50%; bottom: 22px; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(255,255,255,.4); border-radius: 14px; }
.scroll-hint::before { content: ''; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--accent); animation: wheel 1.6s ease-in-out infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* 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; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Apparition des sections au défilement */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s, transform .7s; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 640px) { .scroll-hint { display: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
