/* Layout: full-bleed voxel night-scene hero (parallax + torch light) → stats strip → content sections on deep navy; store as grid + cart drawer. */
:root {
  --void: #050a18;
  --deep: #081129;
  --panel: rgba(13, 26, 56, .72);
  --panel-solid: #0d1a38;
  --panel-2: #142a5a;
  --line: rgba(120, 160, 255, .14);
  --line-strong: rgba(120, 170, 255, .28);
  --ice: #eef4ff;
  --mist: #93a6c9;
  --dim: #64779c;
  --blue: #3a74ff;
  --blue-2: #2457e6;
  --cyan: #5ad7ff;
  --green: #4ef0a0;
  --red: #ff5d73;
  --gold: #ffcf5c;

  --f-logo: "Pixelify Sans", "Courier New", monospace;
  --f-head: "Sora", "Segoe UI", system-ui, sans-serif;
  --f-body: "Manrope", "Segoe UI", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;

  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --max: 1180px;
  --r: 14px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--void); color: var(--ice);
  font-family: var(--f-body); font-size: 16px; line-height: 1.65;
  overflow-x: hidden; cursor: var(--sword, auto);
  -webkit-font-smoothing: antialiased;
}
a, button, [role="button"], label, select { cursor: var(--sword-hot, pointer); }
input, textarea { cursor: text; }
img { max-width: 100%; }
[hidden] { display: none !important; }
h1, h2, h3 { text-wrap: balance; margin: 0; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--blue); color: #fff; }
svg.lucide { width: 1em; height: 1em; stroke-width: 2; flex: none; }

