/* ═══ NEX RZ — premium PvP design ═══ */

:root {
  --bg: #05070d;
  --bg-2: #080b14;
  --card: rgba(13, 18, 30, 0.72);
  --card-2: rgba(17, 23, 38, 0.85);
  --line: rgba(120, 160, 255, 0.14);
  --line-strong: rgba(120, 160, 255, 0.3);
  --text: #eef1f8;
  --muted: #8f97ad;
  --dim: #5c6478;
  --blue: #4f8dff;
  --cyan: #38e1ff;
  --grad: linear-gradient(100deg, #4f8dff, #38e1ff);
  --gold: #ffd166;
  --silver: #cfd6e2;
  --bronze: #d29a5f;
  --r: 16px;
  --font-d: 'Unbounded', sans-serif;
  --font-b: 'Inter', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-b);
  line-height: 1.65;
  overflow-x: hidden;
}

::selection { background: rgba(79, 141, 255, 0.35); }

/* egyedi scrollbar */
html { scrollbar-width: thin; scrollbar-color: #2a3a52 var(--bg); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(#4f8dff, #38e1ff);
  border-radius: 8px;
  border: 2px solid var(--bg);
}
::-webkit-scrollbar-thumb:hover { background: #4f8dff; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 22px; }
.container-narrow { max-width: 820px; }

a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── scroll progress ── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: var(--grad);
  box-shadow: 0 0 12px rgba(56, 190, 255, 0.6);
  z-index: 200;
  pointer-events: none;
}

/* ── cursor glow ── */
.cursor-glow {
  position: fixed;
  top: 0; left: 0;
  width: 480px; height: 480px;
  margin: -240px 0 0 -240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79, 141, 255, 0.07), transparent 65%);
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.4s;
}
body.has-cursor .cursor-glow { opacity: 1; }

/* ── háttér effektek ── */
#fx {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(rgba(120, 160, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 160, 255, 0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 30%, transparent 75%);
}

/* ── reveal + stagger ── */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--d, 0s);
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── egérkövető fény a kártyákon ── */
.glow-track { position: relative; }
.glow-track::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(99, 170, 255, 0.1), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.glow-track:hover::after { opacity: 1; }

/* ── aurora fényfoltok ── */
.aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  opacity: 0.55;
  will-change: transform;
}
.aurora-1 {
  width: 520px; height: 520px;
  top: -140px; left: -120px;
  background: radial-gradient(circle, rgba(79, 141, 255, 0.22), transparent 65%);
  animation: auroraDrift1 16s ease-in-out infinite;
}
.aurora-2 {
  width: 460px; height: 460px;
  bottom: -100px; right: -80px;
  background: radial-gradient(circle, rgba(56, 225, 255, 0.14), transparent 65%);
  animation: auroraDrift2 20s ease-in-out infinite;
}
@keyframes auroraDrift1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(90px, 60px) scale(1.15); }
}
@keyframes auroraDrift2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-70px, -50px) scale(1.12); }
}
@media (prefers-reduced-motion: reduce) { .aurora { animation: none; } }

/* ── 3D tilt ── */
.tilt {
  transform-style: preserve-3d;
  will-change: transform;
}
.tilt.tilting { transition: none !important; animation: none !important; }

/* ── kattintás szikra ── */
.spark {
  position: fixed;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(56, 225, 255, 0.9);
  pointer-events: none;
  z-index: 300;
  animation: sparkFly 0.65s ease-out forwards;
}
@keyframes sparkFly {
  from { transform: translate(0, 0) scale(1); opacity: 1; }
  to { transform: translate(var(--sx), var(--sy)) scale(0.1); opacity: 0; }
}

/* ── logó kép (img/logo.png) ── */
img.logo-img {
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(79, 141, 255, 0.55));
}
.hero-logo {
  animation: logoFloat 4.5s ease-in-out infinite;
}
img.hero-logo {
  filter: drop-shadow(0 0 16px rgba(56, 190, 255, 0.65));
}
@keyframes logoFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); filter: drop-shadow(0 0 10px rgba(79, 141, 255, 0.4)); }
  50% { transform: translateY(-5px) rotate(2deg); filter: drop-shadow(0 0 22px rgba(56, 225, 255, 0.75)); }
}
@media (prefers-reduced-motion: reduce) { .hero-logo { animation: none; } }

