/*
Theme Name: Giftoki
Description: Thème du catalogue de jeux interactifs TikTok LIVE — design 2026 (aurora, verre dépoli, animations), 5 langues. Nécessite le plugin Giftoki Core.
Version: 1.0.1
Author: Giftoki
Text Domain: giftoki
Requires PHP: 7.4
*/

/* ================================================================
   1. Jetons de design
   ================================================================ */
:root {
  --bg: #0d0620; --bg-2: #130a2b; --surface: rgba(255,255,255,.04); --surface-2: rgba(255,255,255,.07); --solid: #170c33;
  --line: rgba(214,190,255,.10); --line-2: rgba(214,190,255,.18);
  --txt: #fbf7ff; --muted: #b8acd6; --dim: #7d70a3;
  --pink: #ff2fd6; --violet: #8b3dff; --cyan: #1fd6ff; --gold: #ffd84d; --green: #34d399; --orange: #ff9f1c;
  --grad: linear-gradient(100deg, var(--pink), var(--violet) 50%, var(--cyan));
  --grad-soft: linear-gradient(135deg, rgba(255,47,214,.18), rgba(139,61,255,.14) 50%, rgba(31,214,255,.12));
  --r: 22px; --r-sm: 14px; --max: 1240px;
  --shadow: 0 30px 80px -30px rgba(0,0,0,.8);
  --glow: 0 0 0 1px rgba(255,255,255,.06), 0 20px 60px -20px rgba(255,47,214,.35);
  --ease: cubic-bezier(.2,.75,.2,1);
  --font: Poppins, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: Poppins, ui-rounded, "SF Pro Rounded", system-ui, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
@font-face { font-family: Poppins; font-weight: 400; font-style: normal; font-display: swap; src: url("assets/fonts/poppins-400.woff") format("woff"); }
@font-face { font-family: Poppins; font-weight: 500; font-style: normal; font-display: swap; src: url("assets/fonts/poppins-500.woff") format("woff"); }
@font-face { font-family: Poppins; font-weight: 700 900; font-style: normal; font-display: swap; src: url("assets/fonts/poppins-700.woff") format("woff"); }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--txt); font: 16px/1.65 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { max-width: 100%; }
img { height: auto; display: block; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.025em; font-weight: 700; }
p { margin: 0 0 1em; }
::selection { background: rgba(255,47,214,.35); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 8px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.screen-reader-text { position: absolute !important; clip: rect(1px,1px,1px,1px); width: 1px; height: 1px; overflow: hidden; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-anim { background: linear-gradient(90deg, var(--pink), var(--violet), var(--cyan), var(--pink)); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: gradmove 8s linear infinite; }
@keyframes gradmove { to { background-position: 300% 0; } }
.muted { color: var(--muted); } .small { font-size: 13.5px; } .empty { color: var(--muted); grid-column: 1 / -1; padding: 30px 0; }

/* ================================================================
   2. Fond animé (aurora + grain) — fixe derrière tout le site
   ================================================================ */
.bg-fx { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.bg-fx i { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; will-change: transform; }
.bg-fx i:nth-child(1) { width: 52vw; height: 52vw; left: -14vw; top: -18vw; background: radial-gradient(circle, rgba(255,47,214,.55), transparent 65%); animation: float1 22s var(--ease) infinite alternate; }
.bg-fx i:nth-child(2) { width: 46vw; height: 46vw; right: -12vw; top: 8vh; background: radial-gradient(circle, rgba(31,214,255,.38), transparent 65%); animation: float2 26s var(--ease) infinite alternate; }
.bg-fx i:nth-child(3) { width: 60vw; height: 60vw; left: 20vw; top: 55vh; background: radial-gradient(circle, rgba(139,61,255,.42), transparent 65%); animation: float3 30s var(--ease) infinite alternate; }
.bg-fx::after { content: ""; position: absolute; inset: 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E"); opacity: .06; mix-blend-mode: overlay; }
.bg-fx::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(80% 60% at 50% 0%, #000, transparent 75%); mask-image: radial-gradient(80% 60% at 50% 0%, #000, transparent 75%); opacity: .55; }
@keyframes float1 { to { transform: translate(14vw, 10vh) scale(1.15); } }
@keyframes float2 { to { transform: translate(-12vw, 18vh) scale(.9); } }
@keyframes float3 { to { transform: translate(-16vw, -24vh) scale(1.1); } }

/* ================================================================
   3. Barre de progression + header
   ================================================================ */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 100; background: var(--grad); box-shadow: 0 0 12px var(--pink); }
.site-header { position: sticky; top: 0; z-index: 60; padding: 12px 0; transition: padding .3s var(--ease); }
.site-header .wrap { display: flex; align-items: center; gap: 12px; height: 62px; padding: 0 12px 0 18px; border-radius: 20px; background: rgba(10,10,18,.55); border: 1px solid var(--line); backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px); transition: background .3s, box-shadow .3s, max-width .4s var(--ease); max-width: calc(var(--max) - 20px); }
.site-header.scrolled { padding: 8px 0; }
.site-header.scrolled .wrap { background: rgba(10,10,18,.82); box-shadow: 0 18px 40px -20px rgba(0,0,0,.9); max-width: 1080px; }
.logo { display: inline-flex; align-items: center; color: var(--txt); }
.logo:hover { text-decoration: none; }
.logo-pic { display: block; }
.logo-img { height: 56px; width: auto; display: block; transition: transform .35s cubic-bezier(.34,1.56,.64,1); filter: drop-shadow(0 6px 18px rgba(255,47,214,.35)); }
@media (max-width: 600px) { .logo-img { height: 44px; } }
.logo:hover .logo-img { transform: rotate(-4deg) scale(1.08); }
.nav { margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.nav a { position: relative; display: block; color: var(--muted); padding: 9px 14px; border-radius: 12px; font-weight: 600; font-size: 14.5px; transition: color .2s, background .2s; }
.nav a:hover, .nav .current-menu-item a { color: var(--txt); background: rgba(255,255,255,.06); text-decoration: none; }
.header-login { color: var(--muted); font-weight: 600; font-size: 14.5px; padding: 8px 10px; }
.header-login:hover { color: var(--txt); text-decoration: none; }
.site-header .header-cta { display: none; }
@media (min-width: 900px) { .site-header .header-cta { display: inline-flex; } }
.nav-toggle { display: none; background: rgba(255,255,255,.05); border: 1px solid var(--line-2); color: var(--txt); border-radius: 12px; width: 44px; height: 44px; place-items: center; cursor: pointer; }
.nav-toggle svg { width: 20px; height: 20px; }
@media (max-width: 880px) {
  .nav-toggle { display: grid; }
  .header-login { display: none; }
  .nav { display: none; position: absolute; top: 82px; left: 12px; right: 12px; margin: 0; background: rgba(12,12,22,.96); border: 1px solid var(--line-2); border-radius: 20px; box-shadow: var(--shadow); backdrop-filter: blur(18px); }
  .nav.open { display: block; animation: drop .25s var(--ease); }
  .nav ul { flex-direction: column; padding: 10px; }
  .nav a { padding: 14px 16px; font-size: 16px; }
  .lang-switch { margin-left: auto; }
}
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } }

/* Sélecteur de langue */
.lang-switch { position: relative; }
.lang-switch summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; height: 44px; padding: 0 13px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); color: var(--txt); font-weight: 700; font-size: 13.5px; user-select: none; }
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary:hover { background: rgba(255,255,255,.07); }
.lang-switch ul { position: absolute; right: 0; top: calc(100% + 10px); min-width: 180px; margin: 0; padding: 6px; list-style: none; background: rgba(16,16,28,.97); border: 1px solid var(--line-2); border-radius: 16px; box-shadow: var(--shadow); z-index: 70; animation: drop .2s var(--ease); }
.lang-switch li a { display: block; padding: 10px 12px; border-radius: 10px; color: var(--muted); font-weight: 600; font-size: 14.5px; }
.lang-switch li a:hover { background: rgba(255,255,255,.06); color: var(--txt); text-decoration: none; }
.lang-switch li a.on { color: var(--txt); background: rgba(255,47,214,.16); }
.site-footer .lang-switch ul { top: auto; bottom: calc(100% + 8px); right: auto; left: 0; }

