/* ==========================================================================
   Blox Fruits FR - bffr.fr/battlepassnew
   Le Pass de combat de la saison, refondu 1:1 sur l'ADN cinematique de /bffr,
   /valuenew et /shopnew (dark violet, Archivo / Archivo Expanded, grain,
   marquee, drawer, orbs). Page utilitaire branchee au VRAI pass serveur
   (/api/battlepass/*) : progression XP, echelle Gratuit/Premium 100 paliers,
   reclamation reelle, quetes, quotidien, boutique. Autonome, hex directs.
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
:root {
  --bg:        #070709;
  --bg-2:      #0E0E14;
  --bg-3:      #13131b;
  --card:      #0D0D13;
  --ink:       #F2F2F6;
  --ink-2:     #9C9CAB;
  --ink-3:     #80808E;
  --accent:    #A78BFF;
  --accent-2:  #6C4DF0;
  --accent-rgb: 167,139,255;
  --teal:      #2EE9CD;
  --teal-rgb:  46,233,205;
  --discord:   #5865F2;
  --green:     #3BE08A;
  --green-rgb: 59,224,138;
  --gold:      #FFD45C;
  --line:      rgba(255,255,255,.08);
  --line-2:    rgba(255,255,255,.14);
  --maxw: 1320px;

  /* Raretes des recompenses (harmonisees avec l'ancien pass) */
  --r-common:   124,139,191;   /* gris-bleu */
  --r-uncommon:  63,208,106;   /* vert */
  --r-rare:      58,160,255;   /* bleu */
  --r-epic:     178,102,255;   /* violet */
  --r-legend:   255,194,58;    /* or */
  --r-prim:     168,132,255;   /* violet clair */
  --r-astral:    91,224,255;   /* cyan */
}

/* --- Lenis (smooth-scroll) ---------------------------------------------- */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: clip; }
.lenis.lenis-smooth iframe { pointer-events: none; }

html { -webkit-text-size-adjust: 100%; overflow-x: clip; background: var(--bg); overscroll-behavior-y: none; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: 'Archivo', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }
::selection { background: var(--accent); color: var(--bg); }
::-webkit-scrollbar { width: 9px; }
::-webkit-scrollbar-thumb { background: #23232f; border-radius: 99px; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
.eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); }
.display { font-family: 'Archivo Expanded', 'Archivo', sans-serif; font-weight: 900; letter-spacing: -.03em; line-height: 1; }

/* Sections : base opaque (anti micro-fente au scroll) */
.vhero, .board, footer { background-color: var(--bg); }
.board, footer { margin-top: -1px; }
.board { overflow: hidden; }

/* --- Reveals (caches seulement si le moteur est arme) ------------------- */
.has-motion .reveal { opacity: 0; transform: translateY(42px); }
.line { display: block; }
.line > span { display: inline-block; }
.has-motion .line > span { opacity: 0; transform: translateY(40px); }

/* ==========================================================================
   UI FIXE (chrome partage avec la home)
   ========================================================================== */
#loader { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; background: radial-gradient(120% 80% at 50% 38%, #101019, #070709 70%); }
#loader .li-logo { width: 88px; height: 88px; border-radius: 20px; box-shadow: 0 0 60px rgba(var(--accent-rgb),.55); }
#loader .li-name { margin-top: 22px; font-family: 'Archivo Expanded','Archivo',sans-serif; font-weight: 900; font-size: 1.05rem; letter-spacing: .08em; color: #fff; }
#loader .li-bar { margin-top: 22px; width: 148px; height: 3px; border-radius: 99px; background: rgba(255,255,255,.12); overflow: hidden; }
#loader .li-bar > i { display: block; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, var(--accent-2), var(--accent)); box-shadow: 0 0 12px var(--accent); animation: liLoad 1.25s cubic-bezier(.5,0,.2,1) .1s forwards; }
@keyframes liLoad { to { width: 100%; } }
#loader.hide { opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s; }

#grain { position: fixed; inset: -50%; z-index: 96; pointer-events: none; opacity: .05; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); background-size: 140px; animation: grain 1.1s steps(3) infinite; }
@keyframes grain { 0%{transform:translate(0,0)} 30%{transform:translate(-3%,2%)} 60%{transform:translate(2%,-3%)} 100%{transform:translate(0,0)} }

#progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 90; background: linear-gradient(90deg, transparent, var(--accent)); box-shadow: 0 0 14px var(--accent); pointer-events: none; transform-origin: left; }

.brand { position: fixed; top: 22px; left: 26px; z-index: 80; display: flex; align-items: center; gap: 11px; }
.brand img { width: 40px; height: 40px; border-radius: 11px; box-shadow: 0 6px 20px rgba(0,0,0,.5); }
.brand b { font-weight: 900; font-size: 15px; color: #fff; letter-spacing: -.02em; display: block; line-height: 1; }
.brand small { font-size: 9px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); margin-top: 3px; display: block; }

.fab { position: fixed; bottom: 26px; right: 26px; z-index: 85; display: inline-flex; align-items: center; gap: 10px; padding: 13px 20px; border-radius: 99px; overflow: hidden; background: var(--discord); color: #fff; font-weight: 800; font-size: 14px; box-shadow: 0 12px 34px rgba(88,101,242,.5), inset 0 1px 0 rgba(255,255,255,.25); transition: transform .25s cubic-bezier(.34,1.5,.6,1), box-shadow .25s; }
.fab:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 18px 44px rgba(88,101,242,.65); }

/* Boutons */
.btn { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; border: 0; cursor: pointer; position: relative; overflow: hidden; }
.btn svg { flex: 0 0 auto; }
.btn-accent { padding: 15px 28px; border-radius: 99px; background: var(--accent); color: var(--bg); font-size: 15px; box-shadow: 0 14px 34px rgba(var(--accent-rgb),.35); transition: transform .25s; }
.btn-accent:hover { transform: translateY(-2px); }
.btn-ghost { padding: 15px 26px; border-radius: 99px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.18); color: #fff; font-weight: 700; font-size: 15px; transition: background .25s, border-color .25s; }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: var(--accent); }
.btn-discord { background: var(--discord); color: #fff; box-shadow: 0 14px 34px rgba(88,101,242,.4); }
.btn-discord:hover { filter: brightness(1.07); }
.shine { position: absolute; top: 0; left: 0; width: 160%; height: 100%; pointer-events: none; background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.45) 50%, transparent 60%); transform: translateX(-130%); z-index: 3; }

/* Curseur (desktop souris) */
#cursorRing { position: fixed; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid rgba(var(--accent-rgb), .5); pointer-events: none; z-index: 200; transform: translate(-50%, -50%); will-change: transform, width, height; transition: width .25s, height .25s, border-color .25s, background .25s, opacity .3s; opacity: 0; }
#cursorRing.show { opacity: 1; }
#cursorRing.hot { width: 56px; height: 56px; border-color: var(--accent); background: rgba(var(--accent-rgb), .07); }

