@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,300..900;1,300..900&family=VT323&display=swap');

/* =========================================================
   DESIGN TOKENS
   ========================================================= */
:root {
  /* Primitive — neutrals */
  --n-950: #0d0a0a;
  --n-900: #120e0e;
  --n-850: #161111;
  --n-800: #1c1515;
  --n-700: #2a2020;
  --n-600: #3a2c2c;

  /* Primitive — brand red */
  --red-700: #9e1418;
  --red-600: #bf1e23;
  --red-500: #e0454a;
  --red-400: #f26065;
  --red-300: #ff8a8e;

  /* Semantic */
  --color-bg: var(--n-950);
  --color-surface: var(--n-850);
  --color-surface-2: var(--n-800);
  --color-border: rgba(255, 255, 255, 0.09);
  --color-border-strong: rgba(255, 255, 255, 0.16);
  --color-text: #ece6e4;
  --color-text-muted: #b6a6a3;
  --color-accent: var(--red-500);
  --color-accent-text: var(--red-400);
  --color-accent-strong: var(--red-600);
  --color-focus: #ffd166;
  --color-success: #4ade80;
  --color-info: #60a5fa;

  /* Typography */
  --font-body: 'Raleway', system-ui, -apple-system, sans-serif;
  --font-display: 'VT323', ui-monospace, monospace;

  /* Spacing scale (8px baseline) */
  --sp-1: 8px;
  --sp-2: 16px;
  --sp-3: 24px;
  --sp-4: 32px;
  --sp-5: 48px;
  --sp-6: 64px;
  --sp-7: 96px;

  /* Radius */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-full: 999px;

  /* Layout */
  --sidebar-w: 258px;
  --content-max: 1440px;

  /* Motion */
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* =========================================================
   RESET
   ========================================================= */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  background: var(--color-bg);
  color: var(--color-text);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(1100px 620px at 88% -8%, rgba(191, 30, 35, 0.16), transparent 62%),
    radial-gradient(820px 520px at -8% 42%, rgba(191, 30, 35, 0.08), transparent 58%);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
ul { list-style: none; }

/* Visually hidden (screen-reader only) */
.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;
}

/* Skip link — first focusable element */
.skip-link {
  position: absolute;
  top: -100px;
  left: 12px;
  z-index: 1000;
  padding: 12px 18px;
  background: var(--color-accent-strong);
  color: #fff;
  border-radius: var(--r-sm);
  font-weight: 700;
  font-size: 0.9rem;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* Global focus visibility */
:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 2px;
  border-radius: 4px;
}

/* =========================================================
   SIDEBAR
   ========================================================= */
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--sidebar-w);
  display: flex;
  flex-direction: column;
  padding: var(--sp-3) 14px;
  background: linear-gradient(180deg, #120d0d 0%, #0a0707 100%);
  border-right: 1px solid var(--color-border);
  z-index: 60;
  overflow-y: auto;
}
.sidebar::after {
  content: "";
  position: absolute;
  top: 0; right: -1px;
  width: 1px; height: 100%;
  background: linear-gradient(180deg, transparent, rgba(224, 69, 74, .45), transparent);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 8px var(--sp-3);
}
.brand img {
  width: 48px; height: 48px;
  object-fit: contain;
  border-radius: 11px;
  background: radial-gradient(circle at 50% 40%, rgba(224, 69, 74, .22), var(--n-800) 70%);
  padding: 4px;
  border: 1px solid rgba(255, 138, 142, .22);
  box-shadow: 0 0 22px -6px rgba(224, 69, 74, .65), inset 0 0 12px -6px rgba(255, 138, 142, .5);
  transition: box-shadow .25s var(--ease), transform .25s var(--ease);
}
.brand:hover img { box-shadow: 0 0 28px -4px rgba(224, 69, 74, .85); transform: translateY(-1px); }
.brand .name {
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
  letter-spacing: 1px;
  color: #fff;
}
.brand .name span { color: var(--color-accent-text); }

