/* ============================================================
   WYNORIA — Un monde à l'abandon
   Style complet et étendu (Carte, Dimensions, Datapacks, Votes, Boutique)
   ============================================================ */

@font-face{font-family:Manrope;src:url("assets/manrope.woff2") format("woff2");font-weight:400 800;font-display:swap}
@font-face{font-family:"Barlow Condensed";src:url("assets/barlow.woff2") format("woff2");font-weight:700;font-display:swap}

:root {
  /* Nuit forestière */
  --night:      #0a100c;
  --night-2:    #0f1a12;
  --surface:    #141f16;
  --surface-2:  #1a2b1e;
  --surface-3:  #223527;

  /* Lignes & bordures */
  --line:       rgba(200,210,180,.12);
  --line-2:     rgba(200,210,180,.22);

  /* Émeraude / forêt */
  --emerald:    #4ca85c;
  --emerald-2:  #6dcf7a;
  --leaf:       #8bbe6a;
  --leaf-lt:    #b8e09d;

  /* Or ancien (lettrage du logo) */
  --gold:       #e6bf76;
  --gold-lt:    #f4d59a;
  --gold-deep:  #b8903d;
  --gold-grad:  linear-gradient(180deg, #f7e7ba 0%, #e6bf76 48%, #b8903d 100%);

  /* Dimensions */
  --nether-red: #d4594c;
  --end-purple: #b97af5;
  --danger:     #d4766a;
  --online:     #adca91;

  /* Texte */
  --ink:        #f5f1e7;
  --muted:      #c2c9bd;
  --muted-2:    #8a9484;

  --maxw: 1200px;
  --r: 12px;
  --r-sm: 8px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --shadow: 0 24px 60px rgba(4,8,4,.55);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
[id] { scroll-margin-top: 90px; }

body {
  margin: 0; min-height: 100vh; color: var(--ink); background: var(--night);
  font-family: 'Outfit', Manrope, system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── Fond : brume forestière + étoiles ───────────────────────── */
body::before {
  content: ''; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(1200px 700px at 50% -8%, rgba(76,168,92,.12), transparent 68%),
    radial-gradient(800px 520px at 92% 30%, rgba(230,191,118,.06), transparent 70%),
    radial-gradient(900px 600px at 0% 70%, rgba(76,168,92,.08), transparent 70%),
    var(--night);
}
body::after {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .35;
  background-image:
    radial-gradient(1px 1px at 12% 18%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 27% 64%, #d9e9c4 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 44% 12%, #f4d59a 50%, transparent 51%),
    radial-gradient(1px 1px at 63% 42%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 78% 22%, #c4d9c4 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 88% 74%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 6% 88%, #d9e9c4 50%, transparent 51%),
    radial-gradient(1px 1px at 52% 86%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 35% 34%, #f4d59a 50%, transparent 51%),
    radial-gradient(1px 1px at 95% 8%, #fff 50%, transparent 51%);
  background-size: 640px 640px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--leaf-lt); text-decoration: none; transition: color .15s; }
a:hover { color: var(--gold-lt); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.gold {
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--gold);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--gold);
}
.rule-line { display: inline-block; width: 28px; height: 1px; background: var(--gold); flex: none; }

h1, h2, h3, h4 { font-family: 'Cinzel', "Barlow Condensed", serif; margin: 0; line-height: 1.1; letter-spacing: .01em; }

/* ═══════════════════════════════════════════════════════════════
   BOUTONS
   ═══════════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 22px; border-radius: var(--r-sm); border: 1px solid transparent;
  font: 700 14.5px/1 'Outfit', sans-serif; letter-spacing: .01em; cursor: pointer;
  transition: transform .14s var(--ease), filter .18s var(--ease), background .18s var(--ease), border-color .18s var(--ease), box-shadow .18s var(--ease);
  white-space: nowrap; text-decoration: none;
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn:active { transform: translateY(1px); }

.btn-gold {
  background: var(--gold-grad); color: #2b1606;
  box-shadow: 0 10px 28px rgba(230,191,118,.22), inset 0 1px 0 rgba(255,255,255,.45);
}
.btn-gold:hover { color: #2b1606; filter: brightness(1.07); box-shadow: 0 12px 34px rgba(230,191,118,.34), inset 0 1px 0 rgba(255,255,255,.45); }

.btn-ghost { background: rgba(20,31,22,.7); color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { color: var(--ink); border-color: var(--emerald); background: rgba(76,168,92,.12); }

.btn-sm { padding: 9px 14px; font-size: 13px; }
.btn-lg { padding: 16px 28px; font-size: 15.5px; }
.btn.disabled, .btn[disabled] { opacity: .5; cursor: not-allowed; pointer-events: none; }

/* ═══════════════════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════════════════ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,16,12,.85); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border-bottom: 1px solid transparent;
  border-image: linear-gradient(90deg, transparent, rgba(230,191,118,.35), rgba(76,168,92,.35), transparent) 1;
}
.nav-inner { display: flex; align-items: center; gap: 18px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); flex: none; text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand img { width: 42px; height: 42px; border-radius: 10px; filter: drop-shadow(0 0 8px rgba(76,168,92,.4)); }
.brand-text { font-family: 'Cinzel', serif; font-weight: 900; font-size: 20px; letter-spacing: .08em; }

.nav-menu { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  color: var(--muted); font-weight: 600; font-size: 14.5px; padding: 8px 12px; border-radius: 8px;
  display: inline-flex; align-items: center; gap: 7px; transition: color .15s, background .15s;
}
.nav-links a:hover { color: var(--ink); background: rgba(76,168,92,.1); }
.nav-links .nav-shop { color: var(--gold); border: 1px solid rgba(230,191,118,.3); }
.nav-links .nav-shop:hover { background: rgba(230,191,118,.12); color: var(--gold-lt); }

.nav-actions { display: flex; align-items: center; gap: 10px; }

.status-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 99px;
  background: rgba(20,31,22,.8); border: 1px solid var(--line); color: var(--muted); font-size: 13px; font-weight: 600; white-space: nowrap;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--online); flex: none; }
.dot.pulse { animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(173,202,145,.55); } 70% { box-shadow: 0 0 0 8px rgba(173,202,145,0); } 100% { box-shadow: 0 0 0 0 rgba(173,202,145,0); } }

.burger { display: none; margin-left: auto; background: none; border: 1px solid var(--line-2); color: var(--ink); border-radius: 10px; width: 44px; height: 44px; cursor: pointer; align-items: center; justify-content: center; }
.burger svg { width: 22px; height: 22px; }

@media (max-width: 1020px) {
  .burger { display: inline-flex; }
  .nav-menu { display: none; }
  .nav.open .nav-menu {
    display: flex; flex-direction: column; align-items: stretch; gap: 10px;
    position: absolute; left: 0; right: 0; top: 72px; padding: 12px 16px 18px;
    background: #0d170f; border-bottom: 1px solid var(--line-2); box-shadow: 0 24px 40px rgba(0,0,0,.5);
    max-height: calc(100vh - 72px); overflow: auto;
  }
  .nav.open .nav-links { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav.open .nav-links a { padding: 13px 12px; font-size: 16px; }
  .nav.open .nav-actions { justify-content: space-between; }
}

/* ═══════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════ */
.hero {
  position: relative; min-height: clamp(640px, 92vh, 920px); display: flex; align-items: center;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 51%; }
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(10,16,12,.5) 0%, rgba(10,16,12,.25) 30%, rgba(10,16,12,.7) 70%, rgba(10,16,12,.95) 100%),
    linear-gradient(90deg, rgba(10,16,12,.8) 0%, rgba(10,16,12,.4) 40%, transparent 70%);
}
.particles { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.hero-content {
  position: relative; z-index: 3; padding: 80px 0 60px;
  max-width: 760px;
}
.hero-logo {
  width: min(520px, 86vw); margin: 0 0 14px;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,.6)) drop-shadow(0 0 35px rgba(76,168,92,.25));
  animation: float 7s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Badge "MINECRAFT · SURVIE SEMI-RP" SOUS LE LOGO */
.hero-badge {
  display: inline-flex; align-items: center; gap: 12px;
  background: rgba(20,31,22,.85); border: 1px solid rgba(230,191,118,.35);
  padding: 8px 18px; border-radius: 99px; margin-bottom: 12px;
  backdrop-filter: blur(8px);
}
.hero-subtitle {
  font-family: 'Outfit', sans-serif; font-size: clamp(14px, 1.8vw, 17px); font-weight: 800;
  letter-spacing: .24em; color: var(--gold); text-transform: uppercase; margin: 0;
}
.diamond-sub {
  width: 7px; height: 7px; transform: rotate(45deg); background: var(--emerald-2);
  box-shadow: 0 0 8px rgba(109,207,122,.7); flex: none;
}

.hero-tagline {
  font-family: 'Cinzel', serif; font-weight: 900;
  font-size: clamp(32px, 5vw, 54px); text-transform: uppercase;
  margin: 12px 0 0; line-height: 1.05; letter-spacing: .01em;
}
.dot-accent { color: var(--gold); }
.hero-sub {
  color: var(--muted); font-size: clamp(15px, 1.8vw, 17.5px); max-width: 52ch; margin: 14px 0 0;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

/* Scroll indicator */
.hero-scroll {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 3;
}
.hero-scroll span {
  display: block; width: 24px; height: 38px; border-radius: 12px; border: 2px solid rgba(230,191,118,.4);
  position: relative;
}
.hero-scroll span::after {
  content: ''; position: absolute; top: 6px; left: 50%; width: 4px; height: 8px;
  margin-left: -2px; border-radius: 2px; background: var(--gold);
  animation: scroll-bounce 2s infinite;
}
@keyframes scroll-bounce {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(14px); }
}

/* ═══════════════════════════════════════════════════════════════
   STATS BAR
   ═══════════════════════════════════════════════════════════════ */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: linear-gradient(180deg, rgba(26,43,30,.9), rgba(20,31,22,.9));
  border-block: 1px solid var(--line);
}
.stat { padding: 28px 16px; text-align: center; position: relative; }
.stat + .stat::before { content: ''; position: absolute; left: 0; top: 28%; bottom: 28%; width: 1px; background: var(--line-2); }
.stat b { display: block; font-family: 'Cinzel', serif; font-weight: 900; font-size: clamp(18px, 2.4vw, 22px); line-height: 1.2; }
.stat span { display: block; margin-top: 4px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-2); }
@media (max-width: 720px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3)::before { display: none; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ═══════════════════════════════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════════════════════════════ */
.section { padding: 110px 0; position: relative; }
.section.alt { background: linear-gradient(180deg, rgba(20,31,22,0), rgba(20,31,22,.55) 18%, rgba(20,31,22,.55) 82%, rgba(20,31,22,0)); }

.section-head { display: grid; grid-template-columns: 1.3fr 1fr; align-items: end; gap: clamp(1rem, 5vw, 5rem); margin-bottom: 50px; }
.head-left h2 { font-size: clamp(32px, 5vw, 56px); font-weight: 900; text-transform: uppercase; margin-top: 10px; }
.head-desc { color: var(--muted); font-size: clamp(15px, 1.6vw, 17px); max-width: 48ch; padding-bottom: 4px; }

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .section-head { grid-template-columns: 1fr; gap: 12px; margin-bottom: 36px; }
}

/* ═══════════════════════════════════════════════════════════════
   ACTUALITÉS & PROGRESSION
   ═══════════════════════════════════════════════════════════════ */
.actu-banner {
  background: linear-gradient(135deg, rgba(26,43,30,.85), rgba(16,27,19,.9));
  border: 1px solid rgba(230,191,118,.35); border-radius: var(--r);
  padding: 30px; margin-bottom: 40px; box-shadow: var(--shadow);
}
.actu-badge {
  display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .18em;
  color: #2b1606; background: var(--gold-grad); padding: 5px 12px; border-radius: 99px;
  margin-bottom: 14px;
}
.actu-content h3 { font-size: clamp(20px, 2.4vw, 26px); margin-bottom: 10px; }
.actu-content p { color: var(--muted); font-size: 15px; margin-bottom: 20px; max-width: 70ch; }
.progress-bar-container {
  height: 12px; background: rgba(10,16,12,.8); border-radius: 99px; overflow: hidden;
  border: 1px solid var(--line-2); margin-bottom: 10px;
}
.progress-bar {
  height: 100%; background: linear-gradient(90deg, #4ca85c, #e6bf76);
  border-radius: 99px; transition: width 1s ease;
  box-shadow: 0 0 12px rgba(230,191,118,.5);
}
.progress-labels { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); font-weight: 600; }

.roadmap { max-width: 860px; margin: 0 auto; border-top: 1px solid var(--line); }
.road-item {
  display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center;
  padding: 20px 0; border-bottom: 1px solid var(--line); transition: background .2s;
}
.road-item:hover { background: rgba(76,168,92,.04); }
.road-num {
  font-family: 'Cinzel', serif; font-size: 15px; font-weight: 900; color: var(--gold);
  width: 36px; text-align: center;
}
.road-item.done .road-num { color: var(--emerald-2); }
.road-content h3 { font: 800 16px/1.3 'Outfit', sans-serif; }
.road-content p { font-size: 14px; color: var(--muted); margin-top: 3px; }
.road-badge {
  font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  color: var(--gold); border: 1px solid rgba(230,191,118,.35);
  padding: 4px 10px; border-radius: 6px; white-space: nowrap;
}
.road-badge.done-badge { color: var(--emerald-2); border-color: rgba(76,168,92,.4); background: rgba(76,168,92,.1); }
.road-badge.future { color: var(--muted-2); border-color: var(--line); }

/* ═══════════════════════════════════════════════════════════════
   LA CARTE DU MONDE (CARTE OFFICIELLE)
   ═══════════════════════════════════════════════════════════════ */
.map-showcase { display: grid; gap: 30px; }
.map-frame {
  position: relative; border-radius: var(--r); overflow: hidden;
  border: 2px solid rgba(230,191,118,.35); box-shadow: 0 20px 50px rgba(0,0,0,.6);
}
.map-image {
  width: 100%; height: auto; display: block;
  transition: transform .6s var(--ease);
}
.map-frame:hover .map-image { transform: scale(1.02); }
.map-glow {
  position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 30px rgba(10,16,12,.7);
}

.map-points-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.map-point-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 20px; transition: transform .2s, border-color .2s;
}
.map-point-card:hover { transform: translateY(-3px); border-color: var(--line-2); }
.map-badge {
  display: inline-block; font-size: 10.5px; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; padding: 3px 8px; border-radius: 4px; margin-bottom: 8px;
}
.map-badge.bastion { background: rgba(230,191,118,.15); color: var(--gold-lt); border: 1px solid rgba(230,191,118,.3); }
.map-badge.safe { background: rgba(185,122,245,.15); color: #ddb8ff; border: 1px solid rgba(185,122,245,.3); }
.map-badge.danger { background: rgba(212,118,106,.15); color: #ff9d91; border: 1px solid rgba(212,118,106,.3); }
.map-badge.nature { background: rgba(76,168,92,.15); color: #a4e6b0; border: 1px solid rgba(76,168,92,.3); }
.map-badge.cold { background: rgba(118,197,230,.15); color: #a6e4ff; border: 1px solid rgba(118,197,230,.3); }
.map-badge.hot { background: rgba(224,115,50,.15); color: #ffab78; border: 1px solid rgba(224,115,50,.3); }
.map-point-card h4 { font-size: 17px; margin-bottom: 6px; }
.map-point-card p { font-size: 13.5px; color: var(--muted); margin: 0; line-height: 1.5; }

@media (max-width: 900px) { .map-points-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .map-points-grid { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════════════════════════
   DIMENSIONS (OVERWORLD, NETHER, END)
   ═══════════════════════════════════════════════════════════════ */
.dim-block { margin-bottom: 50px; }
.dim-block:last-child { margin-bottom: 0; }
.dim-header {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 20px;
  margin-bottom: 20px; border-bottom: 1px solid var(--line); padding-bottom: 14px;
}
.dim-tag {
  display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .15em;
  text-transform: uppercase; padding: 4px 10px; border-radius: 99px; margin-bottom: 6px;
}
.dim-tag.overworld { background: rgba(76,168,92,.15); color: var(--leaf-lt); border: 1px solid rgba(76,168,92,.3); }
.dim-tag.nether { background: rgba(212,89,76,.15); color: #ff8c80; border: 1px solid rgba(212,89,76,.3); }
.dim-tag.end { background: rgba(185,122,245,.15); color: #e1bfff; border: 1px solid rgba(185,122,245,.3); }
.dim-header h3 { font-size: clamp(20px, 2.4vw, 28px); }
.dim-header p { color: var(--muted); font-size: 14.5px; max-width: 44ch; margin: 0; text-align: right; }

.dim-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.dim-photo {
  position: relative; border-radius: var(--r-sm); overflow: hidden; aspect-ratio: 16/10;
  border: 1px solid var(--line); background: #000;
}
.dim-photo img {
  width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease);
}
.dim-photo:hover img { transform: scale(1.08); }
.dim-photo span {
  position: absolute; bottom: 0; inset-inline: 0; padding: 20px 10px 8px;
  background: linear-gradient(180deg, transparent, rgba(10,16,12,.85));
  font-size: 12px; font-weight: 700; color: #fff; letter-spacing: .02em;
}

@media (max-width: 900px) {
  .dim-gallery { grid-template-columns: 1fr 1fr; }
  .dim-header { flex-direction: column; align-items: flex-start; }
  .dim-header p { text-align: left; }
}

/* ═══════════════════════════════════════════════════════════════
   DATAPACKS (MODRINTH)
   ═══════════════════════════════════════════════════════════════ */
.modrinth-callout {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  background: linear-gradient(135deg, rgba(34,53,39,.7), rgba(20,31,22,.8));
  border: 1px solid rgba(230,191,118,.3); border-radius: var(--r);
  padding: 24px 28px; margin-bottom: 30px;
}
.callout-badge {
  font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold); display: block; margin-bottom: 6px;
}
.callout-left h3 { font-size: 22px; margin-bottom: 4px; }
.callout-left p { color: var(--muted); font-size: 14.5px; margin: 0; }

.datapacks-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.dp-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 24px; transition: transform .25s var(--ease), border-color .25s;
  display: flex; flex-direction: column;
}
.dp-card:hover { transform: translateY(-4px); border-color: var(--line-2); }
.dp-badge {
  align-self: flex-start; font-size: 10.5px; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; padding: 3px 8px; border-radius: 4px; margin-bottom: 12px;
}
.dp-badge.end-bg { background: rgba(185,122,245,.2); color: #dcb3ff; }
.dp-badge.nether-bg { background: rgba(212,89,76,.2); color: #ff9a8f; }
.dp-badge.overworld-bg { background: rgba(76,168,92,.2); color: #a6ebb1; }
.dp-badge.ruin-bg { background: rgba(230,191,118,.2); color: var(--gold-lt); }
.dp-badge.util-bg { background: rgba(118,197,230,.2); color: #b0e9ff; }
.dp-card h4 { font-size: 18px; margin-bottom: 8px; }
.dp-card p { font-size: 13.5px; color: var(--muted); line-height: 1.55; flex: 1; margin: 0 0 14px; }
.dp-author { font-size: 11.5px; color: var(--muted-2); font-weight: 700; text-transform: uppercase; }

@media (max-width: 900px) {
  .datapacks-grid { grid-template-columns: 1fr 1fr; }
  .modrinth-callout { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 540px) { .datapacks-grid { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════════════════════════
   SECTION VOTES
   ═══════════════════════════════════════════════════════════════ */
.vote-preview { max-width: 860px; margin: 0 auto; display: grid; gap: 24px; }
.vote-reward-card {
  display: flex; align-items: center; gap: 20px; padding: 24px 26px; border-radius: var(--r);
  background: linear-gradient(110deg, rgba(230,191,118,.14), rgba(76,168,92,.14));
  border: 1px solid rgba(230,191,118,.35);
}
.coin-icon {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: var(--gold-grad); color: #2b1606; font-size: 24px; font-weight: 900;
  flex: none; box-shadow: 0 0 16px rgba(230,191,118,.4);
}
.vote-reward-card h3 { font-size: 20px; margin-bottom: 4px; }
.vote-reward-card p { color: var(--muted); font-size: 14.5px; margin: 0; }
.coming-pill {
  margin-left: auto; font-size: 11px; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; color: var(--gold); border: 1px solid rgba(230,191,118,.4);
  padding: 6px 12px; border-radius: 99px; white-space: nowrap;
}

.vote-sites-list { display: grid; gap: 12px; }
.vote-site-item {
  display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: var(--r-sm);
  background: var(--surface); border: 1px solid var(--line);
}
.site-rank {
  font-family: 'Cinzel', serif; font-size: 16px; font-weight: 900; color: var(--gold);
  width: 32px; text-align: center;
}
.site-details { flex: 1; }
.site-details b { display: block; font-size: 16px; }
.site-details span { font-size: 12.5px; color: var(--muted-2); }

@media (max-width: 640px) {
  .vote-reward-card { flex-direction: column; text-align: center; }
  .coming-pill { margin: 10px auto 0; }
  .vote-site-item { flex-wrap: wrap; }
  .vote-site-item .btn { width: 100%; margin-top: 8px; }
}

/* ═══════════════════════════════════════════════════════════════
   BOUTIQUE (TEBEX)
   ═══════════════════════════════════════════════════════════════ */
.shop-preview { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.shop-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 28px 24px; text-align: center; transition: transform .25s var(--ease);
}
.shop-card:hover { transform: translateY(-4px); border-color: var(--line-2); }
.shop-icon { font-size: 36px; margin-bottom: 14px; }
.shop-card h3 { font-size: 19px; margin-bottom: 8px; }
.shop-card p { font-size: 14px; color: var(--muted); margin: 0 0 16px; line-height: 1.55; }
.shop-status {
  display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; color: var(--gold); background: rgba(230,191,118,.12);
  border: 1px solid rgba(230,191,118,.3); padding: 4px 10px; border-radius: 6px;
}

@media (max-width: 820px) { .shop-preview { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════════════════════════
   PILLARS (Concept)
   ═══════════════════════════════════════════════════════════════ */
.pillars { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.pillar {
  position: relative; padding: 28px 22px 24px; border-radius: var(--r);
  background: linear-gradient(180deg, rgba(34,53,39,.7), rgba(20,31,22,.7));
  border: 1px solid var(--line);
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
  overflow: hidden;
}
.pillar::before { content: ''; position: absolute; inset: 0 0 auto; height: 3px; background: var(--accent, var(--gold)); }
.pillar:hover { transform: translateY(-5px); border-color: var(--line-2); box-shadow: var(--shadow); }
.pillar-icon {
  width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; margin-bottom: 18px; font-size: 22px;
  background: rgba(76,168,92,.1); border: 1px solid var(--line-2);
}
.pillar small { display: block; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.pillar h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; text-transform: uppercase; }
.pillar p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }

@media (max-width: 1100px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .pillars { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .pillars { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════════════════════════
   RECRUIT CARDS
   ═══════════════════════════════════════════════════════════════ */
.recruit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.recruit-card {
  padding: 28px 22px; border-radius: var(--r);
  background: linear-gradient(180deg, rgba(34,53,39,.6), rgba(20,31,22,.6));
  border: 1px solid var(--line);
  transition: transform .25s var(--ease), border-color .25s var(--ease);
  text-align: center;
}
.recruit-card:hover { transform: translateY(-4px); border-color: var(--line-2); }
.recruit-icon {
  width: 56px; height: 56px; display: grid; place-items: center; border-radius: 14px;
  margin: 0 auto 16px; font-size: 26px;
  background: rgba(76,168,92,.1); border: 1px solid var(--line-2);
}
.recruit-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; text-transform: uppercase; }
.recruit-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }

@media (max-width: 1000px) { .recruit-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .recruit-grid { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════════════════════════
   CTA FINAL
   ═══════════════════════════════════════════════════════════════ */
.finale {
  position: relative; overflow: hidden; padding: 100px 0;
  background:
    radial-gradient(700px 400px at 78% 50%, rgba(76,168,92,.2), transparent 70%),
    linear-gradient(115deg, #162b1a 0%, #101d13 55%, #0a100c 100%);
  border-block: 1px solid var(--line);
}
.finale-inner { display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 30px; }
.finale h2 { font-size: clamp(34px, 5.6vw, 60px); font-weight: 900; text-transform: uppercase; line-height: 1.04; margin-top: 12px; }
.finale p { color: var(--muted); font-size: 16px; max-width: 48ch; margin: 18px 0 0; }
.finale-cta { margin-top: 28px; }
.status-dot-green {
  display: inline-block; width: 8px; height: 8px; background: var(--online);
  border-radius: 50%; animation: pulse 2.2s infinite;
}
.discord-link {
  display: flex; align-items: center; gap: 10px; margin-top: 16px;
  background: rgba(10,16,12,.5); border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 8px 14px;
}
.discord-link code {
  font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace; font-size: 14px;
  color: var(--gold-lt); background: none; border: none; padding: 0;
}
.copy-btn {
  display: inline-flex; align-items: center; gap: 6px; background: none; border: 1px solid var(--line-2);
  color: var(--muted); font: 600 12px 'Outfit', sans-serif; padding: 5px 10px;
  border-radius: 6px; cursor: pointer; transition: color .15s, border-color .15s;
  margin-left: auto;
}
.copy-btn svg { width: 14px; height: 14px; }
.copy-btn:hover { color: var(--gold); border-color: var(--gold); }

.finale-emblem {
  width: min(320px, 100%); justify-self: center;
  filter: drop-shadow(0 20px 30px rgba(0,0,0,.4)) drop-shadow(0 0 20px rgba(76,168,92,.25));
  animation: float 6s ease-in-out infinite;
}
@media (max-width: 820px) {
  .finale-inner { grid-template-columns: 1fr; text-align: center; }
  .finale p { margin-inline: auto; }
  .finale-cta { display: flex; justify-content: center; }
  .discord-link { justify-content: center; }
  .finale-emblem { order: -1; width: min(250px, 70%); margin: 0 auto; }
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
.footer { border-top: 1px solid var(--line); padding: 36px 0 40px; background: rgba(10,16,12,.7); }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.footer nav { display: flex; gap: 6px 22px; flex-wrap: wrap; justify-content: center; }
.footer nav a { color: var(--muted-2); font-size: 14px; font-weight: 600; }
.footer nav a:hover { color: var(--ink); }
.footer-legal {
  display: flex; justify-content: center; gap: 20px; flex-wrap: wrap;
  font-size: 12.5px; color: var(--muted-2);
  border-top: 1px solid var(--line); padding-top: 18px; width: 100%; text-align: center;
}

/* ═══════════════════════════════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
   ═══════════════════════════════════════════════════════════════ */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

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

/* ============================================================
   BOUTIQUE — vitrine produits (Tebex)
   ============================================================ */
.shop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.shop-item {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.shop-item:hover { transform: translateY(-5px); border-color: var(--line-2); box-shadow: var(--shadow); }
.shop-img { position: relative; background: var(--surface-2); }
.shop-img img { display: block; width: 100%; height: auto; aspect-ratio: 2.4 / 1; object-fit: cover; }
.shop-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.shop-tag {
  align-self: flex-start; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  padding: 5px 9px; border-radius: 4px; background: var(--gold); color: #2b1606; margin-bottom: 12px;
}
.shop-tag.tag-new { background: var(--emerald); color: #06140a; }
.shop-tag.tag-hot { background: var(--gold-lt); color: #2b1606; }
.shop-cat { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); margin: 0 0 6px; }
.shop-item h3 { font-size: 19px; margin: 0 0 8px; color: var(--ink); }
.shop-desc { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.55; flex: 1; }
.shop-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 20px; }
.shop-price { font-size: 20px; font-weight: 700; color: var(--gold-lt); }
.shop-note { margin: 22px 0 0; font-size: 13px; color: var(--muted-2); text-align: center; }
.shop-cta { margin-top: 26px; text-align: center; }
@media (max-width: 960px) { .shop-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .shop-grid { grid-template-columns: 1fr; } }
