@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@700;900&family=Crimson+Pro:ital,wght@0,300;0,400;0,600;1,300;1,400&display=swap');

/* ═══════════════════════════════════════════════════
   MINORIA — pages.css
   CSS partagé pour toutes les pages secondaires
   ═══════════════════════════════════════════════════ */

:root {
  --bg:        #0b0e15;
  --bg2:       #080a10;
  --surface:   #0f1520;
  --surface2:  #141c2a;
  --border:    #1a2535;
  --border2:   #243047;
  --gold:      #c8a840;
  --gold2:     #f0d070;
  --gold3:     #fff3b0;
  --gold-dim:  #7a6520;
  --ember:     #e05a20;
  --ember2:    #ff7a40;
  --teal:      #2dc8a0;
  --teal2:     #60e8c8;
  --purple:    #8060c8;
  --purple2:   #a888f0;
  --text:      #d8cfc0;
  --text2:     #b0a898;
  --muted:     #5a6878;
  --ease:      cubic-bezier(.25,.46,.45,.94);
  --bounce:    cubic-bezier(.34,1.56,.64,1);
}

/* ── RESET ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scrollbar-width: thin; scrollbar-color: var(--gold-dim) var(--bg); }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--gold-dim); border-radius: 3px; }
::selection { background: rgba(200,168,64,.25); color: var(--gold2); }

/* ── CURSOR ────────────────────────────────────── */
* { cursor: none !important; }
#cursor {
  position: fixed; width: 10px; height: 10px; background: var(--gold);
  border-radius: 50%; pointer-events: none; z-index: 9999;
  transform: translate(-50%,-50%);
  transition: width .18s var(--bounce), height .18s var(--bounce), background .2s, border-radius .2s;
  mix-blend-mode: screen;
}
#cursor-ring {
  position: fixed; width: 36px; height: 36px;
  border: 1px solid rgba(200,168,64,.55); border-radius: 50%;
  pointer-events: none; z-index: 9998;
  transform: translate(-50%,-50%);
  transition: width .22s var(--ease), height .22s var(--ease), opacity .2s;
}
body:has(a:hover) #cursor,
body:has(button:hover) #cursor { width: 20px; height: 20px; background: var(--gold2); }
body:has(a:hover) #cursor-ring,
body:has(button:hover) #cursor-ring { width: 56px; height: 56px; opacity: .5; }
body:has(input:focus) #cursor { width: 3px; height: 22px; border-radius: 2px; background: var(--gold2); }

/* ── BODY ──────────────────────────────────────── */
body {
  background: var(--bg); color: var(--text);
  font-family: 'Crimson Pro', Georgia, serif;
  font-size: 18px; line-height: 1.75;
  overflow-x: hidden; min-height: 100vh;
}
body::before {
  content: ''; position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.035'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 998;
}
body::after {
  content: ''; position: fixed; inset: 0;
  background: radial-gradient(ellipse at center, transparent 50%, rgba(0,0,0,.65) 100%);
  pointer-events: none; z-index: 997;
}