.nav { display: flex; flex-direction: column; gap: 4px; margin-top: 4px; }
.nav a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 10px 13px;
  border-radius: var(--r-sm);
  color: var(--color-text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid transparent;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.nav a .ico { width: 22px; display: grid; place-items: center; }
.nav a .ico img { width: 20px; height: 20px; object-fit: contain; opacity: .8; }
.nav a:hover { background: rgba(224, 69, 74, .08); color: #fff; border-color: var(--color-border); }
.nav a[aria-current="page"] {
  background: linear-gradient(90deg, rgba(191, 30, 35, .95), rgba(191, 30, 35, .32));
  color: #fff;
  border-color: rgba(255, 138, 142, .34);
  box-shadow: 0 8px 24px -14px rgba(191, 30, 35, .95);
}
.nav a[aria-current="page"]::before {
  content: "";
  position: absolute;
  left: -14px; top: 50%;
  transform: translateY(-50%);
  width: 3px; height: 22px;
  background: var(--red-300);
  border-radius: 0 3px 3px 0;
  box-shadow: 0 0 12px var(--red-300);
}

.sidebar-foot {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  padding-top: var(--sp-2);
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 20px;
  border-radius: var(--r-sm);
  font-family: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.2;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s var(--ease), filter .18s var(--ease),
              background .18s var(--ease), border-color .18s var(--ease);
}
.btn-primary {
  background: linear-gradient(180deg, var(--red-500), var(--red-600));
  color: #fff;
  border-color: rgba(255, 138, 142, .3);
  box-shadow: 0 12px 26px -14px rgba(191, 30, 35, .95);
}
.btn-primary:hover { filter: brightness(1.1); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost {
  background: rgba(255, 255, 255, .03);
  border-color: var(--color-border);
  color: var(--color-text);
}
.btn-ghost:hover { background: rgba(224, 69, 74, .10); border-color: rgba(255, 138, 142, .34); }
.btn-lg { padding: 14px 26px; font-size: 0.98rem; }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }

.user-chip {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, .03);
  font-size: 0.85rem;
  font-weight: 700;
}
.user-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--color-success); box-shadow: 0 0 10px var(--color-success); }

/* =========================================================
   LAYOUT
   ========================================================= */
.main { margin-left: var(--sidebar-w); position: relative; z-index: 1; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2);
  padding: 12px clamp(16px, 3vw, 32px);
  background: rgba(10, 7, 7, .78);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}
.mobile-toggle { display: none; }

.status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-text-muted);
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--color-border);
  padding: 8px 13px;
  border-radius: var(--r-full);
}
.status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--color-success); box-shadow: 0 0 10px var(--color-success); }
.status .dot.warn { background: #fbbf24; box-shadow: 0 0 10px #fbbf24; }
.status strong { color: #fff; }

.ip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 1px;
  color: var(--color-accent-text);
  background: rgba(191, 30, 35, .1);
  border: 1px solid rgba(255, 138, 142, .26);
  padding: 6px 14px;
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: background .2s var(--ease);
  border-width: 1px;
}
.ip:hover { background: rgba(191, 30, 35, .18); }
.ip small { font-family: var(--font-body); font-size: 0.7rem; color: var(--color-text-muted); letter-spacing: .3px; }

.page {
  padding: clamp(20px, 3vw, 32px) clamp(16px, 3vw, 32px) var(--sp-7);
  max-width: var(--content-max);
  margin: 0 auto;
}

/* =========================================================
   HERO (static immersive, no auto-carousel)
   ========================================================= */
.hero {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  border: 1px solid var(--color-border);
  min-height: clamp(420px, 56vh, 560px);
  display: flex;
  align-items: flex-end;
  background: #000;
  box-shadow: 0 40px 90px -50px #000;
}
.hero .bg {
  position: absolute;
  inset: 0;
  background-image: url('/img/ark/bg2.webp');
  background-size: cover;
  background-position: center;
  animation: kenburns 26s ease-in-out infinite alternate;
  transition: background-image .6s var(--ease), opacity .6s var(--ease);
}
.hero .bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 4, 4, .96) 0%, rgba(6, 4, 4, .62) 44%, rgba(6, 4, 4, .08) 100%),
    linear-gradient(0deg, rgba(6, 4, 4, .9), transparent 48%);
}
@keyframes kenburns {
  from { transform: scale(1.02) translateY(0); }
  to   { transform: scale(1.10) translateY(-1.5%); }
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: clamp(28px, 5vw, 56px);
  max-width: 720px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-accent-text);
  border: 1px solid rgba(255, 138, 142, .34);
  background: rgba(191, 30, 35, .16);
  padding: 6px 12px;
  border-radius: var(--r-full);
  margin-bottom: var(--sp-2);
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.04;
  font-weight: 900;
  letter-spacing: -.5px;
  text-transform: uppercase;
  text-wrap: balance;
  margin-bottom: var(--sp-2);
  text-shadow: 0 4px 30px rgba(0, 0, 0, .85);
}
.hero h1 em { color: var(--color-accent-text); font-style: normal; }
.hero p {
  color: #d8c9c6;
  font-size: clamp(1rem, 1.4vw, 1.08rem);
  line-height: 1.7;
  max-width: 52ch;
  margin-bottom: var(--sp-3);
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Hero scene switcher (manual tabs) */
.scenes {
  position: relative;
  z-index: 3;
  display: flex;
  gap: 8px;
  padding: 0 clamp(28px, 5vw, 56px) clamp(24px, 4vw, 40px);
  flex-wrap: wrap;
}
.scenes button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: var(--r-full);
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(10, 7, 7, .55);
  backdrop-filter: blur(6px);
  color: var(--color-text-muted);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: .2s var(--ease);
}
.scenes button:hover { color: #fff; border-color: rgba(255, 255, 255, .35); }
.scenes button[aria-selected="true"] {
  background: var(--red-600);
  border-color: rgba(255, 138, 142, .5);
  color: #fff;
}
.scenes .num { font-family: var(--font-display); font-size: 1rem; line-height: 1; }

/* =========================================================
   STATS STRIP
   ========================================================= */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
  border-radius: var(--r-md);
  overflow: hidden;
  margin-top: var(--sp-2);
}
.stats.stats-3 { grid-template-columns: repeat(3, 1fr); }
.stats.stats-4 { grid-template-columns: repeat(4, 1fr); }
.stats .stat { background: linear-gradient(180deg, var(--n-850), var(--n-900)); padding: var(--sp-2) var(--sp-3); }
.stats .n { font-family: var(--font-display); font-size: 2.1rem; line-height: 1; color: #fff; }
.stats .n em { color: var(--color-accent-text); font-style: normal; }
.stats .l {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-top: 6px;
}

/* =========================================================
   SECTIONS & GRID
   ========================================================= */
.grid { display: grid; gap: var(--sp-2); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.section { margin-top: var(--sp-6); }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--sp-2);
  margin-bottom: var(--sp-3);
}
.section-head h2 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .8px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-head h2::before {
  content: "";
  width: 5px; height: 24px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--red-400), var(--red-600));
  box-shadow: 0 0 18px rgba(242, 96, 101, .6);
}
.section-head .link { color: var(--color-text-muted); font-size: 0.82rem; font-weight: 700; }
.section-head .link:hover { color: var(--color-accent-text); }

