/* ═══════════════════════════════════════════
   DISTORTING.RU — SCP:SL Landing
   style.css
═══════════════════════════════════════════ */

/* ─── TOKENS ─── */
:root {
  --bg:          #080608;
  --bg2:         #0c0a0b;
  --bg3:         #100d0f;
  --card:        #111013;
  --card-h:      #181520;
  --border:      #1e1b22;
  --border2:     #2a2630;
  --border3:     #352f3e;

  --purple:      #a472e8;
  --purple-d:    #7c44c8;
  --purple-l:    #c89df4;
  --purple-bg:   rgba(164,114,232,.1);
  --purple-glow: rgba(164,114,232,.3);

  --rose:        #e05878;
  --sage:        #5ec98a;
  --sky:         #5ab4e8;
  --gold:        #e8b84a;
  --amber:       #f09050;

  --text:        #ede8f5;
  --text2:       #9888b0;
  --text3:       #4e4460;
  --text4:       #2c2638;

  --sans:        'Nunito', system-ui, sans-serif;
  --title:       'Syne', system-ui, sans-serif;
  --mono:        'JetBrains Mono', 'Fira Code', monospace;
  --r:           12px;
  --r2:          18px;
  --ease:        cubic-bezier(.4,0,.2,1);
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 15px; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  overflow-x: hidden;
  line-height: 1.5;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font-family: inherit; cursor: pointer; }
select { font-family: inherit; }

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--border3); }

/* ─── ANIMATIONS ─── */
@keyframes fadeUp   { from { opacity:0; transform:translateY(28px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeIn   { from { opacity:0; } to { opacity:1; } }
@keyframes spin     { to   { transform: rotate(360deg); } }
@keyframes pulse    { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(.7)} }
@keyframes flicker  { 0%,100%{opacity:1} 50%{opacity:.6} }
@keyframes float    { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
@keyframes scanline { 0%{transform:translateY(-100%)} 100%{transform:translateY(200vh)} }
@keyframes glow-pulse {
  0%,100% { box-shadow: 0 0 20px rgba(164,114,232,.2), 0 0 60px rgba(164,114,232,.05); }
  50%     { box-shadow: 0 0 40px rgba(164,114,232,.4), 0 0 100px rgba(164,114,232,.1); }
}
@keyframes particle {
  0%   { opacity:0; transform:translateY(0) scale(0) rotate(0deg); }
  30%  { opacity:1; transform:translateY(-10px) scale(1) rotate(90deg); }
  100% { opacity:0; transform:translateY(-30px) scale(0) rotate(180deg); }
}
@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position:  200% 0; }
}
@keyframes borderGlow {
  0%,100% { border-color: rgba(164,114,232,.15); }
  50%     { border-color: rgba(164,114,232,.5); }
}

/* ─── NOISE OVERLAY ─── */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 1000; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  opacity: .4;
}

/* ════════════════════════════════════
   NAV
════════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 44px; height: 64px;
  background: rgba(8,6,8,.8);
  backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid var(--border);
  transition: background .3s, border-color .3s;
}
.nav.scrolled {
  background: rgba(8,6,8,.95);
  border-color: var(--border2);
}
.nav-logo {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; user-select: none;
}
.nav-logo-mark {
  position: relative; width: 32px; height: 32px;
  border-radius: 9px; overflow: hidden;
  background: var(--purple-bg);
  border: 1px solid rgba(164,114,232,.3);
  display: flex; align-items: center; justify-content: center;
}
.nav-logo-mark::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 35% 35%, rgba(164,114,232,.5), transparent 70%);
}
.nav-logo-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--purple);
  box-shadow: 0 0 14px var(--purple-glow);
  animation: flicker 4s ease infinite;
  position: relative; z-index: 1;
}
.nav-logo-text {
  display: flex; flex-direction: column; gap: 1px;
}
.nav-logo-name {
  font-family: var(--title); font-weight: 800; font-size: 1rem;
  color: var(--text); line-height: 1;
}
.nav-logo-tag {
  font-size: .58rem; font-weight: 700; letter-spacing: .14em;
  color: var(--purple); line-height: 1; opacity: .9;
}
.nav-links {
  display: flex; align-items: center; gap: 6px;
}
.nav-link {
  padding: 7px 14px; border-radius: 8px; font-size: .84rem;
  font-weight: 500; color: var(--text2); text-decoration: none;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav-link:hover { color: var(--text); background: rgba(255,255,255,.04); }
.nav-link.active { color: var(--purple); }
.nav-discord {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 18px; border-radius: 9px;
  background: #5865F2; color: #fff; text-decoration: none;
  font-weight: 700; font-size: .82rem;
  box-shadow: 0 0 20px rgba(88,101,242,.3);
  transition: background .2s, transform .15s var(--ease), box-shadow .2s;
  margin-left: 10px;
}
.nav-discord:hover {
  background: #4752c4;
  transform: translateY(-1px);
  box-shadow: 0 0 30px rgba(88,101,242,.5);
}

/* ════════════════════════════════════
   HERO
════════════════════════════════════ */
#hero {
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  padding: 90px 24px 80px;
}