/* ── NAV ───────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.6rem 3.5rem;
  transition: padding .4s var(--ease), background .4s, box-shadow .4s;
}
nav.scrolled {
  padding: 1rem 3.5rem;
  background: rgba(7,9,16,.94);
  backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid rgba(200,168,64,.08);
  box-shadow: 0 4px 50px rgba(0,0,0,.6);
}
.nav-logo {
  font-family: 'Cinzel Decorative', serif; font-size: 1.5rem; color: var(--gold);
  text-decoration: none; letter-spacing: .05em;
  text-shadow: 0 0 25px rgba(200,168,64,.55);
  transition: text-shadow .3s; position: relative;
}
.nav-logo::after {
  content: ''; position: absolute; bottom: -3px; left: 0; right: 0;
  height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0); transition: transform .4s var(--ease);
}
.nav-logo:hover { text-shadow: 0 0 45px rgba(200,168,64,.9); }
.nav-logo:hover::after { transform: scaleX(1); }
.nav-links { display: flex; align-items: center; gap: 2.5rem; list-style: none; }
.nav-links a {
  color: var(--muted); text-decoration: none; font-size: .78rem;
  letter-spacing: .2em; text-transform: uppercase;
  position: relative; padding-bottom: 2px; transition: color .3s;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 1px; background: var(--gold);
  transition: width .3s var(--ease);
}
.nav-links a:hover { color: var(--gold2); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  color: var(--gold) !important;
  border: 1px solid rgba(200,168,64,.35) !important;
  padding: .45rem 1.4rem; border-radius: 1px;
  background: rgba(200,168,64,.04);
  transition: background .3s, border-color .3s, color .3s, box-shadow .3s !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: var(--gold) !important; color: #060810 !important;
  border-color: var(--gold) !important; box-shadow: 0 0 28px rgba(200,168,64,.35) !important;
}

/* ── BG LAYERS ─────────────────────────────────── */
.page-bg {
  position: fixed; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 10%, rgba(200,168,64,.07) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 10% 85%, rgba(224,90,32,.06) 0%, transparent 50%),
    radial-gradient(ellipse 50% 40% at 90% 70%, rgba(45,200,160,.05) 0%, transparent 50%);
}
.page-grid {
  position: fixed; inset: -5%; z-index: 0;
  background-image:
    linear-gradient(rgba(200,168,64,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,168,64,.04) 1px, transparent 1px);
  background-size: 55px 55px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 72%);
  animation: gridDrift 25s linear infinite;
}
@keyframes gridDrift { 0%{transform:translate(0,0)} 100%{transform:translate(55px,55px)} }

/* ── PARTICLES ─────────────────────────────────── */
#particles { position: fixed; inset: 0; pointer-events: none; overflow: hidden; z-index: 1; }
.particle {
  position: absolute; width: 2px; height: 2px; border-radius: 50%;
  background: var(--gold); opacity: 0;
  animation: pfloat var(--dur) var(--delay) infinite;
  box-shadow: 0 0 5px var(--gold);
}
@keyframes pfloat {
  0%   { transform: translateY(0) translateX(0) scale(1); opacity: 0; }
  10%  { opacity: .8; }
  50%  { transform: translateY(-50vh) translateX(calc(var(--drift)*.5)) scale(1.5); }
  90%  { opacity: .15; }
  100% { transform: translateY(-115vh) translateX(var(--drift)) scale(.5); opacity: 0; }
}

/* ── LAYOUTS ───────────────────────────────────── */
.page-center {
  position: relative; z-index: 10; min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 9rem 2rem 5rem;
}
.page-content {
  position: relative; z-index: 10;
  padding: 8rem 3rem 5rem;
  max-width: 1200px; margin: 0 auto; width: 100%;
}
.page-wide {
  position: relative; z-index: 10;
  padding: 8rem 3rem 5rem;
  max-width: 1400px; margin: 0 auto; width: 100%;
}

/* ── BACK LINK ─────────────────────────────────── */
.back-link {
  display: inline-flex; align-items: center; gap: .55rem;
  color: var(--muted); text-decoration: none;
  font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
  margin-bottom: 2.2rem; transition: color .25s, gap .2s;
}
.back-link:hover { color: var(--gold2); gap: .85rem; }
.back-link svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; }

/* ── SECTION HEADERS ───────────────────────────── */
.section-eyebrow {
  font-size: .68rem; letter-spacing: .36em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 1rem;
  display: flex; align-items: center; gap: .85rem;
  text-shadow: 0 0 14px rgba(45,200,160,.35);
}
.section-eyebrow::before {
  content: ''; width: 20px; height: 1px;
  background: var(--teal); box-shadow: 0 0 8px var(--teal); flex-shrink: 0;
}
.section-h {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(1.7rem, 4vw, 3rem); color: var(--gold2); line-height: 1.1;
  margin-bottom: 1rem; text-shadow: 0 0 30px rgba(200,168,64,.15);
}
.section-sub {
  color: var(--muted); font-style: italic; font-size: 1.05rem;
  max-width: 560px; line-height: 1.85; margin-bottom: 3rem;
}
.divider {
  width: 80px; height: 1px;
  background: linear-gradient(90deg, var(--gold), rgba(200,168,64,.08));
  margin: 1.8rem 0 3.5rem; position: relative;
}
.divider::before {
  content: '◆'; position: absolute; left: -1px; top: 50%;
  transform: translateY(-50%); font-size: .38rem; color: var(--gold);
}

