/* ============================================================
   Style — dark gaming / glassmorphism, ambiance guns.lol
   ============================================================ */
:root {
  --bg: #050506;
  --bg-2: #0d0d10;
  --panel: rgba(255, 255, 255, 0.045);
  --panel-2: rgba(255, 255, 255, 0.08);
  --stroke: rgba(255, 255, 255, 0.10);
  --stroke-2: rgba(255, 255, 255, 0.20);

  --text: #e8eaf0;
  --muted: #8f95a6;
  --muted-2: #5a5e6d;

  --c1: #8ba3c7;   /* ardoise */
  --c2: #8f8fc0;   /* gris-violet */
  --c3: #b0a4b8;   /* mauve grisé */
  --c4: #d9c58e;   /* sable */
  --lime: #a9c99c;

  --good: #7cc4a4;
  --bad: #c98d8d;
  --warn: #cbb27c;

  --grad: linear-gradient(120deg, var(--c1), var(--c2) 50%, var(--c3));
  --grad-soft: linear-gradient(120deg, rgba(139,167,201,.25), rgba(143,143,190,.25) 50%, rgba(176,164,184,.25));

  --r-lg: 24px;
  --r-md: 16px;
  --r-sm: 10px;

  --font: "Space Grotesk", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  --nav-h: 64px;
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.65);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

::selection { background: rgba(143,143,190, 0.5); color: #fff; }

/* Scrollbar custom */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--c2), var(--c1));
  border-radius: 8px;
  border: 2px solid var(--bg-2);
}

/* ---------- Fond animé ---------- */
.bg { position: fixed; inset: 0; z-index: -3; overflow: hidden; background:
  radial-gradient(1200px 700px at 80% -10%, rgba(143,143,190,.14), transparent 60%),
  radial-gradient(1000px 600px at -10% 30%, rgba(139,167,201,.12), transparent 55%),
  radial-gradient(900px 700px at 50% 110%, rgba(176,164,184,.10), transparent 60%),
  var(--bg);
}


#particles { position: absolute; inset: 0; width: 100%; height: 100%; }

/* --- Vidéo de fond (style guns.lol) --- */
.bg-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .55;
  filter: brightness(.6) saturate(1.05);
}
.bg-scrim {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(6,7,13,.45), rgba(6,7,13,.82)),
    linear-gradient(180deg, rgba(6,7,13,.5), rgba(6,7,13,.32) 45%, rgba(6,7,13,.7));
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .5;
  will-change: transform;
  pointer-events: none;
}
.orb-1 { width: 480px; height: 480px; top: -120px; left: -100px; background: var(--c1); opacity: .16; animation: float1 16s ease-in-out infinite; }
.orb-2 { width: 560px; height: 560px; top: 34%; right: -180px; background: var(--c2); opacity: .15; animation: float2 20s ease-in-out infinite; }
.orb-3 { width: 420px; height: 420px; bottom: -140px; left: 32%; background: var(--c3); opacity: .11; animation: float1 18s ease-in-out infinite reverse; }
@keyframes float1 { 50% { transform: translateY(46px) translateX(22px) scale(1.06); } }
@keyframes float2 { 50% { transform: translateY(-42px) translateX(-28px) scale(1.04); } }

/* Curseur lumineux */
.cursor-glow {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 2;
  background: radial-gradient(600px 400px at var(--mx, 50%) var(--my, 40%), rgba(150,150,175, .10), transparent 60%);
  display: none;
}
@media (hover: hover) and (pointer: fine) { .cursor-glow { display: block; } }