/* Layered BG */
.hero-bg-wrap {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
}
.hero-bg-gradient {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 100% 70% at 50% 0%,   rgba(164,114,232,.12) 0%, transparent 65%),
    radial-gradient(ellipse 60%  50% at 80% 100%,  rgba(90,180,232,.06)  0%, transparent 60%),
    radial-gradient(ellipse 50%  40% at 10% 80%,   rgba(94,201,138,.04)  0%, transparent 55%);
}
.hero-bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, black, transparent 75%);
}
.hero-bg-vignette {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 100% 100% at 50% 50%, transparent 40%, var(--bg) 100%);
}
/* Scanline effect */
.hero-bg-scan {
  position: absolute; inset: 0; overflow: hidden; opacity: .03;
}
.hero-bg-scan::after {
  content: '';
  position: absolute; left: 0; right: 0; top: 0; height: 120px;
  background: linear-gradient(to bottom, transparent, rgba(164,114,232,1), transparent);
  animation: scanline 8s linear infinite;
}

/* Floating orbs */
.hero-orb {
  position: absolute; border-radius: 50%; pointer-events: none;
  filter: blur(60px); opacity: .12;
  animation: float 8s ease-in-out infinite;
}
.hero-orb-1 { width: 400px; height: 400px; background: var(--purple); top: 10%; left: 60%; animation-delay: 0s; }
.hero-orb-2 { width: 250px; height: 250px; background: var(--sky);    bottom: 20%; left: 5%;  animation-delay: 3s; }
.hero-orb-3 { width: 180px; height: 180px; background: var(--rose);   top: 60%;   right: 5%; animation-delay: 5s; }

.hero-content {
  position: relative; z-index: 1;
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  max-width: 860px;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 100px;
  border: 1px solid var(--border2);
  background: rgba(164,114,232,.07);
  font-size: .72rem; font-weight: 700; letter-spacing: .15em;
  color: var(--purple); margin-bottom: 32px;
  animation: fadeUp .6s var(--ease) both;
  text-transform: uppercase;
}
.hero-eyebrow-dot {
  width: 5px; height: 5px; border-radius: 50%; background: var(--sage);
  animation: pulse 2s ease infinite;
  box-shadow: 0 0 6px var(--sage);
}
.hero-h1 {
  font-family: var(--title); font-weight: 900;
  font-size: clamp(3.2rem, 9vw, 7rem); line-height: .97;
  letter-spacing: -.04em; color: var(--text);
  animation: fadeUp .65s .08s var(--ease) both;
}
.hero-h1-accent {
  display: block;
  background: linear-gradient(120deg, var(--purple-l) 0%, var(--purple) 40%, #7840d8 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  margin-top: 22px;
  font-size: 1.08rem; color: var(--text2);
  max-width: 520px; line-height: 1.75;
  animation: fadeUp .65s .16s var(--ease) both;
}
.hero-cta {
  display: flex; gap: 14px; margin-top: 44px; flex-wrap: wrap; justify-content: center;
  animation: fadeUp .65s .24s var(--ease) both;
}
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 30px; border-radius: 11px;
  font-weight: 700; font-size: .93rem; text-decoration: none;
  border: none; cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .2s var(--ease), background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--purple-d), var(--purple));
  color: #fff;
  box-shadow: 0 4px 28px rgba(164,114,232,.35), inset 0 1px 0 rgba(255,255,255,.1);
}
.btn-primary:hover {
  box-shadow: 0 8px 40px rgba(164,114,232,.55), inset 0 1px 0 rgba(255,255,255,.15);
}
.btn-ghost {
  background: rgba(255,255,255,.04);
  color: var(--text);
  border: 1px solid var(--border2);
}
.btn-ghost:hover { background: rgba(255,255,255,.07); border-color: var(--border3); }
.btn-arrow {
  display: inline-block; transition: transform .2s var(--ease);
}
.btn:hover .btn-arrow { transform: translateX(3px); }

.hero-stats {
  display: flex; gap: 0; margin-top: 72px;
  border: 1px solid var(--border); border-radius: var(--r2);
  background: rgba(17,16,19,.8);
  backdrop-filter: blur(12px);
  overflow: hidden;
  animation: fadeUp .65s .32s var(--ease) both;
  animation: fadeUp .65s .32s var(--ease) both, glow-pulse 4s ease infinite 2s;
}
.hstat {
  padding: 22px 40px; text-align: center;
  border-right: 1px solid var(--border);
  position: relative;
}
.hstat:last-child { border-right: none; }
.hstat-num {
  font-family: var(--title); font-weight: 800; font-size: 2.1rem;
  color: var(--text); line-height: 1;
  transition: transform .15s;
}
.hstat-num.live { color: var(--purple); }
.hstat-num.bump { transform: scale(1.15); }
.hstat-desc { font-size: .76rem; color: var(--text2); margin-top: 5px; letter-spacing: .05em; }
.hstat-live {
  position: absolute; top: 10px; right: 12px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--sage); box-shadow: 0 0 6px var(--sage);
  animation: pulse 2s ease infinite;
}

.scroll-indicator {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--text3); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
  animation: float 3s ease-in-out infinite;
}
.scroll-indicator-line {
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, transparent, var(--purple), transparent);
  animation: shimmer 2s ease infinite;
}