/* ── AUTH CARD ─────────────────────────────────── */
.auth-card {
  width: 100%; max-width: 480px;
  background: rgba(11,14,21,.93); border: 1px solid var(--border2);
  border-radius: 3px; padding: 3.5rem 3rem; position: relative;
  backdrop-filter: blur(24px);
  animation: cardIn .7s var(--ease) both;
}
@keyframes cardIn {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.auth-card::before {
  content: ''; position: absolute; inset: -1px; border-radius: 3px;
  background: linear-gradient(135deg, rgba(200,168,64,.18), transparent 50%, rgba(45,200,160,.1));
  z-index: -1; pointer-events: none;
}
.card-eyebrow {
  font-size: .68rem; letter-spacing: .36em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 1.2rem;
  display: flex; align-items: center; gap: .8rem;
  text-shadow: 0 0 14px rgba(45,200,160,.35);
}
.card-eyebrow::before {
  content: ''; width: 18px; height: 1px;
  background: var(--teal); box-shadow: 0 0 8px var(--teal); flex-shrink: 0;
}
.card-title {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(1.6rem, 4vw, 2.2rem); color: var(--gold2);
  line-height: 1.1; margin-bottom: .7rem;
  text-shadow: 0 0 30px rgba(200,168,64,.2);
}
.card-sub {
  color: var(--muted); font-style: italic; font-size: .95rem;
  margin-bottom: 2.5rem; line-height: 1.7;
}
.card-link {
  text-align: center; margin-top: 2rem; font-size: .88rem; color: var(--muted);
}
.card-link a {
  color: var(--gold); text-decoration: none; transition: color .25s, text-shadow .25s;
}
.card-link a:hover { color: var(--gold2); text-shadow: 0 0 14px rgba(240,208,112,.3); }

/* ── FORM ──────────────────────────────────────── */
.form-group { margin-bottom: 1.4rem; animation: fadeUp .5s var(--ease) both; }
.form-group:nth-child(2) { animation-delay: .07s; }
.form-group:nth-child(3) { animation-delay: .14s; }
.form-group:nth-child(4) { animation-delay: .21s; }
.form-group:nth-child(5) { animation-delay: .28s; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.form-label {
  display: block; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted); margin-bottom: .5rem; transition: color .3s;
}
.form-group:focus-within .form-label { color: var(--gold); }
.form-input {
  width: 100%; background: rgba(8,10,16,.8);
  border: 1px solid var(--border2); border-radius: 2px;
  padding: .85rem 1.2rem; color: var(--text);
  font-family: 'Crimson Pro', serif; font-size: 1rem;
  outline: none; transition: border-color .3s, box-shadow .3s, background .3s;
  appearance: none;
}
.form-input::placeholder { color: var(--muted); font-style: italic; }
.form-input:focus {
  border-color: rgba(200,168,64,.45);
  box-shadow: 0 0 0 3px rgba(200,168,64,.07), 0 0 18px rgba(200,168,64,.08);
  background: rgba(10,14,22,.95);
}
textarea.form-input { min-height: 130px; resize: vertical; padding-top: .85rem; line-height: 1.6; }
.form-hint { font-size: .8rem; color: var(--muted); font-style: italic; margin-top: .4rem; }
.input-wrap { position: relative; }
.input-wrap .form-input { padding-right: 3rem; }
.toggle-pw {
  position: absolute; right: .9rem; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: var(--muted); font-size: .9rem; transition: color .2s;
}
.toggle-pw:hover { color: var(--gold); }
.check-row {
  display: flex; align-items: flex-start; gap: .8rem;
  font-size: .88rem; color: var(--muted);
}
.check-row input[type="checkbox"] {
  appearance: none; -webkit-appearance: none;
  width: 16px; height: 16px; flex-shrink: 0; margin-top: 4px;
  border: 1px solid var(--border2); border-radius: 2px;
  background: rgba(8,10,16,.8);
  transition: border-color .25s, background .25s, box-shadow .25s; position: relative;
}
.check-row input[type="checkbox"]:checked {
  background: var(--gold); border-color: var(--gold); box-shadow: 0 0 12px rgba(200,168,64,.3);
}
.check-row input[type="checkbox"]:checked::after {
  content: '✓'; position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: .65rem; color: #060810; font-weight: 900;
}
.form-alert {
  display: flex; align-items: flex-start; gap: .8rem;
  padding: .9rem 1.2rem;
  background: rgba(224,90,32,.07); border: 1px solid rgba(224,90,32,.22);
  border-radius: 2px; font-size: .88rem; color: var(--ember2);
  margin-bottom: 1.5rem; animation: fadeUp .4s var(--ease) both;
}
.form-alert.success {
  background: rgba(45,200,160,.07); border-color: rgba(45,200,160,.22); color: var(--teal2);
}

/* ── BUTTONS ───────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  font-family: 'Crimson Pro', serif; font-size: .92rem; letter-spacing: .16em;
  text-transform: uppercase; padding: 1rem 2.6rem;
  background: linear-gradient(135deg, var(--gold) 0%, var(--ember) 100%);
  color: #060810; font-weight: 700; border: none; border-radius: 1px;
  text-decoration: none; position: relative; overflow: hidden;
  transition: transform .2s var(--bounce), box-shadow .3s;
  box-shadow: 0 4px 30px rgba(200,168,64,.22), inset 0 1px 0 rgba(255,255,255,.12);
}
.btn-primary::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--gold2), var(--gold)); opacity: 0; transition: opacity .3s;
}
.btn-primary::after {
  content: ''; position: absolute; top: 0; left: -100%; width: 55%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent);
  transform: skewX(-22deg); transition: left .55s var(--ease);
}
.btn-primary span { position: relative; z-index: 1; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 45px rgba(200,168,64,.4); }
.btn-primary:hover::before { opacity: 1; }
.btn-primary:hover::after  { left: 170%; }
.btn-primary:active { transform: translateY(-1px); }

.btn-secondary {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  font-family: 'Crimson Pro', serif; font-size: .92rem; letter-spacing: .16em;
  text-transform: uppercase; padding: .95rem 2.6rem;
  background: transparent; color: var(--text2); border: 1px solid var(--border2);
  border-radius: 1px; text-decoration: none; position: relative; overflow: hidden;
  transition: color .3s, border-color .3s, transform .2s var(--bounce), box-shadow .3s;
}
.btn-secondary::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(200,168,64,.05);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.btn-secondary span { position: relative; z-index: 1; }
.btn-secondary:hover {
  color: var(--gold2); border-color: rgba(200,168,64,.35);
  transform: translateY(-3px); box-shadow: 0 8px 35px rgba(0,0,0,.35);
}
.btn-secondary:hover::before { transform: scaleX(1); }

.btn-discord {
  display: inline-flex; align-items: center; justify-content: center; gap: .7rem;
  font-family: 'Crimson Pro', serif; font-size: .92rem; letter-spacing: .16em;
  text-transform: uppercase; padding: 1rem 2.6rem;
  background: linear-gradient(135deg, #5865F2, #7289DA);
  color: #fff; font-weight: 700; border: none; border-radius: 1px;
  text-decoration: none; position: relative; overflow: hidden;
  transition: transform .2s var(--bounce), box-shadow .3s;
  box-shadow: 0 4px 30px rgba(88,101,242,.25);
}
.btn-discord:hover { transform: translateY(-3px); box-shadow: 0 10px 45px rgba(88,101,242,.45); }
.btn-discord span { position: relative; z-index: 1; }
.btn-full { width: 100%; }

/* ── OR DIVIDER ────────────────────────────────── */
.or-divider {
  display: flex; align-items: center; gap: 1rem; margin: 1.8rem 0;
  color: var(--muted); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase;
}
.or-divider::before { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--border2)); }
.or-divider::after  { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, var(--border2), transparent); }