/* =========================================================
   CARDS
   ========================================================= */
.card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--n-850) 0%, var(--n-900) 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--r-md);
  padding: var(--sp-3);
  transition: transform .22s var(--ease), border-color .22s var(--ease);
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(242, 96, 101, .7), transparent);
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.card:hover { transform: translateY(-4px); border-color: rgba(255, 138, 142, .3); }
.card:hover::before { opacity: 1; }

.feature .ico {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: var(--r-md);
  font-size: 1.4rem;
  color: var(--color-accent-text);
  background: rgba(191, 30, 35, .12);
  border: 1px solid rgba(255, 138, 142, .2);
  margin-bottom: var(--sp-2);
}
.feature .ico img { width: 26px; height: 26px; object-fit: contain; }
.feature h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 8px; }
.feature p { color: var(--color-text-muted); font-size: 0.94rem; line-height: 1.65; max-width: 46ch; }

/* =========================================================
   LAUNCHER CTA
   ========================================================= */
.launcher {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  border: 1px solid rgba(255, 138, 142, .26);
  padding: clamp(24px, 4vw, 44px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  background: #0c0808;
}
.launcher .bgimg {
  position: absolute;
  inset: 0;
  background-image: url('/img/ark/bg4.webp');
  background-size: cover;
  background-position: center;
  opacity: .32;
}
.launcher::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12, 8, 8, .97) 0%, rgba(12, 8, 8, .78) 55%, rgba(12, 8, 8, .32) 100%);
}
.launcher .txt, .launcher .btn { position: relative; z-index: 2; }
.launcher h2 {
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .4px;
  margin-bottom: 8px;
}
.launcher p { color: #cbbdba; font-size: 0.95rem; max-width: 58ch; line-height: 1.65; }

/* =========================================================
   PROMO
   ========================================================= */
.promo {
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--n-850);
  display: flex;
  flex-direction: column;
}
.promo .img { height: 190px; background-size: cover; background-position: center; position: relative; }
.promo .img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 7, 7, .88), transparent 58%); }
.promo .head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: var(--sp-2) var(--sp-3);
  font-weight: 800;
  font-size: 0.98rem;
  border-bottom: 1px solid var(--color-border);
}
.promo .head .ico { color: var(--color-accent-text); }
.promo .body { padding: var(--sp-2) var(--sp-3) var(--sp-3); flex: 1; display: flex; flex-direction: column; }
.promo .body p { color: var(--color-text-muted); font-size: 0.9rem; line-height: 1.6; margin-bottom: var(--sp-2); max-width: 46ch; }
.promo .body .btn { margin-top: auto; width: 100%; }

/* =========================================================
   EVENT
   ========================================================= */
.event {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-md);
  border: 1px solid var(--color-border);
  background: linear-gradient(120deg, #1b0f0f, #0c0808);
  padding: var(--sp-3);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}
.event .logo { width: 56px; height: 56px; object-fit: contain; filter: drop-shadow(0 0 14px rgba(224, 69, 74, .45)); flex-shrink: 0; }
.event .txt { flex: 1; }
.event .txt h3 { font-size: 1.1rem; font-weight: 900; text-transform: uppercase; margin-bottom: 4px; }
.event .txt p { color: var(--color-text-muted); font-size: 0.9rem; }