/* ── gombok ── */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 12px;
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  cursor: pointer;
  border: none;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none !important;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--grad);
  color: #04121f;
  box-shadow: 0 8px 30px rgba(56, 190, 255, 0.28);
}
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-20deg);
  transition: left 0.5s ease;
}
.btn-primary:hover::after { left: 130%; }
.btn-primary:hover { box-shadow: 0 10px 38px rgba(56, 190, 255, 0.42); }

.btn-ghost {
  background: rgba(13, 18, 30, 0.6);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }

.btn-lg { padding: 17px 38px; font-size: 0.9rem; }
.btn-block { width: 100%; }

/* ── navbar ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(5, 7, 13, 0.6);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s, background 0.25s;
}
.navbar.scrolled {
  background: rgba(5, 7, 13, 0.88);
  border-bottom-color: var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
}
.brand-mark { filter: drop-shadow(0 0 10px rgba(79, 141, 255, 0.5)); }
.brand-text {
  font-family: var(--font-d);
  font-weight: 900;
  font-size: 1.05rem;
  color: #fff;
  letter-spacing: 0.03em;
}
.brand-text b {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a:not(.nav-cta) {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.92rem;
  text-decoration: none;
  position: relative;
  transition: color 0.15s;
}
.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--grad);
  border-radius: 2px;
  transition: width 0.2s ease;
}
.nav-links a:not(.nav-cta):hover { color: #fff; }
.nav-links a:not(.nav-cta):hover::after,
.nav-links a.active:not(.nav-cta)::after { width: 100%; }
.nav-links a.active:not(.nav-cta) { color: #fff; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  border-radius: 10px;
  background: #5865f2;
  color: #fff !important;
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none !important;
  transition: transform 0.15s, box-shadow 0.15s;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(88, 101, 242, 0.4); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: 0.2s; }

/* ── hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 130px 0 100px;
  background:
    radial-gradient(ellipse 55% 42% at 50% -5%, rgba(79, 141, 255, 0.16), transparent 70%),
    radial-gradient(ellipse 30% 30% at 85% 55%, rgba(56, 225, 255, 0.05), transparent 70%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(30px, 5vw, 64px);
  align-items: center;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(13, 18, 30, 0.6);
  backdrop-filter: blur(6px);
  font-family: var(--font-d);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--muted);
  margin-bottom: 28px;
}

.pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #3ddc84;
  box-shadow: 0 0 0 0 rgba(61, 220, 132, 0.6);
  animation: pulseDot 2s infinite;
  flex-shrink: 0;
}
@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(61, 220, 132, 0); }
  100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); }
}

.hero-title {
  font-family: var(--font-d);
  font-weight: 900;
  font-size: clamp(2.4rem, 6.5vw, 4.6rem);
  line-height: 1.06;
  letter-spacing: 0.01em;
  margin-bottom: 24px;
}
.hero-title .line { display: block; }
.hero-title .grad {
  background: linear-gradient(100deg, #4f8dff, #38e1ff, #7db2ff, #4f8dff);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 26px rgba(56, 190, 255, 0.35));
  animation: gradFlow 6s linear infinite;
}
@keyframes gradFlow {
  from { background-position: 0% 0; }
  to { background-position: 250% 0; }
}
@media (prefers-reduced-motion: reduce) { .hero-title .grad { animation: none; } }

/* glitch effekt */
.glitch { position: relative; }
.glitch::before, .glitch::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0;
}
.glitch::before { animation: glitchA 6s infinite; }
.glitch::after { animation: glitchB 6s infinite; }
@keyframes glitchA {
  0%, 93%, 100% { opacity: 0; transform: none; clip-path: none; }
  94% { opacity: 0.8; transform: translate(-4px, 2px); clip-path: inset(20% 0 55% 0); }
  95% { opacity: 0.8; transform: translate(4px, -2px); clip-path: inset(60% 0 15% 0); }
  96% { opacity: 0; }
}
@keyframes glitchB {
  0%, 94%, 100% { opacity: 0; transform: none; clip-path: none; }
  95% { opacity: 0.7; transform: translate(5px, 0); clip-path: inset(45% 0 35% 0); }
  96.5% { opacity: 0.7; transform: translate(-5px, 0); clip-path: inset(8% 0 75% 0); }
  97.5% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .glitch::before, .glitch::after { display: none; }
}