/* --- Contrôle du son (vidéo de fond) --- */
.vol-ctrl {
  position: fixed; right: 20px; bottom: 20px;
  z-index: 300;
  display: flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 7px;
  background: rgba(10,13,24,.62);
  border: 1px solid var(--stroke);
  border-radius: 999px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  user-select: none;
  transition: border-color .25s, background .25s;
}
.vol-ctrl:hover { border-color: var(--stroke-2); background: rgba(10,13,24,.82); }
.vol-btn {
  display: grid; place-items: center;
  width: 38px; height: 38px; flex: none;
  border: none; cursor: pointer;
  border-radius: 50%;
  color: var(--text);
  background: rgba(255,255,255,.06);
  transition: background .2s, color .2s, transform .15s;
}
.vol-btn:hover { background: rgba(255,255,255,.12); color: var(--c1); }
.vol-btn:active { transform: scale(.92); }
.vol-ico { display: none; }
.vol-ctrl:not(.muted) .vol-on { display: block; }
.vol-ctrl.muted .vol-off { display: block; }
.vol-range {
  -webkit-appearance: none; appearance: none;
  width: 92px; height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--c1) var(--p,0%), rgba(255,255,255,.18) var(--p,0%));
  outline: none; cursor: pointer;
}
.vol-range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 12px; height: 12px; border-radius: 50%;
  background: #fff; border: none;
  box-shadow: 0 0 0 3px rgba(139,167,201,.45);
  transition: transform .15s;
}
.vol-range::-webkit-slider-thumb:hover { transform: scale(1.2); }
.vol-range::-moz-range-thumb {
  width: 12px; height: 12px; border-radius: 50%;
  background: #fff; border: none;
  box-shadow: 0 0 0 3px rgba(139,167,201,.45);
}

/* Barre de progression du scroll */
.scroll-progress {
  position: fixed; top: 0; left: 0;
  height: 3px; width: 100%;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: var(--grad);
  z-index: 200;
  box-shadow: 0 0 14px rgba(143,143,190,.7);
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: center;
  gap: 16px;
  padding: 0 clamp(16px, 4vw, 44px);
  transition: background .35s ease, box-shadow .35s ease, border-color .35s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(7, 9, 16, .72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-color: var(--stroke);
}
.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-link {
  position: relative;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px; font-weight: 500;
  transition: color .25s, background .25s;
}
.nav-link:hover, .nav-link.active { color: #fff; background: var(--panel-2); }
.nav-link .dot { margin-right: 6px; }

.crypto-link .dot { animation: blink 2.2s infinite; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-family: var(--font);
  font-weight: 700; font-size: 15px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .25s ease, filter .25s ease, background .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 8px 30px -8px rgba(143,143,190,.8), 0 0 0 1px rgba(255,255,255,.12) inset;
}
.btn-primary:hover { filter: brightness(1.12); box-shadow: 0 12px 40px -8px rgba(143,143,190,.95); }
.btn-secondary { background: var(--panel); border-color: var(--stroke-2); color: var(--text); backdrop-filter: blur(6px); }
.btn-secondary:hover { border-color: var(--c2); box-shadow: 0 0 24px -6px rgba(143,143,190,.6); }
.btn-glow { background: rgba(139,167,201,.12); border-color: rgba(139,167,201,.5); color: var(--c1); }
.btn-glow:hover { box-shadow: 0 0 26px -4px rgba(139,167,201,.7); }
.btn-small { padding: 8px 16px; font-size: 13px; }

/* ---------- Utilitaires ---------- */
.section {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(72px, 11vh, 130px) 20px;
}
.section-head { text-align: center; margin-bottom: clamp(34px, 6vh, 60px); }
.section-head.small { margin: clamp(40px, 7vh, 64px) 0 22px; }
.section-kicker {
  font-family: var(--mono);
  font-size: 12px; letter-spacing: .32em; text-transform: uppercase;
  color: var(--c1);
  margin-bottom: 10px;
  text-shadow: 0 0 18px rgba(139,167,201,.5);
}
.section-title { font-size: clamp(28px, 4.6vw, 46px); font-weight: 700; letter-spacing: -.01em; line-height: 1.15; }
.section-sub { color: var(--muted); margin-top: 12px; font-size: 15px; }
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Dots de statut */
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: currentColor; vertical-align: middle; }
.dot-live { background: var(--good); box-shadow: 0 0 8px var(--good); }
@keyframes blink { 50% { opacity: .35; } }

/* Chips (petits badges) */
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--panel-2);
  border: 1px solid var(--stroke);
  font-size: 12px; font-weight: 600;
  color: var(--muted);
  font-family: var(--mono);
}
.chip-demo { color: var(--warn); border-color: rgba(251,191,36,.4); background: rgba(251,191,36,.08); }
.chip-live { color: var(--good); border-color: rgba(52,211,153,.4); background: rgba(52,211,153,.08); }
.chip-off { color: var(--bad); border-color: rgba(251,113,133,.4); background: rgba(251,113,133,.08); }

