@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css");

/* ── Reset ────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

/* ── Tokens ───────────────────────────────────── */
:root {
  --bg:   #101820;
  --s1:   #15212b;
  --s2:   #1b2a36;
  --s3:   #263947;
  --border:  rgba(226,232,240,0.09);
  --border2: rgba(226,232,240,0.16);
  --purple:      #14b8a6;
  --purple-mid:  #0f766e;
  --purple-dark: #134e4a;
  --cyan:      #38bdf8;
  --cyan-dark: #0369a1;
  --gold:      #eab308;
  --discord:      #5865f2;
  --discord-dark: #3b44c0;
  --ok:  #4ade80;
  --err: #f87171;
  --t1: #ffffff;
  --t2: rgba(226,232,240,0.72);
  --t3: rgba(226,232,240,0.46);
  --t4: rgba(226,232,240,0.22);
  --rc: 20px;
  --rp: 9999px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Space Grotesk', sans-serif;
  background:
    radial-gradient(ellipse 900px 520px at 50% -220px, rgba(20,184,166,0.08), transparent 64%),
    var(--bg);
  color: var(--t1);
  overflow-x: hidden;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 9999;
  transform: translateY(-150%);
  color: #fff;
  background: var(--purple);
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.15s;
}
.skip-link:focus { transform: translateY(0); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid rgba(244,208,111,0.85);
  outline-offset: 3px;
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #31404d; border-radius: 3px; }

/* ── Header ───────────────────────────────────── */
.site-header {
  position: sticky;
  top: 14px;
  z-index: 100;
  padding: 0 20px;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: rgba(16,24,32,0.86);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border);
  border-radius: var(--rp);
  padding: 10px 14px 10px 18px;
  box-shadow: 0 18px 60px rgba(0,0,0,0.32), 0 1px 0 rgba(255,255,255,0.06) inset;
}

.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }

.logo-mark {
  width: 35px; height: 35px;
  border-radius: 11px;
  background: linear-gradient(145deg, #14b8a6, #f4d06f);
  box-shadow: 0 3px 0 #134e4a, 0 6px 16px rgba(20,184,166,0.28);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.logo-name { font-size: 1.05rem; font-weight: 800; color: #fff; letter-spacing: -0.3px; }

/* ── Custom logo image ────────────────────────── */
.logo-mark { position: relative; }
.logo-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain; border-radius: inherit;
  opacity: 0; transition: opacity 0.2s;
  z-index: 2;
}
.logo-mark.has-logo { background: transparent; box-shadow: none; }
.logo-mark:not(.has-logo) .logo-img { opacity: 0; pointer-events: none; }
.logo-mark .bi { display: none !important; }

nav { display: flex; align-items: center; gap: 2px; }

nav a {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--t3);
  text-decoration: none;
  padding: 7px 13px;
  border-radius: var(--rp);
  transition: color 0.15s, background 0.15s;
}
nav a:hover { color: #fff; background: rgba(255,255,255,0.08); }
nav a.active { color: #fff; background: rgba(255,255,255,0.1); }

/* ── Nav dropdown ─────────────────────────────── */
.nav-dropdown { position: relative; }

.nav-dropdown-btn {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--t3);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 7px 13px;
  border-radius: var(--rp);
  transition: color 0.15s, background 0.15s;
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-dropdown:hover .nav-dropdown-btn { color: #fff; background: rgba(255,255,255,0.08); }

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: rgba(9,7,18,0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 6px;
  min-width: 210px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s, transform 0.18s;
  box-shadow: 0 20px 60px rgba(0,0,0,0.7);
  z-index: 200;
}
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -10px; left: 0; right: 0;
  height: 10px;
}
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--t3);
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 10px;
  transition: background 0.12s, color 0.12s;
}
.nav-dropdown-menu a:hover { color: #fff; background: rgba(255,255,255,0.08); }

.btn-header {
  font-size: 0.86rem !important;
  font-weight: 700 !important;
  color: #fff !important;
  background: linear-gradient(135deg, var(--purple), var(--purple-mid)) !important;
  padding: 8px 18px !important;
  border-radius: var(--rp) !important;
  box-shadow: 0 4px 0 var(--purple-dark), 0 8px 20px rgba(20,184,166,0.22);
  transition: transform 0.15s cubic-bezier(.34,1.56,.64,1), box-shadow 0.15s !important;
}
.btn-header:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 var(--purple-dark), 0 12px 28px rgba(20,184,166,0.3) !important;
  background: linear-gradient(135deg, var(--purple), var(--purple-mid)) !important;
}

/* ── Buttons ──────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  border-radius: 15px;
  padding: 13px 24px;
  transition: transform 0.18s cubic-bezier(.34,1.56,.64,1), box-shadow 0.18s;
}
.btn:active { transform: translateY(2px) !important; transition: transform 0.06s linear, box-shadow 0.06s linear !important; }

.btn-purple {
  background: linear-gradient(135deg, #14b8a6, #0f766e);
  color: #fff;
  box-shadow: 0 5px 0 #134e4a, 0 10px 24px rgba(20,184,166,0.2);
}
.btn-purple:hover { transform: translateY(-2px); box-shadow: 0 7px 0 #134e4a, 0 14px 30px rgba(20,184,166,0.28); }
.btn-purple:active { box-shadow: 0 2px 0 #134e4a !important; }

.btn-cyan {
  background: linear-gradient(135deg, #38bdf8, #0891b2);
  color: #101820;
  font-weight: 800;
  box-shadow: 0 5px 0 #0369a1, 0 10px 24px rgba(56,189,248,0.18);
}
.btn-cyan:hover { transform: translateY(-2px); box-shadow: 0 7px 0 #0369a1, 0 14px 30px rgba(56,189,248,0.26); }
.btn-cyan:active { box-shadow: 0 2px 0 #0369a1 !important; }

.btn-ghost {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.12);
}
.btn-ghost:hover { transform: translateY(-2px); background: rgba(255,255,255,0.12); color: #fff; }

.btn-ghost-white {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.8);
  border: 1px solid rgba(255,255,255,0.18);
  font-weight: 700;
  padding: 13px 24px;
  border-radius: 15px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.18s cubic-bezier(.34,1.56,.64,1), background 0.15s;
}
.btn-ghost-white:hover { transform: translateY(-2px); background: rgba(255,255,255,0.15); color: #fff; }
.btn-ghost-white:active { transform: translateY(2px); transition: transform 0.06s linear; }

.btn-discord {
  background: var(--discord);
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 13px 26px;
  border-radius: 15px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: none;
  cursor: pointer;
  box-shadow: 0 5px 0 var(--discord-dark), 0 10px 24px rgba(88,101,242,0.26);
  transition: transform 0.18s cubic-bezier(.34,1.56,.64,1), box-shadow 0.18s;
}
.btn-discord:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--discord-dark), 0 14px 30px rgba(88,101,242,0.36); }
.btn-discord:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--discord-dark) !important; transition: transform 0.06s linear, box-shadow 0.06s linear; }

/* ── Server cards (shared) ────────────────────── */
.srv-card {
  background: var(--s1);
  border: 1px solid var(--border);
  border-radius: 22px;
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(.34,1.56,.64,1), border-color 0.2s, box-shadow 0.2s;
  text-decoration: none;
  display: flex;
  flex-direction: column;
}
.srv-card:hover { transform: translateY(-5px); border-color: var(--border2); box-shadow: 0 24px 60px rgba(0,0,0,0.5); }
.srv-card.card-nova:hover { border-color: rgba(20,184,166,0.5); box-shadow: 0 20px 60px rgba(0,0,0,0.55), 0 0 80px rgba(20,184,166,0.16); }
.srv-card.card-gmod:hover { border-color: rgba(56,189,248,0.45); box-shadow: 0 20px 60px rgba(0,0,0,0.55), 0 0 80px rgba(56,189,248,0.1); }