/* ================================================================
   4. Boutons
   ================================================================ */
.btn, .lp-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,255,255,.04); color: var(--txt); font: 700 15px/1 var(--font); cursor: pointer; text-decoration: none !important; transition: transform .2s var(--ease), background .2s, box-shadow .25s, border-color .2s; white-space: nowrap; overflow: hidden; isolation: isolate; }
.btn:hover, .lp-btn:hover { transform: translateY(-2px); background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.25); }
.btn:active, .lp-btn:active { transform: translateY(0) scale(.98); }
.btn--primary, .lp-btn--primary { background: linear-gradient(100deg, var(--pink), var(--violet), var(--cyan), var(--violet), var(--pink)); background-size: 200% 100%; border-color: transparent; color: #fff; box-shadow: 0 12px 34px -12px rgba(255,47,214,.8); animation: btnshift 6s linear infinite; }
.btn--primary:hover, .lp-btn--primary:hover { background: linear-gradient(100deg, var(--pink), var(--violet), var(--cyan), var(--violet), var(--pink)); background-size: 200% 100%; box-shadow: 0 18px 44px -12px rgba(255,47,214,.95); }
.btn--primary::after, .lp-btn--primary::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--ease); }
.btn--primary:hover::after, .lp-btn--primary:hover::after { transform: translateX(120%); }
@keyframes btnshift { to { background-position: 200% 0; } }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 14px; }
.btn--lg { min-height: 58px; padding: 0 32px; font-size: 16.5px; }
.btn--ghost { background: transparent; }
.lp-btn[disabled], .lp-btn[aria-disabled] { opacity: .4; cursor: not-allowed; transform: none; box-shadow: none; animation: none; }
.btn svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

/* ================================================================
   5. Hero
   ================================================================ */