/* ── CARD GRID (wiki, boutique…) ───────────────── */
.card-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px; background: var(--border); border: 1px solid var(--border);
  border-radius: 3px; overflow: hidden;
}
.grid-card {
  background: var(--surface); padding: 2.4rem;
  position: relative; overflow: hidden; transition: background .3s;
}
.grid-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0; transition: opacity .4s;
}
.grid-card:hover { background: var(--surface2); }
.grid-card:hover::before { opacity: 1; }
.grid-card-icon { font-size: 2.2rem; margin-bottom: 1.2rem; display: block; transition: transform .3s var(--bounce); }
.grid-card:hover .grid-card-icon { transform: scale(1.15) translateY(-3px); }
.grid-card-title { font-family: 'Cinzel Decorative', serif; font-size: .88rem; color: var(--gold); margin-bottom: .7rem; letter-spacing: .06em; }
.grid-card-text  { color: var(--muted); font-size: .92rem; line-height: 1.7; }

/* ── TABLE CLASSEMENT ──────────────────────────── */
.rank-table { width: 100%; border-collapse: collapse; }
.rank-table thead th {
  font-size: .66rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--muted); padding: .9rem 1.2rem; text-align: left;
  border-bottom: 1px solid var(--border2); font-weight: 400;
}
.rank-table tbody tr {
  background: var(--surface); border-bottom: 1px solid var(--border);
  transition: background .2s, transform .2s var(--ease);
}
.rank-table tbody tr:hover { background: var(--surface2); transform: translateX(4px); }
.rank-table td { padding: 1rem 1.2rem; font-size: .96rem; vertical-align: middle; }
.rank-pos { font-family: 'Cinzel Decorative', serif; font-size: .72rem; color: var(--border2); }
.rank-pos.gold   { color: var(--gold);   text-shadow: 0 0 14px rgba(200,168,64,.5); }
.rank-pos.silver { color: #a0b4c0; }
.rank-pos.bronze { color: #c07848; }
.rank-name  { color: var(--text); font-weight: 600; }
.rank-score { color: var(--gold2); font-family: 'Cinzel Decorative', serif; font-size: .85rem; }
.rank-tag {
  font-size: .62rem; letter-spacing: .14em; text-transform: uppercase;
  padding: .22rem .7rem; border-radius: 1px; white-space: nowrap;
}
.tag-core  { background: rgba(200,168,64,.08); color: var(--gold);   border: 1px solid rgba(200,168,64,.2); }
.tag-magic { background: rgba(45,200,160,.07); color: var(--teal);   border: 1px solid rgba(45,200,160,.18); }
.tag-tech  { background: rgba(224,90,32,.07);  color: var(--ember);  border: 1px solid rgba(224,90,32,.2); }
.tag-world { background: rgba(128,96,200,.07); color: var(--purple); border: 1px solid rgba(128,96,200,.18); }

/* ── WIKI ──────────────────────────────────────── */
.wiki-layout { display: grid; grid-template-columns: 230px 1fr; gap: 3rem; align-items: start; }
.wiki-sidebar {
  position: sticky; top: 7rem;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 3px; padding: 1.8rem; overflow: hidden; position: relative;
}
.wiki-sidebar::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--ember));
}
.wiki-nav-title {
  font-size: .65rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 1.2rem; display: block;
}
.wiki-nav-list { list-style: none; display: flex; flex-direction: column; gap: .15rem; }
.wiki-nav-list a {
  display: block; padding: .42rem .7rem; color: var(--muted);
  text-decoration: none; font-size: .9rem; border-radius: 2px;
  transition: color .2s, background .2s, padding-left .2s;
  border-left: 2px solid transparent;
}
.wiki-nav-list a:hover,
.wiki-nav-list a.active {
  color: var(--gold2); background: rgba(200,168,64,.05);
  padding-left: 1rem; border-left-color: var(--gold);
}
.wiki-nav-list .sub-item a { padding-left: 1.5rem; font-size: .84rem; color: var(--muted); }
.wiki-nav-list .sub-item a:hover { padding-left: 2rem; }
.wiki-nav-sep { height: 1px; background: var(--border); margin: .8rem 0; }
.wiki-content { min-width: 0; }
.wiki-article h2 {
  font-family: 'Cinzel Decorative', serif; font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--gold2); margin-bottom: 1rem; margin-top: 3rem;
  padding-bottom: .6rem; border-bottom: 1px solid var(--border);
}
.wiki-article h2:first-child { margin-top: 0; }
.wiki-article h3 {
  font-family: 'Cinzel Decorative', serif; font-size: 1rem;
  color: var(--gold); margin: 2rem 0 .8rem; letter-spacing: .04em;
}
.wiki-article p  { color: var(--text2); line-height: 1.85; margin-bottom: 1.2rem; }
.wiki-article ul, .wiki-article ol { padding-left: 1.5rem; color: var(--text2); line-height: 1.9; margin-bottom: 1.2rem; }
.wiki-article li { margin-bottom: .3rem; }
.wiki-article code {
  font-family: 'Courier New', monospace; font-size: .88em; color: var(--gold2);
  background: rgba(200,168,64,.08); padding: .15em .45em; border-radius: 2px;
}
.wiki-article pre {
  background: var(--surface); border: 1px solid var(--border); border-radius: 2px;
  padding: 1.2rem 1.5rem; overflow-x: auto; margin-bottom: 1.5rem;
}
.wiki-article pre code { background: none; padding: 0; font-size: .85rem; }
.wiki-article blockquote {
  margin: 1.5rem 0; padding: 1rem 1.5rem;
  border-left: 2px solid var(--gold); background: rgba(200,168,64,.04);
  color: var(--text2); font-style: italic;
}
.wiki-tip {
  margin: 1.5rem 0; padding: 1rem 1.5rem;
  border-left: 2px solid var(--teal); background: rgba(45,200,160,.05);
  border-radius: 0 2px 2px 0;
}
.wiki-tip strong { color: var(--teal); font-style: normal; }
.wiki-warn {
  margin: 1.5rem 0; padding: 1rem 1.5rem;
  border-left: 2px solid var(--ember); background: rgba(224,90,32,.05);
  border-radius: 0 2px 2px 0;
}
.wiki-warn strong { color: var(--ember2); font-style: normal; }