/* ---------- ambient layers ---------- */
/* fundal: imagine HD fixă, estompată și întunecată (ca o captură cu depth of field), cu nuanță albastră */
.bg { position: fixed; inset: -40px; z-index: 0; pointer-events: none; background: radial-gradient(ellipse at 70% 25%, #16336f, #050a18 70%); will-change: transform; }
.bg-tint { position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(4,9,24,calc(var(--bg-dark, .5) + .3)) 0%, rgba(4,9,24,calc(var(--bg-dark, .5) * .5)) 60%, rgba(4,9,24,calc(var(--bg-dark, .5) * .3)) 100%),
    linear-gradient(180deg, rgba(4,9,24,0) 40%, rgba(4,9,24,.75) 100%),
    radial-gradient(ellipse at 70% 20%, rgba(58,116,255,.18), transparent 60%); }
main, footer { position: relative; z-index: 2; }

/* ---------- shared ---------- */
.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.section { padding-block: clamp(72px, 9vw, 112px); }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--cyan); }
.kicker svg { font-size: 15px; }
.h2 { font-family: var(--f-head); font-weight: 700; font-size: clamp(28px, 4.2vw, 44px); line-height: 1.12; letter-spacing: -.02em; margin-top: 12px; }
.h2 .hl { background: linear-gradient(90deg, #7fb0ff, var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { color: var(--mist); max-width: 60ch; margin-top: 14px; font-size: 17px; }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px; }

.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 700 15px var(--f-head); letter-spacing: .01em;
  padding: 13px 22px; border-radius: 10px; border: 1px solid transparent; color: #fff; text-decoration: none;
  background: linear-gradient(180deg, #4a82ff, var(--blue-2));
  box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 10px 24px -10px rgba(58,116,255,.9);
  transition: transform .15s, box-shadow .2s, background .2s, border-color .2s;
}
.btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%); transform: translateX(-120%); transition: transform .6s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 16px 30px -10px rgba(58,116,255,1); }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: translateY(0); }
.btn.ghost { background: rgba(20,42,90,.55); border-color: var(--line-strong); box-shadow: none; backdrop-filter: blur(8px); }
.btn.ghost:hover { border-color: var(--cyan); background: rgba(30,60,130,.6); }
.btn.discord { background: linear-gradient(180deg, #6b7bff, #4b5ae6); box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 10px 24px -10px rgba(88,101,242,.9); }
.btn.small { font-size: 13px; padding: 9px 14px; border-radius: 8px; }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* ---------- nav ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: rgba(5,10,24,.92); }
.nav { position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; z-index: 50; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.solid { background: rgba(5,10,24,.82); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 22px; height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--f-logo); font-weight: 700; font-size: 21px; color: var(--ice); text-decoration: none; letter-spacing: .03em; }
.brand canvas { width: 30px; height: 30px; image-rendering: pixelated; border-radius: 6px; box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 0 18px rgba(90,215,255,.35); }
.nav-links { display: flex; gap: 2px; margin-left: 10px; }
.nav-links a { color: var(--mist); text-decoration: none; font-size: 14px; font-weight: 600; padding: 8px 13px; border-radius: 8px; transition: color .15s, background .15s; }
.nav-links a:hover { color: var(--ice); background: rgba(90,140,255,.12); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.pill { display: inline-flex; align-items: center; gap: 8px; font: 600 13px var(--f-mono); padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(10,22,50,.7); color: var(--ice); white-space: nowrap; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--dim); flex: none; }
.dot.on { background: var(--green); animation: ping 2s infinite; }
.dot.off { background: var(--red); }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(78,240,160,.6); } 70%, 100% { box-shadow: 0 0 0 8px rgba(78,240,160,0); } }
.cart-btn { position: relative; }
.cart-count { position: absolute; top: -7px; right: -7px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--cyan); color: #021; font: 700 11px/19px var(--f-mono); text-align: center; }
.burger { display: none; background: rgba(10,22,50,.7); border: 1px solid var(--line-strong); color: var(--ice); width: 40px; height: 40px; border-radius: 8px; font-size: 18px; }
.mobile-menu { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: min(880px, 100svh); display: flex; align-items: center; padding-top: calc(70px + env(safe-area-inset-top, 0px)); }
.hero-inner { width: 100%; display: grid; grid-template-columns: minmax(0, 620px); padding-block: 48px 96px; }
.slash-hint { margin-top: 22px; display: inline-flex; align-items: center; gap: 8px; font: 600 12px var(--f-mono); letter-spacing: .08em; color: var(--dim); }
.slash-hint svg { color: var(--cyan); }
.scroll-hint { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: var(--ice); font-size: 20px; border: 1px solid var(--line-strong); background: rgba(8,18,44,.5); backdrop-filter: blur(8px); animation: bob 2.4s ease-in-out infinite; text-decoration: none; }
@keyframes bob { 50% { transform: translate(-50%, 6px); } }
.hero-copy { min-width: 0; }
.status-chip { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border-radius: 999px; background: rgba(8,18,44,.65); border: 1px solid var(--line-strong); backdrop-filter: blur(10px); font-size: 13px; font-weight: 600; color: var(--mist); }
.status-chip b { color: var(--ice); }
.title > span { display: block; }
.title { font-family: var(--f-logo); font-weight: 700; line-height: .95; font-size: clamp(52px, 8vw, 104px); margin-top: 20px; letter-spacing: .01em; color: #fff; text-shadow: 0 4px 0 #1a3a8a, 0 18px 40px rgba(0,0,0,.55); }
.title .t2 { color: var(--cyan); text-shadow: 0 4px 0 #0f4a7a, 0 18px 40px rgba(0,0,0,.55), 0 0 40px rgba(90,215,255,.25); }
.tagline { margin-top: 18px; font-family: var(--f-mono); font-size: 13px; letter-spacing: .28em; color: #b9cdf0; }
.hero-text { color: #c4d3ee; font-size: 18px; max-width: 48ch; margin-top: 14px; text-shadow: 0 2px 12px rgba(0,0,0,.6); }
.hero-cta { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; }
.ip { display: flex; align-items: center; gap: 14px; padding: 6px 6px 6px 16px; border-radius: 12px; background: rgba(6,14,36,.75); border: 1px solid var(--line-strong); backdrop-filter: blur(10px); }
.ip-txt { font-family: var(--f-mono); font-weight: 700; font-size: 16px; line-height: 1.2; }
.ip-txt small { display: block; font-size: 10px; letter-spacing: .2em; color: var(--mist); font-weight: 400; }
.ip button { display: inline-flex; align-items: center; gap: 6px; background: rgba(58,116,255,.18); border: 1px solid rgba(58,116,255,.4); color: var(--cyan); font: 700 12px var(--f-mono); padding: 10px 12px; border-radius: 8px; letter-spacing: .06em; transition: background .15s; }
.ip button:hover { background: var(--blue); color: #fff; }

/* server card */
.server { position: relative; border-radius: var(--r); padding: 16px; background: rgba(7,16,40,.72); border: 1px solid var(--line-strong); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 30px 70px -25px rgba(0,0,0,.9); min-width: 0; }
.server-label { display: flex; align-items: center; justify-content: space-between; font: 600 11px var(--f-mono); letter-spacing: .18em; color: var(--mist); text-transform: uppercase; margin-bottom: 12px; }
.srv-row { display: grid; grid-template-columns: 60px 1fr auto; gap: 14px; align-items: start; padding: 10px; border-radius: 10px; background: rgba(0,0,0,.28); border: 1px solid rgba(255,255,255,.05); }
.srv-icon { width: 60px; height: 60px; image-rendering: pixelated; border-radius: 6px; background: #000; }
.srv-main { min-width: 0; }
.srv-name { font-family: var(--f-logo); font-size: 18px; color: #fff; }
.srv-motd { font-family: var(--f-mono); font-size: 12.5px; color: var(--mist); line-height: 1.5; margin-top: 3px; word-break: break-word; white-space: pre-line; }
.srv-side { text-align: right; font-family: var(--f-mono); }
.srv-count { font-size: 14px; color: #c8d3e6; white-space: nowrap; font-variant-numeric: tabular-nums; display: flex; align-items: flex-end; gap: 8px; justify-content: flex-end; }
.srv-count b { color: #fff; }
.bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 15px; }
.bars i { width: 3px; background: #2a3247; border-radius: 1px; }
.bars i:nth-child(1) { height: 4px; } .bars i:nth-child(2) { height: 7px; } .bars i:nth-child(3) { height: 10px; } .bars i:nth-child(4) { height: 12px; } .bars i:nth-child(5) { height: 15px; }
.bars.good i { background: var(--green); }
.bars.off i:nth-child(1) { background: var(--red); }
.bars.load i { animation: barload 1.2s infinite; }
.bars.load i:nth-child(2) { animation-delay: .15s; } .bars.load i:nth-child(3) { animation-delay: .3s; } .bars.load i:nth-child(4) { animation-delay: .45s; } .bars.load i:nth-child(5) { animation-delay: .6s; }
@keyframes barload { 0%, 100% { background: #2a3247; } 40% { background: var(--cyan); } }
.srv-ver { font-size: 11px; color: var(--mist); margin-top: 6px; }
.srv-players { margin-top: 14px; }
.srv-players-title { font: 600 11px var(--f-mono); letter-spacing: .16em; color: var(--mist); text-transform: uppercase; display: flex; justify-content: space-between; gap: 10px; }
.heads { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; min-height: 32px; }
.heads img, .heads span { width: 32px; height: 32px; image-rendering: pixelated; border-radius: 5px; transition: transform .15s; }
.heads img:hover { transform: translateY(-3px) scale(1.12); }
.heads span { display: grid; place-items: center; background: var(--panel-2); font: 700 11px var(--f-mono); color: var(--cyan); }
.heads .empty { width: auto; height: auto; background: none; color: var(--mist); font: 14px var(--f-body); border-radius: 0; }

/* ---------- stats strip ---------- */
.status-sec { padding-top: 24px; }
.status-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 16px; align-items: stretch; }
.stats-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-radius: var(--r); background: rgba(9,19,45,.78); border: 1px solid var(--line-strong); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.9); overflow: hidden; }
.stat { padding: 22px 24px; display: flex; gap: 14px; align-items: center; min-width: 0; }
.stat:nth-child(even) { border-left: 1px solid var(--line); }
.stat:nth-child(n+3) { border-top: 1px solid var(--line); }

/* moduri de joc */
.modes-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.mode { display: grid; grid-template-rows: auto 1fr; }
.mode-art { position: relative; height: 170px; overflow: hidden; border-bottom: 1px solid var(--line); }
.mode-art canvas { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; }
.mode-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(7,14,34,.9)); }
.mode-art h3 { position: absolute; left: 24px; bottom: 16px; z-index: 1; font: 700 clamp(26px, 3vw, 34px)/1 var(--f-logo); letter-spacing: .02em; color: #fff; text-shadow: 0 3px 0 rgba(0,0,0,.4); }
.mode-body { padding: 20px 24px 24px; display: flex; flex-direction: column; gap: 12px; }
.mode-body p { color: var(--mist); font-size: 15.5px; }
.mode-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; font-size: 14px; color: #c3d2ee; }
.mode-list li { display: flex; gap: 8px; align-items: flex-start; }
.mode-list svg { color: var(--a); margin-top: 4px; }
.stat-ic { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; font-size: 20px; color: var(--cyan); background: rgba(90,215,255,.1); border: 1px solid rgba(90,215,255,.2); flex: none; }
.stat b { display: block; font: 700 24px/1.1 var(--f-head); font-variant-numeric: tabular-nums; }
.stat span { font-size: 13px; color: var(--mist); }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; margin-top: 40px; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 45s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { font: 700 15px var(--f-head); letter-spacing: .08em; padding: 6px 22px; white-space: nowrap; color: var(--dim); display: flex; align-items: center; gap: 44px; text-transform: uppercase; }
.marquee span::after { content: ""; width: 6px; height: 6px; background: var(--blue); transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- cards (features / events) ---------- */
.tilt { transform-style: preserve-3d; transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .25s, box-shadow .25s; will-change: transform; }
.card {
  --a: var(--cyan);
  position: relative; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); overflow: hidden; min-width: 0;
}
.card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, -20%), color-mix(in srgb, var(--a) 16%, transparent), transparent 50%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.card:hover { border-color: color-mix(in srgb, var(--a) 45%, transparent); box-shadow: 0 24px 50px -24px color-mix(in srgb, var(--a) 55%, transparent); }
.card:hover::before { opacity: 1; }
.features-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 44px; }
.feat { padding: 26px 24px; }
.ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; color: var(--a); background: color-mix(in srgb, var(--a) 12%, transparent); border: 1px solid color-mix(in srgb, var(--a) 30%, transparent); }
.feat h3 { font: 700 18px/1.3 var(--f-head); margin-top: 18px; letter-spacing: -.01em; }
.feat p { color: var(--mist); margin-top: 8px; font-size: 15px; }
.features-grid { align-items: start; }
.feat.open { transform: none !important; border-color: color-mix(in srgb, var(--a) 45%, transparent); }
.more { margin-top: 16px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px 7px 14px; border-radius: 999px; font: 600 13px var(--f-body); color: var(--a); background: color-mix(in srgb, var(--a) 10%, transparent); border: 1px solid color-mix(in srgb, var(--a) 30%, transparent); transition: background .2s; position: relative; }
.more:hover { background: color-mix(in srgb, var(--a) 18%, transparent); }
.more svg { transition: transform .3s; }
.feat.open .more svg { transform: rotate(180deg); }
.more-wrap { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s cubic-bezier(.2,.8,.2,1); position: relative; }
.feat.open .more-wrap { grid-template-rows: 1fr; }
.more-in { overflow: hidden; }
.more-in ul { list-style: none; margin: 14px 0 0; padding: 14px 0 0; border-top: 1px dashed var(--line-strong); display: grid; gap: 10px; font-size: 14.5px; color: #c9d6ee; }
.more-in li { position: relative; padding-left: 16px; }
.more-in li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 2px; background: var(--a); }
.more-in b { color: var(--ice); }

.events-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 44px; }
.event { display: flex; flex-direction: column; }
.event-art { position: relative; height: 150px; display: grid; place-items: center; overflow: hidden; border-bottom: 1px solid var(--line); background: linear-gradient(160deg, color-mix(in srgb, var(--a) 22%, #0a1430), #070f26 70%); }
.event-art canvas { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; opacity: .55; }
.event-art .ic { position: relative; width: 64px; height: 64px; font-size: 30px; border-radius: 16px; background: rgba(5,12,30,.75); backdrop-filter: blur(6px); }
.event-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.event h3 { font: 700 20px/1.25 var(--f-head); }
.event p { color: var(--mist); font-size: 15px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 6px; }
.tag { font: 600 11px var(--f-mono); letter-spacing: .06em; padding: 4px 9px; border-radius: 999px; color: var(--a); background: color-mix(in srgb, var(--a) 10%, transparent); border: 1px solid color-mix(in srgb, var(--a) 28%, transparent); }

/* ---------- ranks ---------- */
.ranks { margin-top: 40px; display: grid; gap: 10px; }
.rank { --c: #fff; display: grid; grid-template-columns: 44px minmax(120px, 200px) 1fr auto; gap: 6px 20px; align-items: center; padding: 16px 20px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); transition: border-color .2s, transform .2s; }
.rank:hover { border-color: color-mix(in srgb, var(--c) 55%, transparent); transform: translateX(4px); }
.rank-n { font: 600 13px var(--f-mono); color: var(--dim); grid-row: 1 / span 2; }
.rank-name { font: 700 18px var(--f-head); color: var(--c); letter-spacing: .02em; }
.rank-note { color: var(--mist); font-size: 13.5px; grid-column: 2; }
.rank-bar { grid-column: 3; grid-row: 1 / span 2; height: 8px; border-radius: 4px; background: rgba(255,255,255,.06); position: relative; min-width: 0; overflow: hidden; }
.rank-bar i { position: absolute; inset: 0 auto 0 0; border-radius: 4px; background: linear-gradient(90deg, color-mix(in srgb, var(--c) 40%, transparent), var(--c)); width: 0; transition: width 1.2s cubic-bezier(.2,.8,.2,1); }
.rank-price { grid-row: 1 / span 2; grid-column: 4; font: 700 17px var(--f-mono); color: var(--gold); text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ranks-foot { margin-top: 18px; font: 600 12px var(--f-mono); letter-spacing: .16em; color: var(--mist); }

/* ---------- join ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.step { padding: 26px 24px; }
.step-n { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; font: 700 16px var(--f-head); background: linear-gradient(180deg, #4a82ff, var(--blue-2)); box-shadow: 0 8px 20px -8px var(--blue); }
.step h3 { font: 700 18px var(--f-head); margin-top: 16px; }
.step p { color: var(--mist); margin-top: 6px; font-size: 15px; }
.step code { font-family: var(--f-mono); font-size: 13.5px; color: var(--cyan); background: rgba(90,215,255,.08); padding: 2px 6px; border-radius: 5px; }
.join-cta { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.vote-note { display: inline-flex; align-items: center; gap: 8px; font: 600 12px var(--f-mono); letter-spacing: .08em; color: var(--mist); }

/* ---------- store ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 34px; padding: 5px; border-radius: 12px; background: rgba(0,0,0,.25); border: 1px solid var(--line); width: fit-content; max-width: 100%; }
.tab { font: 600 14px var(--f-body); padding: 9px 16px; border-radius: 8px; background: none; color: var(--mist); border: 0; }
.tab:hover { color: var(--ice); }
.tab.active { background: var(--blue); color: #fff; box-shadow: 0 6px 16px -6px var(--blue); }
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 16px; margin-top: 24px; }
.pkg { --a: var(--cyan); display: flex; flex-direction: column; padding: 24px; }
.pkg.featured { border-color: color-mix(in srgb, var(--a) 50%, transparent); }
.pkg-ribbon { position: absolute; top: 16px; right: 16px; font: 700 10px var(--f-mono); letter-spacing: .12em; padding: 4px 8px; border-radius: 6px; background: var(--a); color: #041022; }
.pkg-top { display: flex; align-items: center; gap: 14px; }
.pkg-gem { width: 44px; height: 44px; image-rendering: pixelated; flex: none; filter: drop-shadow(0 0 10px color-mix(in srgb, var(--a) 60%, transparent)); }
.pkg-img { width: 100%; aspect-ratio: 16 / 10; object-fit: contain; background: rgba(0,0,0,.25); border-radius: 10px; margin-bottom: 16px; }
.pkg-name { font: 700 22px/1.15 var(--f-head); color: var(--ice); word-break: break-word; }
.pkg-name small { display: block; font: 600 11px var(--f-mono); letter-spacing: .16em; color: var(--a); margin-bottom: 2px; }
.pkg-price { font: 700 30px/1 var(--f-head); color: #fff; margin-top: 18px; letter-spacing: -.02em; }
.pkg-price s { color: var(--dim); font-size: 15px; margin-left: 8px; font-weight: 500; }
.perks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 9px; color: #c3d2ee; font-size: 14.5px; }
.perks li { display: flex; gap: 10px; align-items: flex-start; }
.perks li svg { color: var(--a); margin-top: 4px; }
.pkg-desc { color: var(--mist); font-size: 14px; margin-top: 12px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pkg-actions { margin-top: auto; padding-top: 22px; display: flex; gap: 8px; }
.pkg-actions .btn { flex: 1; }
.pkg-actions .btn.ghost { flex: 0 0 auto; }
.keytypes { margin-top: 28px; padding: 22px; border-radius: var(--r); border: 1px solid var(--line); background: rgba(0,0,0,.2); }
.keytypes h3 { font: 700 17px var(--f-head); display: flex; align-items: center; gap: 8px; }
.keys { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; margin-top: 14px; }
.key { --c: #fff; display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 10px; background: var(--panel); border: 1px solid var(--line); }
.key img { width: 32px; height: 32px; image-rendering: pixelated; flex: none; }
.key b { display: block; font: 700 13.5px var(--f-head); color: var(--c); }
.key small { color: var(--mist); font-size: 12px; line-height: 1.35; display: block; }
.secure { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 13.5px; color: var(--mist); }
.secure span { display: inline-flex; gap: 8px; align-items: center; }
.secure svg { color: var(--green); }
.shop-state { margin-top: 24px; color: var(--mist); }
.skel { height: 320px; border-radius: var(--r); background: linear-gradient(100deg, rgba(17,34,74,.5) 30%, rgba(40,70,140,.5) 50%, rgba(17,34,74,.5) 70%); background-size: 300% 100%; animation: skel 1.4s infinite; }
@keyframes skel { to { background-position: -150% 0; } }

/* drawer + modals */
.scrim { position: fixed; inset: 0; background: rgba(2,5,14,.65); backdrop-filter: blur(4px); z-index: 80; opacity: 0; pointer-events: none; transition: opacity .25s; }
.scrim.show { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); z-index: 90; background: var(--deep); border-left: 1px solid var(--line-strong); box-shadow: -20px 0 60px rgba(0,0,0,.6); transform: translateX(105%); transition: transform .3s cubic-bezier(.2,.8,.2,1); display: flex; flex-direction: column; padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); padding-right: env(safe-area-inset-right, 0px); }
.drawer.show { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font: 700 20px var(--f-head); }
.x { background: none; border: 1px solid var(--line-strong); color: var(--ice); width: 36px; height: 36px; border-radius: 8px; font-size: 16px; display: grid; place-items: center; }
.x:hover { border-color: var(--red); color: var(--red); }
.drawer-body { flex: 1; overflow-y: auto; padding: 16px 20px; display: grid; gap: 10px; align-content: start; }
.line { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; padding: 14px; border-radius: 10px; background: var(--panel); border: 1px solid var(--line); }
.line b { font: 700 15px var(--f-head); min-width: 0; word-break: break-word; }
.line .lp { font-family: var(--f-mono); color: var(--gold); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 8px; overflow: hidden; width: fit-content; }
.qty button { background: var(--panel-2); color: var(--ice); border: 0; width: 30px; height: 30px; font: 700 16px var(--f-mono); }
.qty span { min-width: 34px; text-align: center; font-family: var(--f-mono); }
.rm { background: none; border: 0; color: var(--mist); font-size: 13px; text-decoration: underline; justify-self: end; }
.rm:hover { color: var(--red); }
.drawer-foot { padding: 18px 20px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.total { display: flex; justify-content: space-between; font: 700 18px var(--f-head); }
.total b { color: var(--gold); font-family: var(--f-mono); }
.who { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--mist); }
.who img { width: 28px; height: 28px; image-rendering: pixelated; border-radius: 5px; }
.who button { margin-left: auto; background: none; border: 0; color: var(--cyan); text-decoration: underline; font: inherit; }
.empty-cart { color: var(--mist); text-align: center; padding: 40px 0; }
.modal { position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; padding: 20px max(16px, env(safe-area-inset-right, 0px)) 20px max(16px, env(safe-area-inset-left, 0px)); pointer-events: none; opacity: 0; transition: opacity .2s; }
.modal.show { opacity: 1; pointer-events: auto; }
.modal-card { width: min(500px, 100%); max-height: 86vh; overflow-y: auto; border-radius: 16px; background: var(--deep); border: 1px solid var(--line-strong); box-shadow: 0 30px 80px rgba(0,0,0,.7); padding: 26px; transform: translateY(14px) scale(.98); transition: transform .25s; }
.modal.show .modal-card { transform: none; }
.modal-card h3 { font: 700 24px var(--f-head); }
.modal-card .row { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.field { display: grid; gap: 6px; margin-top: 18px; }
.field label { font: 600 12px var(--f-mono); letter-spacing: .14em; color: var(--mist); text-transform: uppercase; }
.field-row { display: flex; gap: 12px; align-items: center; }
.field-row img { width: 48px; height: 48px; image-rendering: pixelated; border-radius: 8px; background: var(--panel-solid); flex: none; }
.field input { width: 100%; min-width: 0; background: #050b1c; border: 1px solid var(--line-strong); border-radius: 10px; color: var(--ice); font: 600 16px var(--f-mono); padding: 13px 14px; }
.field input:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(90,215,255,.15); }
.hint { font-size: 14px; color: var(--mist); margin-top: 8px; }
.err { color: var(--red); font-size: 14px; margin-top: 10px; }
.desc-html { color: #c3d2ee; margin-top: 14px; font-size: 15px; }
.desc-html img { height: auto; border-radius: 8px; }
.desc-html a { color: var(--cyan); }
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 30px); z-index: 120; display: flex; align-items: center; gap: 10px; background: var(--panel-solid); border: 1px solid var(--line-strong); border-radius: 12px; box-shadow: 0 16px 40px rgba(0,0,0,.6); padding: 12px 18px; font-weight: 600; font-size: 15px; opacity: 0; transition: opacity .2s, transform .25s; pointer-events: none; max-width: calc(100% - 32px); }
.toast::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- discord band ---------- */
.dc { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; padding: clamp(28px, 4vw, 48px); border-radius: 20px; background: radial-gradient(600px 300px at 0% 0%, rgba(107,123,255,.35), transparent 60%), linear-gradient(120deg, #141c52, #0b1636); border: 1px solid rgba(107,123,255,.35); position: relative; overflow: hidden; }
.dc h2 { font: 700 clamp(24px, 3.4vw, 36px)/1.15 var(--f-head); letter-spacing: -.02em; margin-top: 10px; }
.dc-stats { display: flex; gap: 22px; margin-top: 14px; font-size: 15px; color: #b8c3f0; flex-wrap: wrap; }
.dc-stats span { display: inline-flex; align-items: center; gap: 8px; }
.dc-stats b { color: #fff; font-variant-numeric: tabular-nums; }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); background: rgba(3,7,18,.9); padding-bottom: env(safe-area-inset-bottom, 0px); }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; padding-block: 44px 28px; }
.foot h4 { margin: 0 0 12px; font: 700 13px var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mist); }
.foot p { color: var(--mist); font-size: 14px; max-width: 40ch; margin-top: 12px; }
.foot a { display: block; color: var(--ice); text-decoration: none; font-size: 14.5px; padding: 3px 0; opacity: .85; }
.foot a:hover { color: var(--cyan); opacity: 1; }
.copy { border-top: 1px solid var(--line); padding-block: 18px; color: var(--dim); font-size: 13px; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .status-grid { grid-template-columns: 1fr; }
  .features-grid, .events-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav-links { display: none; }
  .burger { display: inline-grid; place-items: center; }
  .mobile-menu.open { display: grid; gap: 2px; padding: 8px var(--gutter-r) 16px var(--gutter-l); background: rgba(5,10,24,.96); border-top: 1px solid var(--line); }
  .mobile-menu a { color: var(--ice); text-decoration: none; padding: 12px 4px; font-weight: 600; border-bottom: 1px solid var(--line); }
}
@media (max-width: 680px) {
  .features-grid, .events-grid, .steps, .modes-grid { grid-template-columns: 1fr; }
  .mode-list { grid-template-columns: 1fr; }
  .slash-hint { display: none; }
  .stat { padding: 16px; gap: 10px; }
  .stat-ic { width: 34px; height: 34px; font-size: 16px; }
  .stat b { font-size: 19px; }
  .rank { grid-template-columns: 30px 1fr auto; gap: 4px 12px; padding: 14px; }
  .rank-bar { grid-column: 1 / -1; grid-row: 3; margin-top: 8px; }
  .rank-price { grid-column: 3; font-size: 14px; }
  .rank-name { font-size: 16px; }
  .dc { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr 1fr; }
  .foot > div:first-child { grid-column: 1 / -1; }
  .nav .pill .lbl, .nav-right .discord-top { display: none; }
  .srv-row { grid-template-columns: 48px 1fr; }
  .srv-icon { width: 48px; height: 48px; }
  .srv-side { grid-column: 1 / -1; text-align: left; display: flex; gap: 12px; align-items: center; justify-content: space-between; }
  .srv-ver { margin: 0; }
  .hero { min-height: auto; }
  .hero-inner { padding-block: 40px 110px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ================= efecte v2 ================= */

/* fundal: slide-uri cu Ken Burns + lentilă clară */
.bg-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.8s ease; }
.bg-slide.on { opacity: 1; }
.bg-slide .kb { position: absolute; inset: 0; transform: scale(1.08); transform-origin: 50% 50%; will-change: transform; }
.bg-slide.run .kb { animation: kb var(--kb-dur, 13s) cubic-bezier(.3,.6,.4,1) forwards; }
.bg-slide.alt.run .kb { animation-name: kb2; }
@keyframes kb { from { transform: scale(1.14) translate3d(1.2%, .8%, 0); } to { transform: scale(1.03) translate3d(0, 0, 0); } }
@keyframes kb2 { from { transform: scale(1.14) translate3d(-1.2%, .6%, 0); } to { transform: scale(1.03) translate3d(0, 0, 0); } }
.kb img { display: block; width: 100%; height: 100%; object-fit: cover; }
img.base { filter: blur(var(--bg-blur, 6px)) brightness(calc(1 - var(--bg-dark, .5) * .6)) saturate(1.1); }
.lens { position: absolute; left: 0; top: 0; width: var(--lens, 420px); height: var(--lens, 420px); border-radius: 50%; overflow: hidden; opacity: 0; transition: opacity 1.2s ease; will-change: transform;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 28%, rgba(0,0,0,.6) 50%, transparent 70%); mask-image: radial-gradient(circle at 50% 50%, #000 28%, rgba(0,0,0,.6) 50%, transparent 70%); }
.bg.lens-ready .lens { opacity: 1; }
.lens-inner { position: absolute; left: 0; top: 0; width: var(--bgw, 100vw); height: var(--bgh, 100vh); will-change: transform; }
img.sharp { filter: brightness(calc(1 - var(--bg-dark, .5) * .38)) saturate(1.18) contrast(1.04); }

/* raze de lumină + granulație */
.rays { position: fixed; top: -35vh; right: -25vw; width: 130vw; height: 150vh; z-index: 0; pointer-events: none; transform-origin: 82% 0%;
  background: repeating-conic-gradient(from 198deg at 82% 0%, rgba(255,240,215,0) 0deg, rgba(255,240,215,.075) 2.5deg, rgba(255,240,215,0) 6deg, rgba(255,240,215,0) 11deg);
  -webkit-mask-image: radial-gradient(ellipse 70% 75% at 82% 0%, #000 0%, rgba(0,0,0,.4) 45%, transparent 75%); mask-image: radial-gradient(ellipse 70% 75% at 82% 0%, #000 0%, rgba(0,0,0,.4) 45%, transparent 75%);
  mix-blend-mode: screen; animation: rays 16s ease-in-out infinite alternate; }
@keyframes rays { from { transform: rotate(-3deg); opacity: .65; } to { transform: rotate(3deg); opacity: 1; } }
.grain { position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
#bokeh { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
#burst { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 75; pointer-events: none; }

/* bară de progres + secțiunea activă */
.progress { position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; height: 2px; z-index: 61; transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, #3a74ff, #5ad7ff, #b8f34a); box-shadow: 0 0 12px rgba(90,215,255,.7); pointer-events: none; }
.nav-links a { position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--cyan); transform: scaleX(0); transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.nav-links a.active { color: var(--ice); }
.nav-links a.active::after { transform: scaleX(1); }

/* titlu: literele cad pe rând, apoi o strălucire trece peste ele */
.title.split .ch { display: inline-block; animation: drop .9s cubic-bezier(.2,1.45,.45,1) both, glint 7s ease-in-out infinite;
  animation-delay: calc(var(--i) * 55ms), calc(2s + var(--i) * 70ms); }
@keyframes drop { 0% { opacity: 0; transform: translateY(-70px) rotate(-10deg) scale(.9); } 55% { opacity: 1; } 100% { opacity: 1; transform: none; } }
@keyframes glint { 0%, 7%, 100% { filter: none; } 3.5% { filter: brightness(1.75) drop-shadow(0 0 16px rgba(140,220,255,.85)); } }
.hero-copy > :not(.title) { animation: rise .9s cubic-bezier(.2,.8,.2,1) both; }
.hero-copy > :nth-child(1) { animation-delay: .05s; }
.hero-copy > :nth-child(3) { animation-delay: .55s; }
.hero-copy > :nth-child(4) { animation-delay: .7s; }
.hero-copy > :nth-child(5) { animation-delay: .85s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* apariție la scroll */
.rv { opacity: 0; transform: translateY(28px) scale(.985); }
.rv.rv-in { opacity: 1; transform: none; transition: opacity .7s ease var(--rd, 0ms), transform .85s cubic-bezier(.2,.8,.2,1) var(--rd, 0ms); }

/* margine luminoasă care urmărește cursorul */
.card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: radial-gradient(240px circle at var(--mx, -999px) var(--my, -999px), color-mix(in srgb, var(--a) 85%, white 15%), transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }

/* poză reală în cardul de mod */
.mode-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; transform: scale(calc(var(--z, 1) * 1.02)); transition: transform 1.2s cubic-bezier(.2,.8,.2,1), filter .6s; filter: saturate(1.05) brightness(.85); }
.mode:hover .mode-photo { transform: scale(calc(var(--z, 1) * 1.08)); filter: saturate(1.15) brightness(.95); }
.brand canvas { transition: opacity .25s; }

@media (prefers-reduced-motion: reduce) {
  .rays { animation: none; }
  .rv { opacity: 1; transform: none; }
}

/* blocuri 3D + sabie */
#blocks { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: 0; transition: opacity 1.2s ease; }
#blocks.on { opacity: 1; }
#fx { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 70; pointer-events: none; }
html.on-block body { cursor: var(--sword-hot, pointer); }
.hero-cta { margin-top: 34px; }