/* Orbes flous d'ambiance */
.orb { position: absolute; z-index: 0; border-radius: 50%; pointer-events: none; filter: blur(64px); opacity: .5; will-change: transform; }
.orb.violet { background: radial-gradient(circle, rgba(var(--accent-rgb),.5), transparent 70%); }
.orb.teal { background: radial-gradient(circle, rgba(var(--teal-rgb),.32), transparent 70%); }
.orb.gold { background: radial-gradient(circle, rgba(var(--r-legend),.28), transparent 70%); }

/* ==========================================================================
   HERO
   ========================================================================== */
.vhero { position: relative; min-height: 84vh; display: flex; align-items: center; overflow: hidden; padding: 16vh 0 12vh; }
.vhero__bg { position: absolute; inset: -6% -3%; z-index: 0; background: url('/bffr/assets/hero-banner.png') center 30% / cover no-repeat; will-change: transform; backface-visibility: hidden; transform: translateZ(0); }
.vhero__veil { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.vhero__veil.a { background: linear-gradient(180deg, rgba(7,7,9,.45) 0%, rgba(7,7,9,.2) 30%, rgba(7,7,9,.6) 70%, rgba(7,7,9,.94) 92%, var(--bg) 100%); }
.vhero__veil.b { background: linear-gradient(100deg, rgba(7,7,9,.92) 0%, rgba(7,7,9,.74) 26%, rgba(7,7,9,.34) 50%, rgba(7,7,9,0) 70%); }
.vhero__fruit { position: absolute; z-index: 2; pointer-events: none; filter: drop-shadow(0 28px 48px rgba(0,0,0,.6)); will-change: transform; }
.vhero__fruit.f1 { width: 190px; right: 9%; top: 16%; }
.vhero__fruit.f2 { width: 126px; right: 27%; bottom: 15%; }
.vhero__fruit.f3 { width: 96px; right: 6%; bottom: 17%; }
.vhero__content { position: relative; z-index: 3; width: 100%; }
.vhero__badge { display: inline-flex; align-items: center; gap: 11px; padding: 8px 16px; border-radius: 99px; background: rgba(7,7,9,.5); border: 1px solid rgba(255,255,255,.16); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); margin-bottom: 28px; }
.vhero__badge i { width: 8px; height: 8px; border-radius: 99px; background: var(--gold); box-shadow: 0 0 12px var(--gold); animation: pulse 1.8s infinite; }
.vhero__badge span { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #D7D7E0; }
@keyframes pulse { 0%,100%{opacity:.45} 50%{opacity:1} }
.vhero h1 { margin: 0; font-size: clamp(2.7rem, 8.4vw, 6.8rem); line-height: .86; color: #fff; text-transform: uppercase; text-shadow: 0 2px 10px rgba(0,0,0,.65); }
.vhero h1 .stroke { color: transparent; -webkit-text-stroke: 2px var(--accent); }
.vhero__p { max-width: 560px; margin: 28px 0 0; font-size: clamp(1.02rem, 1.5vw, 1.22rem); line-height: 1.6; color: #D8D8E2; text-shadow: 0 1px 10px rgba(0,0,0,.7); }
.vhero__p strong { color: #fff; }
.vhero__p .hl { color: var(--accent); }
.vhero__stats { display: flex; align-items: center; gap: 30px; margin-top: 34px; flex-wrap: wrap; }
.vstat b { font-family: 'Archivo Expanded', sans-serif; font-weight: 900; font-size: clamp(1.8rem, 3.4vw, 2.8rem); color: #fff; letter-spacing: -.03em; line-height: 1; display: block; font-variant-numeric: tabular-nums; }
.vstat b.acc { color: var(--accent); }
.vstat b.gold { color: var(--gold); }
.vstat span { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-top: 8px; display: block; }
.vstat__sep { width: 1px; height: 42px; background: rgba(255,255,255,.12); }
.vhero__cta { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 36px; }
.ft-word { position: absolute; font-family: 'Great Vibes', cursive; font-weight: 400; line-height: 1; white-space: nowrap; pointer-events: none; }
.ft-word--pass { right: 5%; top: 10%; z-index: 2; font-size: clamp(3rem, 8vw, 6.4rem); color: #fff4dd; opacity: .92; text-shadow: 0 0 24px rgba(var(--r-legend),.8), 0 0 8px rgba(var(--r-legend),.55); transform: rotate(-8deg); }
.vhero__badges { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; }
.vhero__badges span { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 99px; background: rgba(7,7,9,.42); border: 1px solid rgba(255,255,255,.14); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-size: 12px; font-weight: 700; color: #D7D7E0; text-shadow: 0 1px 6px rgba(0,0,0,.5); }
.vhero__badges i { width: 6px; height: 6px; border-radius: 99px; background: var(--accent); box-shadow: 0 0 8px var(--accent); }

/* ==========================================================================
   MARQUEE
   ========================================================================== */
.marquee { position: relative; z-index: 2; margin: -1vh 0 0; padding: 18px 0; overflow: hidden; background: var(--bg); border-top: 1px solid rgba(var(--accent-rgb),.18); border-bottom: 1px solid rgba(var(--accent-rgb),.18); transform: rotate(-1.4deg); }
.marquee__track { display: inline-flex; align-items: center; gap: 26px; white-space: nowrap; will-change: transform; animation: marquee 28s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee span { font-family: 'Archivo Expanded','Archivo',sans-serif; font-weight: 900; font-size: clamp(1.05rem, 2vw, 1.5rem); letter-spacing: -.01em; text-transform: uppercase; color: #fff; }
.marquee i { color: var(--accent); font-size: .9rem; font-style: normal; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ==========================================================================
   BOARD
   ========================================================================== */
.board { position: relative; padding: 12vh 0 8vh; }
.board.board--sub { padding: 7vh 0; }
.board > .wrap { position: relative; z-index: 1; }
.board__head { max-width: 760px; margin-bottom: 26px; }
.board__head .eyebrow { display: block; margin-bottom: 14px; }
.board__head h2 { margin: 0; font-size: clamp(1.8rem, 4.4vw, 3.2rem); line-height: 1.03; color: #fff; }
.board__head p { margin: 16px 0 0; font-size: 1.06rem; line-height: 1.6; color: var(--ink-2); }

/* SEGMENTED NAV (Pass / Quetes / Quotidien / Boutique) - sticky */
.segnav { position: sticky; top: 14px; z-index: 40; display: flex; gap: 6px; padding: 6px; margin: 0 auto 30px; width: fit-content; max-width: 100%; border-radius: 16px; background: rgba(13,13,19,.82); border: 1px solid var(--line); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 16px 40px rgba(0,0,0,.4); overflow-x: auto; scrollbar-width: none; }
.segnav::-webkit-scrollbar { display: none; }
.segnav a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 12px; font-weight: 800; font-size: 14px; color: var(--ink-2); white-space: nowrap; transition: color .2s, background .2s; }
.segnav a svg { width: 17px; height: 17px; }
.segnav a:hover { color: #fff; }
.segnav a.is-active { color: #0b0b10; background: var(--accent); box-shadow: 0 8px 20px rgba(var(--accent-rgb),.3); }

/* BANNIERE CONNEXION (aperçu lecture seule quand deconnecte) */
.bp-login { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 18px 22px; border-radius: 18px; margin-bottom: 24px; background: linear-gradient(120deg, rgba(88,101,242,.14), rgba(var(--accent-rgb),.06)); border: 1px solid rgba(88,101,242,.32); }
.bp-login svg { width: 26px; height: 26px; color: var(--discord); flex: 0 0 auto; }
.bp-login p { margin: 0; flex: 1 1 300px; font-size: .98rem; line-height: 1.5; color: #E4E4EE; }
.bp-login p strong { color: #fff; }
.bp-login .btn-discord { padding: 12px 22px; border-radius: 99px; font-size: 14px; }

/* BARRE LIVE : progression XP + prochain palier + tout reclamer */
.bp-live { display: grid; grid-template-columns: 1fr auto; gap: 18px 24px; align-items: center; padding: 22px; border-radius: 22px; margin-bottom: 22px; background: linear-gradient(180deg, rgba(20,20,28,.86), rgba(12,12,18,.86)); border: 1px solid var(--line); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 18px 50px rgba(0,0,0,.35); }
.bp-live__lvl { display: flex; align-items: center; gap: 16px; }
.bp-lvlchip { position: relative; flex: 0 0 auto; width: 66px; height: 66px; display: grid; place-items: center; border-radius: 18px; background: radial-gradient(circle at 50% 35%, rgba(var(--accent-rgb),.3), rgba(255,255,255,.02) 72%); border: 1px solid rgba(var(--accent-rgb),.34); }
.bp-lvlchip .k { position: absolute; top: 9px; font-size: 8px; font-weight: 800; letter-spacing: .16em; color: var(--ink-3); }
.bp-lvlchip .v { font-family: 'Archivo Expanded', sans-serif; font-weight: 900; font-size: 1.7rem; color: #fff; line-height: 1; margin-top: 6px; font-variant-numeric: tabular-nums; }
.bp-live__xp { flex: 1; min-width: 0; }
.bp-xprow { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 9px; }
.bp-xprow .l { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.bp-xprow .r { font-weight: 700; color: var(--ink-2); font-variant-numeric: tabular-nums; font-size: .95rem; }
.bp-xprow .r b { color: #fff; font-weight: 900; }
.bp-xpbar { height: 12px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; position: relative; }
.bp-xpfill { height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, var(--accent-2), var(--accent)); box-shadow: 0 0 16px rgba(var(--accent-rgb),.7); transition: width .8s cubic-bezier(.2,.8,.2,1); }
.bp-live__act { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.bp-cbtn { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 18px; border-radius: 13px; border: 1px solid var(--line-2); background: rgba(255,255,255,.05); color: #fff; font-weight: 800; font-size: 13.5px; transition: transform .15s, border-color .2s, background .2s; }
.bp-cbtn svg { width: 16px; height: 16px; }
.bp-cbtn:hover { transform: translateY(-2px); border-color: var(--accent); }
.bp-cbtn--primary { background: var(--accent); color: #0b0b10; border-color: transparent; box-shadow: 0 12px 28px rgba(var(--accent-rgb),.3); }
.bp-cbtn--prem { background: linear-gradient(100deg, var(--gold), #ffb638); color: #221600; border-color: transparent; box-shadow: 0 12px 28px rgba(var(--r-legend),.34); }
.bp-cbtn[disabled] { opacity: .5; pointer-events: none; }

/* PROCHAIN PALIER (chip) */
.bp-next { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 13px 18px; border-radius: 15px; margin-bottom: 22px; background: rgba(var(--accent-rgb),.07); border: 1px solid rgba(var(--accent-rgb),.22); }
.bp-next__l { display: inline-flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.bp-next__l svg { width: 16px; height: 16px; }
.bp-next__r { display: inline-flex; align-items: center; gap: 11px; }
.bp-next__ic { width: 34px; height: 34px; border-radius: 9px; object-fit: contain; background: rgba(255,255,255,.05); padding: 3px; }
.bp-next__nm { font-weight: 800; color: #fff; }
.bp-next__xp { font-size: .85rem; font-weight: 700; color: var(--ink-3); font-variant-numeric: tabular-nums; }

/* BANNIERE PREMIUM + plus gros lots */
.bp-prem { position: relative; overflow: hidden; padding: 24px; border-radius: 24px; margin-bottom: 24px; background: linear-gradient(120deg, rgba(var(--r-legend),.12), rgba(var(--accent-rgb),.06) 60%, rgba(12,12,18,.4)); border: 1px solid rgba(var(--r-legend),.3); }
.bp-prem__head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.bp-prem__ic { flex: 0 0 auto; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: linear-gradient(140deg, var(--gold), #ffb638); color: #241700; box-shadow: 0 10px 26px rgba(var(--r-legend),.4); }
.bp-prem__ic svg { width: 27px; height: 27px; }
.bp-prem__txt { flex: 1; min-width: 220px; }
.bp-prem__t { font-family: 'Archivo Expanded', sans-serif; font-weight: 900; font-size: 1.3rem; color: #fff; letter-spacing: -.01em; }
.bp-prem__s { margin-top: 4px; font-size: .95rem; color: var(--ink-2); line-height: 1.45; }
.bp-prem__btn { display: inline-flex; align-items: center; gap: 9px; padding: 14px 24px; border-radius: 99px; border: 0; background: linear-gradient(100deg, var(--gold), #ffb638); color: #241700; font-weight: 900; font-size: 15px; box-shadow: 0 14px 32px rgba(var(--r-legend),.4); transition: transform .2s; }
.bp-prem__btn:hover { transform: translateY(-2px); }
.bp-prem.owned { border-color: rgba(var(--green-rgb),.3); background: linear-gradient(120deg, rgba(var(--green-rgb),.1), rgba(12,12,18,.4)); }
.bp-prem.owned .bp-prem__ic { background: linear-gradient(140deg, var(--green), #2bbd75); color: #052414; box-shadow: 0 10px 26px rgba(var(--green-rgb),.34); }
.bp-tl { display: flex; gap: 10px; margin-top: 20px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.bp-tl::-webkit-scrollbar { height: 6px; }
.bp-tl-chip { --rc: var(--r-epic); flex: 0 0 auto; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: linear-gradient(180deg, rgba(var(--rc),.12), rgba(12,12,18,.6)); border: 1px solid rgba(var(--rc),.34); }
.bp-tl-chip img { width: 32px; height: 32px; object-fit: contain; flex: 0 0 auto; filter: drop-shadow(0 4px 8px rgba(0,0,0,.5)); }
.bp-tl-chip .nm { font-weight: 800; font-size: .9rem; color: #fff; line-height: 1.1; }
.bp-tl-chip .lv { display: block; font-size: 10px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: rgb(var(--rc)); margin-top: 3px; }

/* FEATURE (le sommet du pass) */
.bp-feat { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; padding: 22px 24px; border-radius: 24px; margin-bottom: 26px; background: linear-gradient(120deg, rgba(var(--r-legend),.1), rgba(12,12,18,.5)); border: 1px solid rgba(var(--r-legend),.26); }
.bp-feat__ic { position: relative; flex: 0 0 auto; width: 88px; height: 88px; display: grid; place-items: center; border-radius: 20px; background: radial-gradient(circle at 50% 35%, rgba(var(--r-legend),.28), rgba(255,255,255,.02) 72%); border: 1px solid rgba(var(--r-legend),.36); }
.bp-feat__ic img { width: 62px; height: 62px; object-fit: contain; filter: drop-shadow(0 10px 18px rgba(0,0,0,.5)); }
.bp-feat__info { flex: 1; min-width: 200px; }
.bp-feat__tag { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.bp-feat__tag svg { width: 15px; height: 15px; }
.bp-feat__name { margin-top: 8px; font-family: 'Archivo Expanded', sans-serif; font-weight: 900; font-size: 1.5rem; color: #fff; letter-spacing: -.02em; }
.bp-feat__name .rar { display: inline-block; margin-left: 6px; padding: 3px 10px; border-radius: 99px; font-size: .7rem; font-weight: 800; vertical-align: middle; color: var(--gold); background: rgba(var(--r-legend),.16); border: 1px solid rgba(var(--r-legend),.4); }
.bp-feat__prog { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.bp-feat__bar { width: 120px; height: 8px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; }
.bp-feat__fill { height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--gold), #ffb638); }
.bp-feat__txt { font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }
.bp-feat__txt b { color: var(--gold); }

/* ==========================================================================
   L'ECHELLE DES PALIERS (rail horizontal)
   ========================================================================== */
.bp-trackwrap { position: relative; margin-top: 4px; }
.bp-badges { display: grid; grid-template-columns: 1fr; gap: 6px; margin-bottom: 12px; }
.bp-blabel { display: inline-flex; align-items: center; gap: 8px; width: fit-content; padding: 6px 14px; border-radius: 99px; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.bp-blabel svg { width: 15px; height: 15px; }
.bp-blabel.free { color: var(--teal); background: rgba(var(--teal-rgb),.12); border: 1px solid rgba(var(--teal-rgb),.3); }
.bp-blabel.prem { color: var(--gold); background: rgba(var(--r-legend),.12); border: 1px solid rgba(var(--r-legend),.32); }

.bp-scroll { overflow-x: auto; overflow-y: hidden; padding: 8px 2px 18px; scrollbar-width: thin; scrollbar-color: #2a2a38 transparent; cursor: grab; overscroll-behavior-x: contain; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 2.5%, #000 97.5%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 2.5%, #000 97.5%, transparent 100%); }
.bp-scroll::-webkit-scrollbar { height: 9px; }
.bp-scroll::-webkit-scrollbar-thumb { background: #2a2a38; border-radius: 99px; }
.bp-scroll.drag { cursor: grabbing; }
.bp-rail { position: relative; display: flex; gap: 12px; width: max-content; padding: 4px 0; }
.bp-tier { position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; width: 158px; flex: 0 0 auto; }

.bp-node { position: relative; z-index: 2; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(180deg, #1a1a24, #101018); border: 1px solid var(--line-2); color: var(--ink-2); font-family: 'Archivo Expanded', sans-serif; font-weight: 900; font-size: 1rem; font-variant-numeric: tabular-nums; box-shadow: 0 6px 16px rgba(0,0,0,.4); }
.bp-node.ms { color: #241700; background: linear-gradient(160deg, var(--gold), #ffb638); border-color: transparent; box-shadow: 0 8px 20px rgba(var(--r-legend),.4); }
.bp-node.cur { border-color: var(--accent); color: #fff; box-shadow: 0 0 0 4px rgba(var(--accent-rgb),.22), 0 8px 20px rgba(var(--accent-rgb),.4); }
.bp-node.ms.cur { box-shadow: 0 0 0 4px rgba(var(--accent-rgb),.28), 0 8px 20px rgba(var(--r-legend),.4); }
/* ligne centrale qui relie les noeuds */
.bp-centerline { position: absolute; left: 0; right: 0; top: 50%; height: 2px; transform: translateY(-1px); background: linear-gradient(90deg, rgba(var(--accent-rgb),.05), rgba(var(--accent-rgb),.3) 20%, rgba(var(--accent-rgb),.3) 80%, rgba(var(--accent-rgb),.05)); z-index: 0; }

/* Carte de palier (recompense) */
.bp-card { --rc: var(--r-common); position: relative; width: 100%; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 12px 12px; border-radius: 18px; background: linear-gradient(180deg, rgba(var(--rc),.13), rgba(var(--rc),.03) 45%, #0c0c12 100%); border: 1px solid rgba(var(--rc),.32); overflow: hidden; transition: transform .3s cubic-bezier(.2,.8,.2,1), border-color .3s, box-shadow .3s, opacity .3s; }
.bp-card::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, rgba(var(--rc),0), rgba(var(--rc),1), rgba(var(--rc),0)); opacity: .85; }
.bp-card.r-common   { --rc: var(--r-common); }
.bp-card.r-uncommon { --rc: var(--r-uncommon); }
.bp-card.r-rare     { --rc: var(--r-rare); }
.bp-card.r-epic     { --rc: var(--r-epic); }
.bp-card.r-legend   { --rc: var(--r-legend); }
.bp-card.r-prim     { --rc: var(--r-prim); }
.bp-card.r-astral   { --rc: var(--r-astral); }
.bp-card__ic { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 13px; background: radial-gradient(circle at 50% 38%, rgba(var(--rc),.2), rgba(255,255,255,.02) 72%); border: 1px solid rgba(var(--rc),.2); }
.bp-card__ic img { width: 42px; height: 42px; object-fit: contain; filter: drop-shadow(0 6px 12px rgba(0,0,0,.5)); transition: transform .3s; }
.bp-card__ic .fb { font-family: 'Archivo Expanded', sans-serif; font-weight: 900; font-size: 1rem; color: rgb(var(--rc)); }
.bp-card__nm { font-weight: 800; font-size: .82rem; line-height: 1.15; text-align: center; color: #fff; min-height: 2.3em; display: flex; align-items: center; }
.bp-card__qty { font-size: .72rem; font-weight: 800; letter-spacing: .04em; color: rgb(var(--rc)); text-transform: uppercase; }
.bp-card__bar { width: 100%; margin-top: 4px; min-height: 30px; display: flex; align-items: center; justify-content: center; gap: 6px; border-radius: 10px; font-size: .78rem; font-weight: 800; letter-spacing: .02em; }
.bp-card__bar svg { width: 14px; height: 14px; }
.bp-card__bar.claim { color: #0b0b10; background: linear-gradient(100deg, var(--accent), var(--accent-2)); box-shadow: 0 6px 16px rgba(var(--accent-rgb),.34); }
.bp-card__bar.got { color: var(--green); background: rgba(var(--green-rgb),.12); border: 1px solid rgba(var(--green-rgb),.3); }
.bp-card__bar.empty { background: transparent; }
/* etats interactifs */
.bp-card.claimable { cursor: pointer; border-color: rgba(var(--rc),.6); }
.bp-card.claimable:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0,0,0,.5), 0 0 32px rgba(var(--rc),.3); }
.bp-card.claimable:hover .bp-card__ic img { transform: scale(1.1) translateY(-2px); }
.bp-card.legendglow { animation: legendPulse 2.4s ease-in-out infinite; }
@keyframes legendPulse { 0%,100%{ box-shadow: 0 0 0 rgba(var(--r-legend),0); } 50%{ box-shadow: 0 0 26px rgba(var(--r-legend),.4); } }
.bp-card.claimed { opacity: .84; }
.bp-card.locked { opacity: .84; }
.bp-card.premlock { cursor: pointer; opacity: .8; }
.bp-card.premlock:hover { opacity: .95; border-color: rgba(var(--r-legend),.5); }
.bp-card__ov { position: absolute; top: 8px; right: 8px; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 7px; background: rgba(7,7,9,.62); border: 1px solid var(--line-2); z-index: 3; color: var(--ink-2); pointer-events: none; }
.bp-card__ov svg { width: 13px; height: 13px; }
.bp-card__lockbadge { position: absolute; top: 8px; right: 8px; z-index: 3; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 7px; background: rgba(var(--r-legend),.16); border: 1px solid rgba(var(--r-legend),.4); color: var(--gold); }
.bp-card__lockbadge svg { width: 13px; height: 13px; }
/* pop de reclamation */
.bp-pop { position: absolute; inset: 0; display: grid; place-items: center; z-index: 5; color: var(--green); pointer-events: none; animation: bpPop .7s ease forwards; }
.bp-pop svg { width: 46px; height: 46px; filter: drop-shadow(0 0 12px rgba(var(--green-rgb),.8)); }
@keyframes bpPop { 0%{ transform: scale(.3); opacity: 0; } 40%{ transform: scale(1.1); opacity: 1; } 100%{ transform: scale(1); opacity: 0; } }

/* fleches de defilement */
.bp-arrow { position: absolute; top: calc(50% - 22px); z-index: 6; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: rgba(13,13,19,.9); border: 1px solid var(--line-2); color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 8px 24px rgba(0,0,0,.5); transition: transform .2s, border-color .2s, background .2s; }
.bp-arrow svg { width: 20px; height: 20px; }
.bp-arrow:hover { border-color: var(--accent); background: rgba(20,20,30,.95); transform: scale(1.08); }
.bp-arrow.l { left: -10px; }
.bp-arrow.r { right: -10px; }
.bp-arrow.hint { animation: arrowHint 1.5s ease-in-out 2.6; }
@keyframes arrowHint { 0%,100% { box-shadow: 0 8px 24px rgba(0,0,0,.5); border-color: var(--line-2); } 50% { box-shadow: 0 8px 24px rgba(0,0,0,.5), 0 0 20px rgba(var(--accent-rgb),.55); border-color: var(--accent); } }
@media (hover:none) { .bp-arrow { display: none; } }

/* ==========================================================================
   SOUS-SECTIONS (Quetes / Quotidien / Boutique)
   ========================================================================== */
.bp-loading { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 50px 20px; color: var(--ink-2); font-weight: 600; }
.bp-spin { width: 22px; height: 22px; border: 3px solid rgba(var(--accent-rgb),.25); border-top-color: var(--accent); border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.bp-empty { padding: 46px 26px; border-radius: 22px; border: 1px dashed var(--line-2); background: rgba(255,255,255,.025); text-align: center; }
.bp-empty__ic { width: 56px; height: 56px; margin: 0 auto 14px; display: grid; place-items: center; border-radius: 16px; background: rgba(var(--accent-rgb),.1); border: 1px solid rgba(var(--accent-rgb),.24); color: var(--accent); }
.bp-empty__ic svg { width: 26px; height: 26px; }
.bp-empty strong { display: block; font-family: 'Archivo Expanded', sans-serif; font-weight: 800; font-size: 1.25rem; color: #fff; }
.bp-empty p { margin: 10px auto 0; max-width: 440px; color: var(--ink-2); line-height: 1.5; }
.bp-empty .btn-discord { margin-top: 18px; padding: 12px 22px; border-radius: 99px; font-size: 14px; }
.bp-soon-badge { display: inline-flex; align-items: center; gap: 7px; margin: 0 0 12px; padding: 6px 14px; border-radius: 99px; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); background: rgba(var(--r-legend),.1); border: 1px solid rgba(var(--r-legend),.3); }
.bp-soon-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 8px var(--gold); animation: pulse 1.8s infinite; }

/* reset countdown (quetes) */
.bp-reset { display: inline-flex; align-items: center; gap: 9px; padding: 9px 15px; border-radius: 12px; margin-bottom: 18px; background: rgba(var(--accent-rgb),.07); border: 1px solid rgba(var(--accent-rgb),.2); font-size: .9rem; color: var(--ink-2); }
.bp-reset svg { width: 16px; height: 16px; color: var(--accent); }
.bp-reset b { color: #fff; font-variant-numeric: tabular-nums; }
.bp-reset .sub { color: var(--ink-3); }

/* liste quetes */
.bp-quests { display: grid; gap: 12px; }
.bp-quest { --rc: var(--accent-rgb); display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 16px; background: linear-gradient(180deg, rgba(20,20,28,.72), rgba(12,12,18,.72)); border: 1px solid var(--line); transition: border-color .2s, transform .15s; }
.bp-quest.claimable { cursor: pointer; border-color: rgba(var(--accent-rgb),.45); background: linear-gradient(180deg, rgba(var(--accent-rgb),.1), rgba(12,12,18,.7)); }
.bp-quest.claimable:hover { transform: translateY(-2px); border-color: var(--accent); }
.bp-quest.done { opacity: .7; }
.bp-quest__ic { flex: 0 0 auto; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: rgba(var(--accent-rgb),.1); border: 1px solid rgba(var(--accent-rgb),.24); color: var(--accent); }
.bp-quest__ic svg { width: 22px; height: 22px; }
.bp-quest__mid { flex: 1; min-width: 0; }
.bp-quest__top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.bp-quest__nm { font-weight: 800; color: #fff; font-size: .98rem; }
.bp-quest__xp { flex: 0 0 auto; font-size: .82rem; font-weight: 900; color: var(--accent); font-variant-numeric: tabular-nums; }
.bp-quest__bar { height: 7px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; }
.bp-quest__fill { height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--accent-2), var(--accent)); }
.bp-quest__right { flex: 0 0 auto; }
.bp-qstate { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 10px; font-size: .82rem; font-weight: 800; }
.bp-qstate svg { width: 15px; height: 15px; }
.bp-qstate.done { color: var(--green); background: rgba(var(--green-rgb),.12); }
.bp-qstate.ready { color: #0b0b10; background: var(--accent); }
.bp-qprog { font-size: .85rem; font-weight: 800; color: var(--ink-3); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* quotidien */
.bp-daily { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 14px; }
.bp-dayhead { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.bp-dayhead .streak { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--gold); }
.bp-dayhead .streak svg { width: 18px; height: 18px; }
.bp-dayhead .done { margin-left: auto; color: var(--green); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.bp-dayc { --rc: var(--r-uncommon); position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 12px; border-radius: 16px; background: linear-gradient(180deg, rgba(var(--rc),.1), #0c0c12); border: 1px solid rgba(var(--rc),.3); text-align: center; }
.bp-dayc.locked { opacity: .5; }
.bp-dayc__n { font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.bp-dayc__ic { width: 48px; height: 48px; object-fit: contain; filter: drop-shadow(0 6px 12px rgba(0,0,0,.5)); }
.bp-dayc__q { font-size: .82rem; font-weight: 700; color: #fff; line-height: 1.2; min-height: 2em; }
.bp-dayc__bar { width: 100%; min-height: 30px; display: flex; align-items: center; justify-content: center; gap: 6px; border-radius: 10px; font-size: .78rem; font-weight: 800; }
.bp-dayc__bar svg { width: 14px; height: 14px; }
.bp-dayc__bar.claim { cursor: pointer; color: #0b0b10; background: linear-gradient(100deg, var(--accent), var(--accent-2)); }
.bp-dayc__bar.got { color: var(--green); background: rgba(var(--green-rgb),.12); }
.bp-dayc__bar.lock { color: var(--ink-3); background: rgba(255,255,255,.04); }

/* boutique */
.bp-shop { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.bp-shopitem { --rc: var(--r-uncommon); display: flex; flex-direction: column; align-items: center; gap: 11px; padding: 22px 18px; border-radius: 20px; background: linear-gradient(180deg, rgba(var(--rc),.1), rgba(var(--rc),.02) 45%, #0c0c12); border: 1px solid rgba(var(--rc),.3); text-align: center; transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s, border-color .3s; }
.bp-shopitem.r-uncommon { --rc: var(--r-uncommon); } .bp-shopitem.r-rare { --rc: var(--r-rare); } .bp-shopitem.r-epic { --rc: var(--r-epic); } .bp-shopitem.r-legend { --rc: var(--r-legend); }
.bp-shopitem:hover { transform: translateY(-5px); border-color: rgba(var(--rc),.6); box-shadow: 0 22px 44px rgba(0,0,0,.5), 0 0 30px rgba(var(--rc),.2); }
.bp-shopitem__ic { width: 66px; height: 66px; display: grid; place-items: center; border-radius: 16px; background: radial-gradient(circle at 50% 38%, rgba(var(--rc),.2), rgba(255,255,255,.02) 72%); border: 1px solid rgba(var(--rc),.2); }
.bp-shopitem__ic img { width: 50px; height: 50px; object-fit: contain; filter: drop-shadow(0 6px 12px rgba(0,0,0,.5)); }
.bp-shopitem__nm { font-weight: 800; color: #fff; font-size: 1rem; line-height: 1.2; }
.bp-shopitem__price { display: inline-flex; align-items: center; gap: 7px; font-weight: 900; color: var(--gold); font-variant-numeric: tabular-nums; }
.bp-shopitem__price img { width: 20px; height: 20px; }
.bp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 44px; margin-top: 4px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255,255,255,.05); color: #fff; font-weight: 800; font-size: 14px; transition: transform .15s, border-color .2s, background .2s; }
.bp-btn svg { width: 16px; height: 16px; }
.bp-btn:hover { transform: translateY(-2px); border-color: var(--accent); }
.bp-btn.done { color: var(--green); border-color: rgba(var(--green-rgb),.3); background: rgba(var(--green-rgb),.1); pointer-events: none; }
.bp-btn[disabled] { opacity: .6; pointer-events: none; }

/* ==========================================================================
   MODALE DE RECOMPENSE (reveal)
   ========================================================================== */
.rmodal { position: fixed; inset: 0; z-index: 150; visibility: hidden; display: grid; place-items: center; padding: 20px; }
.rmodal.open { visibility: visible; }
.rmodal__scrim { position: absolute; inset: 0; background: rgba(5,5,8,.72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; transition: opacity .4s; }
.rmodal.open .rmodal__scrim { opacity: 1; }
.rmodal__card { --rc: var(--r-legend); position: relative; z-index: 2; width: min(400px, 92vw); padding: 34px 28px 26px; border-radius: 26px; text-align: center; background: linear-gradient(180deg, #16161f, #0b0b11); border: 1px solid rgba(var(--rc),.4); box-shadow: 0 40px 90px rgba(0,0,0,.6), 0 0 60px rgba(var(--rc),.2); opacity: 0; transform: translateY(20px) scale(.94); transition: opacity .42s cubic-bezier(.2,.8,.2,1), transform .42s cubic-bezier(.2,.8,.2,1); overflow: hidden; }
.rmodal.open .rmodal__card { opacity: 1; transform: none; }
.rmodal__card::before { content: ''; position: absolute; left: 50%; top: -60px; width: 260px; height: 260px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(var(--rc),.4), transparent 68%); pointer-events: none; }
.rmodal__rev { position: relative; font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: rgb(var(--rc)); }
.rmodal__ic { position: relative; width: 118px; height: 118px; margin: 20px auto 16px; display: grid; place-items: center; border-radius: 26px; background: radial-gradient(circle at 50% 38%, rgba(var(--rc),.26), rgba(255,255,255,.02) 72%); border: 1px solid rgba(var(--rc),.36); animation: rmFloat 3s ease-in-out infinite; }
.rmodal__ic img { width: 84px; height: 84px; object-fit: contain; filter: drop-shadow(0 12px 22px rgba(0,0,0,.55)); }
@keyframes rmFloat { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-7px); } }
.rmodal__name { position: relative; font-family: 'Archivo Expanded', sans-serif; font-weight: 900; font-size: 1.5rem; color: #fff; letter-spacing: -.02em; line-height: 1.1; }
.rmodal__rar { position: relative; display: inline-block; margin-top: 10px; padding: 5px 14px; border-radius: 99px; font-size: .75rem; font-weight: 800; letter-spacing: .05em; color: #0b0b10; background: rgb(var(--rc)); }
.rmodal__reward { position: relative; margin-top: 14px; font-size: .95rem; color: var(--ink-2); line-height: 1.45; }
.rmodal__close { position: relative; margin-top: 24px; width: 100%; min-height: 50px; border-radius: 14px; border: 0; background: var(--accent); color: #0b0b10; font-weight: 900; font-size: 15px; box-shadow: 0 12px 30px rgba(var(--accent-rgb),.34); transition: transform .2s; }
.rmodal__close:hover { transform: translateY(-2px); }

/* overlay "recompense au choix" */
.bp-choice { position: fixed; inset: 0; z-index: 160; display: grid; place-items: center; padding: 18px; background: rgba(4,4,8,.78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.bp-choice__card { width: min(440px, 94vw); padding: 26px; border-radius: 22px; background: linear-gradient(180deg, #15151e, #0b0b11); border: 1px solid var(--line-2); box-shadow: 0 30px 70px rgba(0,0,0,.6); }
.bp-choice__t { font-family: 'Archivo Expanded', sans-serif; font-weight: 900; font-size: 1.3rem; color: #fff; }
.bp-choice__s { margin: 6px 0 18px; font-size: .92rem; color: var(--ink-2); }
.bp-copt { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 14px 16px; margin: 8px 0; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(255,255,255,.04); color: #fff; font-size: 15px; font-weight: 700; transition: border-color .2s, background .2s, transform .15s; }
.bp-copt:hover { border-color: var(--accent); background: rgba(var(--accent-rgb),.08); transform: translateY(-1px); }
.bp-copt img { width: 30px; height: 30px; border-radius: 7px; object-fit: contain; flex: 0 0 auto; }
.bp-copt[disabled] { opacity: .5; pointer-events: none; }

/* banniere "livraison en cours" */
.bp-delivering { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 149; display: flex; align-items: center; gap: 12px; padding: 14px 22px; border-radius: 14px; background: rgba(13,13,19,.96); border: 1px solid rgba(var(--accent-rgb),.3); color: #fff; font-weight: 700; font-size: 14px; box-shadow: 0 20px 50px rgba(0,0,0,.55); max-width: 90vw; }
.bp-delivering .sp { width: 17px; height: 17px; border: 2.5px solid rgba(var(--accent-rgb),.3); border-top-color: var(--accent); border-radius: 50%; animation: spin .7s linear infinite; flex: 0 0 auto; }

/* ==========================================================================
   TOAST
   ========================================================================== */
.toast { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%) translateY(16px); z-index: 250; display: flex; align-items: center; gap: 9px; max-width: min(92vw, 400px); padding: 13px 20px; border-radius: 14px; border: 1px solid rgba(var(--accent-rgb),.3); background: rgba(13,13,19,.96); color: #fff; font-weight: 600; font-size: 14px; box-shadow: 0 24px 60px rgba(0,0,0,.55); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; }
.toast svg { width: 18px; height: 18px; flex: 0 0 auto; }
.toast.is-visible { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.ok { border-color: rgba(var(--green-rgb),.4); } .toast.ok svg { color: var(--green); }
.toast.err { border-color: rgba(255,90,90,.4); } .toast.err svg { color: #ff5a5a; }
.toast.warn { border-color: rgba(var(--r-legend),.4); } .toast.warn svg { color: var(--gold); }

/* confetti */
.bp-conf { position: fixed; width: 9px; height: 9px; z-index: 148; pointer-events: none; will-change: transform, opacity; }

/* ==========================================================================
   MENU DE NAVIGATION (drawer) - identique home/valuenew/shopnew
   ========================================================================== */
.navtoggle { position: fixed; top: 22px; right: 26px; z-index: 130; width: 46px; height: 46px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; background: rgba(13,13,19,.5); border: 1px solid rgba(255,255,255,.14); border-radius: 12px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); cursor: pointer; transition: background .25s, border-color .25s, opacity .3s ease, transform .3s ease; }
.navtoggle.open { opacity: 0; pointer-events: none; transform: scale(.85); }
.navtoggle:hover { background: rgba(13,13,19,.85); border-color: var(--accent); }
.navtoggle span { display: block; width: 20px; height: 2px; border-radius: 2px; background: #fff; transition: transform .35s cubic-bezier(.2,.8,.2,1), opacity .2s; }
.navtoggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navtoggle.open span:nth-child(2) { opacity: 0; }
.navtoggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.navmenu { position: fixed; inset: 0; z-index: 125; visibility: hidden; }
.navmenu.open { visibility: visible; }
.navmenu__scrim { position: absolute; inset: 0; background: rgba(5,5,8,.55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; transition: opacity .45s; cursor: pointer; }
.navmenu.open .navmenu__scrim { opacity: 1; }
.navmenu__panel { position: absolute; top: 0; right: 0; height: 100%; width: min(440px, 86vw); background: radial-gradient(115% 55% at 100% 0%, rgba(var(--accent-rgb),.13), rgba(255,255,255,0) 58%), linear-gradient(180deg, #0f0f17, #08080c); border-left: 1px solid rgba(255,255,255,.08); box-shadow: -30px 0 80px rgba(0,0,0,.55); display: flex; flex-direction: column; padding: 28px 34px 26px; transform: translateX(100%); transition: transform .55s cubic-bezier(.16,.84,.2,1); overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.navmenu.open .navmenu__panel { transform: none; }
.navmenu__grab { display: none; }
.navmenu__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.navmenu__eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .24em; text-transform: uppercase; color: var(--accent); }
.navmenu__close { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); color: #fff; cursor: pointer; transition: background .2s, border-color .2s; }
.navmenu__close:hover { background: rgba(255,255,255,.1); border-color: var(--accent); }
.navmenu__list { display: flex; flex-direction: column; margin: 0; padding: 0; flex: 1 0 auto; }
.navmenu__group { display: flex; flex-direction: column; }
.navmenu__cat { display: flex; align-items: center; gap: 9px; font-size: 11px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: rgb(var(--cat, 167 139 255)); margin: 18px 2px 7px; }
.navmenu__cat::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: rgb(var(--cat)); box-shadow: 0 0 10px rgba(var(--cat), .85); flex-shrink: 0; }
.navmenu__group:first-child .navmenu__cat { margin-top: 2px; }
.navmenu__item { position: relative; display: flex; align-items: center; gap: 14px; padding: 11px 15px; margin: 0 -15px; border-radius: 13px; text-decoration: none; transition: background .3s ease; }
.navmenu__item::after { content: ''; position: absolute; left: 0; top: 50%; width: 3px; height: 0; border-radius: 99px; background: rgb(var(--cat)); transform: translateY(-50%); transition: height .35s cubic-bezier(.2,.8,.2,1); }
.navmenu__ic { flex: 0 0 auto; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 11px; background: rgba(var(--cat), .12); border: 1px solid rgba(var(--cat), .22); color: rgb(var(--cat)); transition: background .3s, border-color .3s, color .3s, transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .3s; }
.navmenu__ic svg { width: 20px; height: 20px; }
.navmenu__txt { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.navmenu__item:hover .navmenu__ic { background: rgb(var(--cat)); border-color: transparent; color: #0a0a10; transform: translateY(-2px) rotate(-5deg); box-shadow: 0 10px 22px rgba(var(--cat), .42); }
.navmenu__item--active .navmenu__ic { background: rgb(var(--cat)); border-color: transparent; color: #0a0a10; box-shadow: 0 8px 18px rgba(var(--cat), .35); }
.navmenu__lbl { font-family: 'Archivo Expanded', 'Archivo', sans-serif; font-weight: 800; font-size: 1.08rem; color: #fff; letter-spacing: -.01em; line-height: 1.12; transition: transform .4s cubic-bezier(.2,.8,.2,1), color .3s; }
.navmenu__sub { font-size: 11.5px; font-weight: 500; color: var(--ink-2); letter-spacing: .005em; line-height: 1.2; transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.navmenu__arr { color: rgb(var(--cat)); font-size: 1.15rem; opacity: 0; transform: translateX(-10px); transition: opacity .35s, transform .35s; }
.navmenu__item:hover { background: rgba(var(--cat), .1); }
.navmenu__item:hover::after { height: 58%; }
.navmenu__item:hover .navmenu__lbl { transform: translateX(10px); color: rgb(var(--cat)); }
.navmenu__item:hover .navmenu__sub { transform: translateX(10px); }
.navmenu__item:hover .navmenu__arr { opacity: 1; transform: none; }
.navmenu__item--prestige .navmenu__lbl { background: linear-gradient(92deg, #fff, rgb(var(--cat))); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.navmenu__item--active::after { height: 56%; }
.navmenu__item--active .navmenu__lbl { color: rgb(var(--cat)); }
.navmenu__foot { margin-top: 24px; flex-shrink: 0; }
.navmenu__disc { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 15px; border-radius: 13px; background: var(--discord); color: #fff; font-weight: 800; font-size: 14.5px; letter-spacing: .01em; text-decoration: none; box-shadow: 0 10px 26px rgba(88,101,242,.3); transition: transform .2s, box-shadow .2s, filter .2s; }
.navmenu__disc svg { flex-shrink: 0; }
.navmenu__disc:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(88,101,242,.42); filter: brightness(1.06); }
.navmenu__socials { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; margin-top: 14px; }
.navmenu__socials a { color: var(--ink-2); font-size: 12px; font-weight: 600; text-decoration: none; transition: color .2s; }
.navmenu__socials a:hover { color: #fff; }

@media (max-width: 768px) {
  .navtoggle { top: 16px; right: 16px; width: 44px; height: 44px; }
  .navmenu__panel { top: auto; bottom: 0; left: 0; right: 0; width: 100%; height: auto; max-height: 84vh; border-left: 0; border-top: 1px solid rgba(255,255,255,.1); border-radius: 22px 22px 0 0; box-shadow: 0 -30px 80px rgba(0,0,0,.6); padding: 12px 22px 24px; transform: translateY(100%); transition: transform .5s cubic-bezier(.16,.84,.2,1); }
  .navmenu.open .navmenu__panel { transform: none; }
  .navmenu__grab { display: block; width: 44px; height: 5px; border-radius: 99px; background: rgba(255,255,255,.22); margin: 0 auto 12px; cursor: pointer; }
  .navmenu__head { margin-bottom: 14px; }
  .navmenu__item { padding: 9px 6px; margin: 0 -6px; }
  .navmenu__lbl { font-size: 1.02rem; }
  .navmenu__sub { font-size: 11px; }
  .navmenu__cat { margin: 13px 2px 5px; }
  .navmenu__foot { margin-top: 16px; }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer { padding: 60px 32px 50px; text-align: center; }
footer .f-brand { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 22px; }
footer .f-brand img { width: 36px; height: 36px; border-radius: 10px; }
footer .f-brand b { font-weight: 900; color: #fff; letter-spacing: -.02em; }
footer .f-links { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; margin-bottom: 22px; }
footer .f-links a { color: var(--ink-2); font-size: 13px; font-weight: 600; transition: color .2s; }
footer .f-links a:hover { color: #fff; }
.f-legal { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; align-items: center; margin-bottom: 16px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.06); }
.f-legal span { color: var(--ink-3); font-size: 12px; }
.f-legal a { color: var(--ink-2); font-size: 12px; font-weight: 600; transition: color .2s; }
.f-legal a:hover { color: var(--accent); }
footer .copy { max-width: 760px; margin: 0 auto; font-size: 11px; color: #54545f; line-height: 1.6; }

/* Voile de transition de page */
.pageveil { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; background: radial-gradient(circle at 50% 50%, #12121d, #070709 70%); opacity: 0; pointer-events: none; transition: opacity .42s ease; }
.pageveil.show { opacity: 1; pointer-events: auto; }
.pageveil img { width: 64px; height: 64px; border-radius: 16px; transform: scale(.7); opacity: 0; transition: transform .5s cubic-bezier(.2,.9,.2,1) .08s, opacity .5s .08s; box-shadow: 0 0 50px rgba(var(--accent-rgb), .4); }
.pageveil.show img { transform: scale(1); opacity: 1; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 960px) {
  .vhero__fruit.f2, .vhero__fruit.f3 { display: none; }
  .vhero__fruit.f1 { width: 150px; opacity: .85; }
  .bp-live { grid-template-columns: 1fr; }
  .bp-live__act { justify-content: flex-start; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 20px; }
  .brand { display: none; }
  .vhero { min-height: 88vh; padding: 18vh 0 10vh; }
  .vhero__bg { background-position: 62% 26%; }
  .vhero__fruit { display: none; }
  .ft-word--pass { font-size: clamp(2.4rem, 15vw, 3.8rem); top: 8%; right: 8%; opacity: .7; }
  .vhero__stats { gap: 18px; }
  .vstat__sep { display: none; }
  .marquee { transform: rotate(-1.4deg) scale(1.04); }
  .fab .fab-txt { display: none; }
  .fab { padding: 13px; }
  .bp-live__lvl { gap: 12px; }
  .bp-feat__prog { width: 100%; }
  .bp-feat__bar { flex: 1; width: auto; }
}
@media (max-width: 420px) {
  .bp-tier { width: 142px; }
}

/* Accessibilite : repli SEULEMENT si le JS n'a pas arme force-motion. */
@media (prefers-reduced-motion: reduce) {
  html:not(.force-motion) .reveal, html:not(.force-motion) .line > span, html:not(.force-motion) .bp-card { opacity: 1 !important; transform: none !important; }
  html:not(.force-motion) #grain, html:not(.force-motion) .marquee__track, html:not(.force-motion) .vhero__badge i, html:not(.force-motion) .bp-card.legendglow, html:not(.force-motion) .rmodal__ic { animation: none !important; }
  html:not(.force-motion) #cursorRing { display: none !important; }
  html:not(.force-motion) .marquee { transform: none; }
}