/* =========================================================
   GALLERY
   ========================================================= */
.gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 120px;
  gap: 10px;
}
.gallery figure {
  position: relative;
  border-radius: var(--r-sm);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background-size: cover;
  background-position: center;
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.gallery figure:hover { transform: scale(1.02); border-color: rgba(255, 138, 142, .35); }
.gallery figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, .55), transparent 60%);
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.gallery figure:hover::after { opacity: 1; }
.gallery .big { grid-column: span 2; grid-row: span 2; }

/* =========================================================
   NEWS
   ========================================================= */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-2); }
.post {
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--n-850);
  display: flex;
  flex-direction: column;
  transition: transform .22s var(--ease), border-color .22s var(--ease);
}
.post:hover { transform: translateY(-4px); border-color: rgba(255, 138, 142, .3); }
.post .thumb { height: 155px; background-size: cover; background-position: center; position: relative; }
.post .thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 7, 7, .9), transparent 60%); }
.post .body { padding: var(--sp-2) var(--sp-3) var(--sp-3); display: flex; flex-direction: column; gap: 6px; flex: 1; }
.post .cat { font-size: 0.66rem; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--color-accent-text); }
.post h3 { font-size: 1.02rem; font-weight: 800; line-height: 1.35; }
.post p { color: var(--color-text-muted); font-size: 0.86rem; line-height: 1.55; flex: 1; }
.post .meta { display: flex; align-items: center; justify-content: space-between; font-size: 0.76rem; color: var(--color-text-muted); margin-top: 6px; }
.post .meta .reads { color: var(--color-accent-text); font-weight: 700; }

/* =========================================================
   SHOP
   ========================================================= */
.shop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-2); }
.rank {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  border: 1px solid var(--color-border);
  background: linear-gradient(180deg, var(--n-850) 0%, var(--n-900) 100%);
  padding: var(--sp-3);
  display: flex;
  flex-direction: column;
}
.rank.popular { border-color: rgba(255, 138, 142, .45); box-shadow: 0 25px 60px -34px rgba(191, 30, 35, .85); }
.rank .badge {
  position: absolute;
  top: 16px; right: 16px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #fff;
  background: var(--red-600);
  padding: 5px 10px;
  border-radius: var(--r-full);
}
.rank .rname { font-size: 1.25rem; font-weight: 900; text-transform: uppercase; letter-spacing: 1px; }
.rank .rsub { color: var(--color-text-muted); font-size: 0.82rem; margin-top: 4px; }
.rank .price { font-family: var(--font-display); font-size: 2.8rem; color: #fff; margin: var(--sp-2) 0 2px; line-height: 1; }
.rank .price small { font-family: var(--font-body); font-size: 0.8rem; color: var(--color-text-muted); }
.rank ul { display: flex; flex-direction: column; gap: 10px; margin: var(--sp-3) 0; }
.rank ul li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.88rem; color: #d6c7c4; }
.rank ul li .ok { color: var(--color-success); font-weight: 900; }
.rank .btn { margin-top: auto; }

/* =========================================================
   FORMS
   ========================================================= */
.auth-wrap { display: flex; justify-content: center; padding: var(--sp-4) 0; }
.auth-card {
  width: 100%;
  max-width: 440px;
  background: linear-gradient(180deg, var(--n-850) 0%, var(--n-900) 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--r-lg);
  padding: var(--sp-4);
}
.auth-card h1 { font-size: 1.5rem; font-weight: 900; text-transform: uppercase; letter-spacing: .4px; margin-bottom: 6px; }
.auth-card .sub { color: var(--color-text-muted); font-size: 0.9rem; margin-bottom: var(--sp-3); }
.field { margin-bottom: var(--sp-2); }
.field label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-text-muted);
  margin-bottom: 7px;
  text-transform: uppercase;
  letter-spacing: .8px;
}
.field input {
  width: 100%;
  min-height: 48px;
  padding: 12px 15px;
  background: rgba(0, 0, 0, .38);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--r-sm);
  color: #fff;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input::placeholder { color: #8a7c7a; }
.field input:focus {
  outline: none;
  border-color: var(--red-500);
  box-shadow: 0 0 0 3px rgba(224, 69, 74, .18);
}
.auth-card .btn { width: 100%; margin-top: 8px; }
.auth-alt { text-align: center; margin-top: var(--sp-2); font-size: 0.86rem; color: var(--color-text-muted); }
.auth-alt a { color: var(--color-accent-text); font-weight: 700; }
.form-msg { font-size: 0.84rem; margin-top: 12px; text-align: center; min-height: 20px; }
.form-msg.err { color: #fca5a5; }
.form-msg.ok { color: var(--color-success); }

/* =========================================================
   VOTE
   ========================================================= */
.vote-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-2); }
.vote-item { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-2); }
.vote-item .vleft { display: flex; align-items: center; gap: 15px; }
.vote-item .vico {
  width: 52px; height: 52px;
  border-radius: var(--r-md);
  display: grid; place-items: center;
  font-size: 1.3rem;
  background: rgba(191, 30, 35, .12);
  border: 1px solid rgba(255, 138, 142, .2);
  color: var(--color-accent-text);
  flex-shrink: 0;
}
.vote-item h3 { font-size: 1rem; margin-bottom: 3px; }
.vote-item p { color: var(--color-text-muted); font-size: 0.82rem; }