.hero { position: relative; padding: 60px 0 40px; }
.hero .wrap { position: relative; z-index: 1; display: grid; gap: 50px; align-items: center; }
@media (min-width: 980px) { .hero { padding: 90px 0 70px; } .hero .wrap { grid-template-columns: 1.15fr .85fr; gap: 60px; } }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 8px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid var(--line-2); color: #dcdcec; font-size: 13.5px; font-weight: 600; margin-bottom: 24px; backdrop-filter: blur(8px); }
.eyebrow b { padding: 3px 10px; border-radius: 999px; background: var(--grad); color: #fff; font-size: 12px; letter-spacing: .04em; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(52,211,153,.7); animation: pulse 2s infinite; display: inline-block; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(52,211,153,0); } 100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); } }
.hero h1 { font-size: clamp(40px, 6.4vw, 76px); font-weight: 700; letter-spacing: -.03em; line-height: .98; margin-bottom: 24px; }
.hero h1 .line { display: block; }
.hero .sub { color: var(--muted); font-size: clamp(17px, 2vw, 20px); max-width: 560px; margin-bottom: 32px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 32px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 14.5px; font-weight: 600; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points svg { width: 18px; height: 18px; color: var(--green); flex: none; }
.hero-visual { position: relative; perspective: 1200px; }
.phone { position: relative; width: min(320px, 78vw); margin: 0 auto; aspect-ratio: 9 / 16; border-radius: 46px; padding: 10px; background: linear-gradient(160deg, #2e2e46, #0d0d16); box-shadow: 0 0 0 1px rgba(255,255,255,.14), 0 60px 120px -40px rgba(255,47,214,.55), 0 40px 90px -30px rgba(31,214,255,.3); transform-style: preserve-3d; transition: transform .6s var(--ease); }
.hero-visual .phone { transform: rotateY(-10deg) rotateX(4deg); animation: phonefloat 7s ease-in-out infinite; }
@keyframes phonefloat { 50% { translate: 0 -12px; } }
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 37px; overflow: hidden; background: #0b0b16; }
.phone-screen iframe, .phone-screen img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.phone-glare { position: absolute; inset: 10px; border-radius: 37px; pointer-events: none; background: linear-gradient(125deg, rgba(255,255,255,.14), transparent 35%); }
.live-pill { position: absolute; top: 20px; left: -16px; z-index: 4; display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; background: var(--pink); color: #fff; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; box-shadow: 0 10px 24px -8px var(--pink); }
.live-pill i { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .25; } }
.float-chip { position: absolute; z-index: 4; display: inline-flex; align-items: center; gap: 8px; padding: 10px 15px; border-radius: 16px; background: rgba(20,20,34,.78); border: 1px solid var(--line-2); backdrop-filter: blur(14px); font-size: 13.5px; font-weight: 700; box-shadow: var(--shadow); animation: chip 6s ease-in-out infinite; }
.float-chip--a { right: -26px; top: 22%; }
.float-chip--b { left: -40px; bottom: 26%; animation-delay: -2s; }
.float-chip--c { right: -10px; bottom: 9%; animation-delay: -4s; }
@keyframes chip { 50% { transform: translateY(-10px); } }
@media (max-width: 460px) { .float-chip--a, .float-chip--c { right: -4px; } .float-chip--b, .live-pill { left: -4px; } }

/* Bandeau défilant */
.marquee { position: relative; overflow: hidden; padding: 18px 0; border-block: 1px solid var(--line); background: rgba(255,255,255,.015); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marquee 50s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee a { display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px 8px 8px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--txt); font-weight: 700; font-size: 15px; white-space: nowrap; transition: border-color .2s, background .2s; }
.marquee a:hover { border-color: rgba(255,47,214,.5); background: rgba(255,47,214,.08); text-decoration: none; }
.marquee img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Chiffres */
.stats-band { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 46px; }
@media (min-width: 760px) { .stats-band { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: 20px 22px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); backdrop-filter: blur(10px); }
.stat b { display: block; font-size: clamp(30px, 4vw, 42px); font-weight: 700; letter-spacing: -.04em; line-height: 1.05; }
.stat span { color: var(--muted); font-size: 14px; font-weight: 600; }

/* ================================================================
   6. Sections, révélations au scroll
   ================================================================ */
.section { padding: 80px 0; position: relative; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 32px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(30px, 4.6vw, 52px); margin: 0; font-weight: 700; letter-spacing: -.03em; }
.section-head p { color: var(--muted); margin: 10px 0 0; max-width: 560px; font-size: 17px; }
.kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--pink); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 12px; }
.kicker::before { content: ""; width: 18px; height: 2px; background: var(--grad); border-radius: 2px; }
.link-more { font-weight: 700; color: var(--txt); display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.link-more svg { width: 18px; height: 18px; flex: none; transition: transform .2s var(--ease); }
.link-more:hover { color: var(--cyan); text-decoration: none; }
.link-more:hover svg { transform: translateX(4px); }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* Bento */
.bento { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .bento { grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(190px, auto); } .bento .b-wide { grid-column: span 4; } .bento .b-tall { grid-column: span 2; grid-row: span 2; } .bento .b-third { grid-column: span 2; } .bento .b-half { grid-column: span 3; } }
.tile { position: relative; overflow: hidden; border-radius: var(--r); padding: 26px; background: var(--surface); border: 1px solid var(--line); transition: border-color .3s, transform .4s var(--ease); isolation: isolate; }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255,47,214,.16), transparent 45%); }
.tile:hover::before { opacity: 1; }
.tile:hover { border-color: var(--line-2); }
.tile h3 { font-size: 21px; margin-bottom: 8px; letter-spacing: -.02em; }
.tile p { color: var(--muted); margin: 0; font-size: 15px; line-height: 1.55; }
.tile .ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px; }
.tile .ico svg { width: 23px; height: 23px; }
.ico--pink { background: rgba(255,47,214,.15); color: var(--pink); }
.ico--cyan { background: rgba(31,214,255,.15); color: var(--cyan); }
.ico--gold { background: rgba(255,216,77,.15); color: var(--gold); }
.ico--violet { background: rgba(139,61,255,.18); color: #a78bfa; }
.ico--green { background: rgba(52,211,153,.15); color: var(--green); }
.tile .big { font-size: 64px; line-height: 1; font-weight: 700; letter-spacing: -.03em; margin: 4px 0 10px; }
.tile-art { position: absolute; right: -20px; bottom: -20px; width: 190px; opacity: .9; pointer-events: none; }
.chat-demo { display: grid; gap: 8px; margin-top: 18px; }
.chat-demo span { display: inline-flex; align-items: center; gap: 8px; width: max-content; max-width: 100%; padding: 8px 14px; border-radius: 14px 14px 14px 4px; background: rgba(255,255,255,.06); font-size: 14px; animation: chatin .6s var(--ease) both; }
.chat-demo span b { color: var(--cyan); }
.chat-demo span:nth-child(2) { animation-delay: .2s; } .chat-demo span:nth-child(3) { animation-delay: .4s; }
@keyframes chatin { from { opacity: 0; transform: translateY(8px); } }
.gift-rain { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.gift-rain i { position: absolute; top: -40px; font-style: normal; font-size: 26px; animation: rain linear infinite; opacity: .55; }
@keyframes rain { to { transform: translateY(420px) rotate(220deg); } }

/* ================================================================
   7. Catalogue
   ================================================================ */
.catalog-tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 26px; }
.search-box { position: relative; flex: 1 1 280px; max-width: 420px; }
.search-box input { width: 100%; height: 52px; padding: 0 18px 0 48px; border-radius: 16px; border: 1px solid var(--line-2); background: rgba(255,255,255,.04); color: var(--txt); font: 600 15.5px var(--font); transition: border-color .2s, box-shadow .2s, background .2s; backdrop-filter: blur(8px); }
.search-box input:focus { outline: none; border-color: var(--pink); background: rgba(255,255,255,.07); box-shadow: 0 0 0 4px rgba(255,47,214,.16); }
.search-box svg { position: absolute; z-index: 1; pointer-events: none; left: 16px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); color: var(--muted); }
.search-box kbd { z-index: 1; pointer-events: none; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font: 700 12px var(--mono); color: var(--dim); border: 1px solid var(--line-2); border-radius: 7px; padding: 3px 7px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters a, .filters button { padding: 10px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--muted); font: 700 14px var(--font); cursor: pointer; transition: all .2s; }
.filters a.on, .filters button.on { color: #fff; background: rgba(255,47,214,.16); border-color: rgba(255,47,214,.55); }
.filters a:hover, .filters button:hover { color: #fff; border-color: var(--line-2); text-decoration: none; }
.no-results { display: none; padding: 50px 0; text-align: center; color: var(--muted); font-size: 17px; }
.games { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 640px) { .games { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
@media (min-width: 1020px) { .games { grid-template-columns: repeat(4, 1fr); gap: 22px; } }
.game-card { position: relative; display: flex; flex-direction: column; border-radius: var(--r); overflow: hidden; color: var(--txt); background: var(--solid); border: 1px solid var(--line); transition: transform .45s var(--ease), border-color .3s, box-shadow .4s; transform-style: preserve-3d; isolation: isolate; }
.game-card::before { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.14), transparent 45%); }
.game-card:hover { border-color: rgba(255,47,214,.55); box-shadow: 0 30px 60px -28px rgba(255,47,214,.6); text-decoration: none; }
.game-card:hover::before { opacity: 1; }
.game-card .thumb { position: relative; aspect-ratio: 3 / 4; background: linear-gradient(150deg, #2a1040, #0d2a3a); overflow: hidden; }
.game-card .thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), opacity .3s; }
.game-card:hover .thumb img { transform: scale(1.07); }
.game-card .thumb iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; opacity: 0; transition: opacity .4s; pointer-events: none; }
.game-card .thumb iframe.ready { opacity: 1; }
.game-card .thumb::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(180deg, transparent, rgba(5,5,10,.95)); z-index: 1; }
.game-card .play { position: absolute; left: 50%; top: 42%; z-index: 2; width: 60px; height: 60px; margin: -30px 0 0 -30px; border-radius: 50%; background: rgba(255,255,255,.95); display: grid; place-items: center; opacity: 0; transform: scale(.7); transition: opacity .3s, transform .3s var(--ease); box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.game-card .play svg { width: 22px; height: 22px; fill: #14142a; margin-left: 3px; }
.game-card:hover .play { opacity: 1; transform: scale(1); }
.game-card.previewing .play { opacity: 0; }
.game-card .body { position: relative; z-index: 2; margin-top: -60px; padding: 0 16px 16px; }
.game-card h3 { font-size: 18px; margin: 0 0 5px; letter-spacing: -.02em; }
.game-card p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tags { position: absolute; top: 12px; left: 12px; right: 12px; z-index: 2; display: flex; flex-wrap: wrap; gap: 6px; }
.tag { padding: 5px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; backdrop-filter: blur(8px); }
.tag--live { background: rgba(52,211,153,.92); color: #04231a; }
.tag--beta { background: rgba(255,216,77,.95); color: #2a2100; }
.tag--soon { background: rgba(40,40,60,.9); color: #ddd; }
.tag--hot { background: rgba(255,47,214,.92); color: #fff; }
.tag--new { background: rgba(31,214,255,.92); color: #04202a; }
.game-card.is-soon .thumb img { filter: grayscale(.7) brightness(.7); }
@media (max-width: 480px) { .game-card .body { padding: 0 12px 13px; } .game-card h3 { font-size: 15.5px; } .game-card p { font-size: 12.5px; } }

/* Jeu du jour */
.spotlight { position: relative; display: grid; gap: 36px; align-items: center; padding: 36px; border-radius: 32px; background: var(--grad-soft); border: 1px solid var(--line-2); overflow: hidden; isolation: isolate; }
.spotlight::after { content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; background: radial-gradient(600px circle at 80% 20%, rgba(255,216,77,.12), transparent 50%); }
@media (min-width: 900px) { .spotlight { grid-template-columns: 1fr 340px; padding: 50px 56px; } }
.spotlight h2 { font-size: clamp(32px, 4.5vw, 54px); font-weight: 700; letter-spacing: -.03em; }
.spotlight .lead { font-size: 18px; }
.spotlight .phone { width: min(300px, 74vw); }
.badge-day { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: rgba(255,216,77,.15); border: 1px solid rgba(255,216,77,.4); color: var(--gold); font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 16px; }

/* Étapes */
.steps { display: grid; gap: 16px; counter-reset: s; position: relative; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 22px; } .steps::before { content: ""; position: absolute; top: 50px; left: 12%; right: 12%; height: 2px; background: linear-gradient(90deg, transparent, var(--line-2), transparent); } }
.step { position: relative; border-radius: var(--r); padding: 30px 26px; background: var(--surface); border: 1px solid var(--line); backdrop-filter: blur(10px); }
.step::before { counter-increment: s; content: "0" counter(s); position: absolute; right: 18px; top: 4px; font-size: 92px; font-weight: 700; letter-spacing: -.06em; color: rgba(255,255,255,.04); }
.step .ico { position: relative; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 20px; background: var(--grad); color: #fff; box-shadow: 0 12px 30px -10px rgba(255,47,214,.7); }
.step .ico svg { width: 24px; height: 24px; }
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { color: var(--muted); margin: 0; font-size: 15px; }
.compat { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin-top: 30px; color: var(--dim); font-size: 14px; font-weight: 600; }
.compat .chip { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: #d6d6e6; }

/* FAQ */
.faq-list { max-width: 860px; margin: 0 auto; display: grid; gap: 10px; }
.faq-list details { border-radius: 18px; background: var(--surface); border: 1px solid var(--line); transition: border-color .2s, background .2s; }
.faq-list details[open] { border-color: rgba(255,47,214,.4); background: rgba(255,47,214,.05); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; font-weight: 700; font-size: 17px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 500; font-size: 22px; color: var(--muted); background: rgba(255,255,255,.05); transition: transform .3s var(--ease), color .2s, background .2s; }
.faq-list details[open] summary::after { transform: rotate(45deg); color: #fff; background: var(--pink); }
.faq-list details p { color: var(--muted); margin: 0; padding: 0 22px 22px; animation: chatin .4s var(--ease); }

/* CTA final */
.cta-band { position: relative; overflow: hidden; border-radius: 36px; padding: 70px 28px; text-align: center; background: radial-gradient(120% 140% at 50% 0%, rgba(255,47,214,.35), rgba(139,61,255,.22) 45%, rgba(10,10,18,.6) 75%); border: 1px solid var(--line-2); isolation: isolate; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(60% 70% at 50% 40%, #000, transparent); mask-image: radial-gradient(60% 70% at 50% 40%, #000, transparent); }
.cta-band h2 { font-size: clamp(32px, 5vw, 60px); font-weight: 700; letter-spacing: -.03em; }
.cta-band p { color: #d8d8e8; max-width: 540px; margin: 0 auto 28px; font-size: 18px; }

/* ================================================================
   8. Page jeu
   ================================================================ */
.crumbs { padding: 26px 0 0; color: var(--dim); font-size: 14px; }
.crumbs a { color: var(--muted); }
.game-layout { display: grid; gap: 32px; padding: 26px 0 70px; }
@media (min-width: 960px) { .game-layout { grid-template-columns: 370px 1fr; gap: 56px; align-items: start; } }
.game-aside { order: 2; }
.game-main { order: 1; min-width: 0; }
@media (min-width: 960px) { .game-aside, .game-main { order: 0; } .game-aside { position: sticky; top: 104px; } }
.game-aside .phone { width: min(340px, 80vw); }
.game-aside .hint { text-align: center; color: var(--dim); font-size: 13.5px; margin: 16px 0 0; }
.game-main h1 { font-size: clamp(36px, 5.6vw, 64px); font-weight: 700; letter-spacing: -.03em; margin-bottom: 16px; }
.meta-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 13px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: #d6d6e6; font-size: 13px; font-weight: 700; }
.pill--green { background: rgba(52,211,153,.12); border-color: rgba(52,211,153,.35); color: var(--green); }
.lead { color: var(--muted); font-size: 18.5px; max-width: 660px; }
.box { position: relative; border-radius: var(--r); padding: 28px; margin: 22px 0; background: var(--surface); border: 1px solid var(--line); backdrop-filter: blur(12px); }
.box h2 { font-size: 22px; margin-bottom: 18px; display: flex; align-items: center; gap: 12px; letter-spacing: -.02em; }
.box h2 .num { width: 30px; height: 30px; border-radius: 10px; background: var(--grad); display: grid; place-items: center; font-size: 14px; font-weight: 700; flex: none; }
.box--glow { border-color: transparent; background: linear-gradient(var(--solid), var(--solid)) padding-box, var(--grad) border-box; border: 1px solid transparent; box-shadow: 0 40px 80px -45px rgba(255,47,214,.8); }
.commands { width: 100%; border-collapse: collapse; }
.commands td { padding: 14px 4px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 15px; }
.commands td:first-child { font-weight: 700; padding-right: 20px; }
@media (min-width: 600px) { .commands td:first-child { white-space: nowrap; } }
.commands td:last-child { color: var(--muted); }
.commands tr:last-child td { border-bottom: 0; padding-bottom: 0; }
.commands tr:first-child td { padding-top: 0; }
.howto ol { margin: 0; padding: 0; list-style: none; counter-reset: h; }
.howto li { position: relative; padding: 0 0 16px 42px; color: var(--muted); counter-increment: h; }
.howto li:last-child { padding-bottom: 0; }
.howto li::before { content: counter(h); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; font-size: 13px; font-weight: 700; color: var(--txt); }
.howto b, .howto strong { color: var(--txt); }

/* Générateur de lien */
.lp-builder { display: grid; gap: 16px; }
@media (min-width: 620px) { .lp-builder { grid-template-columns: 1fr 1fr; } .lp-field--user, .lp-check, .lp-output, .lp-actions, .lp-notice { grid-column: 1 / -1; } }
.lp-field { display: grid; gap: 7px; font-weight: 700; font-size: 13.5px; color: var(--muted); }
.lp-field input, .lp-url { width: 100%; height: 52px; padding: 0 16px; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: rgba(0,0,0,.35); color: var(--txt); font: 600 16px var(--font); transition: border-color .2s, box-shadow .2s; }
.lp-field input:focus, .lp-url:focus { outline: none; border-color: var(--pink); box-shadow: 0 0 0 4px rgba(255,47,214,.18); }
.lp-at { display: flex; align-items: center; height: 58px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: rgba(0,0,0,.35); transition: border-color .2s, box-shadow .2s; }
.lp-at b { padding-left: 16px; color: var(--pink); font-size: 20px; }
.lp-at input { border: 0 !important; background: transparent; padding-left: 6px; height: 100%; font-size: 18px; box-shadow: none !important; }
.lp-at:focus-within { border-color: var(--pink); box-shadow: 0 0 0 4px rgba(255,47,214,.18); }
.lp-check { display: flex; gap: 10px; align-items: center; color: var(--muted); font-size: 14.5px; cursor: pointer; }
.lp-check input { width: 18px; height: 18px; accent-color: var(--pink); flex: none; }
.lp-output { display: flex; gap: 10px; flex-wrap: wrap; padding-top: 4px; }
.lp-url { flex: 1 1 240px; font: 500 13px var(--mono); color: var(--cyan); }
.lp-output .lp-btn { min-height: 52px; }
.lp-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.lp-notice { background: rgba(255,216,77,.08); border: 1px solid rgba(255,216,77,.3); color: var(--gold); padding: 12px 16px; border-radius: var(--r-sm); font-size: 14px; margin: 0; }
.lp-gate { text-align: center; padding: 14px 0 6px; }
.lp-gate-title { font-size: 21px; font-weight: 700; color: var(--txt); margin-bottom: 8px; letter-spacing: -.02em; }
.lp-gate p { color: var(--muted); }
.lp-gate-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 20px 0 0; }
.copied-burst { position: fixed; pointer-events: none; z-index: 200; font-size: 20px; animation: burst .9s var(--ease) forwards; }
@keyframes burst { to { transform: translate(var(--tx), var(--ty)) rotate(var(--tr)); opacity: 0; } }

/* ================================================================
   9. Zone membre
   ================================================================ */
.auth-wrap { padding: 50px 22px 80px; }
.auth-card { position: relative; max-width: 540px; margin: 0 auto; border-radius: 30px; padding: 40px 34px; background: linear-gradient(rgba(12,12,22,.82), rgba(12,12,22,.82)) padding-box, var(--grad) border-box; border: 1px solid transparent; box-shadow: 0 50px 100px -40px rgba(255,47,214,.5); backdrop-filter: blur(16px); }
.auth-card h1 { font-size: 38px; font-weight: 700; letter-spacing: -.03em; }
.auth-card .lead { font-size: 16px; margin-bottom: 24px; }
.auth-form { display: grid; gap: 16px; }
.auth-form label { display: grid; gap: 7px; font-weight: 700; font-size: 13.5px; color: var(--muted); }
.auth-form input:not([type=checkbox]) { width: 100%; height: 52px; padding: 0 16px; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: rgba(0,0,0,.35); color: var(--txt); font: 600 16px var(--font); transition: border-color .2s, box-shadow .2s; }
.auth-form input:focus { outline: none; border-color: var(--pink); box-shadow: 0 0 0 4px rgba(255,47,214,.18); }
.auth-form .lp-at input { height: 100%; border: 0; box-shadow: none !important; background: transparent; }
.auth-form .lp-check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; font-size: 14px; line-height: 1.45; }
.auth-form .lp-check input { margin-top: 3px; }
.auth-form .btn { justify-self: start; }
.auth-alt { margin: 6px 0 0; color: var(--muted); font-size: 14.5px; }
.pw-meter { height: 5px; border-radius: 5px; background: rgba(255,255,255,.08); overflow: hidden; margin-top: 2px; }
.pw-meter i { display: block; height: 100%; width: 0; border-radius: 5px; transition: width .3s var(--ease), background .3s; }
.hp { position: absolute !important; left: -9999px; }
.lp-alert { border-radius: var(--r-sm); padding: 13px 16px; margin: 0 0 18px; font-size: 14.5px; }
.lp-alert ul { margin: 0; padding-left: 18px; }
.lp-alert--error { background: rgba(255,47,214,.12); border: 1px solid rgba(255,47,214,.4); color: #ffb3c9; }
.lp-alert--ok { background: rgba(52,211,153,.12); border: 1px solid rgba(52,211,153,.4); color: var(--green); }
.account .page-head { padding-bottom: 12px; }
.account-grid { display: grid; gap: 22px; }
@media (min-width: 920px) { .account-grid { grid-template-columns: 1.5fr 1fr; align-items: start; } }
.account .box { margin: 0 0 22px; }
.account h3 { font-size: 13px; margin: 24px 0 10px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 600px) { .kpis { grid-template-columns: repeat(3, 1fr); } }
.kpi { border-radius: 18px; padding: 18px; background: rgba(0,0,0,.3); border: 1px solid var(--line); }
.kpi b { display: block; font-size: 30px; font-weight: 700; letter-spacing: -.04em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kpi span { color: var(--muted); font-size: 13px; font-weight: 600; }
.lp-key { display: block; background: rgba(0,0,0,.35); border: 1px dashed var(--line-2); border-radius: var(--r-sm); padding: 13px 15px; font: 600 14px var(--mono); color: var(--cyan); margin: 0 0 12px; word-break: break-all; }
.table-scroll { overflow-x: auto; }
.data { width: 100%; border-collapse: collapse; font-size: 14px; white-space: nowrap; }
.data th { text-align: left; color: var(--muted); font-weight: 700; padding: 9px 10px; border-bottom: 1px solid var(--line-2); }
.data td { padding: 11px 10px; border-bottom: 1px solid var(--line); }
.data tr:last-child td { border-bottom: 0; }

/* ================================================================
   10. Pages, pagination, pubs
   ================================================================ */
.page-head { padding: 60px 0 30px; }
.page-head h1 { font-size: clamp(36px, 6vw, 68px); font-weight: 700; letter-spacing: -.03em; }
.entry { max-width: 760px; }
.entry p, .entry li { color: #d0d0e0; }
.entry h2 { font-size: 28px; margin-top: 1.6em; }
.entry h3 { font-size: 21px; margin-top: 1.4em; }
.game-main .entry { margin-top: 30px; }
.pagination { display: flex; gap: 8px; justify-content: center; margin: 40px 0 0; }
.pagination .page-numbers { min-width: 44px; height: 44px; padding: 0 12px; display: grid; place-items: center; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); color: var(--txt); font-weight: 700; }
.pagination .current { background: var(--pink); border-color: transparent; }
.lp-ad { margin: 26px auto; text-align: center; max-width: 100%; overflow: hidden; }
.games .lp-ad { grid-column: 1 / -1; margin: 4px 0; }

/* ================================================================
   11. Footer
   ================================================================ */
/* ---------- Pied de page (v0.9) ---------- */
.site-footer { position: relative; margin-top: 80px; padding: 70px 0 0; color: var(--muted); font-size: 14.5px; overflow: hidden; isolation: isolate; background: linear-gradient(180deg, rgba(8,8,16,0) 0%, rgba(8,7,18,.85) 18%, #05050b 100%); }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,47,214,.6), rgba(139,61,255,.6), rgba(31,214,255,.6), transparent); }
.footer-aurora { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.footer-aurora i { position: absolute; width: 620px; height: 620px; border-radius: 50%; filter: blur(110px); opacity: .22; }
.footer-aurora i:first-child { left: -180px; bottom: -260px; background: var(--pink); }
.footer-aurora i:last-child { right: -200px; bottom: -300px; background: var(--violet); }
.footer-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 56px; padding: 24px 28px; border-radius: var(--r); border: 1px solid var(--line-2); background: var(--grad-soft), rgba(255,255,255,.02); backdrop-filter: blur(10px); }
.footer-cta b { display: block; color: var(--txt); font-size: 20px; letter-spacing: -.01em; }
.footer-cta span { color: var(--muted); }
.footer-grid { display: grid; gap: 40px 30px; grid-template-columns: 1fr 1fr; }
.footer-about { grid-column: 1 / -1; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.7fr 1fr 1fr 1fr; } .footer-about { grid-column: auto; } }
.footer-about p { max-width: 380px; margin: 16px 0 22px; line-height: 1.7; }
.footer-col h4 { margin: 4px 0 18px; color: var(--txt); font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer-col a { position: relative; color: var(--muted); transition: color .2s, padding .25s var(--ease); }
.footer-col a::before { content: ""; position: absolute; left: 0; top: 50%; width: 0; height: 2px; border-radius: 2px; background: var(--grad); transform: translateY(-50%); transition: width .25s var(--ease); }
.footer-col a:hover { color: var(--txt); padding-left: 16px; }
.footer-col a:hover::before { width: 10px; }
.socials { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.social { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; color: var(--txt); background: rgba(255,255,255,.04); border: 1px solid var(--line-2); transition: transform .25s var(--ease), background .25s, border-color .25s, box-shadow .25s; }
.social svg { width: 20px; height: 20px; }
.social:hover { transform: translateY(-3px); border-color: transparent; color: #fff; }
.social--tiktok:hover { background: linear-gradient(135deg, #25f4ee, #000 45%, #fe2c55); box-shadow: 0 10px 30px -8px rgba(254,44,85,.6); }
.social--x:hover { background: #000; border-color: rgba(255,255,255,.35); box-shadow: 0 10px 30px -10px rgba(255,255,255,.35); }
.social--instagram:hover { background: radial-gradient(circle at 30% 110%, #ffd84d, #ff2e74 45%, #8b5cf6); box-shadow: 0 10px 30px -8px rgba(255,47,214,.6); }
.social--youtube:hover { background: #ff0033; box-shadow: 0 10px 30px -8px rgba(255,0,51,.6); }
.social--discord:hover { background: #5865f2; box-shadow: 0 10px 30px -8px rgba(88,101,242,.6); }
.social--mail:hover { background: var(--grad); box-shadow: var(--glow); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; margin-top: 56px; padding: 22px 0; border-top: 1px solid var(--line); font-size: 13px; color: var(--dim); }
.footer-bottom p { margin: 0; max-width: 760px; }
.footer-made .heart { display: inline-block; color: var(--pink); animation: gk-beat 1.4s infinite; }
@keyframes gk-beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.3); } 30% { transform: scale(1); } 45% { transform: scale(1.18); } }
.footer-word { margin-top: -6px; text-align: center; font-weight: 700; letter-spacing: -.06em; line-height: .78; font-size: clamp(90px, 21vw, 300px); text-transform: lowercase; background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,0) 85%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; pointer-events: none; padding-bottom: 6px; }
@media (prefers-reduced-motion: reduce) { .footer-made .heart { animation: none; } }

/* ---------- Pages légales ---------- */
.legal-updated { display: inline-block; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid var(--line-2); font-size: 13px; color: var(--muted); }
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 50; width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; background: rgba(20,20,34,.85); border: 1px solid var(--line-2); color: var(--txt); backdrop-filter: blur(12px); opacity: 0; transform: translateY(14px); transition: opacity .3s, transform .3s var(--ease); cursor: pointer; }
.to-top.show { opacity: 1; transform: none; }
.to-top svg { width: 20px; height: 20px; transform: rotate(-90deg); }

@media (hover: none) { .hover-only { display: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}


/* ================================================================
   Identité 1.0 — chat Giftoki : magenta · violet · cyan, rond, fun, animé
   ================================================================ */
body { background: radial-gradient(1200px 700px at 15% -10%, rgba(255,47,214,.14), transparent 60%), radial-gradient(1000px 700px at 100% 10%, rgba(31,214,255,.10), transparent 60%), var(--bg); }
.btn, .lp-btn, .eyebrow, .kicker, .tag, .filters button, .footer-col h4 { font-family: var(--font-display); }
.btn, .lp-btn { border-radius: 999px; font-weight: 700; letter-spacing: 0; transition: transform .35s cubic-bezier(.34,1.56,.64,1), box-shadow .3s, background .3s; }
.btn:hover, .lp-btn:hover { transform: translateY(-3px) scale(1.03); }
.btn:active, .lp-btn:active { transform: scale(.96); }
.btn--primary, .lp-btn--primary { box-shadow: 0 14px 34px -12px rgba(255,47,214,.85), inset 0 1px 0 rgba(255,255,255,.35); }
.grad-anim { background: linear-gradient(90deg, #ff2fd6, #c25bff, #1fd6ff, #ff2fd6); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; }
.hero h1 { font-weight: 700; line-height: 1.02; }
.hero h1 .grad-anim { filter: drop-shadow(0 8px 30px rgba(255,47,214,.35)); }
.site-header { backdrop-filter: blur(18px) saturate(1.4); }

/* Mascotte du héros (le chat) */
.hero-mascot { position: absolute; z-index: 3; width: clamp(110px, 16vw, 170px); left: -6%; top: -6%; filter: drop-shadow(0 18px 30px rgba(255,47,214,.45)); animation: mascot 5.5s ease-in-out infinite; pointer-events: none; }
@keyframes mascot { 0%, 100% { transform: translateY(0) rotate(-8deg); } 50% { transform: translateY(-16px) rotate(4deg); } }
.hero-hearts { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.hero-hearts i { position: absolute; bottom: 8%; font-style: normal; font-size: 26px; opacity: 0; animation: heartup 6s ease-in infinite; }
.hero-hearts i:nth-child(1) { left: 8%; animation-delay: 0s; } .hero-hearts i:nth-child(2) { left: 82%; animation-delay: 1.2s; font-size: 22px; }
.hero-hearts i:nth-child(3) { left: 70%; animation-delay: 2.4s; } .hero-hearts i:nth-child(4) { left: 18%; animation-delay: 3.6s; font-size: 20px; }
.hero-hearts i:nth-child(5) { left: 90%; animation-delay: 4.8s; font-size: 30px; }
@keyframes heartup { 0% { transform: translateY(0) scale(.6) rotate(-10deg); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateY(-420px) scale(1.1) rotate(14deg); opacity: 0; } }

/* Fond : bulles cœurs qui montent doucement */
.bg-fx i:nth-child(1) { background: radial-gradient(circle, rgba(255,47,214,.55), transparent 65%); }
.bg-fx i:nth-child(2) { background: radial-gradient(circle, rgba(31,214,255,.40), transparent 65%); }
.bg-fx i:nth-child(3) { background: radial-gradient(circle, rgba(139,61,255,.45), transparent 65%); }

/* Cartes de jeux : rebond joyeux */
.game-card { transition: transform .45s cubic-bezier(.34,1.56,.64,1), box-shadow .35s, border-color .3s; }
.game-card:hover { transform: translateY(-8px) rotate(-.6deg); box-shadow: 0 30px 70px -30px rgba(255,47,214,.6), 0 0 0 1px rgba(255,47,214,.35); }
.game-card .tag { border-radius: 999px; }

/* Pied de page : logo et mot géant aux couleurs du logo */
.site-footer .logo-img { height: 64px; }
.footer-word { background: linear-gradient(180deg, rgba(255,47,214,.16), rgba(31,214,255,.06) 60%, transparent 90%); -webkit-background-clip: text; background-clip: text; font-family: var(--font-display); letter-spacing: -.04em; }

/* Éclat de cœurs au clic sur les boutons principaux */
.gk-pop { position: fixed; z-index: 9999; pointer-events: none; font-size: 18px; animation: gkpop .9s cubic-bezier(.2,.7,.3,1) forwards; }
@keyframes gkpop { to { transform: translate(var(--dx), var(--dy)) scale(.4) rotate(var(--r)); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .hero-mascot, .hero-hearts i, .gk-pop { animation: none !important; } .hero-hearts { display: none; } }

/* ---------- Page contact ---------- */
.gk-contact { max-width: 760px; }
.gk-contact-lead { font-size: 18px; color: var(--muted); margin-bottom: 22px; }
.gk-contact-form { display: grid; gap: 16px; padding: 28px; border-radius: 26px; background: linear-gradient(rgba(23,12,51,.85), rgba(23,12,51,.85)) padding-box, var(--grad) border-box; border: 1px solid transparent; box-shadow: 0 40px 90px -45px rgba(255,47,214,.7); }
.gk-contact-form label { display: grid; gap: 7px; font-weight: 500; font-size: 14px; color: var(--txt); }
.gk-contact-form input, .gk-contact-form select, .gk-contact-form textarea { width: 100%; padding: 13px 16px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(255,255,255,.04); color: var(--txt); font: inherit; transition: border-color .2s, box-shadow .2s; }
.gk-contact-form textarea { resize: vertical; min-height: 150px; }
.gk-contact-form select option { background: #170c33; }
.gk-contact-form input:focus, .gk-contact-form select:focus, .gk-contact-form textarea:focus { outline: none; border-color: var(--pink); box-shadow: 0 0 0 4px rgba(255,47,214,.18); }
.gk-contact-form .btn { justify-self: start; }
.gk-grid2 { display: grid; gap: 16px; }
@media (min-width: 640px) { .gk-grid2 { grid-template-columns: 1fr 1fr; } }
.gk-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.gk-alert { padding: 14px 18px; border-radius: 16px; margin-bottom: 18px; font-weight: 500; }
.gk-alert--ok { background: rgba(46,230,138,.12); border: 1px solid rgba(46,230,138,.4); color: #b8ffd9; }
.gk-alert--err { background: rgba(255,59,107,.12); border: 1px solid rgba(255,59,107,.45); color: #ffc2d0; }