.card-cover { height: 200px; position: relative; overflow: hidden; }
.card-cover-img {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center top;
  transition: transform 8s ease;
}
.srv-card:hover .card-cover-img { transform: scale(1.06); }
.card-cover-shade {
  position: absolute; inset: 0;
  background: linear-gradient(to top, var(--s1) 0%, rgba(14,11,28,0.38) 62%, transparent 100%);
}
.card-nova .card-cover-img { background-image: url('https://cdn.akamai.steamstatic.com/steam/apps/885570/capsule_616x353.jpg'); }
.card-gmod .card-cover-img { background-image: url('https://cdn.akamai.steamstatic.com/steam/apps/4000/capsule_616x353.jpg'); }

.card-body { padding: 22px 24px 28px; display: flex; flex-direction: column; flex: 1; }
.card-game {
  font-size: 0.63rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--t4); margin-bottom: 5px;
}
.card-title {
  font-size: 1.4rem; font-weight: 800; color: #fff;
  letter-spacing: -0.5px; margin-bottom: 8px; line-height: 1.1;
}
.card-online {
  display: flex; align-items: center; gap: 7px;
  font-size: 0.73rem; font-weight: 600; color: var(--ok); margin-bottom: 14px;
}
.card-online-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.card-desc {
  font-size: 0.87rem; color: var(--t3); font-weight: 500;
  line-height: 1.68; flex: 1;
}
.card-ctas { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }

.btn-sm-ghost {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.83rem; font-weight: 700; color: var(--t3);
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px; padding: 10px 18px;
  text-decoration: none; cursor: pointer;
  transition: background 0.15s, color 0.15s, transform 0.18s cubic-bezier(.34,1.56,.64,1);
}
.btn-sm-ghost:hover { background: rgba(255,255,255,0.1); color: #fff; transform: translateY(-2px); }

.btn-white {
  background: #fff; color: #134e4a; font-weight: 800;
  padding: 14px 28px; border-radius: var(--rp);
  border: none; font-family: 'Space Grotesk', sans-serif; font-size: 0.92rem;
  cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
  box-shadow: 0 5px 0 rgba(0,0,0,0.14), 0 10px 22px rgba(0,0,0,0.12);
  transition: transform 0.18s cubic-bezier(.34,1.56,.64,1), box-shadow 0.18s;
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 7px 0 rgba(0,0,0,0.14), 0 14px 28px rgba(0,0,0,0.15); }
.btn-white:active { transform: translateY(2px); box-shadow: 0 2px 0 rgba(0,0,0,0.14); transition: transform 0.06s linear, box-shadow 0.06s linear; }

.btn-ghost-light {
  background: transparent; color: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.16); font-weight: 700;
  padding: 13px 26px; border-radius: 14px;
  font-family: 'Space Grotesk', sans-serif; font-size: 0.88rem;
  cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
  transition: transform 0.18s cubic-bezier(.34,1.56,.64,1), background 0.15s, color 0.15s;
}
.btn-ghost-light:hover { transform: translateY(-2px); background: rgba(255,255,255,0.07); color: #fff; }

.btn-ghost-dark {
  background: rgba(255,255,255,0.07); color: rgba(255,255,255,0.8);
  border: 1.5px solid rgba(255,255,255,0.15); font-weight: 700;
  padding: 14px 28px; border-radius: var(--rp);
  font-family: 'Space Grotesk', sans-serif; font-size: 0.92rem;
  cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
  transition: transform 0.18s cubic-bezier(.34,1.56,.64,1), background 0.15s;
}
.btn-ghost-dark:hover { transform: translateY(-2px); background: rgba(255,255,255,0.12); }

/* ── Hamburger ────────────────────────────────── */
.nav-hamburger {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 36px; height: 36px; padding: 7px;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px; cursor: pointer; flex-shrink: 0;
}
.nav-hamburger span {
  display: block; width: 100%; height: 2px;
  background: rgba(255,255,255,0.65); border-radius: 2px;
  transition: transform 0.22s cubic-bezier(.4,0,.2,1), opacity 0.22s;
}
.nav-open .nav-hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-hamburger span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-open .nav-hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Announcement banner ──────────────────────── */
.site-ann {
  padding: 10px 24px;
  border-bottom: 1px solid transparent;
  position: relative;
  z-index: 80;
}
.site-ann-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; gap: 10px;
}
.site-ann-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.site-ann p { flex: 1; font-size: 0.84rem; font-weight: 600; margin: 0; }
.site-ann-close {
  background: none; border: none; cursor: pointer;
  color: rgba(255,255,255,0.25); font-size: 1.15rem; line-height: 1;
  padding: 2px 6px; font-family: sans-serif;
  transition: color 0.15s;
}
.site-ann-close:hover { color: rgba(255,255,255,0.65); }