/* =========================================================
   BANNER (inner pages)
   ========================================================= */
.banner {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-md);
  border: 1px solid var(--color-border);
  min-height: 230px;
  display: flex;
  align-items: center;
  padding: clamp(24px, 4vw, 40px);
  background-size: cover;
  background-position: center;
  margin-bottom: var(--sp-4);
}
.banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 5, 5, .96), rgba(8, 5, 5, .58) 60%, rgba(8, 5, 5, .18));
}
.banner .txt { position: relative; z-index: 2; max-width: 65ch; }
.banner h1 { font-size: clamp(1.6rem, 3.4vw, 2.6rem); font-weight: 900; text-transform: uppercase; letter-spacing: .4px; margin-bottom: 8px; }
.banner p { color: #cbbcba; font-size: 0.95rem; line-height: 1.65; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  margin-top: var(--sp-6);
  border-top: 1px solid var(--color-border);
  padding: var(--sp-5) clamp(16px, 3vw, 32px) var(--sp-3);
  color: var(--color-text-muted);
  font-size: 0.8rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: var(--sp-4);
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid var(--color-border);
}
.footer-brand .brand { padding: 0 0 var(--sp-2); }
.footer-brand p { max-width: 34ch; line-height: 1.7; }
.footer-col { display: flex; flex-direction: column; gap: 9px; }
.footer-col h2 {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 4px;
}
.footer-col a { transition: color .2s var(--ease); width: fit-content; }
.footer-col a:hover { color: var(--color-accent-text); }
.footer-note { margin-top: 6px; font-size: 0.74rem; color: #8a7c7a; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: var(--sp-2);
}
.footer-bottom strong { color: var(--color-accent-text); font-family: var(--font-display); font-size: 1rem; letter-spacing: 1px; }
.footer a { color: var(--color-accent-text); font-weight: 600; }
.footer .footer-col a { color: var(--color-text-muted); font-weight: 500; }
.footer .footer-col a:hover { color: var(--color-accent-text); }

/* =========================================================
   TOAST
   ========================================================= */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  background: #1c1212;
  border: 1px solid rgba(255, 138, 142, .4);
  color: #fff;
  padding: 13px 19px;
  border-radius: var(--r-sm);
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 20px 50px -20px #000;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.toast.show { opacity: 1; transform: translateY(0); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .news-grid, .shop-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  :root { --sidebar-w: 0px; }
  .sidebar {
    width: 276px;
    transform: translateX(-100%);
    transition: transform .28s var(--ease);
  }
  .sidebar.open { transform: translateX(0); box-shadow: 0 0 0 100vmax rgba(0,0,0,.5); }
  .main { margin-left: 0; }
  .mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    border-radius: var(--r-sm);
    background: rgba(255, 255, 255, .04);
    border: 1px solid var(--color-border);
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
  }
  .grid-3, .grid-2, .news-grid, .shop-grid, .vote-grid { grid-template-columns: 1fr; }
  .launcher { flex-direction: column; align-items: flex-start; }
  .event { flex-wrap: wrap; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 130px; }
  .gallery .big { grid-column: span 2; grid-row: span 1; }
  .topbar .ip small { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .section { margin-top: var(--sp-5); }
  .hero-actions .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   SCROLL REVEAL
   ========================================================= */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* =========================================================
   WIKI
   ========================================================= */
.wiki-search {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: var(--sp-3);
  max-width: 520px;
}
.wiki-search-ico {
  position: absolute;
  left: 16px;
  color: var(--color-text-muted);
  font-size: 1.2rem;
  pointer-events: none;
}
.wiki-search input {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px 12px 44px;
  background: rgba(0, 0, 0, .38);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--r-sm);
  color: #fff;
  font-size: 0.98rem;
  font-family: inherit;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.wiki-search input::placeholder { color: #8a7c7a; }
.wiki-search input:focus { outline: none; border-color: var(--red-500); box-shadow: 0 0 0 3px rgba(224, 69, 74, .18); }

.wiki-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: var(--sp-3);
  border-radius: var(--r-md);
  border: 1px solid var(--color-border);
  background: linear-gradient(180deg, var(--n-850), var(--n-900));
  transition: transform .2s var(--ease), border-color .2s var(--ease);
}
.wiki-card:hover { transform: translateY(-3px); border-color: rgba(255, 138, 142, .32); }
.wiki-card-ico {
  width: 46px; height: 46px; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: var(--r-sm);
  font-size: 1.2rem;
  color: var(--color-accent-text);
  background: rgba(191, 30, 35, .12);
  border: 1px solid rgba(255, 138, 142, .2);
}
.wiki-card-body { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.wiki-card-title { font-weight: 900; text-transform: uppercase; letter-spacing: .6px; font-size: 1rem; }
.wiki-card-desc { color: var(--color-text-muted); font-size: 0.86rem; line-height: 1.5; }
.wiki-card-count {
  align-self: flex-start;
  font-size: 0.68rem; font-weight: 800; letter-spacing: .6px; text-transform: uppercase;
  color: var(--color-text-muted);
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--color-border);
  padding: 4px 9px; border-radius: var(--r-full);
  white-space: nowrap;
}

.breadcrumb {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
  font-size: 0.82rem; color: var(--color-text-muted); margin-bottom: var(--sp-2);
}
.breadcrumb a { color: var(--color-accent-text); font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--color-text); }