.hero-sub {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 480px;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.hero-stats {
  display: inline-flex;
  align-items: center;
  gap: clamp(20px, 3.5vw, 42px);
  flex-wrap: wrap;
}
.hstat { text-align: left; }
.hstat-num {
  display: block;
  font-family: var(--font-d);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: #fff;
  line-height: 1.15;
}
.hstat-label {
  color: var(--dim);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}
.hstat-sep {
  width: 1px;
  height: 42px;
  background: linear-gradient(transparent, var(--line-strong), transparent);
}

/* hero szerver kártya */
.hero-card {
  position: relative;
  background: var(--card-2);
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  padding: 28px;
  backdrop-filter: blur(10px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 60px rgba(79, 141, 255, 0.06) inset;
  animation: floaty 7s ease-in-out infinite;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@media (prefers-reduced-motion: reduce) { .hero-card { animation: none; } }
.hero-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  border-radius: 20px 20px 0 0;
  background: var(--grad);
}

.hero-card-top {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
}
.hero-card-name {
  font-family: var(--font-d);
  font-weight: 900;
  font-size: 1.15rem;
  color: #fff;
}
.hero-card-type {
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  color: var(--dim);
  font-weight: 600;
}
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(61, 220, 132, 0.08);
  border: 1px solid rgba(61, 220, 132, 0.35);
  color: #3ddc84;
  font-family: var(--font-d);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.server-rows { display: flex; flex-direction: column; gap: 4px; margin-bottom: 22px; }
.server-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 4px;
  border-bottom: 1px dashed rgba(120, 160, 255, 0.1);
  flex-wrap: wrap;
}
.server-row:last-child { border-bottom: none; }
.server-row-label {
  color: var(--dim);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  flex-shrink: 0;
}
.server-row-value { color: var(--text); font-size: 0.9rem; font-weight: 500; }
.server-row-value.ok { color: #3ddc84; }
.server-row-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.server-row-right code {
  font-family: 'Consolas', 'Menlo', monospace;
  font-size: 0.84rem;
  color: var(--cyan);
  background: rgba(5, 7, 13, 0.7);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 5px 10px;
}
/* nagy IP gomb */
.ip-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: rgba(79, 141, 255, 0.08);
  border: 1px solid var(--line-strong);
  cursor: pointer;
  font-family: var(--font-b);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.1s;
}
.ip-btn::before {
  content: '';
  position: absolute;
  top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(120, 190, 255, 0.14), transparent);
  transform: skewX(-20deg);
  transition: left 0.5s ease;
}
.ip-btn:hover { border-color: var(--cyan); box-shadow: 0 0 24px rgba(56, 190, 255, 0.22); }
.ip-btn:hover::before { left: 130%; }
.ip-btn:active { transform: scale(0.98); }
.ip-btn-tag {
  font-family: var(--font-d);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  color: #04121f;
  background: var(--grad);
  border-radius: 7px;
  padding: 5px 10px;
  flex-shrink: 0;
}
.ip-btn-value {
  font-family: 'Consolas', 'Menlo', monospace;
  font-size: 1.08rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.03em;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ip-btn-copy {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
  color: var(--cyan);
  font-weight: 600;
  font-size: 0.8rem;
  flex-shrink: 0;
}
.ip-btn.copied { border-color: #3ddc84; background: rgba(61, 220, 132, 0.08); box-shadow: 0 0 24px rgba(61, 220, 132, 0.2); }
.ip-btn.copied .ip-btn-copy { color: #3ddc84; }

.hero-card-note {
  text-align: center;
  color: var(--dim);
  font-size: 0.76rem;
  margin-top: 12px;
}

/* scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 22px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--dim);
  text-decoration: none !important;
}
.scroll-hint-text {
  font-family: var(--font-d);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.4em;
}
.scroll-hint-line {
  width: 1px;
  height: 34px;
  background: linear-gradient(var(--cyan), transparent);
  animation: scrollLine 1.8s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ── ticker ── */
.ticker {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(13, 18, 30, 0.5);
  padding: 14px 0;
}
.ticker-track {
  display: flex;
  align-items: center;
  gap: 34px;
  width: max-content;
  animation: ticker 30s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track span {
  font-family: var(--font-d);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--dim);
  white-space: nowrap;
}
.ticker-track i {
  color: var(--blue);
  font-style: normal;
  font-size: 0.6rem;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ── szekciók ── */
.section { position: relative; padding: 110px 0; }
.section-dark {
  background: linear-gradient(rgba(8, 11, 20, 0.85), rgba(8, 11, 20, 0.85));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.sec-head {
  position: relative;
  text-align: center;
  margin-bottom: 64px;
}
.sec-ghost {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -58%);
  font-family: var(--font-d);
  font-weight: 900;
  font-size: clamp(3.6rem, 12vw, 8rem);
  letter-spacing: 0.06em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(120, 160, 255, 0.07);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  will-change: transform;
}
.eyebrow {
  position: relative;
  font-family: var(--font-d);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 10px;
}
.sec-title {
  position: relative;
  font-family: var(--font-d);
  font-weight: 700;
  font-size: clamp(1.7rem, 4.6vw, 2.7rem);
  line-height: 1.2;
}
.sec-title b {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ── features ── */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.feat {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 30px 26px;
  backdrop-filter: blur(6px);
  transition: transform 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
}
.feat::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.feat:hover { transform: translateY(-5px); border-color: var(--line-strong); }
.feat:hover::before { transform: scaleX(1); }

.feat-ico {
  width: 52px; height: 52px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: rgba(79, 141, 255, 0.1);
  border: 1px solid var(--line-strong);
  color: var(--cyan);
  margin-bottom: 18px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.feat:hover .feat-ico {
  transform: scale(1.08) rotate(-4deg);
  box-shadow: 0 0 24px rgba(56, 190, 255, 0.25);
}
.feat-ico svg { width: 26px; height: 26px; }
.feat h3 {
  font-family: var(--font-d);
  font-size: 1.02rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.feat p { color: var(--muted); font-size: 0.93rem; }

/* ── leaderboard ── */
.lb-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.lb-tabs { display: flex; gap: 10px; }
.lb-tab {
  background: rgba(13, 18, 30, 0.7);
  border: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 11px 24px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.15s;
}
.lb-tab:hover { color: #fff; }
.lb-tab.active {
  background: var(--grad);
  border-color: transparent;
  color: #04121f;
  box-shadow: 0 4px 20px rgba(56, 190, 255, 0.3);
}
.lb-live {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.lb-status {
  text-align: center;
  color: var(--muted);
  padding: 6px 0 22px;
}
.lb-status.pulse {
  font-family: var(--font-d);
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: fade 1.4s ease-in-out infinite;
}
@keyframes fade { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }
.lb-status:empty { display: none; padding: 0; }

/* top3 */
.top3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin-bottom: 26px;
}
.top3:empty { display: none; margin: 0; }
.top-card {
  position: relative;
  border-radius: var(--r);
  padding: 1px;
  background: linear-gradient(160deg, rgba(120, 160, 255, 0.35), rgba(120, 160, 255, 0.06) 40%, rgba(56, 225, 255, 0.25));
  transition: transform 0.25s ease;
  opacity: 0;
  transform: translateY(26px);
  animation: cardIn 0.7s ease forwards;
  animation-delay: var(--d, 0s);
}
@keyframes cardIn { to { opacity: 1; transform: none; } }
.top-card:hover { transform: translateY(-5px); }
.top-card.r1 { background: linear-gradient(160deg, rgba(255, 209, 102, 0.75), rgba(255, 209, 102, 0.1) 45%, rgba(255, 209, 102, 0.45)); }
.top-card.r2 { background: linear-gradient(160deg, rgba(207, 214, 226, 0.6), rgba(207, 214, 226, 0.08) 45%, rgba(207, 214, 226, 0.35)); }
.top-card.r3 { background: linear-gradient(160deg, rgba(210, 154, 95, 0.6), rgba(210, 154, 95, 0.08) 45%, rgba(210, 154, 95, 0.35)); }

.top-card-inner {
  background: var(--card-2);
  border-radius: calc(var(--r) - 1px);
  padding: 24px 22px;
  height: 100%;
}
.top-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.top-avatar-wrap { position: relative; flex-shrink: 0; }
.top-avatar {
  width: 58px; height: 58px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--line-strong);
  display: block;
}
.r1 .top-avatar { border-color: var(--gold); box-shadow: 0 0 18px rgba(255, 209, 102, 0.35); }
.r2 .top-avatar { border-color: var(--silver); }
.r3 .top-avatar { border-color: var(--bronze); }
.top-rank-chip {
  position: absolute;
  bottom: -6px; right: -6px;
  display: grid;
  place-items: center;
  width: 24px; height: 24px;
  border-radius: 8px;
  font-family: var(--font-d);
  font-weight: 900;
  font-size: 0.66rem;
  border: 2px solid var(--bg-2);
}
.r1 .top-rank-chip { background: var(--gold); color: #1a1405; }
.r2 .top-rank-chip { background: var(--silver); color: #14171d; }
.r3 .top-rank-chip { background: var(--bronze); color: #1d1206; }

.top-id { min-width: 0; }
.top-label {
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--dim);
}
.top-name {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 0.98rem;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.top-big {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 16px;
}
.top-big-num {
  font-family: var(--font-d);
  font-weight: 900;
  font-size: 2.3rem;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.top-big-unit {
  color: var(--dim);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.top-row {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.83rem;
  margin-bottom: 9px;
}
.top-row span:last-child { color: var(--cyan); font-weight: 600; }
.progress {
  height: 7px;
  border-radius: 999px;
  background: rgba(120, 160, 255, 0.1);
  overflow: hidden;
}
.progress > div {
  height: 100%;
  border-radius: 999px;
  background: var(--grad);
  box-shadow: 0 0 12px rgba(56, 190, 255, 0.4);
  transition: width 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

/* táblázat */
.lb-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--card);
  backdrop-filter: blur(6px);
}
.lb-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.lb-table th {
  font-family: var(--font-d);
  font-size: 0.64rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--dim);
  text-align: left;
  padding: 15px 20px;
  border-bottom: 1px solid var(--line);
}
.lb-table td {
  padding: 13px 20px;
  border-bottom: 1px solid rgba(120, 160, 255, 0.06);
  font-size: 0.94rem;
}
.lb-table tbody tr:last-child td { border-bottom: none; }
.lb-table tbody tr {
  transition: background 0.12s;
  opacity: 0;
  animation: rowIn 0.45s ease forwards;
  animation-delay: var(--d, 0s);
}
@keyframes rowIn {
  from { opacity: 0; transform: translateX(-14px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .lb-table tbody tr { opacity: 1; animation: none; }
}
.lb-table tbody tr:hover { background: rgba(79, 141, 255, 0.05); }
.lb-table tbody tr.top-1 {
  background: linear-gradient(100deg, transparent 30%, rgba(255, 209, 102, 0.06) 50%, transparent 70%) no-repeat,
    rgba(255, 209, 102, 0.03);
  background-size: 250% 100%, 100% 100%;
  animation: rowIn 0.45s ease forwards, rowShine 3.5s linear infinite 0.5s;
}
@keyframes rowShine {
  from { background-position: 125% 0, 0 0; }
  to { background-position: -125% 0, 0 0; }
}

.col-rank { width: 58px; }
.rank-cell { font-family: var(--font-d); font-weight: 700; color: var(--dim); }
tr.top-1 .rank-cell { color: var(--gold); }
tr.top-2 .rank-cell { color: var(--silver); }
tr.top-3 .rank-cell { color: var(--bronze); }

.player-cell { display: flex; align-items: center; gap: 12px; }
.player-avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line-strong);
  flex-shrink: 0;
}
.player-names { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.player-name { font-weight: 600; color: #fff; }
.player-discord { color: var(--dim); font-size: 0.76rem; }
.kd-cell { font-weight: 700; color: var(--cyan); }

.lb-updated { color: var(--dim); font-size: 0.79rem; margin-top: 16px; }

/* ── rules ── */
.rules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 18px;
}
.rule {
  display: flex;
  gap: 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 24px;
  transition: border-color 0.2s, transform 0.2s;
}
.rule:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.rule-num {
  font-family: var(--font-d);
  font-weight: 900;
  font-size: 1.5rem;
  line-height: 1.1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  flex-shrink: 0;
}
.rule h3 {
  font-family: var(--font-d);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 5px;
}
.rule p { color: var(--muted); font-size: 0.9rem; }

/* ── join ── */
.steps {
  display: flex;
  align-items: stretch;
  gap: 14px;
  margin-bottom: 54px;
  flex-wrap: wrap;
}
.step {
  flex: 1;
  min-width: 240px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 28px 24px;
  transition: border-color 0.2s, transform 0.2s;
}
.step:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.step-num {
  display: inline-block;
  font-family: var(--font-d);
  font-weight: 900;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: #04121f;
  background: var(--grad);
  border-radius: 8px;
  padding: 5px 12px;
  margin-bottom: 14px;
}
.step h3 {
  font-family: var(--font-d);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 7px;
}
.step p { color: var(--muted); font-size: 0.92rem; }
.step-arrow {
  display: flex;
  align-items: center;
  color: var(--dim);
  flex-shrink: 0;
}

.inline-code {
  background: rgba(5, 7, 13, 0.8);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 2px 9px;
  font-family: 'Consolas', 'Menlo', monospace;
  font-size: 0.86em;
  color: var(--cyan);
  white-space: nowrap;
}

.cta-banner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  border-radius: 20px;
  padding: 40px 44px;
  background:
    radial-gradient(ellipse 70% 120% at 15% 50%, rgba(79, 141, 255, 0.22), transparent 60%),
    var(--card-2);
  border: 1px solid var(--line-strong);
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: var(--grad);
}
.cta-text h3 {
  font-family: var(--font-d);
  font-weight: 900;
  font-size: 1.6rem;
  margin-bottom: 4px;
}
.cta-text p { color: var(--muted); }

/* ── FAQ ── */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item[open] { border-color: var(--line-strong); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  list-style: none;
  cursor: pointer;
  padding: 19px 22px;
  font-weight: 600;
  font-size: 0.99rem;
  color: #fff;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus {
  position: relative;
  width: 18px; height: 18px;
  flex-shrink: 0;
}
.faq-plus::before, .faq-plus::after {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  background: var(--cyan);
  border-radius: 2px;
  transition: transform 0.25s;
}
.faq-plus::before { width: 14px; height: 2px; }
.faq-plus::after { width: 2px; height: 14px; }
.faq-item[open] .faq-plus::after { transform: rotate(90deg); }
.faq-item p {
  padding: 0 22px 20px;
  color: var(--muted);
  font-size: 0.93rem;
}

/* ── footer ── */
.footer {
  border-top: 1px solid var(--line);
  background: rgba(8, 11, 20, 0.9);
  padding-top: 56px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 36px;
  padding-bottom: 44px;
}
.footer-col h4 {
  font-family: var(--font-d);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--dim);
  margin-bottom: 16px;
}
.footer-col a:not(.brand) {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 10px;
}
.footer-col a:not(.brand):hover { color: #fff; }
.footer-desc {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 14px;
  max-width: 280px;
}
.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 20px 22px;
  text-align: center;
  color: var(--dim);
  font-size: 0.79rem;
}

/* ── vissza fel gomb ── */
.to-top {
  position: fixed;
  right: 24px; bottom: 24px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 13px;
  background: var(--card-2);
  border: 1px solid var(--line-strong);
  color: var(--cyan);
  cursor: pointer;
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s, box-shadow 0.25s;
  backdrop-filter: blur(8px);
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { box-shadow: 0 0 24px rgba(56, 190, 255, 0.3); }

/* ── reszponzív ── */
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero { text-align: center; padding-top: 120px; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-stats { justify-content: center; }
  .hstat { text-align: center; }
  .hero-card { max-width: 460px; margin: 0 auto; width: 100%; }
}
@media (max-width: 960px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .step-arrow { display: none; }
}
@media (max-width: 800px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    background: rgba(5, 7, 13, 0.97);
    border-bottom: 1px solid var(--line);
    padding: 24px 22px;
    gap: 20px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .section { padding: 80px 0; }
  .cta-banner { padding: 30px 26px; }
  .cursor-glow { display: none; }
}
@media (max-width: 560px) {
  .footer-inner { grid-template-columns: 1fr; }
  .hstat-sep { display: none; }
  .to-top { right: 16px; bottom: 16px; }
}