/* ============================================================
   Animations au scroll (JS ajoute .in → visible)
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transition:
    opacity .9s cubic-bezier(.22, 1, .36, 1),
    transform .9s cubic-bezier(.22, 1, .36, 1),
    filter .9s cubic-bezier(.22, 1, .36, 1);
  will-change: transform, opacity;
}
[data-reveal="up"]   { transform: translateY(56px); }
[data-reveal="down"] { transform: translateY(-40px); }
[data-reveal="left"] { transform: translateX(-70px); }
[data-reveal="right"]{ transform: translateX(70px); }
[data-reveal="zoom"] { transform: scale(.86); filter: blur(8px); }
[data-reveal].in {
  opacity: 1;
  transform: none;
  filter: none;
}

/* Reveal en cascade pour les enfants [data-stagger] */
[data-stagger] > * {
  opacity: 0;
  transform: translateY(44px) scale(.98);
  transition:
    opacity .8s cubic-bezier(.22, 1, .36, 1),
    transform .8s cubic-bezier(.22, 1, .36, 1);
  transition-delay: calc(var(--i, 0) * 90ms);
}
[data-stagger].in > * { opacity: 1; transform: none; }

/* Titres découpés lettre à lettre */
[data-split] .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}
[data-split] .word > span {
  display: inline-block;
  transform: translateY(110%) rotate(3deg);
  transition: transform .8s cubic-bezier(.22, 1, .36, 1);
}
[data-split].in .word > span { transform: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding-top: calc(var(--nav-h) + 30px);
}
.hero-inner { display: flex; flex-direction: column; align-items: center; width: 100%; }