/* ── BOUTIQUE CARDS ────────────────────────────── */
.shop-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.2rem; }
.shop-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 3px;
  padding: 2.2rem; position: relative; overflow: hidden;
  transition: border-color .3s, background .3s, transform .25s var(--bounce), box-shadow .3s;
}
.shop-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0; transition: opacity .4s;
}
.shop-card:hover { background: var(--surface2); border-color: rgba(200,168,64,.22); transform: translateY(-5px); box-shadow: 0 18px 55px rgba(0,0,0,.4); }
.shop-card:hover::before { opacity: 1; }
.shop-card.featured { border-color: rgba(200,168,64,.28); background: linear-gradient(160deg, rgba(200,168,64,.06), var(--surface) 60%); }
.shop-card.featured::before { opacity: 1; }
.shop-badge {
  font-size: .6rem; letter-spacing: .2em; text-transform: uppercase;
  padding: .22rem .75rem; border-radius: 1px; margin-bottom: 1.5rem; display: inline-block;
}
.badge-gold   { background: rgba(200,168,64,.12); color: var(--gold);   border: 1px solid rgba(200,168,64,.25); }
.badge-teal   { background: rgba(45,200,160,.09); color: var(--teal);   border: 1px solid rgba(45,200,160,.22); }
.badge-purple { background: rgba(128,96,200,.1);  color: var(--purple2);border: 1px solid rgba(128,96,200,.22); }
.badge-ember  { background: rgba(224,90,32,.08);  color: var(--ember2); border: 1px solid rgba(224,90,32,.2); }
.shop-icon { font-size: 2.5rem; margin-bottom: 1rem; display: block; transition: transform .3s var(--bounce); }
.shop-card:hover .shop-icon { transform: scale(1.15) translateY(-3px); }
.shop-name { font-family: 'Cinzel Decorative', serif; font-size: 1rem; color: var(--gold2); margin-bottom: .5rem; }
.shop-desc { color: var(--muted); font-size: .9rem; font-style: italic; line-height: 1.65; margin-bottom: 1.5rem; }
.shop-price { font-family: 'Cinzel Decorative', serif; font-size: 1.9rem; color: var(--gold2); margin-bottom: .25rem; }
.shop-price-sub { color: var(--muted); font-size: .8rem; font-style: italic; margin-bottom: 1.5rem; }
.shop-perks { list-style: none; display: flex; flex-direction: column; gap: .5rem; margin-bottom: 2rem; }
.shop-perks li { display: flex; align-items: flex-start; gap: .7rem; color: var(--text2); font-size: .92rem; }
.shop-perks li::before { content: '✦'; color: var(--gold); font-size: .6rem; flex-shrink: 0; padding-top: .35rem; }

