/* ==========================================================================
   Oreka.pw — feuille de style du site
   Style : réseau Minecraft moderne, fond bleu nuit, accents or.
   Aucune image : tout est peint en CSS.
   ========================================================================== */

/* --------------------------------------------------------------- Tokens */
:root {
  --bg: #1e1e29;
  --bg-deep: #17171f;
  --bg-soft: #24242f;

  --panel: #2c2c3c;
  --panel-2: #33334a;
  --panel-3: #3a3a52;
  --line: #3c3c4f;
  --line-soft: #34344a;

  --text: #9c9cb5;
  --text-dim: #6f6f89;
  --text-strong: #ffffff;

  --gold: #feca0c;
  --gold-hi: #ffdd55;
  --gold-lo: #e0a800;
  --gold-ink: #443500;

  --discord: #5865f2;
  --discord-hi: #6b77f5;
  --green: #3ba55d;
  --red: #ed4245;
  --purple: #9b6dff;
  --aqua: #35c8d8;

  --radius: 4px;
  --radius-lg: 10px;
  --radius-pill: 40px;

  --shadow: 0 8px 24px rgba(0, 0, 0, .35);
  --shadow-lg: 0 18px 50px rgba(0, 0, 0, .5);

  --wrap: 1200px;
  --nav-h: 68px;
}

/* ------------------------------------------------------------ Base */
* { box-sizing: border-box; }

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Barlow, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  color: var(--text-strong);
  margin: 0 0 .5em;
  font-weight: 800;
  letter-spacing: .01em;
}

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-hi); }

img { max-width: 100%; display: block; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 18px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ------------------------------------------------------------ Boutons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 26px;
  border: 0;
  border-radius: var(--radius-pill);
  font: inherit;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}

.btn--gold {
  background: var(--gold);
  color: var(--gold-ink);
  box-shadow: 0 4px 0 var(--gold-lo), 0 10px 22px rgba(254, 202, 12, .22);
}
.btn--gold:hover {
  background: var(--gold-hi);
  color: var(--gold-ink);
  transform: translateY(-2px);
  box-shadow: 0 6px 0 var(--gold-lo), 0 14px 28px rgba(254, 202, 12, .3);
}
.btn--gold:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--gold-lo); }