/* ════════════════════════════════════
   SHARED SECTION STYLES
════════════════════════════════════ */
section { padding: 110px 24px; }
.section-inner { max-width: 1120px; margin: 0 auto; }
.section-eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-size: .7rem; font-weight: 700; letter-spacing: .18em;
  color: var(--purple); text-transform: uppercase; margin-bottom: 14px;
}
.section-eyebrow::before {
  content: ''; display: block;
  width: 28px; height: 1px; background: var(--purple); opacity: .6;
}
.section-title {
  font-family: var(--title); font-weight: 800;
  font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.08;
  color: var(--text); margin-bottom: 18px;
}
.section-desc { font-size: .97rem; color: var(--text2); max-width: 580px; line-height: 1.8; }

/* Reveal on scroll */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ════════════════════════════════════
   ABOUT
════════════════════════════════════ */
#about { background: var(--bg2); }

.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 70px; align-items: start; margin-top: 60px;
}
.feats-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.feat-card {
  padding: 20px; border-radius: var(--r2);
  border: 1px solid var(--border);
  background: var(--card);
  transition: border-color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease);
  cursor: default;
}
.feat-card:hover {
  border-color: rgba(164,114,232,.35);
  background: var(--card-h);
  transform: translateY(-3px);
}
.feat-card-icon {
  width: 38px; height: 38px; border-radius: 10px; margin-bottom: 12px;
  background: var(--purple-bg);
  border: 1px solid rgba(164,114,232,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem;
}
.feat-card-title {
  font-weight: 700; font-size: .88rem; color: var(--text); margin-bottom: 6px;
}
.feat-card-desc { font-size: .78rem; color: var(--text2); line-height: 1.6; }

/* Stats visual panel */
.stats-panel {
  position: sticky; top: 90px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r2); overflow: hidden;
}
.stats-panel-header {
  padding: 22px 24px 18px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(to bottom, rgba(164,114,232,.05), transparent);
  position: relative;
}
.stats-panel-header::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--purple) 50%, transparent 100%);
}
.stats-panel-title {
  font-family: var(--title); font-weight: 800; font-size: 1.1rem;
  display: flex; align-items: center; gap: 10px;
}
.stats-panel-live {
  display: flex; align-items: center; gap: 5px;
  font-size: .68rem; color: var(--sage); font-weight: 700; letter-spacing: .08em;
}
.stats-panel-live-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--sage); animation: pulse 2s infinite;
}
.stats-panel-body { padding: 20px 24px; display: flex; flex-direction: column; gap: 18px; }

.sp-nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.sp-num-item { text-align: center; padding: 12px 8px; background: var(--bg2); border-radius: 10px; }
.sp-num-n { font-family: var(--title); font-weight: 800; font-size: 1.6rem; color: var(--purple); line-height: 1; }
.sp-num-l { font-size: .68rem; color: var(--text2); margin-top: 4px; letter-spacing: .04em; }

.sp-bar-wrap {}
.sp-bar-row { display: flex; justify-content: space-between; align-items: center; font-size: .75rem; color: var(--text2); margin-bottom: 7px; }
.sp-bar-val { font-weight: 600; color: var(--text); }
.sp-bar { height: 5px; background: var(--border2); border-radius: 3px; overflow: hidden; }
.sp-bar-fill {
  height: 100%; border-radius: 3px;
  background: linear-gradient(90deg, var(--purple-d), var(--purple-l));
  transition: width 1.2s var(--ease);
}
.sp-bar + .sp-bar-wrap { margin-top: 14px; }

.sp-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.sp-tag {
  padding: 4px 10px; border-radius: 6px; font-size: .7rem; font-weight: 600;
  border: 1px solid var(--border2); color: var(--text3);
  transition: border-color .2s, color .2s;
}
.sp-tag:hover { border-color: var(--border3); color: var(--text2); }

/* ════════════════════════════════════
   SERVERS
════════════════════════════════════ */
#servers { background: var(--bg); }

.srv-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 20px; margin-bottom: 28px; flex-wrap: wrap;
}
.srv-controls {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.pill {
  padding: 7px 16px; border-radius: 100px;
  font-size: .79rem; font-weight: 600;
  border: 1px solid var(--border2); background: transparent; color: var(--text2);
  cursor: pointer; transition: all .2s var(--ease);
  user-select: none;
}
.pill:hover { border-color: rgba(164,114,232,.5); color: var(--purple); }
.pill.active { background: var(--purple-bg); border-color: rgba(164,114,232,.5); color: var(--purple); }
.srv-sort-sel {
  padding: 7px 14px; border-radius: 9px;
  font-size: .79rem; border: 1px solid var(--border2);
  background: var(--card); color: var(--text2); outline: none;
  transition: border-color .2s;
  appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%239888b0' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 28px;
}
.srv-sort-sel:focus { border-color: rgba(164,114,232,.5); }
.srv-refresh-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: 9px; font-size: .79rem;
  border: 1px solid var(--border2); background: var(--card); color: var(--text2);
  transition: all .2s var(--ease);
}
.srv-refresh-btn:hover { border-color: rgba(164,114,232,.5); color: var(--purple); }
.srv-refresh-btn.spinning svg { animation: spin .7s linear infinite; }
.srv-cd { font-size: .73rem; color: var(--text3); padding: 0 4px; }

