/* ==========================================================================
   VALKYR2 -- feuille de style
   Or du jeu (interface Metin2) + glace du logo, sur une nuit nordique.
   ========================================================================== */
:root {
  --nuit: #07090d;
  --nuit2: #0c1018;
  --panneau: #121822;
  --panneau2: #19202c;
  --or: #e3c178;
  --or-clair: #f3dca2;
  --or-fonce: #9a7230;
  --glace: #9fd3ff;
  --glace-fonce: #3d7fb3;
  --encre: #ece4d2;
  --doux: #a9a191;
  --muet: #6f6a60;
  --rouge: #b3261e;
  --trait: rgba(227, 193, 120, .28);
  --ombre: 0 24px 60px rgba(0, 0, 0, .65);
  --titre: 'Cinzel', serif;
  --deco: 'Cinzel Decorative', 'Cinzel', serif;
  --texte: 'Lato', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { background: var(--nuit); color: var(--encre); font-family: var(--texte); font-size: 17px; line-height: 1.65; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
b { color: var(--or-clair); font-weight: 700; }
button { font: inherit; cursor: pointer; }
::selection { background: rgba(227, 193, 120, .35); }

/* ---------------------------------------------------------------- boutons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 11px 24px; font-family: var(--titre); font-weight: 700;
  font-size: 14px; letter-spacing: 2px; text-transform: uppercase; border: 1px solid transparent; transition: .25s; position: relative; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn.lien-discord svg { fill: currentColor; stroke: none; }
.btn-or { color: #1a1208; background: linear-gradient(180deg, #f6dd9c, #d8ad5a 55%, #b88634); border-color: #f3dca2;
  box-shadow: 0 0 0 1px #5a3f14 inset, 0 8px 24px rgba(227, 193, 120, .25); }
.btn-or:hover { filter: brightness(1.12); box-shadow: 0 0 0 1px #5a3f14 inset, 0 10px 34px rgba(227, 193, 120, .45); transform: translateY(-1px); }
.btn-glace { color: var(--glace); border-color: rgba(159, 211, 255, .55); background: rgba(61, 127, 179, .12); }
.btn-glace:hover { background: rgba(61, 127, 179, .28); box-shadow: 0 0 30px rgba(159, 211, 255, .25); }
.btn-fantome { color: var(--or); border-color: var(--trait); background: rgba(227, 193, 120, .05); }
.btn-fantome:hover { border-color: var(--or); background: rgba(227, 193, 120, .12); }
.btn-grand { padding: 16px 34px; font-size: 15px; }
.btn.inactif { opacity: .55; cursor: default; }
.btn.inactif:after { content: 'Bientôt'; position: absolute; top: -10px; right: -8px; font-size: 10px; letter-spacing: 1px; padding: 1px 7px;
  background: var(--rouge); color: #fff; font-family: var(--texte); text-transform: none; }

/* ---------------------------------------------------------------- nav */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; height: 72px; display: flex; align-items: center; gap: 28px; padding: 0 32px;
  transition: background .3s, box-shadow .3s; }
.nav.colle { background: rgba(7, 9, 13, .9); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--trait), 0 10px 30px rgba(0, 0, 0, .5); }
.nav-marque { display: flex; align-items: center; gap: 10px; font-family: var(--titre); font-weight: 900; letter-spacing: 4px; font-size: 20px; color: var(--encre); }
.nav-marque img { width: 42px; filter: drop-shadow(0 0 10px rgba(159, 211, 255, .35)); }
.nav-marque b { color: var(--glace); }
.nav-liens { display: flex; gap: 22px; margin-left: auto; }
.nav-liens a { font-family: var(--titre); font-size: 13px; letter-spacing: 1.5px; color: var(--doux); position: relative; padding: 6px 0; transition: color .2s; }
.nav-liens a:after { content: ''; position: absolute; left: 50%; right: 50%; bottom: 0; height: 1px; background: var(--or); transition: .25s; }
.nav-liens a:hover, .nav-liens a.actif { color: var(--or-clair); }
.nav-liens a:hover:after, .nav-liens a.actif:after { left: 0; right: 0; }
.nav-actions { display: flex; gap: 12px; align-items: center; }
.nav-burger { display: none; background: none; border: 0; width: 40px; height: 40px; flex-direction: column; justify-content: center; gap: 6px; }
.nav-burger span { display: block; height: 2px; background: var(--or); transition: .3s; }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; min-height: 100vh; min-height: clamp(640px, 100svh, 1100px); display: flex; align-items: center; justify-content: center; overflow: hidden; isolation: isolate; }
.ciel { position: absolute; inset: 0; z-index: -6;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, #1b2a44 0%, #0d1524 45%, #07090d 85%),
              radial-gradient(ellipse 40% 30% at 80% 20%, rgba(159, 211, 255, .12), transparent 70%); }