/* ── COMING SOON ───────────────────────────────── */
.cs-wrap { text-align: center; max-width: 580px; }
.cs-icon { font-size: 3.5rem; margin-bottom: 1.5rem; display: block; animation: floatIcon 4s ease-in-out infinite; }
@keyframes floatIcon { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
.cs-title {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(2rem, 6vw, 3.8rem); color: var(--gold2); line-height: 1.1;
  margin-bottom: 1rem; text-shadow: 0 0 50px rgba(200,168,64,.25);
  animation: fadeUp .8s .2s var(--ease) both;
}
.cs-sub {
  color: var(--muted); font-style: italic; font-size: 1.1rem;
  line-height: 1.85; margin-bottom: 2.5rem;
  animation: fadeUp .8s .4s var(--ease) both;
}
.cs-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; animation: fadeUp .8s .6s var(--ease) both; }

/* ── VOTE / WHITELIST STEPS ────────────────────── */
.steps-v {
  display: flex; flex-direction: column; gap: .6rem; counter-reset: wstep;
}
.step-v {
  counter-increment: wstep;
  display: flex; align-items: flex-start; gap: 1.4rem;
  padding: 1.2rem 1.5rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: 2px;
  position: relative; overflow: hidden;
  transition: border-color .3s, background .3s, transform .25s var(--ease);
}
.step-v::before {
  content: counter(wstep, decimal-leading-zero);
  font-family: 'Cinzel Decorative', serif; font-size: .68rem;
  color: var(--gold); min-width: 2rem; flex-shrink: 0; padding-top: .2rem;
}
.step-v:hover { background: var(--surface2); border-color: rgba(200,168,64,.18); transform: translateX(5px); }
.step-v-title { color: var(--gold2); font-weight: 600; margin-bottom: .3rem; font-size: 1rem; }
.step-v-text  { color: var(--muted); font-size: .9rem; line-height: 1.7; }