.srv-chips {
  display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px;
}
.srv-chip {
  display: flex; align-items: center; gap: 9px;
  padding: 9px 18px; border-radius: 10px;
  background: var(--card); border: 1px solid var(--border);
  font-size: .82rem;
}
.srv-chip .n {
  font-family: var(--title); font-weight: 800; font-size: 1.2rem;
  color: var(--purple);
  transition: transform .15s;
}
.srv-chip .n.bump { transform: scale(1.2); }
.srv-chip .l { color: var(--text2); }

.srv-loading-state {
  display: flex; flex-direction: column; align-items: center;
  gap: 16px; padding: 80px 24px; color: var(--text2);
  font-size: .9rem;
}
.spinner {
  width: 30px; height: 30px; border-radius: 50%;
  border: 2px solid var(--border2);
  border-top-color: var(--purple);
  animation: spin .75s linear infinite;
}
.srv-error-box {
  display: none; text-align: center; padding: 60px 24px;
  border: 1px dashed var(--border2); border-radius: var(--r2);
}
.srv-error-box.show { display: block; }
.srv-error-icon { font-size: 2.5rem; margin-bottom: 12px; opacity: .5; }
.srv-error-title { font-weight: 700; font-size: 1rem; color: var(--rose); margin-bottom: 6px; }
.srv-error-msg { font-size: .84rem; color: var(--text2); }

.srv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 14px;
}
.no-results {
  grid-column: 1/-1; text-align: center; padding: 60px;
  color: var(--text2); font-size: .9rem;
}

/* Server card */
.srv-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r2); padding: 18px 20px;
  cursor: pointer; position: relative; overflow: hidden;
  transition: border-color .22s var(--ease), background .22s var(--ease), transform .22s var(--ease), box-shadow .22s var(--ease);
  animation: fadeUp .4s var(--ease) both;
}
.srv-card::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  border-radius: 3px 0 0 3px; background: var(--border); transition: background .2s;
}
.srv-card.is-online::before   { background: var(--sage); }
.srv-card.is-starting::before { background: var(--gold); }
.srv-card.is-stopping::before { background: var(--amber); }
.srv-card.is-offline { opacity: .6; }
.srv-card:hover {
  border-color: var(--border2);
  background: var(--card-h);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,.4);
}
.srv-card:hover.is-online { border-color: rgba(94,201,138,.2); }

.srv-card-top {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 12px;
}
.srv-badge {
  font-size: .7rem; font-weight: 700; letter-spacing: .08em;
  color: var(--text3); text-transform: uppercase;
}
.status-pip {
  display: flex; align-items: center; gap: 5px;
  padding: 3px 10px; border-radius: 100px; font-size: .68rem; font-weight: 700;
}
.status-pip.online  { background: rgba(94,201,138,.1);  color: var(--sage); }
.status-pip.offline { background: rgba(78,68,96,.1);    color: var(--text3); }
.status-pip.starting{ background: rgba(232,184,74,.1);  color: var(--gold); }
.status-pip.stopping{ background: rgba(224,88,120,.1);  color: var(--rose); }
.pip-dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.status-pip.online .pip-dot { animation: pulse 2s infinite; box-shadow: 0 0 6px currentColor; }

.srv-card-name {
  font-weight: 700; font-size: .96rem; color: var(--text);
  margin-bottom: 12px; line-height: 1.3; word-break: break-word;
}
.srv-card-meta {
  display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 12px;
}
.srv-meta-item { font-size: .71rem; color: var(--text3); }
.srv-meta-item b { color: var(--text2); font-weight: 600; }

.srv-pbar-wrap { margin-bottom: 12px; }
.srv-pbar-head {
  display: flex; justify-content: space-between;
  font-size: .72rem; color: var(--text2); margin-bottom: 6px;
}
.srv-pbar {
  height: 4px; background: var(--border2); border-radius: 2px; overflow: hidden;
}
.srv-pbar-fill {
  height: 100%; border-radius: 2px;
  background: linear-gradient(90deg, var(--purple-d), var(--purple));
  transition: width .6s var(--ease);
}
.srv-pbar-fill.full { background: linear-gradient(90deg, var(--rose), #ff6090); }
.srv-pbar-fill.busy { background: linear-gradient(90deg, var(--gold), var(--amber)); }

.srv-res-row { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 12px; }
.srv-res-item {
  display: flex; align-items: center; gap: 5px;
  font-size: .69rem; color: var(--text3);
}
.res-dot { width: 5px; height: 5px; border-radius: 50%; }
.res-dot.cpu  { background: var(--rose); }
.res-dot.ram  { background: var(--sky); }
.res-dot.disk { background: var(--gold); }

.srv-card-foot {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 10px; padding-top: 12px;
  border-top: 1px solid var(--border);
}
.srv-addr { font-family: var(--mono); font-size: .68rem; color: var(--text3); }
.srv-more { font-size: .68rem; color: var(--text3); display: flex; align-items: center; gap: 3px; }
.srv-more-arrow { transition: transform .2s var(--ease); }
.srv-card:hover .srv-more-arrow { transform: translateX(4px); }

/* Partner badge */
.partner-badge {
  display: inline-block; padding: 2px 7px;
  background: rgba(232,184,74,.12); color: var(--gold);
  border: 1px solid rgba(232,184,74,.25); border-radius: 5px;
  font-size: .62rem; font-weight: 800; letter-spacing: .08em;
}

/* ════════════════════════════════════
   SERVER MODAL
════════════════════════════════════ */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 800;
  background: rgba(0,0,0,.8);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  animation: fadeIn .2s var(--ease);
}
.modal-backdrop.hidden { display: none; }
.modal-box {
  background: var(--bg3); border: 1px solid var(--border2);
  border-radius: 20px; width: 100%; max-width: 580px;
  max-height: 88vh; overflow-y: auto; overflow-x: hidden;
  position: relative;
  animation: fadeUp .25s var(--ease);
  scrollbar-width: thin;
}
.modal-box::-webkit-scrollbar { width: 4px; }
.modal-box::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 2px; }
.modal-header {
  position: sticky; top: 0; z-index: 2;
  display: flex; align-items: center; justify-content: flex-end;
  padding: 14px 16px;
  background: var(--bg3);
  border-bottom: 1px solid var(--border);
}
.modal-close {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--card-h); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text2);
  transition: color .2s, border-color .2s, background .2s;
}
.modal-close:hover { color: var(--text); border-color: var(--border2); background: var(--card); }
.modal-body { padding: 4px 26px 26px; }