.ciel:after { content: ''; position: absolute; inset: 0; opacity: .55;
  background-image: radial-gradient(1px 1px at 12% 18%, #fff, transparent), radial-gradient(1px 1px at 28% 8%, #cfe7ff, transparent),
    radial-gradient(1.5px 1.5px at 47% 22%, #fff, transparent), radial-gradient(1px 1px at 63% 12%, #fff, transparent),
    radial-gradient(1px 1px at 76% 28%, #dff, transparent), radial-gradient(1.5px 1.5px at 88% 9%, #fff, transparent),
    radial-gradient(1px 1px at 6% 34%, #fff, transparent), radial-gradient(1px 1px at 38% 31%, #fff, transparent),
    radial-gradient(1px 1px at 93% 38%, #fff, transparent), radial-gradient(1px 1px at 55% 4%, #fff, transparent);
  animation: scintille 6s ease-in-out infinite alternate; }
@keyframes scintille { to { opacity: .25; } }
.aurore { position: absolute; inset: -10% -10% 30% -10%; z-index: -5; filter: blur(40px); opacity: .55; mix-blend-mode: screen; }
.aurore i { position: absolute; border-radius: 50%; animation: aurore 18s ease-in-out infinite alternate; }
.aurore i:nth-child(1) { left: 5%; top: 10%; width: 60%; height: 30%; background: radial-gradient(closest-side, rgba(80, 220, 190, .55), transparent); }
.aurore i:nth-child(2) { left: 35%; top: 0; width: 55%; height: 28%; background: radial-gradient(closest-side, rgba(110, 160, 255, .5), transparent); animation-delay: -6s; }
.aurore i:nth-child(3) { left: 60%; top: 18%; width: 40%; height: 22%; background: radial-gradient(closest-side, rgba(180, 120, 255, .35), transparent); animation-delay: -11s; }
@keyframes aurore { 0% { transform: translateX(-6%) skewX(-10deg) scaleY(.8); } 100% { transform: translateX(8%) skewX(12deg) scaleY(1.2); } }
.montagnes { position: absolute; left: 0; width: 100%; bottom: 0; z-index: -4; }
.montagnes.m3 { height: 52%; fill: #121b2b; opacity: .9; }
.montagnes.m2 { height: 40%; fill: #0c121d; }
.montagnes.m1 { height: 26%; fill: #07090d; }
.brume { position: absolute; left: 0; right: 0; bottom: 0; height: 45%; z-index: -3;
  background: linear-gradient(0deg, var(--nuit) 5%, rgba(7, 9, 13, .6) 40%, transparent); }
#neige { position: absolute; inset: 0; z-index: -2; pointer-events: none; }

.hero-contenu { text-align: center; padding: 110px 20px 80px; max-width: 980px; }
.hero-logo { width: min(520px, 82vw); margin: 0 auto; filter: drop-shadow(0 0 40px rgba(159, 211, 255, .25)) drop-shadow(0 20px 40px rgba(0, 0, 0, .8));
  animation: flotte 7s ease-in-out infinite; }
@keyframes flotte { 50% { transform: translateY(-10px); } }
.hero-accroche { font-family: var(--titre); font-size: clamp(18px, 2.4vw, 26px); color: var(--encre); margin: 8px auto 0; letter-spacing: 1px; max-width: 760px; }
.etat { display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px; border: 1px solid var(--trait); background: rgba(7, 9, 13, .55);
  font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--doux); margin-bottom: 12px; }
.etat .point { width: 9px; height: 9px; border-radius: 50%; background: #f0b43c; box-shadow: 0 0 10px #f0b43c; animation: pouls 1.6s infinite; }
.etat.ouvert .point { background: #4cd07d; box-shadow: 0 0 10px #4cd07d; }
.etat.maintenance .point { background: var(--rouge); box-shadow: 0 0 10px var(--rouge); }
@keyframes pouls { 50% { opacity: .35; } }

.compte { margin: 34px auto 0; }
.compte-titre { font-family: var(--titre); letter-spacing: 4px; text-transform: uppercase; font-size: 13px; color: var(--glace); margin-bottom: 12px; }
.compte-cases { display: flex; justify-content: center; gap: 14px; }
.compte-cases div { min-width: 92px; padding: 12px 8px 8px; background: linear-gradient(180deg, rgba(25, 32, 44, .85), rgba(10, 13, 19, .85));
  border: 1px solid var(--trait); box-shadow: 0 0 0 1px rgba(0, 0, 0, .6) inset, var(--ombre); position: relative; }
.compte-cases div:before { content: ''; position: absolute; inset: 3px; border: 1px solid rgba(159, 211, 255, .1); pointer-events: none; }
.compte-cases b { display: block; font-family: var(--titre); font-weight: 900; font-size: 40px; line-height: 1; color: var(--or-clair);
  text-shadow: 0 0 18px rgba(227, 193, 120, .35); font-variant-numeric: tabular-nums; }
.compte-cases span { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--muet); }
.hero-boutons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 38px; }
.defiler { display: none; position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid var(--trait); border-radius: 14px; }
.defiler span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; background: var(--or); border-radius: 2px; animation: molette 1.8s infinite; }
@keyframes molette { 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* ---------------------------------------------------------------- chiffres */
.chiffres { display: grid; grid-template-columns: repeat(6, 1fr); max-width: 1240px; margin: -40px auto 0; position: relative; z-index: 2;
  background: linear-gradient(180deg, var(--panneau2), var(--panneau)); border: 1px solid var(--trait); box-shadow: var(--ombre); }
.chiffre { text-align: center; padding: 26px 10px; position: relative; }
.chiffre + .chiffre:before { content: ''; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: var(--trait); }
.chiffre b { display: block; font-family: var(--titre); font-weight: 900; font-size: 40px; line-height: 1.1; color: var(--or); }
.chiffre span { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--doux); }

/* ---------------------------------------------------------------- blocs */
.bloc { padding: 120px 32px; position: relative; }
.bloc > * { max-width: 1240px; margin-left: auto; margin-right: auto; }
.bloc-sombre { background: linear-gradient(180deg, var(--nuit) 0%, var(--nuit2) 12%, var(--nuit2) 88%, var(--nuit) 100%); }
.titre-bloc { text-align: center; margin-bottom: 60px; max-width: 820px; }
.surtitre { display: inline-flex; align-items: center; gap: 14px; font-family: var(--titre); font-size: 13px; letter-spacing: 5px; text-transform: uppercase; color: var(--glace); }
.surtitre:before, .surtitre:after { content: ''; width: 40px; height: 1px; background: linear-gradient(90deg, transparent, var(--glace)); }
.surtitre:after { transform: scaleX(-1); }
h2 { font-family: var(--titre); font-weight: 900; font-size: clamp(32px, 4.4vw, 54px); line-height: 1.12; margin: 12px 0 16px;
  background: linear-gradient(180deg, #fff3d0, var(--or) 55%, #b5893b); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, .6)); }
h3 { font-family: var(--titre); font-weight: 700; font-size: 21px; color: var(--or-clair); letter-spacing: .5px; }
.titre-bloc p { color: var(--doux); font-size: 18px; }
.note { text-align: center; color: var(--doux); margin-top: 34px; font-size: 15px; }

/* cadre facon interface du jeu : coins dores */
.cadre-jeu { position: relative; background: linear-gradient(170deg, rgba(36, 30, 22, .92), rgba(14, 12, 10, .95)); border: 1px solid var(--trait);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .7) inset, var(--ombre); }
.cadre-jeu:before, .cadre-jeu:after { content: ''; position: absolute; width: 18px; height: 18px; border: 2px solid var(--or); pointer-events: none; }
.cadre-jeu:before { top: -2px; left: -2px; border-right: 0; border-bottom: 0; }
.cadre-jeu:after { bottom: -2px; right: -2px; border-left: 0; border-top: 0; }

/* ---------------------------------------------------------------- cartes serveur */
.cartes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.carte { padding: 32px 30px 30px; transition: transform .3s, box-shadow .3s; }
.carte:hover { transform: translateY(-6px); box-shadow: 0 0 0 1px rgba(0, 0, 0, .7) inset, 0 30px 70px rgba(0, 0, 0, .75), 0 0 40px rgba(227, 193, 120, .1); }
.ico-jeu { width: 64px; height: 64px; display: grid; place-items: center; margin-bottom: 18px; position: relative;
  background: radial-gradient(circle, rgba(227, 193, 120, .22), rgba(0, 0, 0, .0) 70%); }
.ico-jeu img { width: 48px; height: 48px; image-rendering: auto; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .8)); }
.carte p { color: var(--doux); margin-top: 10px; font-size: 16px; }

/* ---------------------------------------------------------------- classes */
.classes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.classe { padding: 30px 24px 28px; text-align: center; overflow: hidden; }
.classe-portraits { display: flex; justify-content: center; gap: 6px; margin-bottom: 16px; }
.classe-portraits img { width: 76px; filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .8)); transition: transform .35s; }
.classe:hover .classe-portraits img:first-child { transform: translateX(-6px) rotate(-3deg); }
.classe:hover .classe-portraits img:last-child { transform: translateX(6px) rotate(3deg); }
.voies { display: flex; justify-content: center; gap: 8px; margin: 12px 0 14px; flex-wrap: wrap; }
.voies span { font-size: 12px; letter-spacing: 1px; padding: 3px 10px; border: 1px solid rgba(159, 211, 255, .35); color: var(--glace); background: rgba(61, 127, 179, .1); }
.classe p { color: var(--doux); font-size: 15px; }

/* ---------------------------------------------------------------- Defi */
.defi { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: center; padding: 34px 40px; margin-bottom: 46px; }
.defi-texte p { color: var(--doux); margin-top: 8px; }
.defi-piste { display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px; }
.palier { text-align: center; padding: 12px 0 10px; border: 1px solid var(--trait); background: rgba(0, 0, 0, .35); font-family: var(--titre); font-weight: 700;
  position: relative; overflow: hidden; }
.palier b { display: block; font-size: 18px; }
.palier span { display: block; font-size: 10px; color: var(--doux); letter-spacing: 1px; font-family: var(--texte); }
.palier .barre { position: absolute; left: 0; right: 0; bottom: 0; background: linear-gradient(0deg, rgba(179, 38, 30, .55), transparent); }
.palier.classique b { color: var(--glace); }

/* ---------------------------------------------------------------- donjons */
.filtres { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 30px; }
.filtres button { display: inline-flex; align-items: center; gap: 8px; background: rgba(0, 0, 0, .35); border: 1px solid var(--trait); color: var(--doux);
  padding: 6px 14px 6px 8px; font-family: var(--titre); font-size: 13px; letter-spacing: 1px; transition: .2s; }
.filtres button img { width: 26px; height: 26px; }
.filtres button:hover, .filtres button.actif { color: var(--or-clair); border-color: var(--or); background: rgba(227, 193, 120, .1); }
.donjons { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.donjon { display: block; overflow: hidden; transition: transform .3s, box-shadow .3s, opacity .3s; }
.donjon.cache { display: none; }
.donjon:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(0, 0, 0, .7) inset, 0 26px 60px rgba(0, 0, 0, .8), 0 0 36px rgba(159, 211, 255, .12); }
.donjon-ban { position: relative; aspect-ratio: 475 / 81; background-size: cover; background-position: center; border-bottom: 1px solid var(--trait); }
.donjon-ban:after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 60%, rgba(0, 0, 0, .2)); }
.donjon-corps { display: flex; align-items: center; gap: 14px; padding: 14px 18px; }
.donjon-coffre { width: 44px; height: 44px; flex: none; display: grid; place-items: center; background: radial-gradient(circle, rgba(227, 193, 120, .18), transparent 70%); }
.donjon-coffre img { width: 32px; height: 32px; }
.puces { display: flex; flex-wrap: wrap; gap: 8px; flex: 1; }
.puce { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; padding: 3px 10px; background: rgba(0, 0, 0, .4); border: 1px solid rgba(255, 255, 255, .08); color: var(--doux); }
.puce img { width: 20px; height: 20px; }
.puce.niv { color: var(--or-clair); border-color: var(--trait); }
.puce.diff-Facile { color: #8fd07a; } .puce.diff-Moyenne { color: #e6c35c; } .puce.diff-Difficile { color: #ff9c6e; } .puce.diff-Très { color: #ff6a5c; }

/* ---------------------------------------------------------------- zodiaque */
.bloc-zodiaque { overflow: hidden;
  background: radial-gradient(ellipse 60% 70% at 25% 50%, rgba(227, 193, 120, .09), transparent 70%), linear-gradient(180deg, var(--nuit), #0e0b08 50%, var(--nuit)); }
.zodiaque { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.roue { position: relative; width: min(520px, 86vw); aspect-ratio: 1; margin: 0 auto; border-radius: 50%;
  border: 2px solid rgba(227, 193, 120, .55); box-shadow: 0 0 80px rgba(227, 193, 120, .12) inset, 0 0 60px rgba(227, 193, 120, .08);
  background: radial-gradient(circle, rgba(227, 193, 120, .06), transparent 65%); animation: tourne 120s linear infinite; }
.roue:before { content: ''; position: absolute; inset: 14%; border-radius: 50%; border: 1px dashed rgba(227, 193, 120, .3); }
.roue:after { content: ''; position: absolute; inset: 27%; border-radius: 50%; border: 1px solid rgba(159, 211, 255, .25); }
@keyframes tourne { to { transform: rotate(360deg); } }
.signe { position: absolute; width: 60px; height: 60px; margin: -30px 0 0 -30px; display: grid; place-items: center;
  font-family: 'Noto Serif SC', 'SimSun', serif; font-size: 34px; color: var(--or); text-shadow: 0 0 14px rgba(227, 193, 120, .5); }
.signe i { font-style: normal; display: block; animation: tourne 120s linear infinite reverse; }
.roue-centre { position: absolute; inset: 33%; border-radius: 50%; display: grid; place-content: center; text-align: center;
  background: radial-gradient(circle, #1d160c, #0b0906); border: 1px solid var(--trait); animation: tourne 120s linear infinite reverse; }
.roue-centre b { font-family: var(--titre); font-size: 56px; line-height: 1; color: var(--or); }
.roue-centre span { font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: var(--doux); }
.zodiaque-texte p { color: var(--doux); }
.liste-or { list-style: none; margin: 22px 0; }
.liste-or li { padding-left: 28px; position: relative; margin-bottom: 10px; color: var(--doux); }
.liste-or li:before { content: '\25C6'; position: absolute; left: 0; color: var(--or); font-size: 14px; top: 2px; }
.icones-ligne { display: flex; gap: 14px; }
.icones-ligne img { width: 56px; height: 56px; padding: 8px; border: 1px solid var(--trait); background: radial-gradient(circle, rgba(227, 193, 120, .16), rgba(0, 0, 0, .6) 70%); }

/* ---------------------------------------------------------------- passe */
.passe { padding: 40px; }
.passe-piste { position: relative; padding-top: 70px; }
.piste-ligne { display: grid; grid-template-columns: 90px repeat(30, 1fr); gap: 4px; align-items: center; margin-bottom: 6px; }
.piste-ligne > span { font-family: var(--titre); font-size: 12px; letter-spacing: 1px; color: var(--doux); }
.cran { height: 22px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .06); position: relative; transition: background .3s, border-color .3s; }
.gratuit .cran.plein { background: linear-gradient(180deg, #f2d48c, #a77a30); border-color: #f3dca2; }
.premium .cran.plein { background: linear-gradient(180deg, #c7a6ff, #6e45b8); border-color: #dccbff; }
.cran-ico { position: absolute; bottom: calc(100% + 10px); left: 50%; transform: translateX(-50%); width: 46px; height: 46px; padding: 5px;
  border: 1px solid var(--trait); background: radial-gradient(circle, rgba(227, 193, 120, .18), rgba(0, 0, 0, .7) 70%); }
.cran-ico img { width: 34px; height: 34px; }
.piste-nums { display: grid; grid-template-columns: 90px repeat(30, 1fr); gap: 4px; font-size: 11px; color: var(--muet); font-family: var(--titre); text-align: center; }
.passe-legende { display: flex; flex-wrap: wrap; gap: 26px; justify-content: center; margin-top: 46px; color: var(--doux); font-size: 14px; }
.passe-legende span { display: inline-flex; align-items: center; gap: 8px; }
.passe-legende img { width: 30px; }
.pt { width: 14px; height: 14px; display: inline-block; }
.pt.gratuit { background: linear-gradient(180deg, #f2d48c, #a77a30); }
.pt.premium { background: linear-gradient(180deg, #c7a6ff, #6e45b8); }

/* ---------------------------------------------------------------- systemes */
.onglets { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 28px; }
.onglets button { display: inline-flex; flex-direction: column; align-items: center; gap: 6px; width: 120px; padding: 14px 6px 10px;
  background: rgba(0, 0, 0, .35); border: 1px solid var(--trait); color: var(--doux); font-family: var(--titre); font-size: 12px; letter-spacing: .5px; transition: .25s; }
.onglets button img { width: 40px; height: 40px; filter: grayscale(.6) brightness(.8); transition: .25s; }
.onglets button:hover img, .onglets button.actif img { filter: none; transform: scale(1.08); }
.onglets button.actif { color: var(--or-clair); border-color: var(--or); background: linear-gradient(180deg, rgba(227, 193, 120, .16), rgba(0, 0, 0, .4)); box-shadow: 0 0 24px rgba(227, 193, 120, .12); }
.vitrine { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; padding: 40px; min-height: 380px; }
.vitrine-image { position: relative; aspect-ratio: 16 / 10; border: 1px solid var(--trait); overflow: hidden; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 40%, rgba(227, 193, 120, .14), rgba(0, 0, 0, .7) 70%), repeating-linear-gradient(45deg, rgba(255, 255, 255, .02) 0 12px, transparent 12px 24px); }
.vitrine-image img.capture { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vitrine-image img.grand-ico { width: 96px; height: 96px; image-rendering: auto; filter: drop-shadow(0 0 30px rgba(227, 193, 120, .4)) drop-shadow(0 12px 20px rgba(0, 0, 0, .9));
  animation: flotte 5s ease-in-out infinite; }
.touche { display: inline-block; min-width: 30px; padding: 2px 8px; margin-left: 10px; font-family: var(--texte); font-size: 13px; text-align: center; vertical-align: middle;
  color: var(--encre); background: linear-gradient(180deg, #3a3329, #1c1914); border: 1px solid #6b5a3c; border-bottom-width: 3px; }
.vitrine-texte p { color: var(--doux); margin: 14px 0 18px; }
.vitrine-anim { animation: apparait .45s ease both; }
@keyframes apparait { from { opacity: 0; transform: translateY(10px); } }

/* ---------------------------------------------------------------- classement */
.classement { max-width: 860px; }
.classement-onglets { display: flex; justify-content: center; gap: 0; margin-bottom: 18px; }
.classement-onglets button { padding: 10px 34px; background: rgba(0, 0, 0, .35); border: 1px solid var(--trait); color: var(--doux); font-family: var(--titre); letter-spacing: 2px; }
.classement-onglets button.actif { color: #1a1208; background: linear-gradient(180deg, #f6dd9c, #c99a46); border-color: #f3dca2; }
.table { width: 100%; border-collapse: collapse; }
.table th { font-family: var(--titre); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--or); text-align: left; padding: 12px 16px;
  border-bottom: 1px solid var(--or-fonce); }
.table td { padding: 11px 16px; border-bottom: 1px solid rgba(255, 255, 255, .05); color: var(--doux); }
.table tr:nth-child(odd) td { background: rgba(255, 224, 160, .03); }
.table td.rang { font-family: var(--titre); font-weight: 900; color: var(--muet); width: 60px; }
.table tr:nth-child(1) td.rang { color: #f3cf6a; } .table tr:nth-child(2) td.rang { color: #cfd6e0; } .table tr:nth-child(3) td.rang { color: #d08f5a; }
.table td.nom { color: var(--encre); font-weight: 700; }
.table td.nom img { width: 28px; display: inline-block; vertical-align: middle; margin-right: 10px; }
.vide { text-align: center; padding: 50px 30px; }
.vide img { width: 90px; margin: 0 auto 16px; opacity: .85; }
.vide p { color: var(--doux); }

/* ---------------------------------------------------------------- journal */
.journal { max-width: 860px; position: relative; padding-left: 34px; }
.journal:before { content: ''; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 1px; background: linear-gradient(180deg, var(--or), transparent); }
.entree { position: relative; margin-bottom: 26px; padding: 24px 28px; }
.entree:before { content: ''; position: absolute; left: -32px; top: 30px; width: 13px; height: 13px; transform: rotate(45deg); background: var(--or); box-shadow: 0 0 14px rgba(227, 193, 120, .6); }
.entree time { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--glace); }
.entree ul { list-style: none; margin-top: 10px; }
.entree li { color: var(--doux); padding-left: 20px; position: relative; margin-bottom: 4px; }
.entree li:before { content: '›'; position: absolute; left: 4px; color: var(--or); }

/* ---------------------------------------------------------------- telecharger */
.bloc-telecharger { background: radial-gradient(ellipse 70% 60% at 50% 30%, rgba(61, 127, 179, .14), transparent 70%), var(--nuit); }
.etapes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.etape { text-align: center; padding: 40px 28px 34px; }
.etape > b { display: block; position: relative; z-index: 0; width: 58px; height: 58px; line-height: 58px; text-align: center; margin: -70px auto 18px;
  font-family: var(--titre); font-size: 26px; color: #1a1208; }
.etape > b:before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, #f6dd9c, #b88634); transform: rotate(45deg);
  box-shadow: 0 0 24px rgba(227, 193, 120, .4); }
.etape p { color: var(--doux); margin: 10px 0 22px; }
.config { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 40px; padding: 26px 34px; border: 1px solid var(--trait); background: rgba(0, 0, 0, .3); }
.config h4 { font-family: var(--titre); color: var(--or); letter-spacing: 1px; margin-bottom: 4px; }
.config p { color: var(--doux); font-size: 15px; }

/* ---------------------------------------------------------------- faq */
.faq { max-width: 860px; }
.question { border: 1px solid var(--trait); background: rgba(18, 24, 34, .6); margin-bottom: 10px; }
.question button { width: 100%; text-align: left; background: none; border: 0; color: var(--encre); font-family: var(--titre); font-size: 17px; padding: 18px 54px 18px 22px; position: relative; }
.question button:after { content: '+'; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 24px; color: var(--or); transition: .3s; }
.question.ouverte button:after { transform: translateY(-50%) rotate(45deg); }
.question .reponse { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.question .reponse p { padding: 0 22px 20px; color: var(--doux); }

/* ---------------------------------------------------------------- pied */
.pied { text-align: center; padding: 60px 20px 40px; border-top: 1px solid var(--trait); background: #050608; }
.pied img { width: 70px; margin: 0 auto 18px; opacity: .9; }
.pied-liens { display: flex; justify-content: center; flex-wrap: wrap; gap: 26px; margin-bottom: 18px; }
.pied-liens a { font-family: var(--titre); font-size: 13px; letter-spacing: 1.5px; color: var(--doux); }
.pied-liens a:hover { color: var(--or); }
.pied p { color: var(--muet); font-size: 13px; }

/* ---------------------------------------------------------------- apparition */
.revele { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.revele.vu { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { *, *:before, *:after { animation: none !important; transition: none !important; } .revele { opacity: 1; transform: none; } }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1180px) {
  .nav-liens { gap: 14px; } .nav-liens a { font-size: 12px; letter-spacing: 1px; }
}
@media (max-width: 1020px) {
  .nav-liens { position: fixed; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0; background: rgba(7, 9, 13, .97); border-bottom: 1px solid var(--trait);
    transform: translateY(-120%); transition: transform .35s; padding: 10px 0; }
  .nav-liens.ouvert { transform: none; }
  .nav-liens a { padding: 14px 32px; font-size: 14px; }
  .nav-burger { display: flex; }
  .nav-actions .btn-fantome { display: none; }
  .chiffres { grid-template-columns: repeat(3, 1fr); margin: -30px 16px 0; }
  .chiffre:nth-child(4):before { display: none; }
  .cartes, .classes { grid-template-columns: repeat(2, 1fr); }
  .donjons { grid-template-columns: 1fr; }
  .zodiaque, .vitrine, .defi { grid-template-columns: 1fr; }
  .etapes { grid-template-columns: 1fr; gap: 60px; }
  .passe-piste { overflow-x: auto; } .piste-ligne, .piste-nums { min-width: 900px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav { padding: 0 16px; gap: 10px; } .nav-marque span { display: none; }
  .bloc { padding: 90px 16px; }
  .cartes, .classes, .config { grid-template-columns: 1fr; }
  .compte-cases { gap: 8px; } .compte-cases div { min-width: 70px; } .compte-cases b { font-size: 30px; }
  .defi { padding: 24px 18px; } .defi-piste { grid-template-columns: repeat(5, 1fr); }
  .passe { padding: 26px 14px; }
  .vitrine { padding: 22px; }
  .onglets button { width: 96px; }
}
