@font-face { font-family: "Bebas Neue"; src: url("assets/fonts/bebas-neue.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("assets/fonts/jetbrains-mono-400.woff2") format("woff2"); font-weight: 100 500; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("assets/fonts/jetbrains-mono-700.woff2") format("woff2"); font-weight: 600 900; font-display: swap; }

:root {
  --bg: #0a0812;
  --surface: #141220;
  --surface-2: #1b192b;
  --line: rgba(255, 255, 255, .08);
  --line-strong: rgba(255, 255, 255, .16);
  --text: #ecebf2;
  --body: #c4c2d2;
  --muted: #8f8da3;
  --accent: #F7941D;
  --accent-dark: #9c5710;
  --pink: #F7A1C4;
  --green: #5fd68a;
  --red: #E8412C;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --title: "Bebas Neue", Impact, sans-serif;
  --pixel: var(--mono);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; overflow-x: clip; }
body {
  margin: 0; background: var(--bg); color: var(--body);
  font: 15px/1.65 var(--mono);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
.pixelated { image-rendering: pixelated; }
a { color: inherit; text-decoration: none; }
code { font-family: var(--mono); background: rgba(247, 148, 29, .1); color: #ffb866; padding: 1px 6px; border-radius: 3px; font-size: .92em; }
h1, h2, h3, h4 { margin: 0; color: var(--text); font-family: var(--title); font-weight: 400; letter-spacing: .02em; line-height: 1; }
p { margin: 0; max-width: 65ch; }
ul, ol { list-style: none; margin: 0; padding: 0; }
.wrap { width: min(1240px, 100% - 40px); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  padding: 12px max(20px, calc((100vw - 1240px) / 2));
  background: rgba(10, 8, 18, .82); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .04);
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand img { image-rendering: pixelated; }
.wordmark { font-family: var(--title); font-size: 28px; letter-spacing: .04em; color: var(--pink); }
.wordmark b { font-weight: 400; color: var(--accent); margin-left: 6px; }
.links { display: flex; gap: 2px; margin-left: 12px; }
.links a { padding: 6px 12px; color: var(--muted); font-size: 13px; transition: color .3s var(--ease), background .3s var(--ease); border-radius: 4px; }
.links a:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 16px; }

/* ---------- STATUT EN LIGNE (chargement / ok / hors ligne / erreur) ---------- */
.online { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.dot { width: 8px; height: 8px; background: var(--muted); display: inline-block; }
.online[data-state="on"] { color: var(--text); }
.online[data-state="on"] .dot { background: var(--green); animation: pulse 2s ease-in-out infinite; }
.online[data-state="error"] .dot { background: var(--red); }
.online[data-state="loading"] [data-online] {
  color: transparent; width: 9ch; height: 1em; display: inline-block; border-radius: 2px; overflow: hidden;
  background: linear-gradient(90deg, rgba(255, 255, 255, .05) 25%, rgba(255, 255, 255, .13) 50%, rgba(255, 255, 255, .05) 75%) 0 0 / 200% 100%;
  animation: shimmer 1.4s linear infinite;
}
@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes pulse { 50% { opacity: .35; } }

/* ---------- BOUTONS ---------- */
.btn {
  font: 600 13px var(--mono);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  color: #1a1208; background: var(--accent);
  border: 0; border-radius: 3px; padding: 10px 18px; cursor: pointer;
  box-shadow: 0 4px 0 var(--accent-dark);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
.btn:hover { background: #ffa334; transform: translateY(-1px); box-shadow: 0 5px 0 var(--accent-dark); }
.btn:active { transform: translateY(3px) scale(.98); box-shadow: 0 1px 0 var(--accent-dark); }
.btn-sm { padding: 7px 12px; font-size: 12px; }
.btn-big { padding: 15px 26px; font-size: 14px; }
.btn-ghost { color: var(--text); background: var(--surface-2); box-shadow: 0 4px 0 rgba(255, 255, 255, .1), inset 0 0 0 1px var(--line-strong); }
.btn-ghost:hover { background: #26253a; box-shadow: 0 5px 0 rgba(255, 255, 255, .12), inset 0 0 0 1px var(--line-strong); }
.btn.copied { background: var(--green); box-shadow: 0 4px 0 #2f7a4b; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.magnetic { translate: var(--mx, 0) var(--my, 0); transition: translate .2s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease); }

/* ---------- TAG & CURSEUR ---------- */
.tag { font: 700 11px var(--mono); text-transform: uppercase; color: #ffb866; letter-spacing: .14em; margin-bottom: 16px; }
.caret { display: inline-block; width: 8px; height: 12px; margin-left: 6px; background: var(--accent); animation: blink 1s steps(2) infinite; vertical-align: -1px; }
@keyframes blink { 50% { opacity: 0; } }


/* ---------- TAG, IP ---------- */
.ip-box {
  display: inline-flex; align-items: center; gap: 14px; cursor: pointer;
  background: var(--surface); padding: 12px 12px 12px 16px;
  box-shadow: 0 -3px 0 0 var(--line), 0 3px 0 0 var(--line), -3px 0 0 0 var(--line), 3px 0 0 0 var(--line);
  transition: box-shadow .3s var(--ease), transform .25s var(--ease);
}
.ip-box:hover, .ip-box:focus-visible { outline: 0; box-shadow: 0 -3px 0 0 var(--accent), 0 3px 0 0 var(--accent), -3px 0 0 0 var(--accent), 3px 0 0 0 var(--accent); }
.ip-box:active { transform: scale(.98); }
.ip-label { font: 700 11px var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--accent); }
.ip-box code { background: none; color: var(--text); font-size: 20px; font-weight: 800; padding: 0; }
.ip-action { font: 700 10px var(--mono); text-transform: uppercase; letter-spacing: .12em; color: #1a1208; background: var(--accent); padding: 8px 10px; }
.ip-box.copied .ip-action { background: var(--green); }
.ip-box.mini { margin-top: 14px; padding: 8px 8px 8px 12px; }
.ip-box.mini code { font-size: 15px; }
.copy-error { margin-top: 10px; color: #ff8a73; font-size: 13px; }

/* ---------- COVER : calques alignes sur l'image 1920x1080 ---------- */
.cover {
  --nav: 64px;
  position: relative; overflow: hidden;
  height: calc(100dvh - var(--nav)); min-height: 420px;
  background: var(--bg);
}
.scene {
  --sw: max(100vw, calc((100dvh - var(--nav)) * 16 / 9));
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  width: var(--sw); aspect-ratio: 16 / 9;
}
.sky { image-rendering: pixelated; }
.layer { position: absolute; inset: 0; width: 100%; height: 100%; }
.title-wrap { position: absolute; inset: 0; margin: 0; }
.title {
  opacity: 0; transform: translateY(14px) scale(.965); filter: blur(6px);
  animation: title-in 1.9s cubic-bezier(.65, 0, .35, 1) .35s forwards;
}
@keyframes title-in { to { opacity: 1; transform: none; filter: blur(0); } }

.modes-nav { position: absolute; inset: 0; pointer-events: none; }
.mode {
  position: absolute; top: 54.63%; display: block; pointer-events: auto;
  border-radius: var(--rx); overflow: hidden; isolation: isolate;
  opacity: 0; transform: translateY(12px);
  animation: mode-in 1.1s cubic-bezier(.65, 0, .35, 1) forwards;
  transition: translate .35s var(--ease), scale .35s var(--ease), filter .35s var(--ease);
}
.mode img { width: 100%; height: auto; display: block; }
.m-lg { left: 26.25%; width: 16.82%; animation-delay: 1.9s; }
.m-pvp { left: 44.79%; width: 16.93%; animation-delay: 2.1s; }
.m-smp { left: 63.44%; width: 10.31%; animation-delay: 2.3s; }
@keyframes mode-in { to { opacity: 1; transform: none; } }
.mode::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(110deg, transparent 38%, rgba(255, 255, 255, .55) 50%, transparent 62%);
  translate: -130% 0;
}
.mode:hover, .mode:focus-visible { translate: 0 -4%; scale: 1.04; filter: brightness(1.15); outline: 0; }
.mode:hover::after, .mode:focus-visible::after { translate: 130% 0; transition: translate .85s var(--ease); }
.mode:active { scale: .97; }
.mode:focus-visible { box-shadow: 0 0 0 3px var(--text); }

/* Portrait : le titre tient dans l'ecran, les boutons passent sous la cover */
.modes-mobile { display: none; }
@media (max-aspect-ratio: 1/1) {
  .cover { height: calc(150vw * 9 / 16); min-height: 0; }
  .scene { --sw: 150vw; }
  .modes-nav { display: none; }
  .modes-mobile { display: flex; flex-wrap: wrap; gap: 12px; width: min(1240px, 100% - 40px); margin: 20px auto 0; }
  .modes-mobile .mode { position: relative; top: auto; left: auto; width: auto; animation-delay: 1.9s; }
  .modes-mobile .mode img { height: 60px; width: auto; }
}

/* ---------- BANDEAU IP ---------- */
.strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; padding: 36px 0 12px; }
.strip-text { max-width: 44ch; color: var(--body); }
.strip-ip { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.strip-meta { display: flex; gap: 18px; color: var(--muted); font-size: 13px; }
.strip .copy-error { flex-basis: 100%; margin: 0; }

/* ---------- SECTIONS ---------- */
.section { padding: 96px 0; }
.section-head { margin-bottom: 56px; }
.section-head h2 { font-size: clamp(38px, 4.4vw, 60px); margin-bottom: 14px; text-wrap: balance; }
.section-head p.muted { max-width: 58ch; }

.feature { --c: var(--accent); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 0; align-items: center; margin-bottom: 72px; }
.feature.flip { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.feature.flip .feature-art { order: 2; }
.feature-art { border: 2px solid color-mix(in srgb, var(--c) 60%, transparent); overflow: hidden; border-radius: 4px; box-shadow: 0 24px 48px -24px color-mix(in srgb, var(--c) 40%, #050409); }
.feature-art img { width: 100%; transition: transform .8s var(--ease); }
.feature:hover .feature-art img { transform: scale(1.03); }
.feature-body { background: var(--surface); padding: 32px; margin-left: -64px; position: relative; border: 1px solid var(--line); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05); }
.feature.flip .feature-body { margin-left: 0; margin-right: -64px; }
.chip { display: inline-block; font: 700 11px var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--c); border: 2px solid var(--c); padding: 7px 10px; margin-bottom: 16px; }
.feature h3 { font-size: clamp(34px, 3.6vw, 48px); margin-bottom: 12px; }
.feature p { margin-bottom: 18px; }
.ticks { display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 22px; font-size: 14px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .55em; width: 9px; height: 9px; background: var(--c); box-shadow: 3px 3px 0 rgba(0, 0, 0, .35); }

/* ---------- METIERS : hotbar + panneau ---------- */
.hotbar { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.slot {
  --c: var(--accent);
  position: relative; aspect-ratio: 1; display: grid; place-items: center; align-content: center; gap: 6px;
  background: #15131f; cursor: pointer; font: inherit; color: var(--muted);
  border: 4px solid; border-color: #3b3a52 #0d0c15 #0d0c15 #3b3a52;
  box-shadow: inset 0 0 0 2px #1d1b2b;
  transition: transform .35s var(--ease), border-color .25s, box-shadow .35s var(--ease), color .25s;
}
.slot .px { color: var(--c); width: 56%; height: auto; max-width: 96px; filter: drop-shadow(4px 4px 0 rgba(0, 0, 0, .45)); transition: transform .35s var(--ease); }
.slot-name { font: 400 clamp(20px, 2.4vw, 30px)/1 var(--title); letter-spacing: .04em; }
.num { position: absolute; top: 8px; left: 10px; font: 700 10px var(--mono); text-transform: uppercase; color: #5d5b78; }
.slot:hover { transform: translateY(-4px); color: var(--text); }
.slot:hover .px { transform: scale(1.08); }
.slot:active { transform: translateY(0) scale(.97); }
.slot[aria-selected="true"] {
  color: var(--text); transform: translateY(-8px);
  border-color: var(--c); background: color-mix(in srgb, var(--c) 12%, #15131f);
  box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--c) 35%, #15131f), 0 14px 24px -14px color-mix(in srgb, var(--c) 55%, #05040a);
}
.slot[aria-selected="true"] .num { color: var(--c); }

.job-panel {
  --c: var(--accent);
  position: relative; margin-top: 22px; min-height: 340px;
  background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--c);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}
.job-body { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 0 48px; padding: 32px; animation: panel-in .45s var(--ease); }
@keyframes panel-in { from { opacity: 0; transform: translateY(8px); } }
.job-head { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.job-head .px { width: 64px; height: 64px; color: var(--c); filter: drop-shadow(4px 4px 0 rgba(0, 0, 0, .45)); }
.job-head h3 { font-size: clamp(40px, 4.4vw, 60px); }
.job-head small { display: block; color: var(--c); font-size: 12px; margin-top: 6px; }
.job-desc { margin-bottom: 22px; }
.job-block { margin-top: 20px; }
.job-block h5 { margin: 0 0 10px; font: 700 11px var(--mono); text-transform: uppercase; color: var(--muted); letter-spacing: .06em; }
.job-block ul { display: grid; gap: 6px; }
.job-block li { position: relative; padding-left: 20px; font-size: 14px; }
.job-block li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; background: var(--c); box-shadow: 3px 3px 0 rgba(0, 0, 0, .35); }
.milestones { border-top: 1px solid var(--line); align-self: start; }
.milestones h5 { margin: 18px 0 6px; font: 700 11px var(--mono); text-transform: uppercase; color: var(--muted); letter-spacing: .06em; }
.milestones li { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.milestones b { color: var(--c); font-weight: 800; font-variant-numeric: tabular-nums; }
.job-note { margin-top: 16px; color: var(--muted); font-size: 13px; }

.quests { margin-top: 56px; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 0 56px; align-items: start; }
.quests-head { grid-column: 1; }
.quests-head h3 { font-size: clamp(34px, 3.6vw, 48px); margin-bottom: 14px; }
.timer { display: inline-block; font-size: 12px; color: var(--muted); border: 1px solid var(--line); padding: 8px 12px; }
.timer b { color: var(--accent); font-weight: 800; font-variant-numeric: tabular-nums; }
.quests-intro { grid-column: 1; margin-top: 18px; font-size: 14px; }
.quest-rows { grid-column: 2; grid-row: 1 / span 2; border: 1px solid var(--line); background: var(--surface); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05); }
.quest {
  display: grid; grid-template-columns: 84px minmax(0, 1fr) 140px 150px; gap: 16px; align-items: center;
  padding: 16px 20px; border-bottom: 1px solid var(--line); font-size: 13px;
}
.quest:last-child { border-bottom: 0; }
.q-tier { font: 700 9px var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--green); }
.q-tier.hard { color: #ff7a63; }
.q-tier.gold { color: var(--accent); }
.q-text { color: var(--text); font-weight: 600; }
.q-meta { color: var(--muted); font-size: 12px; text-align: right; font-variant-numeric: tabular-nums; }
.quest.done .q-text { color: var(--muted); }
.quest.bonus { background: rgba(247, 148, 29, .06); grid-template-columns: 84px minmax(0, 1fr) auto; }
.q-reward { display: inline-flex; align-items: center; gap: 8px; color: var(--text); }
.bar { height: 10px; background: rgba(0, 0, 0, .35); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .05); }
.bar i { display: block; height: 100%; background: repeating-linear-gradient(90deg, var(--accent) 0 8px, #c3730f 8px 10px); transition: width 1.2s steps(14); }
.quest.done .bar i { background: repeating-linear-gradient(90deg, var(--green) 0 8px, #3ba566 8px 10px); }
.gem { display: inline-block; width: 14px; height: 14px; }
.gem.dia { background: #4de2e8; clip-path: polygon(50% 0, 100% 40%, 50% 100%, 0 40%); }
.gem.eme { background: var(--green); clip-path: polygon(50% 0, 100% 35%, 85% 100%, 15% 100%, 0 35%); margin-left: 6px; }

/* ---------- REJOINDRE ---------- */
.join-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: start; }

/* maquette de la liste des serveurs Minecraft */
.mc-list {
  background: #17151f; border: 3px solid; border-color: #3b3a52 #0a0910 #0a0910 #3b3a52;
  padding: 20px; position: relative;
  box-shadow: 0 30px 50px -30px rgba(0, 0, 0, .7);
}
.mc-title { text-align: center; color: var(--text); font: 600 13px var(--mono); margin-bottom: 16px; }
.mc-entry {
  display: flex; gap: 14px; padding: 8px; background: rgba(0, 0, 0, .5);
  outline: 2px solid #e8e8ee; outline-offset: -2px;
}
.mc-entry img { width: 64px; height: 64px; image-rendering: pixelated; flex: none; }
.mc-info { flex: 1; min-width: 0; font-size: 13px; line-height: 1.5; }
.mc-top { display: flex; align-items: center; gap: 12px; }
.mc-top b { color: var(--text); font-size: 15px; margin-right: auto; }
.mc-top b, .mc-count { white-space: nowrap; }
.mc-count { color: #a8a6bd; font-variant-numeric: tabular-nums; }
.mc-ping { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
.mc-ping i { width: 4px; background: #3b3a52; }
.mc-ping i:nth-child(1) { height: 4px; } .mc-ping i:nth-child(2) { height: 7px; } .mc-ping i:nth-child(3) { height: 9px; }
.mc-ping i:nth-child(4) { height: 12px; } .mc-ping i:nth-child(5) { height: 14px; }
.mc-ping.on i { background: var(--green); }
.mc-ping.error i { background: #6b2a22; }
.mc-motd { color: #cfcde0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mc-motd em { font-style: normal; color: var(--muted); }
.mc-motd.muted { color: var(--muted); }
.c-pink { color: var(--pink); } .c-red { color: #ff7a63; } .c-blue { color: #6fb8ea; }
.mc-bar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; margin-top: 16px; }
.mc-field {
  display: flex; align-items: center; gap: 12px; padding: 0 14px; min-height: 48px;
  background: #07060c; border: 2px solid; border-color: #0a0910 #3b3a52 #3b3a52 #0a0910;
}
.mc-field span { color: var(--muted); font: 700 11px var(--mono); text-transform: uppercase; letter-spacing: .1em; }
.mc-field code { background: none; color: var(--text); font-size: 18px; font-weight: 800; padding: 0; }
.mc-btn {
  font: 800 13px var(--mono); color: #1a1208; background: var(--accent); cursor: pointer; padding: 0 22px; min-height: 48px;
  border: 3px solid; border-color: #ffc27a #9c5710 #9c5710 #ffc27a;
  transition: transform .25s var(--ease), background .25s var(--ease);
}
.mc-btn:hover { background: #ffa334; transform: translateY(-1px); }
.mc-btn:active { transform: translateY(2px) scale(.98); }
.mc-btn.copied { background: var(--green); border-color: #a4f0c0 #2f7a4b #2f7a4b #a4f0c0; }
.join-discord { margin-top: 24px; }

/* parcours en 4 etapes */
.path { position: relative; display: grid; gap: 0; }
.path::before { content: ""; position: absolute; left: 19px; top: 20px; bottom: 20px; border-left: 3px dashed rgba(247, 148, 29, .35); }
.path li { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 20px; padding-bottom: 32px; }
.path li:last-child { padding-bottom: 0; }
.node {
  position: relative; width: 40px; height: 40px; display: grid; place-items: center; z-index: 1;
  font: 700 14px var(--mono); text-transform: uppercase; color: #1a1208; background: var(--accent);
  border: 3px solid; border-color: #ffc27a #9c5710 #9c5710 #ffc27a;
}
.path h4 { font-size: 30px; margin-bottom: 6px; }
.path p { color: var(--muted); font-size: 14px; }
.cmd { margin-top: 8px; padding: 10px 12px; background: #07060c; border-left: 3px solid var(--accent); color: var(--pink) !important; font-size: 13px; overflow-wrap: anywhere; }

/* ville en bas de page */
.skyline {
  height: clamp(90px, 14vw, 200px); margin-top: 24px;
  background: url("assets/town-strip.png") center bottom / max(100%, 760px) auto no-repeat;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 40%); mask-image: linear-gradient(to bottom, transparent, #000 40%);
  image-rendering: pixelated;
}

.footer { background: #0a0812; padding: 40px 0; margin-top: 0; }
.foot { display: grid; gap: 12px; justify-items: start; }

/* ---------- REVELATION (cascade) ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .title, .mode { animation: none; opacity: 1; transform: none; filter: none; }
  .float, .caret, .dot, [data-online] { animation: none !important; }
  .magnetic { translate: none; }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1180px) {
  .quests { grid-template-columns: 1fr; }
  .quest-rows { grid-column: 1; grid-row: auto; margin-top: 24px; }
  .quest { grid-template-columns: 76px minmax(0, 1fr) 110px 130px; gap: 12px; }
  .quest.bonus { grid-template-columns: 76px minmax(0, 1fr) auto; }
}
@media (max-width: 960px) {
  .job-body { grid-template-columns: 1fr; gap: 24px; padding: 24px; }
  .hotbar { gap: 10px; }
  .feature, .feature.flip { grid-template-columns: 1fr; }
  .feature.flip .feature-art { order: 0; }
  .feature-body, .feature.flip .feature-body { margin: -24px 12px 0; padding: 24px; }
  .job { grid-template-columns: 44px 1fr; row-gap: 6px; }
  .job p, .perk { grid-column: 2; text-align: left; }
  .quests { grid-template-columns: 1fr; }
  .quest-rows { grid-column: 1; grid-row: auto; margin-top: 24px; }
  .quest, .quest.bonus { grid-template-columns: 1fr; gap: 8px; }
  .q-meta { text-align: left; }
  .join-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .links { display: none; }
}
@media (max-width: 560px) {
  .hotbar { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
  .slot { border-width: 3px; }
  .slot-name { font-size: 13px; letter-spacing: 0; }
  .num { display: none; }
  .nav-right .online { display: none; }
  .ip-box code { font-size: 16px; }
  .section { padding: 64px 0; }
  .mc-bar { grid-template-columns: minmax(0, 1fr); }
  .mc-field code { font-size: 16px; }
}


/* ---------- PAGES LEGALES ---------- */
.legal { width: min(820px, 100% - 40px); margin: 0 auto; padding: 72px 0 96px; }
.legal h1 { font-size: clamp(44px, 6vw, 72px); margin-bottom: 8px; }
.legal .updated { color: var(--muted); font-size: 13px; margin-bottom: 40px; }
.legal h2 { font-size: 34px; margin: 48px 0 14px; padding-top: 24px; border-top: 1px solid var(--line); }
.legal h3 { font-size: 24px; margin: 28px 0 8px; color: var(--text); }
.legal p, .legal li { max-width: none; font-size: 14.5px; }
.legal p { margin-bottom: 14px; }
.legal ul { list-style: disc; padding-left: 22px; display: grid; gap: 6px; margin-bottom: 14px; }
.legal li::marker { color: var(--accent); }
.legal a { color: #ffb866; text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover { color: var(--text); }
.legal dl { display: grid; grid-template-columns: minmax(140px, 220px) minmax(0, 1fr); gap: 10px 24px; margin: 0 0 14px; }
.legal dt { color: var(--muted); }
.legal dd { margin: 0; color: var(--text); }
.todo { background: rgba(247, 148, 29, .16); color: #ffcf94; padding: 1px 6px; border-radius: 3px; border: 1px dashed rgba(247, 148, 29, .6); font-style: normal; }
.table-wrap { overflow-x: auto; margin: 16px 0 20px; border: 1px solid var(--line); }
.legal table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 680px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.legal th { color: var(--muted); font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; background: var(--surface); }
.legal tr:last-child td { border-bottom: 0; }
.back { display: inline-block; margin-bottom: 28px; color: var(--muted); font-size: 13px; }
.back:hover { color: var(--text); }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 13px; }
.foot-links a { color: var(--muted); transition: color .3s var(--ease); }
.foot-links a:hover { color: var(--text); }
@media (max-width: 560px) { .legal dl { grid-template-columns: 1fr; gap: 2px; } .legal dd { margin-bottom: 12px; } }