.m-head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 24px; }
.m-icon-box {
  width: 52px; height: 52px; border-radius: 14px; flex-shrink: 0;
  background: var(--purple-bg); border: 1px solid rgba(164,114,232,.2);
  display: flex; align-items: center; justify-content: center; font-size: 1.6rem;
}
.m-title-wrap {}
.m-title { font-family: var(--title); font-weight: 800; font-size: 1.1rem; margin-bottom: 8px; line-height: 1.2; }
.m-title-meta { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

.m-section { margin-bottom: 22px; }
.m-section-label {
  font-size: .68rem; font-weight: 700; letter-spacing: .14em;
  color: var(--text3); text-transform: uppercase; margin-bottom: 10px;
}
.m-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.m-cell {
  padding: 10px 14px; background: var(--bg); border-radius: 10px;
  border: 1px solid var(--border);
}
.m-cell-key { font-size: .68rem; color: var(--text3); margin-bottom: 3px; }
.m-cell-val { font-weight: 600; font-size: .88rem; }
.m-cell-val.mono { font-family: var(--mono); font-size: .76rem; word-break: break-all; }

.m-res-row {
  display: flex; align-items: center; gap: 12px; margin-bottom: 10px;
}
.m-res-lbl { font-size: .74rem; color: var(--text2); width: 36px; }
.m-res-track { flex: 1; height: 6px; background: var(--border2); border-radius: 3px; overflow: hidden; }
.m-res-bar { height: 100%; border-radius: 3px; transition: width .8s var(--ease); }
.m-res-bar.cpu  { background: var(--rose); }
.m-res-bar.cpu.hot { background: linear-gradient(90deg, var(--rose), #ff5580); }
.m-res-bar.ram  { background: var(--sky); }
.m-res-bar.disk { background: var(--gold); }
.m-res-val { font-size: .73rem; color: var(--text2); min-width: 64px; text-align: right; }

.m-players-list {
  display: flex; flex-direction: column; gap: 4px;
  max-height: 200px; overflow-y: auto;
  scrollbar-width: thin;
}
.m-player {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 12px; border-radius: 8px;
  background: var(--bg); border: 1px solid var(--border);
  font-size: .82rem;
}
.m-player-i { font-size: .68rem; color: var(--text3); min-width: 20px; }
.m-player-name { flex: 1; }
.m-player-score { font-size: .72rem; color: var(--text3); }

.m-connect {
  display: flex; gap: 12px; align-items: center;
  margin-top: 18px; padding: 14px 16px;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 12px;
}
.m-connect-addr { flex: 1; font-family: var(--mono); font-size: .8rem; color: var(--text2); word-break: break-all; }
.m-connect-btn {
  padding: 8px 18px; border-radius: 9px;
  background: var(--purple); color: #fff; text-decoration: none;
  font-weight: 700; font-size: .82rem; white-space: nowrap;
  transition: background .2s, transform .15s;
}
.m-connect-btn:hover { background: var(--purple-d); transform: translateY(-1px); }

/* ════════════════════════════════════
   DONATE
════════════════════════════════════ */
#donate { background: var(--bg2); }

.donate-intro { text-align: center; margin-bottom: 56px; }
.donate-intro .section-desc { margin: 0 auto; }

/* THE Button */
.shop-cta { text-align: center; margin-bottom: 70px; }
.shop-btn {
  display: inline-flex; align-items: center; justify-content: center;
  position: relative; padding: 20px 56px; border-radius: 16px;
  font-family: var(--title); font-weight: 800; font-size: 1.2rem;
  color: #fff; text-decoration: none; border: none; cursor: pointer;
  overflow: hidden;
  background: linear-gradient(135deg, #6020d8 0%, #9848f0 40%, #b870ff 70%, #8040e0 100%);
  background-size: 300% 100%; background-position: 0% 0;
  box-shadow:
    0 0 0 1px rgba(164,114,232,.4),
    0 0 40px rgba(164,114,232,.25),
    0 4px 32px rgba(0,0,0,.4),
    inset 0 1px 0 rgba(255,255,255,.12);
  transition: background-position .5s var(--ease), transform .2s var(--ease), box-shadow .3s var(--ease);
}
.shop-btn::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 20%, rgba(255,255,255,.1) 50%, transparent 80%);
  background-size: 300% 100%; background-position: 200% 0;
  transition: background-position .6s var(--ease);
}
.shop-btn::after {
  content: '';
  position: absolute; inset: -2px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--purple-l), var(--purple-d), var(--purple-l));
  z-index: -1; opacity: 0;
  filter: blur(12px);
  transition: opacity .3s var(--ease);
}
.shop-btn:hover {
  background-position: 100% 0;
  transform: translateY(-4px) scale(1.02);
  box-shadow:
    0 0 0 1px rgba(164,114,232,.6),
    0 0 80px rgba(164,114,232,.5),
    0 16px 60px rgba(0,0,0,.5),
    inset 0 1px 0 rgba(255,255,255,.18);
}
.shop-btn:hover::before { background-position: -200% 0; }
.shop-btn:hover::after { opacity: .7; }
.shop-btn:active { transform: translateY(-1px) scale(1.01); }