/* ── FOOTER ────────────────────────────────────── */
footer {
  position: relative; z-index: 10;
  padding: 2.5rem 4rem;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1.2rem;
  background: rgba(8,10,16,.75); backdrop-filter: blur(14px);
}
footer::before {
  content: ''; position: absolute; top: 0; left: 4rem; right: 4rem;
  height: 1px; background: linear-gradient(90deg, transparent, rgba(200,168,64,.22), transparent);
}
.footer-logo { font-family: 'Cinzel Decorative', serif; color: var(--gold); font-size: 1.1rem; text-shadow: 0 0 22px rgba(200,168,64,.4); letter-spacing: .05em; }
.footer-copy { color: var(--muted); font-size: .8rem; font-style: italic; }
.footer-links { display: flex; gap: 2rem; flex-wrap: wrap; }
.footer-links a {
  color: var(--muted); text-decoration: none; font-size: .8rem;
  letter-spacing: .06em; position: relative; transition: color .25s;
}
.footer-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 1px; background: var(--gold); transition: width .28s var(--ease);
}
.footer-links a:hover { color: var(--gold2); }
.footer-links a:hover::after { width: 100%; }

/* ── REVEAL ANIMATION ──────────────────────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ────────────────────────────────── */
@media (max-width: 1024px) { .wiki-layout { grid-template-columns: 1fr; } }
@media (max-width: 768px) {
  nav, nav.scrolled { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  .auth-card { padding: 2.5rem 1.8rem; }
  .page-content, .page-wide { padding: 8rem 1.5rem 4rem; }
  footer { flex-direction: column; text-align: center; padding: 2rem 1.5rem; }
  footer::before { left: 1.5rem; right: 1.5rem; }
  #cursor, #cursor-ring { display: none !important; }
  * { cursor: auto !important; }
}