.avatar-wrap { position: relative; margin-bottom: 26px; }
.avatar-ring {
  position: relative;
  width: clamp(118px, 16vw, 158px);
  aspect-ratio: 1;
  border-radius: 50%;
  padding: 5px;
  background: conic-gradient(from var(--ang, 0deg), var(--c1), var(--c2), var(--c3), var(--c1));
  animation: hueSpin 9s linear infinite;
  box-shadow: 0 0 60px -12px rgba(143,143,190, .8);
}
@property --ang { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes hueSpin {
  to { --ang: 360deg; filter: hue-rotate(360deg); }
}
.avatar-ring img,
.avatar-ring .avatar-fallback {
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  background: var(--bg-2);
}
.avatar-fallback {
  display: grid !important;
  place-items: center;
  font-size: 3.4rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(140deg, #1c2442, #0c1226 70%, #221a3d) !important;
  text-shadow: 0 0 24px rgba(143,143,190, .7);
}
.avatar-status {
  position: absolute; bottom: 6px; right: 8px;
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 4px solid var(--bg);
  background: var(--muted-2);
}
.avatar-status.online { background: var(--good); box-shadow: 0 0 12px var(--good); }
.avatar-status.in-game { background: var(--c2); box-shadow: 0 0 12px var(--c2); }
.avatar-status.afk { background: var(--warn); box-shadow: 0 0 12px var(--warn); }
.avatar-status.offline { background: var(--muted-2); }

.hero-hello {
  font-family: var(--mono);
  font-size: 12.5px; letter-spacing: .22em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.hero-title { font-size: clamp(52px, 12vw, 118px); font-weight: 800; line-height: .98; letter-spacing: -.02em; margin-bottom: 10px; }

/* Texte glitch */
.glitch { position: relative; display: inline-block; }
.glitch::before, .glitch::after {
  content: attr(data-text);
  position: absolute; inset: 0;
  opacity: .85;
  pointer-events: none;
}
.glitch::before {
  color: var(--c1);
  transform: translate(-2px, -1px);
  clip-path: inset(0 0 55% 0);
  animation: glitch-a 3.4s infinite steps(2, end);
}
.glitch::after {
  color: var(--c3);
  transform: translate(2px, 1px);
  clip-path: inset(55% 0 0 0);
  animation: glitch-b 2.9s infinite steps(2, end);
}
@keyframes glitch-a {
  0%, 92%, 100% { transform: translate(0, 0); opacity: 0; }
  93% { transform: translate(-3px, -2px); opacity: .8; }
  95% { transform: translate(3px, 1px); opacity: .6; }
  97% { transform: translate(-2px, 2px); opacity: .85; }
}
@keyframes glitch-b {
  0%, 88%, 100% { transform: translate(0, 0); opacity: 0; }
  89% { transform: translate(3px, 2px); opacity: .7; }
  91% { transform: translate(-3px, -1px); opacity: .9; }
  94% { transform: translate(2px, -2px); opacity: .5; }
}

.hero-roles {
  font-family: var(--mono);
  font-size: clamp(15px, 2.4vw, 19px);
  color: var(--c1);
  min-height: 30px;
  text-shadow: 0 0 20px rgba(139,167,201, .55);
  margin-bottom: 20px;
}
.roles-cursor { display: inline-block; width: 9px; margin-left: 3px; background: var(--c1); animation: caret .8s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }

.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 28px; }
.hero-badges .hbadge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 15px;
  border-radius: 999px;
  background: var(--panel);
  border: 1px solid var(--stroke);
  font-size: 13.5px; font-weight: 600;
  backdrop-filter: blur(6px);
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.hero-badges .hbadge:hover {
  transform: translateY(-3px);
  border-color: var(--c2);
  box-shadow: 0 8px 24px -10px rgba(143,143,190, .8);
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* Indicateur scroll */
.scroll-hint {
  position: absolute; bottom: 26px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase;
  opacity: .8;
}
.scroll-hint i {
  width: 22px; height: 36px;
  border: 2px solid var(--muted-2);
  border-radius: 14px;
  position: relative;
}
.scroll-hint i::after {
  content: ""; position: absolute; top: 6px; left: 50%;
  width: 4px; height: 7px; margin-left: -2px;
  border-radius: 4px;
  background: var(--c2);
  animation: wheel 1.8s ease-in-out infinite;
}
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* ============================================================
   Liens (cartes boutons)
   ============================================================ */
.links-card {
  max-width: 660px;
  margin: 0 auto;
  border-radius: var(--r-lg);
  background: var(--panel);
  border: 1px solid var(--stroke);
  padding: 18px;
  backdrop-filter: blur(12px);
}
.links-list { display: flex; flex-direction: column; gap: 10px; }
.link-row {
  display: flex; align-items: center; gap: 15px;
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--r-md);
  background: var(--panel-2);
  border: 1px solid var(--stroke);
  color: var(--text);
  font-size: 15px; font-weight: 600;
  cursor: pointer;
  transition: transform .2s, background .3s, border-color .3s, box-shadow .3s;
  position: relative; overflow: hidden;
}
.link-row:hover { transform: translateX(6px); }
.link-row:active { transform: scale(.99); }
.link-row .l-ico {
  width: 44px; height: 44px; flex: none;
  border-radius: 13px;
  display: grid; place-items: center;
  font-size: 21px;
  background: var(--lgrad, linear-gradient(135deg, var(--c1), var(--c2)));
  color: #fff;
  box-shadow: 0 6px 18px -6px color-mix(in srgb, var(--lgradc, var(--c2)) 80%, transparent);
}
.link-row .l-body { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.link-row .l-body b { font-size: 15px; }
.link-row .l-body small { color: var(--muted); font-family: var(--mono); font-size: 11.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.link-row .l-arrow { color: var(--muted); font-size: 18px; transition: transform .25s, color .25s; }
.link-row:hover .l-arrow { transform: translateX(4px); color: var(--text); }

/* ============================================================
   Skills (langages)
   ============================================================ */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
  gap: 14px;
  max-width: 720px;
  margin: 0 auto;
}
.skill {
  display: flex; align-items: center; gap: 13px;
  padding: 15px 17px;
  border-radius: var(--r-md);
  background: var(--panel);
  border: 1px solid var(--stroke);
  backdrop-filter: blur(8px);
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.skill:hover {
  transform: translateY(-4px);
  border-color: var(--sc);
  box-shadow: 0 10px 28px -12px color-mix(in srgb, var(--sc) 80%, transparent);
}
.skill-ico {
  width: 52px; height: 52px; flex: none;
  border-radius: 14px;
  display: grid; place-items: center;
  background: rgba(12,14,22,.55);
  border: 1px solid rgba(255,255,255,.07);
}
.skill-ico svg { width: 30px; height: 30px; fill: var(--sc); display: block; }
.skill-fallback { font-size: 22px; font-weight: 800; color: var(--sc); }
.skill-body { display: flex; flex-direction: column; min-width: 0; }
.skill-body b { font-size: 16px; }
.skill-body small { color: var(--muted); font-family: var(--mono); font-size: 11px; }

/* Toast copié */
.toast {
  position: fixed; bottom: 26px; left: 50%;
  transform: translate(-50%, 30px);
  z-index: 300;
  background: rgba(12, 15, 26, .94);
  border: 1px solid rgba(52, 211, 153, .45);
  color: var(--good);
  font-family: var(--mono);
  font-size: 13px;
  padding: 11px 20px;
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s, transform .3s;
  box-shadow: 0 12px 34px -10px rgba(0,0,0,.7);
  backdrop-filter: blur(8px);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ============================================================
   Crypto
   ============================================================ */
.total-card {
  position: relative;
  text-align: center;
  border-radius: 28px;
  padding: clamp(26px, 5vw, 46px) 22px;
  margin-bottom: 26px;
  background:
    radial-gradient(500px 200px at 50% -40%, rgba(143,143,190,.28), transparent 70%),
    radial-gradient(400px 160px at 90% 120%, rgba(139,167,201,.16), transparent 70%),
    linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
  border: 1px solid var(--stroke-2);
  overflow: hidden;
  backdrop-filter: blur(12px);
}
.total-card::after {
  content: "";
  position: absolute; inset: -1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.14), transparent);
  transform: translateX(-100%);
  animation: shimmer 4.6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes shimmer { 55%, 100% { transform: translateX(100%); } }
.total-top { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.total-label { color: var(--muted); font-size: 14px; letter-spacing: .06em; text-transform: uppercase; font-family: var(--mono); }
.total-24h { font-size: 12.5px; font-family: var(--mono); padding: 3px 10px; border-radius: 999px; }
.total-24h.up { color: var(--good); background: rgba(52,211,153,.1); }
.total-24h.down { color: var(--bad); background: rgba(251,113,133,.1); }

.total-value {
  font-size: clamp(42px, 9vw, 84px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.02em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 6px 30px rgba(143,143,190,.35));
  margin: 12px 0 14px;
  font-variant-numeric: tabular-nums;
}
.total-foot {
  display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap;
  font-family: var(--mono); font-size: 12px; color: var(--muted);
}

/* --- Blocs wallet --- */
.wallets { display: grid; grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); gap: 18px; }
.wallet {
  position: relative;
  border-radius: var(--r-lg);
  padding: 20px;
  background: linear-gradient(165deg, var(--panel-2), rgba(255,255,255,.02));
  border: 1px solid var(--stroke);
  overflow: hidden;
  backdrop-filter: blur(10px);
  transition: border-color .3s, transform .25s;
}
.wallet:hover { transform: translateY(-3px); }
.wallet::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--wgrad, var(--grad));
}
.wallet-top { display: flex; align-items: center; gap: 13px; margin-bottom: 14px; }
.wallet-ico {
  width: 46px; height: 46px; flex: none;
  border-radius: 14px;
  display: grid; place-items: center;
  font-size: 24px; font-weight: 800; color: #fff;
  background: var(--wgrad, var(--grad));
  box-shadow: 0 8px 22px -8px color-mix(in srgb, var(--wc, var(--c2)) 85%, transparent);
}
/* Tuile sombre pour les logos officiels des coins (ex: Solana) */
.wallet-ico--img {
  background: rgba(12,14,22,.55);
  border: 1px solid rgba(255,255,255,.07);
}
.wallet-ico--img:hover { border-color: color-mix(in srgb, var(--wc, var(--c2)) 60%, transparent); }
.wallet-ico-img {
  width: 28px; height: 28px;
  object-fit: contain;
  display: block;
}
.wallet-ico--img svg {
  width: 30px; height: 30px;
  display: block;
}
.wallet-name { flex: 1; min-width: 0; }
.wallet-name b { font-size: 17px; }
.wallet-name span { display: block; font-family: var(--mono); font-size: 11px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; max-width: 240px; white-space: nowrap; }
.wallet-side { margin-left: auto; text-align: right; }

.wallet-bal { font-size: 26px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.wallet-val { font-size: 13.5px; color: var(--muted); font-family: var(--mono); font-variant-numeric: tabular-nums; }
.wallet-foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 14px; padding-top: 13px;
  border-top: 1px dashed var(--stroke);
  font-family: var(--mono); font-size: 12px; color: var(--muted);
}
.change.up { color: var(--good); }
.change.down { color: var(--bad); }

/* Sparkbars mini (fausse activité graphique) */
.spark { display: inline-flex; align-items: flex-end; gap: 2.5px; height: 16px; }
.spark i {
  width: 3px; border-radius: 2px;
  background: var(--grad);
  opacity: .75;
  animation: spark 1.6s ease-in-out infinite;
}
.spark i:nth-child(2n) { animation-delay: .3s; }
.spark i:nth-child(3n) { animation-delay: .6s; }
@keyframes spark { 50% { transform: scaleY(.45); opacity: .35; } }

.crypto-note {
  margin-top: 30px;
  text-align: center;
  font-size: 13px;
  color: var(--muted-2);
  font-family: var(--mono);
}
.crypto-note .grad-text { font-weight: 700; }

/* ============================================================
   Footer
   ============================================================ */
.footer {
  border-top: 1px solid var(--stroke);
  padding: 40px 20px 60px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  background: linear-gradient(180deg, transparent, rgba(143,143,190,.05));
}
.footer .heart { display: inline-block; animation: beat 1.4s ease-in-out infinite; }
@keyframes beat { 30% { transform: scale(1.25); } }
.footer-meta { margin-top: 6px; font-family: var(--mono); font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted-2); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 760px) {
  .nav-links { display: none; }
  .vol-ctrl { right: 14px; bottom: 14px; }
  .vol-range { width: 64px; }
  .total-card { border-radius: 20px; }
}
@media (max-width: 430px) {
  .nav-cta { display: none; }
  .section { padding-left: 14px; padding-right: 14px; }
}

/* Accessibilité : réduire les animations */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
  [data-reveal], [data-stagger] > * { opacity: 1 !important; transform: none !important; filter: none !important; }
  [data-split] .word > span { transform: none !important; }
}