.shop-btn-sparks {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
}
.spark {
  position: absolute; width: 4px; height: 4px; border-radius: 50%;
  background: rgba(255,255,255,.9);
  animation: particle 2.5s ease-in-out infinite;
}
.spark:nth-child(1)  { left:10%;  top:20%; animation-delay:0s;    }
.spark:nth-child(2)  { left:30%;  top:80%; animation-delay:.4s;   }
.spark:nth-child(3)  { left:55%;  top:15%; animation-delay:.8s;   }
.spark:nth-child(4)  { left:75%;  top:70%; animation-delay:1.2s;  }
.spark:nth-child(5)  { left:90%;  top:40%; animation-delay:1.6s;  }
.spark:nth-child(6)  { left:20%;  top:55%; animation-delay:2.0s;  }
.spark:nth-child(7)  { left:65%;  top:90%; animation-delay:0.3s;  }
.spark:nth-child(8)  { left:45%;  top:50%; animation-delay:1.0s;  }

.shop-btn-label {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 12px;
}
.shop-btn-icon { font-size: 1.4rem; }
.shop-btn-arr {
  display: inline-flex; align-items: center;
  font-size: 1.2rem; transition: transform .25s var(--ease);
}
.shop-btn:hover .shop-btn-arr { transform: translateX(5px); }

/* Tier cards */
.tiers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 14px;
}
.tier-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r2); padding: 24px 22px 20px;
  position: relative; overflow: hidden;
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.tier-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,.3);
}
.tier-card.featured {
  border-color: rgba(164,114,232,.3);
  background: linear-gradient(160deg, var(--card) 0%, rgba(164,114,232,.06) 100%);
}
.tier-card.featured:hover { border-color: rgba(164,114,232,.55); }
.tier-card.featured::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--purple) 50%, transparent 100%);
}
.tier-card.best {
  border-color: rgba(164,114,232,.4);
  background: linear-gradient(160deg, rgba(164,114,232,.06) 0%, var(--card) 100%);
  animation: borderGlow 4s ease infinite;
}
.tier-label {
  position: absolute; top: 14px; right: 14px;
  padding: 3px 9px; border-radius: 6px;
  font-size: .61rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
}
.tier-label.hot  { background: rgba(224,88,120,.15); color: var(--rose); }
.tier-label.top  { background: rgba(164,114,232,.18); color: var(--purple-l); }
.tier-label.best { background: linear-gradient(90deg, rgba(164,114,232,.2), rgba(200,157,244,.2)); color: var(--purple-l); }

.tier-name {
  font-family: var(--title); font-weight: 800; font-size: 1.3rem;
  margin-bottom: 4px; color: var(--text);
}
.tier-sub { font-size: .74rem; color: var(--text3); margin-bottom: 18px; }
.tier-feats { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.tier-feats li {
  display: flex; align-items: flex-start; gap: 9px;
  font-size: .8rem; color: var(--text2); line-height: 1.45;
}
.tier-feat-icon {
  flex-shrink: 0; margin-top: 2px;
  font-size: .62rem; color: var(--purple); opacity: .8;
}
.tier-hr { height: 1px; background: var(--border); margin: 16px 0; }
.tier-footer { font-size: .72rem; color: var(--text3); line-height: 1.5; }

.donate-note {
  text-align: center; margin-top: 36px;
  font-size: .8rem; color: var(--text3);
}
.donate-note a { color: var(--purple); text-decoration: none; }
.donate-note a:hover { text-decoration: underline; }

/* ════════════════════════════════════
   FOOTER
════════════════════════════════════ */
footer {
  background: var(--bg); border-top: 1px solid var(--border);
  padding: 60px 24px 32px;
}
.footer-inner { max-width: 1120px; margin: 0 auto; }
.footer-grid {
  display: grid; grid-template-columns: 2.5fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
.footer-brand {}
.footer-logo {
  display: flex; align-items: center; gap: 11px;
  margin-bottom: 16px; text-decoration: none;
}
.footer-logo-mark {
  width: 30px; height: 30px; border-radius: 8px;
  background: var(--purple-bg); border: 1px solid rgba(164,114,232,.25);
  display: flex; align-items: center; justify-content: center;
}
.footer-logo-dot2 {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--purple); box-shadow: 0 0 10px var(--purple-glow);
}
.footer-logo-name {
  font-family: var(--title); font-weight: 800; font-size: .97rem; color: var(--text);
}
.footer-brand-desc {
  font-size: .82rem; color: var(--text2); line-height: 1.75;
  max-width: 270px; margin-bottom: 20px;
}
.footer-discord {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 20px; border-radius: 9px;
  background: #5865F2; color: #fff; text-decoration: none;
  font-weight: 700; font-size: .82rem;
  transition: background .2s, transform .15s;
  box-shadow: 0 0 20px rgba(88,101,242,.2);
}
.footer-discord:hover { background: #4752c4; transform: translateY(-1px); }
.footer-col-title { font-weight: 700; font-size: .82rem; color: var(--text); margin-bottom: 16px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  color: var(--text2); text-decoration: none; font-size: .82rem;
  transition: color .2s;
  display: flex; align-items: center; gap: 6px;
}
.footer-links a:hover { color: var(--purple); }
.footer-links a::before { content: ''; display: block; width: 4px; height: 4px; border-radius: 50%; background: var(--border3); transition: background .2s; }
.footer-links a:hover::before { background: var(--purple); }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px; border-top: 1px solid var(--border);
  flex-wrap: wrap; gap: 12px;
}
.footer-copy { font-size: .78rem; color: var(--text3); }
.footer-badge {
  display: flex; align-items: center; gap: 7px;
  font-size: .72rem; color: var(--text3);
}
.footer-badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--sage); animation: pulse 2s infinite; }