.wiki-topic {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: var(--sp-3);
  border-radius: var(--r-md);
  border: 1px solid var(--color-border);
  background: linear-gradient(180deg, var(--n-850), var(--n-900));
  transition: transform .2s var(--ease), border-color .2s var(--ease);
}
.wiki-topic:hover { transform: translateY(-3px); border-color: rgba(255, 138, 142, .32); }
.wiki-topic-title { font-size: 1.05rem; font-weight: 800; }
.wiki-topic-excerpt { color: var(--color-text-muted); font-size: 0.88rem; line-height: 1.55; }
.wiki-topic-cta { color: var(--color-accent-text); font-size: 0.82rem; font-weight: 700; margin-top: 4px; }

.wiki-article {
  max-width: 820px;
  background: linear-gradient(180deg, var(--n-850), var(--n-900));
  border: 1px solid var(--color-border);
  border-radius: var(--r-lg);
  padding: clamp(24px, 4vw, 44px);
}
.wiki-article-head { padding-bottom: var(--sp-3); border-bottom: 1px solid var(--color-border); margin-bottom: var(--sp-3); }
.wiki-article-head h1 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 900; line-height: 1.1; margin: 6px 0 8px; }
.wiki-article-excerpt { color: var(--color-text-muted); font-size: 1rem; line-height: 1.6; }
.wiki-article-body { color: #dcd2cf; font-size: 1rem; line-height: 1.75; }
.wiki-article-body h2 {
  font-size: 1.25rem; font-weight: 800; color: #fff;
  margin: var(--sp-3) 0 var(--sp-1);
  padding-left: 12px;
  border-left: 3px solid var(--red-500);
}
.wiki-article-body h2:first-child { margin-top: 0; }
.wiki-article-body p { margin-bottom: var(--sp-2); max-width: 68ch; }
.wiki-article-body ul, .wiki-article-body ol { margin: 0 0 var(--sp-2) 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.wiki-article-body ul { list-style: disc; }
.wiki-article-body ol { list-style: decimal; }
.wiki-article-body li { max-width: 64ch; }
.wiki-article-body code {
  font-family: var(--font-display);
  font-size: 1.05em;
  background: rgba(255, 255, 255, .07);
  border: 1px solid var(--color-border);
  padding: 1px 7px;
  border-radius: 5px;
  color: var(--color-accent-text);
}
.wiki-article-body a { color: var(--color-accent-text); text-decoration: underline; }

.wiki-back { margin-top: var(--sp-3); }
.wiki-loading { color: var(--color-text-muted); font-size: 0.95rem; padding: var(--sp-3); }
.wiki-loading a { color: var(--color-accent-text); }

@media (max-width: 560px) {
  .wiki-card { flex-wrap: wrap; }
}

/* =========================================================
   ESPACE MEMBRE / ADMIN
   ========================================================= */
.profile-head {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-wrap: wrap;
  padding: var(--sp-3);
  border: 1px solid var(--color-border);
  border-radius: var(--r-lg);
  background: linear-gradient(120deg, rgba(191, 30, 35, .18), transparent 60%), linear-gradient(180deg, var(--n-850), var(--n-900));
}
.avatar {
  width: 72px; height: 72px; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 18px;
  font-family: var(--font-display);
  font-size: 2rem; color: #fff;
  background: linear-gradient(160deg, var(--red-600), #6c1013);
  border: 1px solid rgba(255, 138, 142, .35);
}
.profile-head h1 { font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 900; text-transform: uppercase; letter-spacing: .4px; }
.profile-head p { color: var(--color-text-muted); font-size: .9rem; }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px; border-radius: var(--r-full);
  font-size: .7rem; font-weight: 800; letter-spacing: .5px; text-transform: uppercase;
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--color-border-strong);
  color: var(--color-text);
  white-space: nowrap;
}
.badge.ok { color: #86efac; border-color: rgba(74, 222, 128, .35); background: rgba(74, 222, 128, .10); }
.badge.warn { color: #fca5a5; border-color: rgba(248, 113, 113, .35); background: rgba(248, 113, 113, .10); }
.badge.info { color: #93c5fd; border-color: rgba(96, 165, 250, .35); background: rgba(96, 165, 250, .10); }

.panel-card {
  border: 1px solid var(--color-border);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--n-850), var(--n-900));
  padding: var(--sp-3);
}
.panel-card h2 {
  font-size: 1rem; text-transform: uppercase; letter-spacing: .6px;
  padding-bottom: 10px; margin-bottom: var(--sp-2);
  border-bottom: 1px solid var(--color-border);
}
.panel-card h2 .count { color: var(--color-text-muted); font-size: .78rem; font-weight: 700; }

.kv { display: grid; grid-template-columns: 140px 1fr; gap: 10px 16px; font-size: .9rem; }
.kv dt { color: var(--color-text-muted); font-weight: 600; }
.kv dd { color: #fff; word-break: break-word; }

.vote-row {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 10px 0; border-bottom: 1px dashed var(--color-border);
  font-size: .86rem;
}
.vote-row:last-child { border-bottom: 0; }
.vote-row span { color: var(--color-text-muted); }

/* Onglets */
.tabs {
  display: flex; gap: 6px; flex-wrap: wrap;
  padding: 6px; border: 1px solid var(--color-border);
  border-radius: var(--r-full); background: rgba(0, 0, 0, .28);
  width: fit-content; max-width: 100%;
}
.tab {
  appearance: none; border: 0; cursor: pointer;
  padding: 9px 18px; border-radius: var(--r-full);
  background: transparent; color: var(--color-text-muted);
  font-size: .82rem; font-weight: 800; letter-spacing: .4px; text-transform: uppercase;
  transition: background .18s var(--ease), color .18s var(--ease);
}
.tab:hover { color: #fff; background: rgba(255, 255, 255, .05); }
.tab[aria-selected="true"] { background: var(--color-accent-strong); color: #fff; }
.tabpanel[hidden] { display: none; }
.tabpanel { margin-top: var(--sp-3); }

/* Tableaux */
.table-wrap { overflow-x: auto; border: 1px solid var(--color-border); border-radius: var(--r-md); }
.data-table { width: 100%; border-collapse: collapse; font-size: .86rem; min-width: 720px; }
.data-table caption { text-align: left; padding: 12px 14px; color: var(--color-text-muted); font-size: .8rem; }
.data-table th, .data-table td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--color-border); vertical-align: middle; }
.data-table th {
  font-size: .68rem; text-transform: uppercase; letter-spacing: .7px;
  color: var(--color-text-muted); background: rgba(255, 255, 255, .03);
  position: sticky; top: 0;
}
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover { background: rgba(224, 69, 74, .05); }
.data-table .actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* Formulaires admin */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-2); }
.form-grid .full { grid-column: 1 / -1; }
.field select, .field textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 14px;
  background: rgba(0, 0, 0, .38);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--r-sm);
  color: #fff; font-size: .92rem; font-family: inherit;
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.6; }
.field select:focus, .field textarea:focus {
  outline: none; border-color: var(--red-500); box-shadow: 0 0 0 3px rgba(224, 69, 74, .18);
}
.field .hint { display: block; margin-top: 6px; font-size: .74rem; color: var(--color-text-muted); }
.editor-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: var(--sp-2); }