/* ============================================================
   Écran d'entrée (click to enter, style guns.lol)
   ============================================================ */
.enter-gate {
  position: fixed;
  inset: 0;
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: rgba(6, 7, 13, .42);
  -webkit-backdrop-filter: blur(26px) saturate(.85);
  backdrop-filter: blur(26px) saturate(.85);
  transition: opacity .55s ease, transform .55s ease;
}
.enter-gate.is-open {
  opacity: 0;
  transform: scale(1.05);
  pointer-events: none;
}

.enter-btn {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-family: var(--mono);
  font-size: clamp(26px, 5vw, 44px);
  font-weight: 700;
  letter-spacing: .04em;
  color: #b6ffd0;
  display: inline-flex;
  align-items: baseline;
  gap: .18em;
  transition: color .3s, text-shadow .3s, transform .3s;
}
.enter-btn .enter-brk { color: rgba(182, 255, 208, .5); }
.enter-btn:hover { color: #e2ffe9; transform: scale(1.04); }
.enter-btn:hover .enter-brk { color: rgba(182, 255, 208, .85); }
.enter-btn:hover,
.enter-btn:focus-visible { text-shadow: 0 0 30px rgba(182, 255, 208, .3); outline: none; }
.enter-label { animation: enterPulse 2.4s ease-in-out infinite; }
@keyframes enterPulse {
  0%, 100% { opacity: .5; }
  50% { opacity: 1; }
}

/* ---------- Logos SVG (à la place des emojis) ---------- */
.link-row .l-ico svg { width: 20px; height: 20px; fill: currentColor; display: block; }
.hero-badges .hbadge svg { width: 13px; height: 13px; }
.section-title .sec-ico { display: inline-flex; vertical-align: -.06em; margin-right: .4em; }
.section-title .sec-ico svg { width: .8em; height: .8em; }
.footer .heart { color: #7cc4a4; }
.footer .heart svg { width: 15px; height: 15px; vertical-align: -.18em; }

/* ---------- Skills par catégorie ---------- */
.skills-groups { display: grid; gap: 28px; }
.skills-cat { font: 600 12px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 12px; display: flex; align-items: center; gap: 10px; }
.skills-cat::after { content: ""; flex: 1; height: 1px; background: var(--stroke); }

/* ---------- Tools (downloads) ---------- */
.tools-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.tool-card { display: flex; flex-direction: column; justify-content: space-between; gap: 16px;
  padding: 18px; border: 1px solid var(--stroke); border-radius: var(--r-md); background: var(--panel);
  text-decoration: none; color: var(--text); transition: transform .25s, border-color .25s, background .25s; }
.tool-card:hover { transform: translateY(-3px); border-color: var(--stroke-2); background: var(--panel-2); }
.tool-head { display: flex; gap: 14px; align-items: flex-start; }
.tool-ico { display: inline-flex; padding: 10px; border-radius: var(--r-sm);
  background: var(--panel-2); color: var(--c1); flex: none; }
.tool-ico svg { width: 20px; height: 20px; }
.tool-body small { color: var(--muted); display: block; margin-top: 3px; line-height: 1.45; }
.tool-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.tool-meta { font-family: var(--mono); font-size: 11px; color: var(--muted-2); letter-spacing: .05em; }
.tool-dl { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 12px;
  color: var(--c1); border: 1px solid rgba(139,167,201,.4); padding: 7px 12px; border-radius: 999px;
  transition: background .2s, border-color .2s; white-space: nowrap; }
.tool-dl svg { width: 13px; height: 13px; }
.tool-card:hover .tool-dl { background: rgba(139,167,201,.12); border-color: rgba(139,167,201,.65); }
.tool-empty { grid-column: 1/-1; padding: 26px; text-align: center; color: var(--muted);
  border: 1px dashed var(--stroke); border-radius: var(--r-md); font-family: var(--mono); font-size: 13px; }
.tool-empty svg { width: 15px; height: 15px; vertical-align: -2px; margin-right: 8px; }