/* ════════════════════════════════════
   RESPONSIVE
════════════════════════════════════ */
@media (max-width: 1000px) {
  .about-grid { grid-template-columns: 1fr; gap: 50px; }
  .stats-panel { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1/-1; }
}
@media (max-width: 720px) {
  .nav { padding: 0 20px; }
  .nav-link:not(.nav-discord) { display: none; }
  section { padding: 80px 18px; }
  .hero-h1 { letter-spacing: -.025em; }
  .feats-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; }
  .hstat { border-right: none; border-bottom: 1px solid var(--border); }
  .hstat:last-child { border-bottom: none; }
  .tiers-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .hero-cta { flex-direction: column; align-items: stretch; }
  .tiers-grid { grid-template-columns: 1fr; }
  .srv-chips { gap: 6px; }
  .m-grid { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════
   UX IMPROVEMENTS
════════════════════════════════════ */

/* Modal out animation */
@keyframes modalOut { to { opacity:0; transform:translateY(16px) scale(.97); } }

/* Countdown SVG ring */
.srv-cd-wrap {
  position: relative; width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
}
.cd-ring-svg {
  position: absolute; inset: 0;
  transform: rotate(-90deg);
}
.cd-ring-bg  { fill: none; stroke: var(--border2); stroke-width: 2; }
.cd-ring-bar {
  fill: none; stroke: var(--purple); stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 62.83; /* 2πr where r=10 */
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1s linear;
}
.srv-cd {
  font-size: .65rem; color: var(--text3);
  font-family: var(--mono); line-height: 1;
}

/* Search bar */
.srv-search-wrap {
  position: relative;
  flex: 1; min-width: 160px; max-width: 260px;
}
.srv-search-wrap svg {
  position: absolute; left: 10px; top: 50%; transform: translateY(-50%);
  pointer-events: none; color: var(--text3);
}
.srv-search-input {
  width: 100%; padding: 7px 12px 7px 32px;
  border-radius: 9px; font-size: .79rem;
  border: 1px solid var(--border2); background: var(--card); color: var(--text2);
  outline: none; transition: border-color .2s, color .2s;
}
.srv-search-input::placeholder { color: var(--text3); }
.srv-search-input:focus { border-color: rgba(164,114,232,.5); color: var(--text); }
.srv-search-input::-webkit-search-cancel-button { display: none; }

/* Server count badge */
.srv-count-badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .72rem; color: var(--text3);
  padding: 3px 8px; background: var(--card);
  border: 1px solid var(--border); border-radius: 6px;
  font-family: var(--mono);
}
.srv-count-badge b { color: var(--purple); }

/* Quick connect button on card */
.srv-connect-quick {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: 6px;
  background: rgba(164,114,232,.12); color: var(--purple);
  font-size: .68rem; font-weight: 700; text-decoration: none;
  border: 1px solid rgba(164,114,232,.2);
  transition: background .2s, border-color .2s;
  white-space: nowrap;
}
.srv-connect-quick:hover {
  background: rgba(164,114,232,.22);
  border-color: rgba(164,114,232,.4);
}

/* srv-more now has two items */
.srv-more {
  display: flex; align-items: center; gap: 8px;
}
.srv-more-text {
  font-size: .68rem; color: var(--text3);
  display: flex; align-items: center; gap: 3px;
}

/* Copy button in modal */
.m-copy-btn {
  padding: 7px 10px; border-radius: 8px;
  background: var(--card-h); border: 1px solid var(--border);
  color: var(--text2); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: color .2s, border-color .2s, background .2s;
}
.m-copy-btn:hover { color: var(--purple); border-color: rgba(164,114,232,.4); background: var(--purple-bg); }