/* Accordéon admin wiki */
.wiki-admin-cat { border: 1px solid var(--color-border); border-radius: var(--r-md); overflow: hidden; background: rgba(0, 0, 0, .18); }
.wiki-admin-cat + .wiki-admin-cat { margin-top: 10px; }
.wiki-admin-cat > summary {
  cursor: pointer; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 13px 16px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; font-size: .86rem;
}
.wiki-admin-cat > summary::-webkit-details-marker { display: none; }
.wiki-admin-cat[open] > summary { border-bottom: 1px solid var(--color-border); background: rgba(255, 255, 255, .03); }
.wiki-admin-list { padding: 10px 12px; display: flex; flex-direction: column; gap: 8px; }
.wiki-admin-item {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 12px; border: 1px solid var(--color-border); border-radius: var(--r-sm);
  background: rgba(255, 255, 255, .02);
}
.wiki-admin-item .t { font-size: .88rem; font-weight: 700; }
.wiki-admin-item .s { font-size: .74rem; color: var(--color-text-muted); }

/* Dialog éditeur */
dialog.editor {
  width: min(860px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  overflow: auto;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--r-lg);
  background: var(--n-900);
  color: var(--color-text);
  padding: var(--sp-3);
  margin: auto;
}
dialog.editor::backdrop { background: rgba(0, 0, 0, .72); }
dialog.editor h2 { font-size: 1.1rem; font-weight: 900; text-transform: uppercase; margin-bottom: var(--sp-2); }
dialog.editor .close {
  float: right; border: 0; background: transparent; color: var(--color-text-muted);
  font-size: 1.4rem; cursor: pointer; line-height: 1;
}
dialog.editor .close:hover { color: #fff; }

/* Divers */
.muted { color: var(--color-text-muted); }
.mt-2 { margin-top: var(--sp-2); }
.mt-3 { margin-top: var(--sp-3); }
.empty-state { padding: var(--sp-3); text-align: center; color: var(--color-text-muted); font-size: .9rem; }
.admin-search { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: var(--sp-2); }
.admin-search input {
  flex: 1; min-width: 220px; min-height: 44px;
  padding: 10px 14px; background: rgba(0, 0, 0, .38);
  border: 1px solid var(--color-border-strong); border-radius: var(--r-sm);
  color: #fff; font-family: inherit; font-size: .9rem;
}
.admin-search input:focus { outline: none; border-color: var(--red-500); box-shadow: 0 0 0 3px rgba(224, 69, 74, .18); }
.stat-inline { display: flex; gap: var(--sp-3); flex-wrap: wrap; }
.stat-inline .n { font-family: var(--font-display); font-size: 1.5rem; color: #fff; }
.stat-inline .l { font-size: .72rem; text-transform: uppercase; letter-spacing: .6px; color: var(--color-text-muted); }

@media (max-width: 760px) {
  .form-grid { grid-template-columns: 1fr; }
  .kv { grid-template-columns: 1fr; gap: 2px; }
  .kv dd { margin-bottom: 8px; }
  .profile-head { align-items: flex-start; }
  .stats.stats-3, .stats.stats-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 460px) {
  .stats.stats-3, .stats.stats-4 { grid-template-columns: 1fr; }
}

/* Captcha inscription */
.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.captcha-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.captcha-row img {
  width: 240px;
  height: 80px;
  border-radius: var(--r-sm);
  border: 1px solid var(--color-border-strong);
  background: #f5efe9;
}

/* Discord : bouton flottant + popup verre */
.discord-float {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 210;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--r-full);
  background: linear-gradient(135deg, #5865f2, #4752c4);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: .3px;
  border: 1px solid rgba(255, 255, 255, .28);
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .85), inset 0 1px 0 rgba(255, 255, 255, .25);
  transition: transform .18s var(--ease), filter .18s var(--ease);
}
.discord-float:hover { transform: translateY(-2px); filter: brightness(1.08); }
.discord-float svg { width: 20px; height: 20px; fill: currentColor; flex-shrink: 0; }
.sidebar.open ~ .discord-float { display: none; }

.construction-dialog {
  width: min(560px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-text);
  margin: auto;
  overflow: visible;
}
.construction-dialog::backdrop {
  background: rgba(6, 4, 4, .55);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}
.construction-card {
  position: relative;
  padding: clamp(26px, 4.5vw, 42px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, .20);
  background:
    linear-gradient(135deg, rgba(224, 69, 74, .20), transparent 55%),
    linear-gradient(180deg, rgba(28, 20, 20, .80), rgba(14, 10, 10, .74));
  backdrop-filter: blur(18px) saturate(125%);
  -webkit-backdrop-filter: blur(18px) saturate(125%);
  box-shadow:
    0 40px 90px -30px rgba(0, 0, 0, .95),
    inset 0 1px 0 rgba(255, 255, 255, .12);
  animation: constructionIn .32s var(--ease) both;
}
@keyframes constructionIn {
  from { opacity: 0; transform: translateY(18px) scale(.98); }
  to { opacity: 1; transform: none; }
}
.construction-close {
  position: absolute;
  top: 10px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--color-text-muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.construction-close:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.construction-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--color-accent-text);
  margin-bottom: 10px;
}
.construction-eyebrow svg { width: 18px; height: 18px; fill: currentColor; }
.construction-card h2 {
  font-size: clamp(1.45rem, 4vw, 2rem);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
  letter-spacing: .3px;
  color: #fff;
  margin-bottom: 12px;
}
.construction-card p { color: #ded3d0; font-size: .95rem; line-height: 1.65; }
.construction-card p strong { color: #fff; }
.construction-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: var(--sp-3);
}
.construction-note {
  margin-top: 14px;
  font-size: .76rem !important;
  color: #a89895 !important;
}

@media (max-width: 600px) {
  .discord-float {
    left: 12px;
    bottom: 12px;
    padding: 10px 14px;
  }
}

/* =========================================================
   MOTION PREFERENCES
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .hero .bg { animation: none; }
  .card:hover, .post:hover, .gallery figure:hover, .btn-primary:hover { transform: none; }
}