.btn--discord {
  background: var(--discord);
  color: #fff;
  box-shadow: 0 4px 0 #3d47c4, 0 10px 22px rgba(88, 101, 242, .25);
}
.btn--discord:hover { background: var(--discord-hi); color: #fff; transform: translateY(-2px); }

.btn--ghost {
  background: var(--panel-2);
  color: var(--text-strong);
  border: 1px solid var(--line);
}
.btn--ghost:hover { background: var(--panel-3); color: #fff; transform: translateY(-2px); }

.btn--sm { padding: 9px 18px; font-size: 12.5px; }
.btn--block { display: flex; width: 100%; }

/* ------------------------------------------------------------ Navigation */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--nav-h);
  background: rgba(23, 23, 31, .86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}

.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav__social { display: flex; gap: 8px; }

.nav__icon {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: var(--radius);
  color: var(--text-dim);
  background: transparent;
  transition: color .15s, background .15s;
}
.nav__icon:hover { color: var(--gold); background: rgba(255, 255, 255, .05); }
.nav__icon svg { width: 17px; height: 17px; fill: currentColor; }

.nav__menu {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
}

.nav__link {
  display: block;
  padding: 10px 16px;
  border-radius: var(--radius);
  color: var(--text);
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: .04em;
  transition: color .15s, background .15s;
}
.nav__link:hover { color: var(--text-strong); background: rgba(255, 255, 255, .05); }
.nav__link.is-active { color: var(--gold); }

.nav__link--store {
  background: var(--gold);
  color: var(--gold-ink);
  border-radius: var(--radius-pill);
  padding: 11px 30px;
  margin: 0 8px;
  box-shadow: 0 4px 16px rgba(254, 202, 12, .25);
}
.nav__link--store:hover { background: var(--gold-hi); color: var(--gold-ink); }

.nav__auth { display: flex; align-items: center; gap: 6px; }
.nav__auth a {
  padding: 8px 14px;
  color: var(--text);
  font-weight: 700;
  font-size: 14px;
  border-radius: var(--radius);
}
.nav__auth a:hover { color: #fff; background: rgba(255, 255, 255, .05); }
.nav__auth .is-primary { color: var(--gold); }

.nav__burger {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: var(--radius);
  color: var(--text-strong);
  cursor: pointer;
}
.nav__burger span {
  display: block; width: 18px; height: 2px;
  margin: 3px auto; background: currentColor; border-radius: 2px;
}

/* ------------------------------------------------------------ Logo texte */
.brand {
  font-family: "Lilita One", Barlow, sans-serif;
  text-transform: uppercase;
  line-height: .92;
  text-align: center;
  user-select: none;
}
.brand__main {
  display: block;
  background: linear-gradient(180deg, #fff6c4 0%, var(--gold-hi) 32%, var(--gold) 55%, #e39400 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 3px 0 #6b4a00) drop-shadow(0 6px 0 #3a2700) drop-shadow(0 14px 22px rgba(0, 0, 0, .55));
  letter-spacing: .04em;
}
.brand__sub {
  display: block;
  color: #e8e8f6;
  letter-spacing: .5em;
  text-indent: .5em;
  font-weight: 400;
  text-shadow: 0 2px 0 #24243a, 0 6px 14px rgba(0, 0, 0, .6);
}

/* ------------------------------------------------------------ Héros */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
}

/* Paysage peint en CSS : ciel, étoiles, collines, sol en blocs. */
.hero__scene { position: absolute; inset: 0; z-index: 0; }

.hero__sky {
  position: absolute; inset: 0;
  background:
    radial-gradient(110% 80% at 50% 0%, #3c3a6b 0%, #2a2946 42%, #1e1e29 78%),
    linear-gradient(180deg, #2d2b52 0%, #1e1e29 100%);
}

.hero__stars {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(2px 2px at 12% 18%, rgba(255, 255, 255, .85) 50%, transparent 51%),
    radial-gradient(2px 2px at 27% 34%, rgba(255, 255, 255, .55) 50%, transparent 51%),
    radial-gradient(2px 2px at 44% 12%, rgba(255, 255, 255, .7) 50%, transparent 51%),
    radial-gradient(2px 2px at 63% 27%, rgba(255, 255, 255, .5) 50%, transparent 51%),
    radial-gradient(2px 2px at 78% 15%, rgba(255, 255, 255, .8) 50%, transparent 51%),
    radial-gradient(2px 2px at 88% 38%, rgba(255, 255, 255, .45) 50%, transparent 51%),
    radial-gradient(2px 2px at 35% 8%, rgba(255, 255, 255, .6) 50%, transparent 51%),
    radial-gradient(2px 2px at 55% 41%, rgba(255, 255, 255, .4) 50%, transparent 51%);
  animation: twinkle 6s ease-in-out infinite alternate;
}
@keyframes twinkle { from { opacity: .45; } to { opacity: 1; } }

.hero__glow {
  position: absolute;
  left: 50%; top: 8%;
  width: 720px; height: 420px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(254, 202, 12, .16), transparent 70%);
  filter: blur(6px);
}

.hero__hills {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 44%;
}
.hero__hills i {
  position: absolute;
  bottom: 0;
  display: block;
  background: #24243a;
}
.hero__hills i:nth-child(1) { left: -4%; width: 34%; height: 62%; clip-path: polygon(0 100%, 18% 22%, 38% 46%, 62% 8%, 84% 40%, 100% 26%, 100% 100%); background: #272742; }
.hero__hills i:nth-child(2) { left: 28%; width: 46%; height: 48%; clip-path: polygon(0 100%, 12% 42%, 34% 12%, 58% 44%, 80% 20%, 100% 52%, 100% 100%); background: #222238; }
.hero__hills i:nth-child(3) { right: -6%; width: 40%; height: 56%; clip-path: polygon(0 100%, 14% 34%, 40% 58%, 66% 16%, 88% 44%, 100% 30%, 100% 100%); background: #262640; }

.hero__ground {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 86px;
  background:
    linear-gradient(180deg, #4e7a34 0 16px, #6a4a2e 16px 100%);
  box-shadow: inset 0 3px 0 rgba(255, 255, 255, .08);
}
.hero__ground::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, .22) 1px, transparent 1px),
    linear-gradient(180deg, rgba(0, 0, 0, .18) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: .5;
}

.hero__vignette {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 50% 40%, transparent 30%, rgba(23, 23, 31, .55) 78%, var(--bg) 100%),
    linear-gradient(180deg, rgba(23, 23, 31, .5) 0%, transparent 25%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 42px;
  align-items: center;
  padding: 58px 18px 72px;
}

.hero__brand .brand__main { font-size: clamp(56px, 9vw, 118px); }
.hero__brand .brand__sub { font-size: clamp(16px, 2.3vw, 27px); margin-top: 6px; }

.hero__tagline {
  margin: 26px 0 8px;
  text-align: center;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
}

/* Barre IP */
.ipbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  padding: 12px 14px 12px 26px;
  background: rgba(30, 30, 41, .88);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  transition: border-color .18s, transform .18s, background .18s;
}
.ipbar:hover { border-color: var(--gold); transform: translateY(-2px); background: rgba(38, 38, 52, .92); }

.ipbar__ip {
  color: var(--text-strong);
  font-size: clamp(17px, 2.4vw, 27px);
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.ipbar__count {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 17px;
  background: var(--gold);
  color: var(--gold-ink);
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 16px;
}
.ipbar__count::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #2f7a1f;
  box-shadow: 0 0 0 3px rgba(47, 122, 31, .3);
}

.ipbar.is-copied { border-color: var(--green); }
.ipbar.is-copied .ipbar__ip::after {
  content: " — copiée !";
  color: var(--green);
  font-size: .6em;
  letter-spacing: .05em;
}

/* Colonne droite du héros */
.hero__cards { display: grid; gap: 14px; }

.playcard {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
  background: rgba(44, 44, 60, .9);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.playcard p { margin: 0; color: var(--text-strong); font-weight: 600; line-height: 1.35; }
.playcard p small { display: block; color: var(--text); font-weight: 400; font-size: 13.5px; }

.discordbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  background: rgba(44, 44, 60, .9);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.discordbar__count {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  background: var(--discord);
  color: #fff;
  border-radius: var(--radius);
  font-weight: 800;
}
.discordbar__count svg { width: 18px; height: 18px; fill: currentColor; }
.discordbar__label { flex: 1; text-align: center; }
.discordbar__label b { display: block; color: var(--text-strong); font-size: 15px; letter-spacing: .04em; text-transform: uppercase; }
.discordbar__label span { font-size: 12px; color: var(--text-dim); letter-spacing: .14em; text-transform: uppercase; }

/* ------------------------------------------------------------ Entête de page */
.pagehead {
  position: relative;
  padding: 54px 0 46px;
  background:
    radial-gradient(90% 120% at 50% 0%, #34335a 0%, #26263a 45%, var(--bg) 100%);
  border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
}
.pagehead::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(70% 100% at 50% 0%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 100% at 50% 0%, #000, transparent 75%);
}
.pagehead__inner { position: relative; z-index: 1; text-align: center; }
.pagehead h1 {
  font-family: "Lilita One", Barlow, sans-serif;
  font-size: clamp(32px, 5vw, 50px);
  letter-spacing: .04em;
  text-transform: uppercase;
  text-shadow: 0 3px 0 #1a1a26, 0 10px 26px rgba(0, 0, 0, .5);
}
.pagehead p { max-width: 640px; margin: 0 auto; font-size: 16px; }

.crumbs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.crumbs a { color: var(--text-dim); }
.crumbs a:hover { color: var(--gold); }

/* ------------------------------------------------------------ Mise en page */
.main { padding: 34px 0 60px; }

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 22px;
  align-items: start;
}

.section { margin-bottom: 38px; }

.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-soft);
}
.section__head h2 {
  margin: 0;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.section__head h2 span { color: var(--gold); }
.section__head p { margin: 2px 0 0; font-size: 14px; }

/* ------------------------------------------------------------ Blocs */
.block {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 16px;
}
.block__title {
  padding: 12px 16px;
  background: var(--panel-2);
  border-bottom: 1px solid var(--line);
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-align: center;
}
.block__body { padding: 14px 16px; }

.stats-list { list-style: none; margin: 0; padding: 0; }
.stats-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px dashed var(--line-soft);
}
.stats-list li:last-child { border-bottom: 0; }
.stats-list b { color: var(--text-strong); font-weight: 700; }

.field { margin-bottom: 10px; }
.field label {
  display: block;
  margin-bottom: 5px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.field input {
  width: 100%;
  padding: 10px 12px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text-strong);
  font: inherit;
}
.field input:focus { outline: 0; border-color: var(--gold); }

.checkline { display: flex; align-items: center; gap: 8px; font-size: 13px; margin: 10px 0 14px; }

.staff-online { list-style: none; margin: 0; padding: 0; }
.staff-online li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line-soft);
}
.staff-online li:last-child { border-bottom: 0; }
.staff-online b { display: block; color: var(--text-strong); font-size: 14px; }
.staff-online span { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }

/* Tête de joueur dessinée en CSS */
.head {
  width: 34px; height: 34px;
  flex: 0 0 34px;
  border-radius: 3px;
  background: linear-gradient(135deg, #8d6a4f 0%, #7a5940 100%);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .35);
  position: relative;
  overflow: hidden;
}
.head::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 0; height: 36%;
  background: #33261c;
}
.head::after {
  content: "";
  position: absolute; left: 22%; right: 22%; top: 46%; height: 14%;
  background:
    linear-gradient(90deg, #fff 0 32%, transparent 32% 68%, #fff 68% 100%);
  opacity: .9;
}
.head--gold { background: linear-gradient(135deg, #c9a24a, #a9822f); }
.head--aqua { background: linear-gradient(135deg, #4f9aa8, #3b7d8a); }
.head--rose { background: linear-gradient(135deg, #b96b8c, #96506e); }

/* ------------------------------------------------------------ Actualités */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.news-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .18s ease, border-color .18s ease;
  display: flex;
  flex-direction: column;
}
.news-card:hover { transform: translateY(-4px); border-color: var(--gold); }

.news-card__thumb {
  position: relative;
  height: 128px;
  display: flex;
  align-items: flex-end;
  padding: 10px 12px;
  background: linear-gradient(140deg, #3a3a63, #26263c);
}
.news-card__thumb::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 22px 22px;
}
.news-card__thumb span {
  position: relative;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .78);
  text-shadow: 0 1px 3px rgba(0, 0, 0, .6);
}
.news-card__thumb--gold { background: linear-gradient(140deg, #6d5518, #2f2a1e); }
.news-card__thumb--green { background: linear-gradient(140deg, #2f5c33, #1f2a26); }
.news-card__thumb--purple { background: linear-gradient(140deg, #4a2f6d, #241e33); }
.news-card__thumb--aqua { background: linear-gradient(140deg, #1f5a63, #1b2a30); }
.news-card__thumb--red { background: linear-gradient(140deg, #6d2a2a, #2f1f1f); }

.news-card__body { padding: 14px 16px; flex: 1; display: flex; flex-direction: column; }
.news-card__body h3 { font-size: 16px; margin-bottom: 6px; line-height: 1.3; }
.news-card__body p { margin: 0 0 12px; font-size: 14px; }
.news-card__meta {
  margin-top: auto;
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* Article mis en avant */
.article {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 18px;
  padding: 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 16px;
}
.article__date {
  text-align: center;
  padding: 10px 0;
  height: fit-content;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.article__date b { display: block; color: var(--gold); font-size: 24px; line-height: 1; }
.article__date span { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.article h3 { font-size: 20px; margin-bottom: 4px; }
.article__meta { font-size: 12.5px; color: var(--text-dim); margin-bottom: 12px; }
.article__meta b { color: var(--gold); }
.article p { margin: 0 0 12px; }
.article ul { margin: 0 0 14px; padding-left: 18px; }
.article li { margin-bottom: 4px; }

/* ------------------------------------------------------------ Modes de jeu */
.modes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(212px, 1fr));
  gap: 16px;
}

.mode {
  position: relative;
  padding: 22px 20px 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .18s ease, border-color .18s ease;
}
.mode:hover { transform: translateY(-5px); border-color: var(--gold); }
.mode::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: var(--accent, var(--gold));
}
.mode__ico {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  margin-bottom: 14px;
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--accent, var(--gold)) 18%, transparent);
  color: var(--accent, var(--gold));
}
.mode__ico svg { width: 24px; height: 24px; fill: currentColor; }
.mode h3 { font-size: 17px; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 6px; }
.mode p { margin: 0 0 14px; font-size: 14px; }
.mode__tag {
  display: inline-block;
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  background: var(--panel-2);
  border: 1px solid var(--line);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent, var(--gold));
}

/* ------------------------------------------------------------ Compteurs */
.counters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px;
  padding: 26px;
  background:
    linear-gradient(180deg, var(--panel) 0%, var(--bg-soft) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.counter { text-align: center; }
.counter b {
  display: block;
  font-family: "Lilita One", Barlow, sans-serif;
  font-size: 36px;
  line-height: 1;
  color: var(--gold);
  text-shadow: 0 3px 0 #5a4300;
}
.counter span {
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* ------------------------------------------------------------ Boutique */
.shop-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  justify-content: center;
}
.shop-tab {
  padding: 10px 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  color: var(--text);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: .15s;
}
.shop-tab:hover { color: #fff; border-color: var(--panel-3); }
.shop-tab.is-active { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); }

.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 18px;
}

.rank {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .18s ease, border-color .18s ease;
}
.rank:hover { transform: translateY(-5px); border-color: var(--accent, var(--gold)); }

.rank__top {
  padding: 26px 20px 20px;
  text-align: center;
  background:
    radial-gradient(90% 120% at 50% 0%, color-mix(in srgb, var(--accent, var(--gold)) 26%, transparent) 0%, transparent 70%),
    var(--panel-2);
  border-bottom: 1px solid var(--line);
}
.rank__name {
  font-family: "Lilita One", Barlow, sans-serif;
  font-size: 30px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent, var(--gold));
  text-shadow: 0 3px 0 rgba(0, 0, 0, .45);
  margin: 0 0 4px;
}
.rank__price {
  color: var(--text-strong);
  font-size: 26px;
  font-weight: 800;
}
.rank__price small { font-size: 13px; color: var(--text-dim); font-weight: 600; }
.rank__price s { color: var(--text-dim); font-size: 16px; font-weight: 600; margin-right: 8px; }

.rank__list { list-style: none; margin: 0; padding: 18px 20px; flex: 1; }
.rank__list li {
  position: relative;
  padding: 6px 0 6px 24px;
  border-bottom: 1px dashed var(--line-soft);
  font-size: 14px;
}
.rank__list li:last-child { border-bottom: 0; }
.rank__list li::before {
  content: "";
  position: absolute;
  left: 2px; top: 13px;
  width: 10px; height: 6px;
  border-left: 2px solid var(--accent, var(--gold));
  border-bottom: 2px solid var(--accent, var(--gold));
  transform: rotate(-45deg);
}
.rank__foot { padding: 0 20px 20px; }

.ribbon {
  position: absolute;
  top: 14px; right: -34px;
  width: 132px;
  padding: 5px 0;
  transform: rotate(38deg);
  background: var(--gold);
  color: var(--gold-ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-align: center;
  z-index: 2;
}

.product {
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .18s, border-color .18s;
}
.product:hover { transform: translateY(-4px); border-color: var(--gold); }
.product__art {
  height: 132px;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, var(--panel-2), #24243a);
  border-bottom: 1px solid var(--line);
}
.product__body { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.product__body h3 { font-size: 16px; margin-bottom: 6px; }
.product__body p { margin: 0 0 14px; font-size: 13.5px; }
.product__foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.product__price { color: var(--gold); font-size: 20px; font-weight: 800; }

/* Coffre dessiné en CSS */
.crate {
  width: 78px; height: 66px;
  position: relative;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--crate, #b07a33) 0 38%, color-mix(in srgb, var(--crate, #b07a33) 78%, #000) 38% 100%);
  box-shadow: inset 0 0 0 3px rgba(0, 0, 0, .3), 0 10px 22px rgba(0, 0, 0, .4);
}
.crate::before {
  content: "";
  position: absolute;
  left: 50%; top: 32%;
  width: 16px; height: 18px;
  transform: translateX(-50%);
  border-radius: 2px;
  background: #f2d07a;
  box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .35);
}
.crate::after {
  content: "";
  position: absolute;
  left: 50%; top: 42%;
  width: 4px; height: 8px;
  transform: translateX(-50%);
  background: #4a3410;
  border-radius: 1px;
}

/* Retour d'un achat de test */
.achat-retour {
  margin: 0 0 12px;
  padding: 9px 12px;
  border-radius: var(--radius);
  border-left: 3px solid var(--line);
  background: var(--bg-soft);
  font-size: 13px;
  line-height: 1.45;
  white-space: pre-line;
}
.achat-retour.is-ok { border-left-color: var(--green); color: #7fdd9d; }
.achat-retour.is-ko { border-left-color: var(--red); color: #ff8e91; }
.achat-retour.is-wait { border-left-color: var(--gold); color: var(--gold-hi); }

/* Diamant dessiné en CSS */
.diamond {
  width: 66px; height: 60px;
  position: relative;
  background: linear-gradient(160deg, #a8f4ff 0%, #4fd4e8 38%, #1f9fb8 100%);
  clip-path: polygon(50% 0%, 100% 36%, 76% 100%, 24% 100%, 0% 36%);
  filter: drop-shadow(0 8px 16px rgba(53, 200, 216, .35));
}
.diamond::before {
  content: "";
  position: absolute;
  left: 14%; top: 10%;
  width: 24%; height: 34%;
  background: rgba(255, 255, 255, .75);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}
.diamond::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 36%;
  height: 2px;
  background: rgba(0, 0, 0, .18);
}

/* ------------------------------------------------------------ Vote */
.vote-list { display: grid; gap: 12px; }
.vote-site {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 16px 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .18s, transform .18s;
}
.vote-site:hover { border-color: var(--gold); transform: translateX(3px); }
.vote-site__num {
  display: grid; place-items: center;
  width: 52px; height: 52px;
  border-radius: var(--radius);
  background: var(--panel-2);
  border: 1px solid var(--line);
  color: var(--gold);
  font-family: "Lilita One", Barlow, sans-serif;
  font-size: 24px;
}
.vote-site h3 { margin: 0 0 2px; font-size: 16px; }
.vote-site p { margin: 0; font-size: 13.5px; }

.reward-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
}
.reward {
  padding: 18px 16px;
  text-align: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.reward b { display: block; color: var(--text-strong); font-size: 15px; margin-bottom: 4px; }
.reward span { font-size: 13px; }
.reward .pill { margin-bottom: 10px; }

.pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--accent, var(--gold)) 18%, transparent);
  color: var(--accent, var(--gold));
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* ------------------------------------------------------------ Règles */
.rules { display: grid; gap: 14px; }
.rule {
  padding: 18px 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent, var(--gold));
  border-radius: var(--radius);
}
.rule h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.rule h3 i {
  font-style: normal;
  font-size: 12px;
  padding: 3px 9px;
  border-radius: var(--radius);
  background: var(--panel-2);
  color: var(--accent, var(--gold));
  letter-spacing: .1em;
}
.rule p { margin: 0 0 8px; }
.rule p:last-child { margin-bottom: 0; }
.sanction {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--radius);
  background: rgba(237, 66, 69, .14);
  color: #ff7276;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* ------------------------------------------------------------ Staff */
.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px;
}
.staff-card {
  padding: 22px 18px;
  text-align: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .18s, border-color .18s;
}
.staff-card:hover { transform: translateY(-4px); border-color: var(--accent, var(--gold)); }
.staff-card .head { width: 62px; height: 62px; flex: none; margin: 0 auto 12px; border-radius: 4px; }
.staff-card b { display: block; color: var(--text-strong); font-size: 16px; }
.staff-card .pill { margin-top: 8px; }

.dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  margin-right: 6px;
  background: var(--text-dim);
}
.dot--on { background: var(--green); box-shadow: 0 0 0 3px rgba(59, 165, 93, .22); }

/* ------------------------------------------------------------ FAQ */
.faq { display: grid; gap: 10px; }
.faq details {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq summary {
  padding: 15px 18px;
  cursor: pointer;
  color: var(--text-strong);
  font-weight: 700;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details > p { margin: 0; padding: 0 18px 16px; }

/* ------------------------------------------------------------ Bandeau CTA */
.cta {
  position: relative;
  padding: 42px 30px;
  text-align: center;
  background:
    radial-gradient(90% 140% at 50% 0%, #3b3a68 0%, #26263a 55%, var(--bg-soft) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.cta h2 { font-size: clamp(22px, 3.4vw, 32px); text-transform: uppercase; letter-spacing: .04em; }
.cta p { max-width: 560px; margin: 0 auto 22px; }
.cta__btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ------------------------------------------------------------ Pied de page */
.footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--line-soft);
  padding: 46px 0 0;
  margin-top: 20px;
}
.footer__ip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 38px;
  padding: 14px 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: border-color .18s;
}
.footer__ip:hover { border-color: var(--gold); }
.footer__ip b { color: var(--text-strong); font-size: 20px; letter-spacing: .04em; text-transform: uppercase; }
.footer__ip span { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-dim); }

.footer__cols {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr;
  gap: 34px;
  padding-bottom: 34px;
}
.footer h4 {
  color: var(--gold);
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.footer p { font-size: 14px; margin: 0 0 12px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer ul li { margin-bottom: 8px; }
.footer ul a { color: var(--text); font-size: 14px; }
.footer ul a:hover { color: var(--gold); }

.footer__bar {
  padding: 16px 0;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12.5px;
  color: var(--text-dim);
}
.footer__bar a { color: var(--text-dim); }
.footer__bar a:hover { color: var(--gold); }

/* ------------------------------------------------------------ Divers */
.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translate(-50%, 140%);
  padding: 12px 22px;
  background: var(--panel-2);
  border: 1px solid var(--gold);
  border-radius: var(--radius-pill);
  color: var(--text-strong);
  font-weight: 700;
  font-size: 14px;
  box-shadow: var(--shadow-lg);
  z-index: 200;
  transition: transform .28s cubic-bezier(.2, .9, .3, 1.3);
}
.toast.is-on { transform: translate(-50%, 0); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ------------------------------------------------------------ Responsive */
@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: 1fr; gap: 30px; }
  .hero__cards { max-width: 520px; margin: 0 auto; width: 100%; }
  .layout { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav__menu {
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    background: var(--bg-deep);
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav__menu.is-open { display: flex; }
  .nav__link { text-align: center; }
  .nav__link--store { margin: 8px 0 0; }
  .nav__burger { display: block; }
  .nav__social { display: none; }
  .news-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .news-grid { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr; }
  .article { grid-template-columns: 1fr; }
  .article__date { width: 74px; }
  .vote-site { grid-template-columns: 44px 1fr; }
  .vote-site .btn { grid-column: 1 / -1; }
  .playcard { flex-direction: column; text-align: center; }
  .discordbar { flex-direction: column; }
  .ipbar { flex-direction: column; border-radius: var(--radius-lg); padding: 16px; }
}

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