/* Player bar in modal */
.m-players-bar-wrap {
  margin-bottom: 20px; padding: 14px 16px;
  background: var(--bg); border: 1px solid var(--border); border-radius: 12px;
}
.m-pbar-head {
  display: flex; justify-content: space-between; align-items: center;
  font-size: .78rem; margin-bottom: 8px;
}
.m-pbar-label { color: var(--text2); }
.m-pbar-count { color: var(--text); }
.m-pbar { height: 6px; background: var(--border2); border-radius: 3px; overflow: hidden; }
.m-pbar-fill {
  height: 100%; border-radius: 3px;
  background: linear-gradient(90deg, var(--purple-d), var(--purple));
  transition: width .6s var(--ease);
}
.m-pbar-fill.full { background: linear-gradient(90deg, var(--rose), #ff6090); }
.m-pbar-fill.busy { background: linear-gradient(90deg, var(--gold), var(--amber)); }

/* Meta dots on cards */
.srv-meta-dot {
  display: inline-block; width: 3px; height: 3px;
  border-radius: 50%; background: var(--text3); margin-right: 2px;
  vertical-align: middle;
}

/* Mobile burger */
.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  padding: 8px; cursor: pointer;
  background: none; border: none;
}
.nav-burger span {
  display: block; width: 20px; height: 2px; border-radius: 1px;
  background: var(--text2); transition: all .25s var(--ease);
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu overlay */
.nav-mobile-menu {
  display: none; position: fixed;
  inset: 64px 0 0 0; z-index: 400;
  background: rgba(8,6,8,.98);
  backdrop-filter: blur(20px);
  flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; padding: 40px 24px;
  border-top: 1px solid var(--border);
}
.nav-mobile-menu.open { display: flex; animation: fadeIn .2s var(--ease); }
.nav-mobile-menu .nav-link {
  font-size: 1.2rem; padding: 14px 32px; width: 100%;
  text-align: center; border-radius: 12px;
  border: 1px solid var(--border);
}
.nav-mobile-menu .nav-discord {
  margin-left: 0; margin-top: 8px; width: 100%;
  justify-content: center; font-size: .95rem; padding: 14px;
}

/* Show burger on mobile */
@media (max-width: 720px) {
  .nav-burger { display: flex; }
  .nav-links .nav-link:not(.nav-discord) { display: none; }
  .nav-links .nav-discord { display: none; }
}

/* No-results icon */
.no-results { grid-column:1/-1; text-align:center; padding:60px 24px; }
.no-results-icon { font-size: 2rem; margin-bottom: 10px; opacity: .4; }

/* Skeleton loading cards */
@keyframes skeletonShimmer {
  0%   { background-position: -400px 0; }
  100% { background-position:  400px 0; }
}
.skeleton {
  background: linear-gradient(90deg, var(--card) 25%, var(--card-h) 50%, var(--card) 75%);
  background-size: 800px 100%;
  animation: skeletonShimmer 1.5s infinite;
  border-radius: 6px;
}
.srv-card-skeleton {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r2); padding: 18px 20px;
  display: flex; flex-direction: column; gap: 10px;
}
.sk-line { height: 12px; border-radius: 4px; }
.sk-line.short { width: 40%; }
.sk-line.medium { width: 65%; }
.sk-line.long   { width: 90%; }
.sk-bar { height: 4px; border-radius: 2px; width: 100%; }

/* Focus visible styles — keyboard a11y */
:focus-visible {
  outline: 2px solid rgba(164,114,232,.7);
  outline-offset: 2px;
  border-radius: 4px;
}
.srv-card:focus-visible { outline-offset: -2px; }

/* Smooth image/icon loading */
.feat-card-icon { transition: transform .25s var(--ease); }
.feat-card:hover .feat-card-icon { transform: scale(1.1) rotate(-3deg); }

/* Better tier hover */
.tier-card {
  will-change: transform;
}
.tier-card::after {
  content: ''; position: absolute; inset: -1px;
  border-radius: calc(var(--r2) + 1px);
  background: linear-gradient(135deg, rgba(164,114,232,.2), transparent 60%);
  opacity: 0; transition: opacity .3s var(--ease);
  pointer-events: none;
}
.tier-card:hover::after { opacity: 1; }

/* Active nav indicator underline */
.nav-link { position: relative; }
.nav-link::after {
  content: ''; position: absolute; bottom: 2px; left: 14px; right: 14px;
  height: 2px; border-radius: 1px;
  background: var(--purple); opacity: 0;
  transform: scaleX(0); transform-origin: center;
  transition: opacity .2s, transform .25s var(--ease);
}
.nav-link.active::after { opacity: 1; transform: scaleX(1); }

/* Scroll snap for hero stats on mobile */
@media (max-width: 480px) {
  .hero-stats { scroll-snap-type: x mandatory; overflow-x: auto; scrollbar-width: none; }
  .hero-stats::-webkit-scrollbar { display: none; }
  .hstat { scroll-snap-align: start; flex-shrink: 0; min-width: 140px; }
}

/* Glow on online card hover */
.srv-card.is-online:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,.4), 0 0 0 1px rgba(94,201,138,.15);
}

/* Better disabled state for buttons */
button:disabled {
  cursor: not-allowed; opacity: .5;
  transform: none !important;
}