/* ── Utilities ────────────────────────────────── */
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* ── Cart icon ────────────────────────────────── */
.cart-btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border-radius: 11px;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1);
  cursor: pointer; color: var(--t3);
  transition: background 0.15s, color 0.15s; flex-shrink: 0;
}
.cart-btn:hover { background: rgba(255,255,255,0.12); color: #fff; }
.cart-btn .bi { font-size: 18px; line-height: 1; }

.cart-badge {
  display: none;
  position: absolute; top: -5px; right: -5px;
  width: 17px; height: 17px; border-radius: 50%;
  background: var(--purple); color: #fff;
  font-size: 0.6rem; font-weight: 800;
  align-items: center; justify-content: center;
  border: 2px solid var(--bg);
}
.cart-badge.visible { display: flex; }

/* ── Footer ───────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 38px 24px;
}

.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 20px;
}

footer nav a {
  font-size: 0.83rem; font-weight: 600; color: var(--t3);
  text-decoration: none; transition: color 0.15s;
}
footer nav a:hover { color: var(--t1); }
.footer-copy { font-size: 0.79rem; color: var(--t4); font-weight: 500; }

/* ── Responsive ───────────────────────────────── */
@media (max-width: 720px) {
  .nav-hamburger { display: flex; }
  nav > a:not(.btn-header), nav > .nav-dropdown { display: none; }

  .header-inner.nav-open {
    flex-wrap: wrap;
    border-radius: 20px;
    padding-bottom: 10px;
  }
  .header-inner.nav-open nav {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }
  .header-inner.nav-open nav > a:not(.btn-header),
  .header-inner.nav-open nav > .nav-dropdown { display: flex; }
  .header-inner.nav-open nav > a { border-radius: 12px; }
  .header-inner.nav-open .nav-dropdown-btn { width: 100%; border-radius: 12px; }
  .header-inner.nav-open .nav-dropdown-menu {
    position: static; transform: none;
    opacity: 1; pointer-events: auto;
    box-shadow: none; background: rgba(255,255,255,0.04);
    margin: 2px 0; min-width: unset; border-radius: 12px;
  }
  .header-inner.nav-open .btn-header {
    width: 100%; justify-content: center; margin-top: 4px;
  }
}

/* ── Powdered pastel theme trial ───────────────── */
:root {
  --bg: #f7f4ee;
  --s1: #ffffff;
  --s2: #eef3f5;
  --s3: #dfe8e4;
  --border: rgba(38,50,56,0.10);
  --border2: rgba(38,50,56,0.18);
  --purple: #a9d9d2;
  --purple-mid: #79bfb7;
  --purple-dark: #4f9c96;
  --cyan: #c9ddea;
  --cyan-dark: #8cb8cf;
  --gold: #f4d06f;
  --t1: #263238;
  --t2: #3e4a50;
  --t3: #5f6d73;
  --t4: #7b878c;
}

body {
  background:
    radial-gradient(ellipse 900px 520px at 50% -220px, rgba(201,221,234,0.55), transparent 64%),
    linear-gradient(180deg, #f9f7f0 0%, #f4f0e9 100%) !important;
  color: var(--t1) !important;
}

.site-header { color: var(--t1) !important; }
.header-inner {
  background: rgba(255,255,255,0.76) !important;
  border-color: rgba(38,50,56,0.10) !important;
  box-shadow: 0 18px 50px rgba(83,92,96,0.14), 0 1px 0 rgba(255,255,255,0.9) inset !important;
}
.logo-name,
nav a,
.nav-dropdown-btn {
  color: #3f4c52 !important;
}
nav a:hover,
nav a.active,
.nav-dropdown:hover .nav-dropdown-btn {
  color: #263238 !important;
  background: rgba(169,217,210,0.28) !important;
}
.nav-dropdown-menu {
  background: rgba(255,255,255,0.96) !important;
  border-color: rgba(38,50,56,0.10) !important;
  box-shadow: 0 22px 60px rgba(83,92,96,0.16) !important;
}
.nav-dropdown-menu a:hover {
  color: #263238 !important;
  background: rgba(201,221,234,0.42) !important;
}
.logo-mark {
  width: 42px !important;
  height: 34px !important;
  border-radius: 999px !important;
  background: #f4d06f !important;
  box-shadow: 0 4px 0 #c49b35, 0 12px 24px rgba(196,155,53,0.20) !important;
}
.logo-mark svg {
  display: none !important;
}
.logo-mark::before {
  content: "U";
  position: relative;
  z-index: 1;
  color: #263238;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 1;
}
.logo-name {
  color: #263238 !important;
  font-weight: 850 !important;
  letter-spacing: -0.045em !important;
}

.home-page .logo-name {
  font-family: "Flexing", "Space Grotesk", sans-serif !important;
  font-weight: 900 !important;
  letter-spacing: -0.02em !important;
}

.hero,
.servers-section,
.features-section,
.discord-section,
.page-hero,
.recruit-hero,
.shop-hero,
.rules-section,
.sanctions-section,
.news-hero,
.news-section,
.game-select,
footer {
  background: transparent !important;
}

.hero h1,
.page-hero h1,
.shop-hero h1,
.recruit-hero h1,
.news-hero h1,
.section-head h2,
.features-head h2,
.content-header h2,
.discord-block h2,
.card-title,
.feat-card h3,
.pc-name,
.news-card h2,
.rule-group-header h2 {
  color: #263238 !important;
  -webkit-text-fill-color: initial !important;
}

.hero h1,
.shop-hero h1 .grad,
.recruit-hero h1 .grad {
  background: linear-gradient(135deg, #263238 0%, #6f8f92 45%, #c29d34 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

.hero-sub,
.page-hero .hero-sub,
.shop-hero p,
.recruit-hero p,
.news-hero p,
.section-copy,
.content-header p,
.discord-block p,
.card-desc,
.feat-card p,
.pc-perks li,
.rule-item p,
.footer-copy {
  color: #536167 !important;
}

.srv-card,
.feat-card,
.features-grid,
.discord-block,
.rule-item,
.news-card,
.product-card,
.shop-card,
.cart-drawer,
.checkout-modal,
.product-modal,
.store-panel,
.district-card,
.zone-card,
.connect-card,
.sanction-card,
.form-card,
.webhook-row,
.table-card {
  background: rgba(255,255,255,0.68) !important;
  border-color: rgba(38,50,56,0.10) !important;
  box-shadow: 0 18px 46px rgba(83,92,96,0.10) !important;
}

.srv-card:hover,
.product-card:hover,
.shop-card:hover,
.rule-item:hover,
.news-card:hover {
  border-color: rgba(121,191,183,0.34) !important;
  box-shadow: 0 22px 58px rgba(83,92,96,0.16), 0 0 70px rgba(169,217,210,0.18) !important;
}

.card-cover-shade,
.pc-cover-shade {
  background: linear-gradient(to top, rgba(255,255,255,0.96), rgba(255,255,255,0.12)) !important;
}

.factions-section,
.faction-half,
.faction-legal,
.faction-illegal,
.faction-order,
.faction-crime,
.city-section,
.zones-section,
.connect-section,
.sanctions-section,
.cta-dark,
.shop-topbar,
.shop-topbar .hero-bg {
  background:
    radial-gradient(ellipse 620px 340px at 20% 0%, rgba(201,221,234,0.34), transparent 64%),
    transparent !important;
}

.faction-divider {
  background: rgba(255,255,255,0.76) !important;
  border-color: rgba(38,50,56,0.12) !important;
  color: rgba(38,50,56,0.46) !important;
}

.faction-tag,
.faction-title,
.zone-card h3,
.district-card h3,
.connect-card h3,
.sanction-card h3,
.app-detail-value,
.form-header h2,
.form-group label {
  color: #263238 !important;
}

.feat-icon,
.stat-icon.purple {
  background: rgba(169,217,210,0.34) !important;
  border-color: rgba(121,191,183,0.30) !important;
}
.feat-icon svg,
.page-hero h1 em {
  color: #5c9993 !important;
}

.btn-purple,
.btn-header,
.btn-buy-nl,
.product-modal .btn-buy-nl {
  color: #263238 !important;
  background: linear-gradient(135deg, #f4d06f, #f1c453) !important;
  box-shadow: 0 4px 0 #c9a33b, 0 12px 24px rgba(201,163,59,0.18) !important;
}
.btn-cyan,
.btn-buy-gm {
  color: #263238 !important;
  background: linear-gradient(135deg, #c9ddea, #a7c9dc) !important;
  box-shadow: 0 4px 0 #8cb8cf, 0 12px 24px rgba(140,184,207,0.18) !important;
}
.btn-ghost,
.btn-ghost-white,
.btn-ghost-light,
.btn-ghost-dark,
.btn-sm-ghost,
.btn-product-detail,
.product-modal-close {
  color: rgba(38,50,56,0.70) !important;
  background: rgba(255,255,255,0.55) !important;
  border-color: rgba(38,50,56,0.12) !important;
}
.btn-ghost:hover,
.btn-ghost-white:hover,
.btn-ghost-light:hover,
.btn-ghost-dark:hover,
.btn-sm-ghost:hover,
.btn-product-detail:hover {
  color: #263238 !important;
  background: rgba(201,221,234,0.46) !important;
}

.sidebar-cat,
.sidebar-label,
.pc-server,
.card-game,
.section-label,
.game-select-label,
.section-eyebrow {
  color: #5c696f !important;
}
.sidebar-cat.active,
.pc-server {
  color: #263238 !important;
  background: rgba(169,217,210,0.36) !important;
  border-color: rgba(121,191,183,0.26) !important;
}

.site-ann {
  border-bottom-color: rgba(38,50,56,0.08) !important;
}

input,
select,
textarea,
.form-group input,
.form-group select,
.form-group textarea {
  color: #263238 !important;
  background: rgba(255,255,255,0.72) !important;
  border-color: rgba(38,50,56,0.12) !important;
}

input::placeholder,
textarea::placeholder {
  color: rgba(38,50,56,0.34) !important;
}

.status-badge,
.card-online,
.card-avail {
  color: #2f8f78 !important;
}

.card-online-dot,
.card-avail-dot,
.status-dot {
  background: #54b894 !important;
}

footer nav a {
  color: rgba(38,50,56,0.52) !important;
}
footer nav a:hover {
  color: #263238 !important;
}

/* ── Readability guardrails ────────────────────── */
p,
li,
small,
label,
.card-desc,
.section-copy,
.content-header p,
.hero-sub,
.footer-copy {
  color: #536167 !important;
}

h1,
h2,
h3,
h4,
strong,
.card-title,
.pc-name,
.pc-price,
.product-modal-title,
.product-modal-price {
  color: #263238 !important;
}

a:not(.btn):not(.btn-header):not(.btn-discord),
button {
  text-decoration-color: currentColor;
}

/* ── Home server hub ───────────────────────────── */
.home-page .hero {
  align-items: stretch !important;
  justify-content: flex-start !important;
  text-align: left !important;
  padding: 126px 24px 76px !important;
}

.home-page .hub-inner {
  width: min(1120px, 100%) !important;
  margin: 0 auto !important;
  display: grid !important;
  grid-template-columns: minmax(0, 0.82fr) minmax(520px, 1.18fr) !important;
  align-items: center !important;
  gap: 36px !important;
}

.home-page .hub-intro {
  align-items: flex-start !important;
}

.home-page .hub-kicker {
  display: inline-flex !important;
  width: fit-content !important;
  margin-bottom: 18px !important;
  padding: 8px 12px !important;
  border: 1px solid rgba(38,50,56,0.10) !important;
  border-radius: 999px !important;
  color: #3f4c52 !important;
  background: rgba(255,255,255,0.68) !important;
  font-size: 0.72rem !important;
  font-weight: 850 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
}

.home-page .hero h1 {
  max-width: 560px !important;
  margin: 0 0 18px !important;
  color: #263238 !important;
  background: none !important;
  -webkit-text-fill-color: #263238 !important;
  font-size: clamp(2.45rem, 5vw, 4.8rem) !important;
  line-height: 0.98 !important;
  letter-spacing: -0.075em !important;
  animation: none !important;
}

.home-page .hero-sub {
  max-width: 520px !important;
  margin: 0 0 28px !important;
  color: #536167 !important;
  font-size: 1rem !important;
}

.home-page .hero-ctas {
  justify-content: flex-start !important;
}

.home-page .hub-servers {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 16px !important;
}

.home-page .hub-server-card {
  position: relative !important;
  min-height: 430px !important;
  overflow: hidden !important;
  border: 1px solid rgba(38,50,56,0.10) !important;
  border-radius: 30px !important;
  background: #fff !important;
  box-shadow: 0 24px 70px rgba(83,92,96,0.14) !important;
}

.home-page .hub-server-cover {
  position: absolute !important;
  inset: 0 !important;
  background-size: cover !important;
  background-position: center !important;
  transform: scale(1.01) !important;
  transition: transform 7s ease !important;
}

.home-page .hub-server-card:hover .hub-server-cover {
  transform: scale(1.07) !important;
}

.home-page .hub-nova .hub-server-cover {
  background-image:
    linear-gradient(to top, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.82) 34%, rgba(255,255,255,0.14) 100%),
    url('https://cdn.akamai.steamstatic.com/steam/apps/885570/capsule_616x353.jpg') !important;
}

.home-page .hub-gmod .hub-server-cover {
  background-image:
    linear-gradient(to top, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.84) 34%, rgba(255,255,255,0.18) 100%),
    url('https://cdn.akamai.steamstatic.com/steam/apps/4000/capsule_616x353.jpg') !important;
}

.home-page .hub-server-body {
  position: absolute !important;
  left: 20px !important;
  right: 20px !important;
  bottom: 20px !important;
  z-index: 1 !important;
  padding: 20px !important;
  border: 1px solid rgba(38,50,56,0.10) !important;
  border-radius: 22px !important;
  background: rgba(255,255,255,0.86) !important;
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
  box-shadow: 0 18px 50px rgba(83,92,96,0.14) !important;
}

.home-page .hub-server-label {
  display: inline-flex !important;
  margin-bottom: 8px !important;
  color: #5f6d73 !important;
  font-size: 0.68rem !important;
  font-weight: 850 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
}

.home-page .hub-server-body h2 {
  margin: 0 0 8px !important;
  color: #263238 !important;
  font-size: 1.55rem !important;
  line-height: 1 !important;
  letter-spacing: -0.04em !important;
}

.home-page .hub-server-body p {
  margin: 0 0 16px !important;
  color: #536167 !important;
  font-size: 0.88rem !important;
  font-weight: 550 !important;
  line-height: 1.55 !important;
}

.home-page .hub-actions {
  display: grid !important;
  grid-template-columns: 1fr 1fr 1fr !important;
  gap: 8px !important;
}

.home-page .hub-actions a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 38px !important;
  border: 1px solid rgba(38,50,56,0.10) !important;
  border-radius: 12px !important;
  color: #263238 !important;
  background: rgba(247,244,238,0.82) !important;
  font-size: 0.8rem !important;
  font-weight: 850 !important;
  text-decoration: none !important;
  transition: transform 0.16s, background 0.16s, box-shadow 0.16s !important;
}

.home-page .hub-actions a:first-child {
  background: #f4d06f !important;
  box-shadow: 0 3px 0 #c49b35 !important;
}

.home-page .hub-actions a:hover {
  transform: translateY(-2px) !important;
  background: #eef3f5 !important;
}

@media (max-width: 980px) {
  .home-page .hub-inner {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 680px) {
  .home-page .hero {
    padding-top: 108px !important;
  }

  .home-page .hub-servers {
    grid-template-columns: 1fr !important;
  }

  .home-page .hub-server-card {
    min-height: 340px !important;
  }

  .home-page .hub-actions {
    grid-template-columns: 1fr !important;
  }
}

/* ── Light footer fix ──────────────────────────── */
.home-page .site-footer {
  background: transparent !important;
  border-top: 1px solid rgba(38,50,56,0.10) !important;
}

.home-page .site-footer .footer-brand p,
.home-page .site-footer .footer-copy {
  color: #536167 !important;
}

.home-page .site-footer .footer-nav-group h4 {
  color: #263238 !important;
}

.home-page .site-footer .footer-nav-group a {
  color: #4d5a60 !important;
}

.home-page .site-footer .footer-nav-group a:hover,
.home-page .site-footer .footer-copy a {
  color: #263238 !important;
}

/* ── Simple home intro ─────────────────────────── */
.home-page .hero {
  min-height: auto !important;
  padding: 132px 24px 72px !important;
  text-align: center !important;
}

.home-page .hub-inner {
  display: block !important;
  width: min(720px, 100%) !important;
  margin: 0 auto !important;
}

.home-page .hub-intro {
  align-items: center !important;
}

.home-page .hero h1 {
  max-width: 680px !important;
  margin: 0 auto 16px !important;
  font-size: clamp(2.35rem, 5vw, 4.25rem) !important;
  line-height: 1.02 !important;
  letter-spacing: -0.065em !important;
}

.home-page .hero-sub {
  max-width: 560px !important;
  margin: 0 auto 26px !important;
  font-size: 1rem !important;
}

.home-page .hero-ctas {
  justify-content: center !important;
}

.home-page .hub-servers {
  display: none !important;
}

.home-page .home-intro-strip {
  width: 100% !important;
  margin: 34px auto 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
  text-align: left !important;
}

.home-page .home-presentation {
  border: 1px solid rgba(38,50,56,0.10) !important;
  border-radius: 22px !important;
  background: rgba(255,255,255,0.64) !important;
  box-shadow: 0 16px 46px rgba(83,92,96,0.09) !important;
}

.home-page .home-presentation {
  padding: 22px !important;
  width: min(760px, 100%) !important;
  margin: 0 auto !important;
}

.home-page .home-presentation h2 {
  margin: 0 0 10px !important;
  color: #263238 !important;
  font-size: 1.15rem !important;
  line-height: 1.2 !important;
  letter-spacing: -0.035em !important;
}

.home-page .home-presentation p {
  margin: 0 !important;
  color: #536167 !important;
  font-size: 0.9rem !important;
  font-weight: 550 !important;
  line-height: 1.65 !important;
}

.home-page .home-latest-news {
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.home-page .home-block-head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  margin-bottom: 12px !important;
}

.home-page .home-block-head h2 {
  margin: 0 !important;
  color: #263238 !important;
  font-size: 1.05rem !important;
  letter-spacing: -0.025em !important;
}

.home-page .home-block-head a {
  color: #536167 !important;
  font-size: 0.78rem !important;
  font-weight: 850 !important;
  text-decoration: none !important;
}

.home-page .home-news-list {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 12px !important;
}

.home-page .home-news-item {
  position: relative !important;
  display: flex !important;
  min-height: 260px !important;
  padding: 0 !important;
  border: 1px solid rgba(38,50,56,0.10) !important;
  border-radius: 20px !important;
  background: #dfe8e4 !important;
  box-shadow: 0 16px 42px rgba(83,92,96,0.09) !important;
  color: #fff !important;
  text-decoration: none !important;
  overflow: hidden !important;
  transition: background 0.16s, transform 0.16s, box-shadow 0.16s !important;
}

.home-page .home-news-item:hover {
  transform: translateY(-3px) !important;
  background: #fff !important;
  box-shadow: 0 22px 54px rgba(83,92,96,0.14) !important;
}

.home-page .home-news-cover {
  position: absolute !important;
  inset: 0 !important;
  background:
    linear-gradient(135deg, rgba(78,132,128,0.88), rgba(177,134,36,0.80)),
    #eef3f5 !important;
  background-size: cover !important;
  background-position: center !important;
  transition: transform 7s ease !important;
}

.home-page .home-news-item:hover .home-news-cover {
  transform: scale(1.06) !important;
}

.home-page .home-news-cover::after {
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  background:
    linear-gradient(to top, rgba(12,18,22,0.92) 0%, rgba(12,18,22,0.62) 58%, rgba(12,18,22,0.26) 100%) !important;
}

.home-page .home-news-content {
  position: relative !important;
  z-index: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  width: 100% !important;
  min-height: inherit !important;
  padding: 18px !important;
}

.home-page .home-news-item span {
  color: rgba(255,255,255,0.86) !important;
  font-size: 0.68rem !important;
  font-weight: 850 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
}

.home-page .home-news-item strong {
  color: #fff !important;
  font-size: 1rem !important;
  line-height: 1.3 !important;
  letter-spacing: -0.02em !important;
  text-shadow: 0 2px 12px rgba(0,0,0,0.28) !important;
}

.home-page .home-news-item small {
  color: rgba(255,255,255,0.82) !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  line-height: 1.45 !important;
  margin-top: 2px !important;
}

.home-page .home-useful-row {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 8px !important;
}

.home-page .home-useful-row a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 42px !important;
  border: 1px solid rgba(38,50,56,0.10) !important;
  border-radius: 13px !important;
  color: #263238 !important;
  background: rgba(255,255,255,0.62) !important;
  box-shadow: 0 10px 24px rgba(83,92,96,0.07) !important;
  font-size: 0.82rem !important;
  font-weight: 850 !important;
  text-decoration: none !important;
  transition: background 0.16s, transform 0.16s !important;
}

.home-page .home-useful-row a:hover {
  transform: translateY(-2px) !important;
  background: #f4d06f !important;
}

@media (max-width: 640px) {
  .home-page .home-news-list {
    grid-template-columns: 1fr !important;
  }

  .home-page .home-news-item {
    min-height: 0 !important;
  }

  .home-page .home-news-cover {
    height: auto !important;
  }

  .home-page .home-news-item span {
    grid-row: auto !important;
  }

  .home-page .home-useful-row {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* ── Final vertical home top ───────────────────── */
.home-page .hero {
  padding: 122px 24px 68px !important;
}

.home-page .hero-orb {
  opacity: 0.28 !important;
}

.home-page .hub-inner {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  width: min(1060px, 100%) !important;
  margin: 0 auto !important;
  gap: 0 !important;
}

.home-page .hub-intro {
  width: min(720px, 100%) !important;
  align-items: center !important;
  text-align: center !important;
}

.home-page .hero h1 {
  max-width: 620px !important;
  margin: 0 auto 14px !important;
  font-size: clamp(2.2rem, 5vw, 4rem) !important;
  line-height: 1.02 !important;
  letter-spacing: -0.06em !important;
}

.home-page .hero-sub {
  max-width: 560px !important;
  margin: 0 auto 24px !important;
}

/* ── Uniora redesign v2 ────────────────────────── */
:root {
  --bg: #f5f1e8;
  --s1: #fffdf8;
  --s2: #efe7d8;
  --s3: #dfd2bd;
  --border: rgba(38,50,56,0.12);
  --border2: rgba(38,50,56,0.18);
  --ink: #202a2f;
  --muted: #657176;
  --soft: #fffaf0;
  --brand: #f0c85f;
  --brand-strong: #b98522;
  --aqua: #87c8bd;
  --aqua-strong: #2f8f84;
  --sky: #b9d8eb;
  --shadow: 0 18px 48px rgba(68,76,80,0.12);
  --shadow-hover: 0 26px 70px rgba(68,76,80,0.18);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

html {
  background: var(--bg) !important;
}

body {
  min-height: 100vh !important;
  background:
    radial-gradient(circle at 12% 4%, rgba(240,200,95,0.28), transparent 28rem),
    radial-gradient(circle at 88% 8%, rgba(135,200,189,0.24), transparent 30rem),
    linear-gradient(180deg, #fbf7ef 0%, #f5f1e8 46%, #efe8db 100%) !important;
  color: var(--ink) !important;
}

body::before {
  content: '' !important;
  position: fixed !important;
  inset: 0 !important;
  z-index: -1 !important;
  pointer-events: none !important;
  background-image:
    linear-gradient(rgba(32,42,47,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(32,42,47,0.03) 1px, transparent 1px) !important;
  background-size: 72px 72px !important;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.42), transparent 72%) !important;
}

::-webkit-scrollbar-track {
  background: #f5f1e8 !important;
}

::-webkit-scrollbar-thumb {
  background: #d1c3ad !important;
}

.site-header {
  top: 18px !important;
}

.header-inner {
  max-width: 1140px !important;
  border: 1px solid rgba(32,42,47,0.10) !important;
  border-radius: 24px !important;
  background: rgba(255,253,248,0.86) !important;
  box-shadow: 0 18px 52px rgba(68,76,80,0.13) !important;
  padding: 12px 14px 12px 16px !important;
}

.logo-mark {
  width: 38px !important;
  height: 38px !important;
  border-radius: 14px !important;
  background: linear-gradient(145deg, #ffe18a, #e8b94c) !important;
  box-shadow: 0 3px 0 #b98522, 0 12px 26px rgba(185,133,34,0.20) !important;
}

.logo-mark::before {
  color: var(--ink) !important;
  font-size: 1.08rem !important;
  letter-spacing: -0.07em !important;
}

.logo-name {
  color: var(--ink) !important;
}

nav a,
.nav-dropdown-btn {
  border-radius: 13px !important;
  color: rgba(32,42,47,0.66) !important;
  font-weight: 750 !important;
}

nav a:hover,
nav a.active,
.nav-dropdown:hover .nav-dropdown-btn {
  color: var(--ink) !important;
  background: rgba(32,42,47,0.06) !important;
}

.nav-dropdown-menu {
  border-radius: 18px !important;
  background: rgba(255,253,248,0.98) !important;
  box-shadow: 0 24px 70px rgba(68,76,80,0.18) !important;
}

.btn,
.btn-header,
.btn-discord,
.btn-rules,
.btn-sm-ghost,
.btn-ghost-white,
.home-page .home-useful-row a,
.home-page .hub-actions a {
  border-radius: 14px !important;
  box-shadow: none !important;
  transform: none;
}

.btn-header,
.btn-purple,
.btn-discord,
.btn-card-link:first-child {
  color: var(--ink) !important;
  background: var(--brand) !important;
  border: 1px solid rgba(185,133,34,0.20) !important;
}

.btn-cyan,
.btn-rules,
.btn-ghost-white,
.btn-sm-ghost,
.btn-product-detail {
  color: var(--ink) !important;
  background: rgba(255,253,248,0.72) !important;
  border: 1px solid rgba(32,42,47,0.10) !important;
}

.btn:hover,
.btn-header:hover,
.btn-discord:hover,
.btn-rules:hover,
.btn-sm-ghost:hover,
.btn-ghost-white:hover,
.home-page .home-useful-row a:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 28px rgba(68,76,80,0.12) !important;
}

.hero,
.shop-hero,
.news-hero,
.recruit-hero,
.page-hero {
  background: transparent !important;
}

.home-page .hero {
  padding: 138px 24px 74px !important;
}

.home-page .hub-inner,
.servers-grid,
.section-head,
.features-inner,
.home-page .home-intro-strip,
.shop-layout,
.news-wrap,
.footer-inner {
  max-width: 1120px !important;
}

.home-page .hub-intro {
  position: relative !important;
  width: min(760px, 100%) !important;
  padding: 36px 24px 12px !important;
}

.home-page .hero h1,
.shop-hero h1,
.news-hero h1,
.recruit-hero h1,
.page-hero h1 {
  color: var(--ink) !important;
  background: none !important;
  -webkit-text-fill-color: var(--ink) !important;
  letter-spacing: -0.07em !important;
}

.shop-hero h1 {
  font-size: clamp(2.35rem, 5vw, 4.6rem) !important;
  line-height: 1 !important;
  max-width: 720px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.shop-hero h1 .grad {
  background: none !important;
  -webkit-text-fill-color: var(--ink) !important;
  color: var(--ink) !important;
}

.home-page .hero h1 {
  max-width: 760px !important;
  font-size: clamp(2.8rem, 7vw, 6.2rem) !important;
  line-height: 0.94 !important;
}

.hero-sub,
.shop-hero p,
.news-hero p,
.recruit-hero p,
.section-copy,
.content-header p,
.card-desc,
.feat-card p,
.discord-block p,
.news-card p,
p,
li,
small {
  color: var(--muted) !important;
}

.home-page .home-intro-strip {
  width: min(1120px, 100%) !important;
  margin-top: 42px !important;
  gap: 16px !important;
}

.home-page .home-latest-news,
.features-grid,
.discord-block,
.srv-card,
.news-card,
.shop-sidebar,
.product-card,
.form-card,
.rule-item,
.table-card,
.cart-drawer,
.checkout-modal,
.product-modal {
  border: 1px solid rgba(32,42,47,0.10) !important;
  border-radius: var(--radius-lg) !important;
  background: rgba(255,253,248,0.78) !important;
  box-shadow: var(--shadow) !important;
}

.home-page .home-latest-news {
  padding: 16px !important;
}

.home-page .home-block-head {
  margin: 0 2px 14px !important;
}

.home-page .home-block-head h2,
.section-head h2,
.features-head h2,
.content-header h2,
.discord-block h2,
.card-title,
.feat-card h3,
.news-card h2,
.pc-name,
.pc-price,
h1,
h2,
h3,
h4,
strong {
  color: var(--ink) !important;
}

.home-page .home-block-head a {
  color: var(--aqua-strong) !important;
}

.home-page .home-news-list {
  gap: 14px !important;
}

.home-page .home-news-item {
  min-height: 285px !important;
  border-radius: 22px !important;
  border: 0 !important;
  box-shadow: none !important;
  background: #d9c7aa !important;
}

.home-page .home-news-cover {
  background:
    linear-gradient(135deg, rgba(57,89,90,0.76), rgba(185,133,34,0.72)),
    #d9c7aa !important;
}

.home-page .home-news-cover::after {
  background: linear-gradient(to top, rgba(13,20,22,0.88) 0%, rgba(13,20,22,0.42) 58%, rgba(13,20,22,0.10) 100%) !important;
}

.home-page .home-useful-row {
  gap: 12px !important;
}

.home-page .home-useful-row a {
  min-height: 54px !important;
  background: rgba(255,253,248,0.78) !important;
}

.servers-section,
.features-section,
.discord-section,
.news-section {
  padding-left: 24px !important;
  padding-right: 24px !important;
}

.servers-section {
  padding-top: 48px !important;
}

.section-label,
.section-kicker,
.card-game,
.sidebar-label,
.news-meta {
  color: rgba(32,42,47,0.46) !important;
}

.srv-card {
  overflow: hidden !important;
}

.srv-card:hover,
.news-card:hover,
.product-card:hover,
.home-page .home-latest-news:hover {
  transform: translateY(-3px) !important;
  box-shadow: var(--shadow-hover) !important;
}

.card-cover {
  height: 238px !important;
}

.card-cover-shade,
.pc-cover-shade {
  background: linear-gradient(to top, rgba(255,253,248,0.98) 0%, rgba(255,253,248,0.54) 42%, rgba(255,253,248,0.08) 100%) !important;
}

.card-body {
  padding: 24px !important;
}

.card-online,
.status-badge,
.card-avail {
  color: var(--aqua-strong) !important;
}

.card-online-dot,
.status-dot,
.card-avail-dot,
.pc-perks li::before,
.news-dot {
  background: var(--aqua-strong) !important;
}

.features-grid {
  padding: 10px !important;
}

.feat-card {
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 22px !important;
}

.feat-icon,
.discord-icon {
  border-radius: 16px !important;
  background: rgba(240,200,95,0.28) !important;
  border: 1px solid rgba(185,133,34,0.14) !important;
  box-shadow: none !important;
}

.feat-icon svg {
  color: var(--brand-strong) !important;
}

.discord-block {
  max-width: 760px !important;
  padding: 48px !important;
}

.site-footer,
footer {
  border-top: 1px solid rgba(32,42,47,0.10) !important;
  background: rgba(255,253,248,0.34) !important;
}

.footer-top {
  border-bottom-color: rgba(32,42,47,0.10) !important;
}

.footer-brand p,
.footer-copy,
.footer-nav-group h4 {
  color: var(--muted) !important;
}

.footer-nav-group a,
footer nav a {
  color: rgba(32,42,47,0.62) !important;
}

.footer-nav-group a:hover,
footer nav a:hover,
.footer-copy a {
  color: var(--ink) !important;
}

.news-hero {
  padding: 138px 24px 58px !important;
}

.news-wrap {
  gap: 16px !important;
}

.news-card {
  grid-template-columns: minmax(0, 1fr) auto !important;
  padding: 26px !important;
}

.news-empty,
.shop-empty-state,
.shop-loading-state {
  color: var(--muted) !important;
  background: rgba(255,253,248,0.66) !important;
  border-color: rgba(32,42,47,0.14) !important;
}

@media (max-width: 760px) {
  .header-inner {
    border-radius: 20px !important;
  }

  .home-page .hero h1 {
    font-size: clamp(2.35rem, 14vw, 4.2rem) !important;
  }

  .home-page .home-useful-row,
  .home-page .home-news-list {
    grid-template-columns: 1fr !important;
  }

  .news-card {
    grid-template-columns: 1fr !important;
  }

  .discord-block {
    padding: 34px 22px !important;
  }
}

/* ── Claymorphism restore ──────────────────────── */
:root {
  --clay-bg: #fff8ea;
  --clay-bg-2: #f3ead9;
  --clay-edge: rgba(255,255,255,0.78);
  --clay-line: rgba(80,68,48,0.12);
  --clay-shadow: 14px 18px 34px rgba(111,96,72,0.16), -10px -10px 24px rgba(255,255,255,0.70), inset 1px 1px 0 rgba(255,255,255,0.78);
  --clay-shadow-hover: 18px 24px 46px rgba(111,96,72,0.20), -12px -12px 28px rgba(255,255,255,0.72), inset 1px 1px 0 rgba(255,255,255,0.82);
  --clay-press: 6px 8px 16px rgba(111,96,72,0.14), -5px -5px 14px rgba(255,255,255,0.66), inset 2px 2px 8px rgba(111,96,72,0.12), inset -2px -2px 8px rgba(255,255,255,0.70);
  --clay-button: 0 5px 0 rgba(142,101,25,0.42), 10px 14px 26px rgba(111,96,72,0.16), inset 1px 1px 0 rgba(255,255,255,0.56);
  --clay-button-soft: 0 4px 0 rgba(120,104,76,0.18), 9px 12px 22px rgba(111,96,72,0.12), inset 1px 1px 0 rgba(255,255,255,0.72);
}

.header-inner,
.srv-card,
.features-grid,
.discord-block,
.home-page .home-latest-news,
.home-page .home-useful-row a,
.news-card,
.news-empty,
.shop-empty-state,
.shop-loading-state,
.rule-item,
.form-card,
.table-card,
.cart-drawer,
.checkout-modal,
.product-modal,
.store-panel,
.district-card,
.zone-card,
.connect-card,
.sanction-card {
  background:
    linear-gradient(145deg, rgba(255,253,248,0.95), rgba(244,235,218,0.78)) !important;
  border: 1px solid var(--clay-line) !important;
  box-shadow: var(--clay-shadow) !important;
}

.header-inner {
  box-shadow: 10px 14px 30px rgba(111,96,72,0.14), -8px -8px 22px rgba(255,255,255,0.72), inset 1px 1px 0 rgba(255,255,255,0.80) !important;
}

.srv-card:hover,
.news-card:hover,
.home-page .home-latest-news:hover,
.product-card:hover,
.shop-card:hover,
.rule-item:hover,
.home-page .home-useful-row a:hover {
  transform: translateY(-4px) !important;
  box-shadow: var(--clay-shadow-hover) !important;
}

.btn,
.btn-header,
.btn-discord,
.btn-rules,
.btn-sm-ghost,
.btn-ghost-white,
.btn-product-detail,
.home-page .hub-actions a,
.home-page .home-useful-row a {
  border: 1px solid rgba(80,68,48,0.12) !important;
  box-shadow: var(--clay-button-soft) !important;
}

.btn-header,
.btn-purple,
.btn-discord,
.home-page .home-useful-row a:hover {
  background: linear-gradient(145deg, #ffe38c, #e7b94b) !important;
  box-shadow: var(--clay-button) !important;
}

.btn-cyan,
.btn-rules,
.btn-ghost-white,
.btn-sm-ghost,
.btn-product-detail {
  background: linear-gradient(145deg, rgba(255,253,248,0.92), rgba(238,229,211,0.82)) !important;
}

.btn:active,
.btn-header:active,
.btn-discord:active,
.btn-rules:active,
.btn-sm-ghost:active,
.btn-ghost-white:active,
.btn-product-detail:active,
.home-page .home-useful-row a:active {
  transform: translateY(2px) !important;
  box-shadow: var(--clay-press) !important;
}

.logo-mark,
.feat-icon,
.discord-icon {
  box-shadow: 0 4px 0 rgba(142,101,25,0.34), 9px 12px 22px rgba(111,96,72,0.14), inset 1px 1px 0 rgba(255,255,255,0.60) !important;
}

.card-cover,
.pc-cover,
.home-page .home-news-item {
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.55), inset 0 -12px 28px rgba(80,68,48,0.08) !important;
}

.feat-card {
  box-shadow: none !important;
}

/* ── Clay tuning + shop cart contrast ──────────── */
:root {
  --clay-shadow: 8px 11px 24px rgba(111,96,72,0.11), -6px -6px 16px rgba(255,255,255,0.58), inset 1px 1px 0 rgba(255,255,255,0.66);
  --clay-shadow-hover: 12px 16px 34px rgba(111,96,72,0.15), -8px -8px 20px rgba(255,255,255,0.62), inset 1px 1px 0 rgba(255,255,255,0.72);
  --clay-button: 0 3px 0 rgba(142,101,25,0.30), 7px 9px 18px rgba(111,96,72,0.12), inset 1px 1px 0 rgba(255,255,255,0.50);
  --clay-button-soft: 0 2px 0 rgba(120,104,76,0.13), 6px 8px 16px rgba(111,96,72,0.09), inset 1px 1px 0 rgba(255,255,255,0.62);
  --clay-press: 3px 4px 10px rgba(111,96,72,0.10), -3px -3px 9px rgba(255,255,255,0.52), inset 2px 2px 7px rgba(111,96,72,0.10), inset -2px -2px 7px rgba(255,255,255,0.58);
}

.header-inner {
  box-shadow: 7px 9px 22px rgba(111,96,72,0.11), -5px -5px 14px rgba(255,255,255,0.60), inset 1px 1px 0 rgba(255,255,255,0.70) !important;
}

.logo-mark,
.feat-icon,
.discord-icon {
  box-shadow: 0 3px 0 rgba(142,101,25,0.26), 6px 8px 16px rgba(111,96,72,0.10), inset 1px 1px 0 rgba(255,255,255,0.54) !important;
}

.cart-btn {
  width: 40px !important;
  height: 40px !important;
  color: var(--ink) !important;
  background: linear-gradient(145deg, rgba(255,253,248,0.94), rgba(238,229,211,0.84)) !important;
  border: 1px solid rgba(80,68,48,0.14) !important;
  border-radius: 14px !important;
  box-shadow: var(--clay-button-soft) !important;
}

.cart-btn:hover {
  color: var(--ink) !important;
  background: linear-gradient(145deg, #ffe38c, #e7b94b) !important;
  box-shadow: var(--clay-button) !important;
  transform: translateY(-1px) !important;
}

.cart-btn .bi {
  font-size: 19px !important;
  line-height: 1 !important;
}

.cart-badge {
  background: #2f8f84 !important;
  color: #fff !important;
  border: 2px solid #fff8ea !important;
  box-shadow: 0 2px 8px rgba(47,143,132,0.28) !important;
}

/* ── Flat friendly reset ───────────────────────── */
:root {
  --flat-bg: #f7f3eb;
  --flat-surface: #fffdf8;
  --flat-surface-2: #f0e7d8;
  --flat-border: rgba(32,42,47,0.11);
  --flat-ink: #202a2f;
  --flat-muted: #657176;
  --flat-brand: #f0c85f;
  --flat-brand-hover: #e5b94a;
  --flat-aqua: #2f8f84;
  --flat-shadow: 0 10px 28px rgba(68,76,80,0.08);
  --flat-shadow-hover: 0 16px 38px rgba(68,76,80,0.12);
  --clay-shadow: var(--flat-shadow);
  --clay-shadow-hover: var(--flat-shadow-hover);
  --clay-button: none;
  --clay-button-soft: none;
  --clay-press: none;
}

body {
  background:
    radial-gradient(circle at 10% 0%, rgba(240,200,95,0.18), transparent 30rem),
    radial-gradient(circle at 90% 6%, rgba(135,200,189,0.14), transparent 32rem),
    var(--flat-bg) !important;
}

body::before {
  opacity: 0.26 !important;
}

.header-inner,
.srv-card,
.features-grid,
.discord-block,
.home-page .home-latest-news,
.home-page .home-useful-row a,
.news-card,
.news-empty,
.shop-empty-state,
.shop-loading-state,
.rule-item,
.form-card,
.table-card,
.cart-drawer,
.checkout-modal,
.product-modal,
.store-panel,
.district-card,
.zone-card,
.connect-card,
.sanction-card {
  background: var(--flat-surface) !important;
  border: 1px solid var(--flat-border) !important;
  box-shadow: var(--flat-shadow) !important;
}

.header-inner {
  border-radius: 20px !important;
  box-shadow: 0 8px 24px rgba(68,76,80,0.09) !important;
}

.srv-card:hover,
.news-card:hover,
.home-page .home-latest-news:hover,
.product-card:hover,
.shop-card:hover,
.rule-item:hover,
.home-page .home-useful-row a:hover {
  transform: translateY(-2px) !important;
  border-color: rgba(32,42,47,0.16) !important;
  box-shadow: var(--flat-shadow-hover) !important;
}

.btn,
.btn-header,
.btn-discord,
.btn-rules,
.btn-sm-ghost,
.btn-ghost-white,
.btn-product-detail,
.home-page .hub-actions a,
.home-page .home-useful-row a,
.cart-btn {
  border-radius: 12px !important;
  box-shadow: none !important;
}

.btn-header,
.btn-purple,
.btn-discord,
.home-page .home-useful-row a:hover,
.cart-btn:hover {
  color: var(--flat-ink) !important;
  background: var(--flat-brand) !important;
  border-color: rgba(185,133,34,0.20) !important;
}

.btn-header:hover,
.btn-purple:hover,
.btn-discord:hover,
.home-page .home-useful-row a:hover,
.cart-btn:hover {
  background: var(--flat-brand-hover) !important;
  box-shadow: none !important;
}

.btn-cyan,
.btn-rules,
.btn-ghost-white,
.btn-sm-ghost,
.btn-product-detail,
.home-page .home-useful-row a,
.cart-btn {
  color: var(--flat-ink) !important;
  background: #fffaf0 !important;
  border: 1px solid var(--flat-border) !important;
}

.btn:active,
.btn-header:active,
.btn-discord:active,
.btn-rules:active,
.btn-sm-ghost:active,
.btn-ghost-white:active,
.btn-product-detail:active,
.home-page .home-useful-row a:active,
.cart-btn:active {
  transform: translateY(0) !important;
  box-shadow: none !important;
}

.logo-mark,
.feat-icon,
.discord-icon {
  box-shadow: none !important;
  background: var(--flat-brand) !important;
}

.home-page .home-news-item {
  box-shadow: none !important;
}

.card-cover,
.pc-cover {
  box-shadow: none !important;
}

/* ── Flat polish pass ──────────────────────────── */
.site-header {
  top: 12px !important;
}

.header-inner {
  min-height: 58px !important;
  background: rgba(255,253,248,0.92) !important;
  border-color: rgba(32,42,47,0.09) !important;
}

nav {
  gap: 4px !important;
}

nav a,
.nav-dropdown-btn {
  padding: 8px 11px !important;
  font-size: 0.84rem !important;
}

.btn-header {
  padding: 7px 11px !important;
  min-height: 34px !important;
  border-radius: 11px !important;
  font-size: 0.8rem !important;
  line-height: 1 !important;
  background: #fffaf0 !important;
  border: 1px solid rgba(88,101,242,0.18) !important;
  color: #3b44c0 !important;
}

.btn-header::before { display: none; }

.btn-header:hover {
  color: #2f348f !important;
  background: rgba(88,101,242,0.10) !important;
  border-color: rgba(88,101,242,0.24) !important;
}

.home-page .hero {
  padding-top: 128px !important;
}

.home-page .hero h1 {
  letter-spacing: -0.075em !important;
}

.section-label,
.section-kicker,
.sidebar-label,
.card-game {
  letter-spacing: 0.13em !important;
}

.srv-card,
.product-card,
.news-card,
.home-page .home-latest-news {
  border-radius: 24px !important;
}

.home-page .home-useful-row a,
.sidebar-cat,
.btn-product-detail,
.btn-buy-nl,
.btn-buy-gm {
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease !important;
}

.home-page .home-useful-row a:hover,
.sidebar-cat:hover,
.btn-product-detail:hover,
.btn-buy-nl:hover,
.btn-buy-gm:hover {
  transform: translateY(-1px) !important;
}

/* ── Compact Discord header icon ───────────────── */
.btn-header {
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  min-height: 38px !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 14px !important;
  font-size: 0 !important;
  line-height: 0 !important;
  background: #5865f2 !important;
  border: 1px solid rgba(88,101,242,0.22) !important;
  color: #fff !important;
  overflow: hidden !important;
}

.btn-header--discord::before {
  content: "" !important;
  display: block !important;
  width: 18px !important;
  height: 18px !important;
  margin: 0 !important;
  background: currentColor !important;
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M13.545 2.907a13.2 13.2 0 0 0-3.257-1.011.05.05 0 0 0-.052.025c-.141.25-.297.577-.406.833a12.2 12.2 0 0 0-3.658 0 8 8 0 0 0-.412-.833.05.05 0 0 0-.052-.025c-1.125.194-2.22.534-3.257 1.011a.04.04 0 0 0-.021.018C.356 6.024-.213 9.047.066 12.032q.003.022.021.037a13.3 13.3 0 0 0 3.995 2.02.05.05 0 0 0 .056-.019q.463-.63.818-1.329a.05.05 0 0 0-.01-.059l-.018-.011a9 9 0 0 1-1.248-.595.05.05 0 0 1-.02-.066l.015-.019q.127-.095.248-.195a.05.05 0 0 1 .051-.007c2.619 1.196 5.454 1.196 8.041 0a.05.05 0 0 1 .053.007q.121.1.248.195a.05.05 0 0 1-.004.085 8 8 0 0 1-1.249.594.05.05 0 0 0-.03.03.05.05 0 0 0 .003.041c.24.465.515.909.817 1.329a.05.05 0 0 0 .056.019 13.2 13.2 0 0 0 4.001-2.02.05.05 0 0 0 .021-.037c.334-3.451-.559-6.449-2.366-9.106a.03.03 0 0 0-.02-.019m-8.198 7.307c-.789 0-1.438-.724-1.438-1.612s.637-1.613 1.438-1.613c.807 0 1.45.73 1.438 1.613 0 .888-.637 1.612-1.438 1.612m5.316 0c-.788 0-1.438-.724-1.438-1.612s.637-1.613 1.438-1.613c.807 0 1.451.73 1.438 1.613 0 .888-.631 1.612-1.438 1.612'/%3E%3C/svg%3E") !important;
  mask-repeat: no-repeat !important;
  mask-position: center !important;
  mask-size: 100% 100% !important;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M13.545 2.907a13.2 13.2 0 0 0-3.257-1.011.05.05 0 0 0-.052.025c-.141.25-.297.577-.406.833a12.2 12.2 0 0 0-3.658 0 8 8 0 0 0-.412-.833.05.05 0 0 0-.052-.025c-1.125.194-2.22.534-3.257 1.011a.04.04 0 0 0-.021.018C.356 6.024-.213 9.047.066 12.032q.003.022.021.037a13.3 13.3 0 0 0 3.995 2.02.05.05 0 0 0 .056-.019q.463-.63.818-1.329a.05.05 0 0 0-.01-.059l-.018-.011a9 9 0 0 1-1.248-.595.05.05 0 0 1-.02-.066l.015-.019q.127-.095.248-.195a.05.05 0 0 1 .051-.007c2.619 1.196 5.454 1.196 8.041 0a.05.05 0 0 1 .053.007q.121.1.248.195a.05.05 0 0 1-.004.085 8 8 0 0 1-1.249.594.05.05 0 0 0-.03.03.05.05 0 0 0 .003.041c.24.465.515.909.817 1.329a.05.05 0 0 0 .056.019 13.2 13.2 0 0 0 4.001-2.02.05.05 0 0 0 .021-.037c.334-3.451-.559-6.449-2.366-9.106a.03.03 0 0 0-.02-.019m-8.198 7.307c-.789 0-1.438-.724-1.438-1.612s.637-1.613 1.438-1.613c.807 0 1.45.73 1.438 1.613 0 .888-.637 1.612-1.438 1.612m5.316 0c-.788 0-1.438-.724-1.438-1.612s.637-1.613 1.438-1.613c.807 0 1.451.73 1.438 1.613 0 .888-.631 1.612-1.438 1.612'/%3E%3C/svg%3E") !important;
  -webkit-mask-repeat: no-repeat !important;
  -webkit-mask-position: center !important;
  -webkit-mask-size: 100% 100% !important;
}

/* Centrage optique des icônes Bootstrap Discord (viewBox 16×16) */
.bi-discord {
  display: block;
  flex-shrink: 0;
}

.discord-icon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.discord-icon .bi-discord {
  transform: translate(0.5px, 0.5px);
  color: #fff;
}

.nav-chevron { pointer-events: none; }
.btn .bi, .btn-discord .bi, .btn-ghost-white .bi, .btn-white .bi {
  line-height: 1;
  flex-shrink: 0;
}
.srv-place-icon .bi { line-height: 1; }

.btn-header:hover {
  background: #4752c4 !important;
  color: #fff !important;
  transform: translateY(-1px) !important;
}
