:root {
  --bg: #07050d;
  --bg-2: #0d0a16;
  --panel: rgba(20, 14, 35, 0.72);
  --panel-2: rgba(255, 255, 255, 0.04);
  --text: #f5f1ff;
  --muted: #bcaed7;
  --line: rgba(255, 255, 255, 0.08);
  --primary: #8d4dff;
  --primary-2: #c970ff;
  --accent: #6dffde;
  --glow: 0 0 24px rgba(162, 88, 255, 0.45);
  --radius: 24px;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  background: linear-gradient(180deg, #05030a 0%, #0b0813 44%, #05040a 100%);
  color: var(--text);
  overflow-x: hidden;
}

body.video-background-page {
  background: linear-gradient(180deg, #05030a 0%, #0b0813 44%, #05040a 100%);
}

.video-stage {
  position: relative;
  isolation: isolate;
}

.video-stage::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 180px;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(5, 4, 10, 0) 0%, rgba(8, 7, 14, 0.56) 42%, rgba(10, 8, 18, 0.96) 100%);
}

.page-video-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  pointer-events: none;
}

.page-video-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  transform: translate3d(0, var(--stage-shift, 0px), 0);
  will-change: transform;
}

.page-video,
.page-video-overlay,
.page-video-glow {
  position: absolute;
  inset: 0;
}

.page-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate3d(0, var(--video-shift, 0px), 0) scale(1.08);
  will-change: transform;
}

.page-video-overlay {
  background: linear-gradient(180deg, rgba(3, 2, 7, 0.74) 0%, rgba(8, 6, 16, 0.64) 34%, rgba(8, 7, 15, 0.82) 72%, rgba(11, 9, 18, 0.96) 100%);
}

.page-video-glow {
  inset: -12%;
  background:
    radial-gradient(circle at 50% 18%, rgba(180, 104, 255, 0.22), transparent 28%),
    radial-gradient(circle at 72% 46%, rgba(137, 61, 255, 0.18), transparent 24%),
    radial-gradient(circle at 24% 78%, rgba(209, 107, 255, 0.14), transparent 26%);
  filter: blur(42px);
  opacity: .95;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(calc(100% - 32px), var(--max)); margin: 0 auto; }

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.045;
  background-image: radial-gradient(#fff 0.6px, transparent 0.6px);
  background-size: 12px 12px;
}
.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.32;
  pointer-events: none;
}
.orb-1 { width: 420px; height: 420px; background: #702cff; top: -110px; left: -120px; opacity: .14; }
.orb-2 { width: 500px; height: 500px; background: #c65dff; top: 15%; right: -180px; opacity: .12; }
.orb-3 { width: 400px; height: 400px; background: #3e1c82; bottom: -120px; left: 22%; opacity: .1; }

.glass {
  background: linear-gradient(180deg, rgba(255,255,255,0.085), rgba(255,255,255,0.03));
  backdrop-filter: blur(20px);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 6, 14, 0.55);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 84px;
}
.brand {
  display: flex;
  align-items: center;
}
.brand-logo {
  width: clamp(110px, 14vw, 180px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 26px rgba(0,0,0,.35));
}
.nav-links {
  display: flex; gap: 20px; color: #ddd2f7;
  flex-wrap: wrap; justify-content: center;
}
.nav-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 30px 0 16px;
  border-radius: 9px;
  overflow: hidden;
  transition: transform .28s ease, color .28s ease, background .28s ease, box-shadow .28s ease;
}
.nav-links a::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 18% 50%, rgba(255,255,255,0.07), transparent 34%),
    linear-gradient(135deg, rgba(141,77,255,0.07), rgba(201,112,255,0.035));
  border: 1px solid rgba(215, 179, 255, 0.06);
  box-shadow: 0 10px 28px rgba(141,77,255,0.08), inset 0 1px 0 rgba(255,255,255,0.05);
  opacity: 0;
  transform: scale(.92);
  transition: opacity .3s ease, transform .3s ease;
}
.nav-links a::after {
  content: '✦';
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%) scale(.6);
  opacity: 0;
  color: #f4dcff;
  text-shadow: 0 0 16px rgba(244,220,255,.45);
  transition: opacity .28s ease, transform .28s ease, right .28s ease;
}
.nav-links a span, .nav-links a { z-index: 1; }
.nav-links a:hover {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.04) inset;
}
.nav-links a:hover::before {
  opacity: 1;
  transform: scale(1);
}
.nav-links a:hover::after {
  opacity: 1;
  right: 8px;
  transform: translateY(-50%) scale(.84);
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 22px; border-radius: 16px; font-weight: 700;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  border: 1px solid transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: white; box-shadow: 0 16px 40px rgba(141,77,255,.35), 0 0 30px rgba(201,112,255,.2);
}
.btn-glass, .btn-outline, .btn-minimal {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.08);
  color: var(--text);
}
.btn-outline:hover, .btn-glass:hover, .btn-minimal:hover { box-shadow: var(--glow); }

.btn-discord { gap: 10px; }
.btn-discord img { width: 20px; height: 20px; object-fit: contain; }

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 42px;
  padding: 84px 0 48px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.8rem, 6vw, 5.6rem);
  line-height: 1.02;
  margin: 16px 0 12px;
  letter-spacing: -0.05em;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hero p {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 16px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  color: #eadcff; font-weight: 600;
}
.pill-live {
  background: linear-gradient(135deg, rgba(46, 204, 113, 0.24), rgba(86, 255, 159, 0.14));
  border-color: rgba(110, 255, 166, 0.28);
  box-shadow: 0 0 0 1px rgba(96,255,159,0.08) inset, 0 10px 30px rgba(46,204,113,0.12);
  color: #effff4;
}
.pulse {
  width: 10px; height: 10px; border-radius: 50%; background: #8cffd9;
  box-shadow: 0 0 0 0 rgba(140,255,217,0.7); animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(140,255,217,0.7); }
  70% { box-shadow: 0 0 0 12px rgba(140,255,217,0); }
  100% { box-shadow: 0 0 0 0 rgba(140,255,217,0); }
}
.glow-text {
  color: #fff;
  text-shadow: 0 0 16px rgba(201,112,255,.5), 0 0 32px rgba(141,77,255,.35), 0 0 58px rgba(141,77,255,.25);
}
.gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, #dbc1ff 36%, #b678ff 75%, #f7c7ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.hero-metrics {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px;
}

.metrics-showcase {
  display: flex;
  justify-content: center;
  margin: 4px 0 100px;
}
.hero-metrics-centered {
  width: min(100%, 1080px);
  margin-top: 0;
}
.hero-metrics-centered .metric-card {
  min-height: 108px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  background: linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.02));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 18px 42px rgba(54, 15, 110, 0.22);
}

.hero-metrics-featured {
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}

.metric-card-static {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  padding: 16px 18px;
  min-height: 154px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.065), rgba(255,255,255,0.025)),
    radial-gradient(circle at top left, rgba(137,61,255,0.12), transparent 52%);
  border: 1px solid rgba(218, 190, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 16px 36px rgba(18, 6, 35, 0.24);
}

.metric-card-side {
  transform: scale(0.82);
  transform-origin: center;
}

.metric-card-side strong b {
  font-size: clamp(1.55rem, 2.6vw, 2.25rem);
}

.metric-card-side strong em {
  font-size: 0.88rem;
}

.metric-card-side small {
  margin-top: 10px;
  font-size: 0.8rem;
}

.metric-card-featured {
  --beta-x: 50%;
  --beta-y: 50%;
  position: relative;
  overflow: hidden;
  min-height: 240px;
  padding: 30px 30px 28px;
  border-radius: 30px;
  background:
    radial-gradient(circle at var(--beta-x) var(--beta-y), rgba(255,255,255,0.12), transparent 24%),
    linear-gradient(180deg, rgba(255,255,255,0.085), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,0.04);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.metric-card-featured::before,
.metric-card-featured::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  transition: opacity .3s ease, transform .35s ease;
}

.metric-card-featured::before {
  background:
    linear-gradient(135deg, rgba(46,204,113,0.12), rgba(141,77,255,0.08) 52%, rgba(255,255,255,0.02)),
    radial-gradient(circle at var(--beta-x) var(--beta-y), rgba(110,255,166,0.16), transparent 34%);
  opacity: .92;
}

.metric-card-featured::after {
  inset: -30%;
  background: radial-gradient(circle, rgba(255,255,255,0.16), transparent 38%);
  opacity: 0;
  transform: translate3d(0, 0, 0) scale(.9);
}

.metric-card-featured.is-hovered {
  border-color: rgba(110,255,166,0.22);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), 0 0 42px rgba(46,204,113,0.12);
}

.metric-card-featured.is-hovered::after { opacity: 1; }
.metric-card-featured.dir-top.is-hovered::after { transform: translate3d(0, -18px, 0) scale(1); }
.metric-card-featured.dir-right.is-hovered::after { transform: translate3d(18px, 0, 0) scale(1); }
.metric-card-featured.dir-bottom.is-hovered::after { transform: translate3d(0, 18px, 0) scale(1); }
.metric-card-featured.dir-left.is-hovered::after { transform: translate3d(-18px, 0, 0) scale(1); }

.metric-card-featured > * {
  position: relative;
  z-index: 1;
}

.metric-card-featured strong {
  gap: 10px;
}

.metric-card-featured strong b {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
}

.metric-card-featured strong em {
  font-size: 1.08rem;
}

.metric-card-featured small {
  margin-top: 14px;
  font-size: 0.92rem;
}

.hero-separators, .separator-category { display:none !important; }

.metric-card {
  padding: 18px; border-radius: 18px; background: rgba(255,255,255,0.04); border: 1px solid var(--line);
}
.metric-card span { display: block; color: var(--muted); font-size: .88rem; margin-bottom: 8px; }
.metric-card strong { font-size: 1.05rem; }
.hero-metrics-animated {
  gap: 18px;
}
.metric-card-animated {
  position: relative;
  overflow: hidden;
  padding: 22px 22px 20px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.025)),
    radial-gradient(circle at top left, rgba(137,61,255,0.18), transparent 48%),
    radial-gradient(circle at bottom right, rgba(109,255,222,0.12), transparent 45%);
  border: 1px solid rgba(218, 190, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 22px 55px rgba(18, 6, 35, 0.34);
}
.metric-card-animated::before {
  content: '';
  position: absolute;
  inset: -1px;
  background: linear-gradient(115deg, transparent 18%, rgba(255,255,255,0.13) 30%, transparent 42%);
  transform: translateX(-120%);
  animation: metricSweep 5.2s linear infinite;
  pointer-events: none;
}
.metric-card-animated::after {
  content: '';
  position: absolute;
  inset: auto -18% -38% auto;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(141,77,255,0.28), transparent 68%);
  filter: blur(12px);
  pointer-events: none;
}
.metric-card-animated strong {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 2px;
}
.metric-card-animated strong b {
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: #fff;
  text-shadow: 0 0 26px rgba(180,104,255,0.24);
}
.metric-card-animated strong em {
  font-style: normal;
  font-size: .98rem;
  color: #f0e5ff;
}
.metric-card-animated small {
  display: inline-flex;
  margin-top: 12px;
  color: #cdbce7;
  font-size: .85rem;
  letter-spacing: .02em;
}
@keyframes metricSweep {
  from { transform: translateX(-120%); }
  to { transform: translateX(120%); }
}

.hero-separators {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 0.9fr 1.25fr 0.75fr;
  gap: 28px;
  align-items: center;
}
.separator-category {
  width: min(100%, 680px);
  margin: 26px auto 6px;
}
.separator-box {
  position: relative;
  display: block;
  height: 54px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.015));
  border: 1px solid rgba(207, 164, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 16px 42px rgba(69,16,130,0.24);
  overflow: hidden;
}
.separator-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(164,106,255,0.08) 18%, rgba(255,255,255,0.04) 50%, rgba(164,106,255,0.08) 82%, transparent 100%);
}
.separator-box::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 18px;
  right: 18px;
  height: 1px;
  transform: translateY(-50%);
  background: linear-gradient(90deg, rgba(255,255,255,0.08), rgba(184,118,255,0.42), rgba(255,255,255,0.08));
  box-shadow: 0 0 18px rgba(184,118,255,0.28);
}
.separator-box.center { height: 70px; }
.separator-box.left { transform: translateX(8px); }
.separator-box.right { transform: translateX(-8px); }

.hero-panel {
  position: relative;
  padding: 20px;
  border-radius: 28px;
}
.panel-top { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line);
  color: #eadbff;
  min-height: 46px;
}
.chip-icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, rgba(216,170,255,0.38), rgba(128,52,210,0.2));
  border: 1px solid rgba(222,184,255,0.24);
  color: #f4e7ff;
  box-shadow: 0 0 18px rgba(166,91,255,0.16);
  flex: 0 0 28px;
}
.chip-icon-badge svg {
  width: 14px;
  height: 14px;
}
.chip-icon-badge img {
  width: 16px;
  height: 16px;
  object-fit: cover;
  border-radius: 999px;
  display: block;
}
.chip-flag-icon {
  box-shadow: 0 0 0 1px rgba(255,255,255,0.18);
}
.chip-rotator {
  min-width: 255px;
  position: relative;
  overflow: hidden;
}
.chip-rotator .chip-icon-badge {
  background: linear-gradient(135deg, rgba(46, 204, 113, 0.28), rgba(86, 255, 159, 0.18));
  border-color: rgba(110, 255, 166, 0.32);
  color: #effff4;
  box-shadow: 0 0 0 1px rgba(96,255,159,0.1) inset, 0 10px 24px rgba(46,204,113,0.18);
}
.chip-rotator-text,
.chip-rotator-icon {
  display: inline-flex;
  will-change: transform, opacity;
}
.chip-rotator-text.is-changing,
.chip-rotator-icon.is-changing {
  animation: chipTextSwap 0.55s ease;
}
@keyframes chipTextSwap {
  0% { opacity: 0; transform: translateY(12px) scale(0.96); }
  55% { opacity: 1; transform: translateY(-2px) scale(1.01); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.visual-stack {
  display: grid; grid-template-columns: 1fr 0.8fr; gap: 18px;
}
.floating-card {
  position: relative; overflow: hidden; border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.08);
}
.big-card {
  grid-row: span 2;
  min-height: 520px;
}
.big-card img { width: 100%; height: 100%; object-fit: cover; }
.overlay-info {
  position: absolute; left: 24px; right: 24px; bottom: 24px;
  padding: 20px; border-radius: 22px;
  background: linear-gradient(180deg, rgba(12, 10, 22, 0.15), rgba(12,10,22,0.88));
}
.overlay-info h3 { margin: 0 0 8px; font-size: 1.35rem; }
.overlay-info p { margin: 0; color: #d9caef; line-height: 1.6; }
.small-card {
  min-height: 250px; padding: 24px; display: flex; flex-direction: column; justify-content: flex-end;
}
.small-card span { color: #d5c7eb; }
.small-card strong { font-size: 1.4rem; margin-top: 8px; }
.small-card small { color: #aa98ca; margin-top: 6px; }
.badge-card {
  background:
    radial-gradient(circle at top right, rgba(201,112,255,0.25), transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
}
.mini-glow {
  color: #fff; text-shadow: 0 0 18px rgba(201,112,255,.55);
}

.section-head {
  max-width: 800px; text-align: center; margin: 0 auto 34px;
}
.section-head.left { text-align: left; margin: 0 0 24px; }
.section-head h2 {
  margin: 10px 0 12px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.05;
}
.section-head p { color: var(--muted); line-height: 1.75; }
.section-kicker {
  display: inline-block; letter-spacing: .22em; text-transform: uppercase; font-size: .76rem;
  color: #d2b1ff; text-shadow: 0 0 22px rgba(210,177,255,.3);
}

.server-status-section { padding: 72px 0 24px; }
.servers-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.server-card {
  padding: 24px; border-radius: 24px; position: relative;
  overflow: hidden; isolation: isolate;
}
.server-card::before {
  content: '';
  position: absolute; inset: auto -10% -40% -10%; height: 160px;
  background: radial-gradient(circle, rgba(90,255,156,.18), transparent 65%);
  z-index: -1;
  opacity: 0.35;
  transition: opacity .3s ease, filter .3s ease, transform .3s ease, background .3s ease;
}
.server-top {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 10px;
}
.server-label { color: #b89ddd; font-size: .86rem; }
.server-top h3 { margin: 4px 0 0; font-size: 1.28rem; }
.server-online {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 12px;
  background: rgba(255,255,255,0.05); border-radius: 999px; font-size: .86rem;
}
.server-online i {
  width: 9px; height: 9px; border-radius: 50%; background: #7cffc8; box-shadow: 0 0 16px #7cffc8;
}
.player-line { display: flex; align-items: end; justify-content: space-between; gap: 8px; margin: 28px 0 14px; }
.player-count {
  font-size: 2.4rem; letter-spacing: -0.05em;
  text-shadow: 0 0 18px rgba(201,112,255,.32);
}
.player-line span { color: var(--muted); }
.server-bar {
  width: 100%; height: 12px; border-radius: 999px; background: rgba(255,255,255,0.06);
  overflow: hidden; border: 1px solid rgba(255,255,255,0.04);
}
.server-bar span {
  display: block; height: 100%; border-radius: inherit;
  background: linear-gradient(90deg, var(--primary), #f08bff);
  box-shadow: 0 0 16px rgba(240,139,255,.35);
}
.server-card p { color: var(--muted); line-height: 1.7; min-height: 92px; }
.server-actions { display: flex; gap: 10px; }
.btn-minimal { flex: 1; }
.server-actions .btn-primary { flex: 1.2; }

.trailer-section { padding: 88px 0 42px; }
.video-shell {
  position: relative; border-radius: 30px; padding: 16px; overflow: hidden;
}
.video-glow {
  position: absolute; inset: -20% 20% auto 20%; height: 220px; filter: blur(70px);
  background: radial-gradient(circle, rgba(174,92,255,.3), transparent 70%);
}
.video-shell iframe {
  position: relative; width: 100%; aspect-ratio: 16/9; border: 0; border-radius: 22px;
}

.features-section { padding: 70px 0 28px; }
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.feature-card {
  padding: 22px; border-radius: 24px;
}
.feature-card img {
  width: 100%; height: 220px; object-fit: cover; border-radius: 18px; margin-bottom: 18px;
  background: rgba(255,255,255,.03);
}
.feature-card h3 { margin: 0 0 10px; font-size: 1.28rem; }
.feature-card p { margin: 0; color: var(--muted); line-height: 1.7; }

.community-section { padding: 64px 0 96px; }
.community-card {
  padding: 34px; border-radius: 32px;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
}
.community-card h2 { margin: 10px 0 10px; font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.08; }
.community-card p { color: var(--muted); line-height: 1.75; max-width: 800px; }

.site-footer {
  position: relative;
  z-index: 2;
  margin-top: 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(180deg, rgba(9, 8, 16, 0.18), rgba(9, 8, 16, 0.78));
  backdrop-filter: blur(12px);
}
.footer-wrap {
  min-height: 90px; display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.footer-wrap p { color: var(--muted); margin: 8px 0 0; }
.footer-links { display: flex; gap: 20px; color: #d3c4ea; }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: .12s; }
.delay-2 { transition-delay: .22s; }
.delay-3 { transition-delay: .32s; }


.dev-warning {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 16px 22px;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(16, 13, 28, 0.84), rgba(30, 17, 47, 0.74));
  border: 1px solid rgba(199, 150, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 18px 42px rgba(12, 5, 26, 0.32);
}


.dev-warning-text {
  position: relative;
  z-index: 1;
  color: #f5efff;
  letter-spacing: .015em;
  text-shadow: 0 0 18px rgba(214,120,255,0.12);
}

  50% { transform: translateX(55%) skewX(-16deg); opacity: .95; }
}

.hero-visual, .hero-copy, .server-card, .feature-card, .community-card, .video-shell { will-change: transform; }

@media (max-width: 1100px) {
  .hero, .servers-grid, .features-grid { grid-template-columns: 1fr 1fr; }
  .hero { align-items: start; }
  .servers-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .brand-logo { width: min(150px, 46vw); }
  .hero, .features-grid, .community-card, .visual-stack { grid-template-columns: 1fr; }
  .big-card { min-height: 400px; }
  .hero-metrics, .servers-grid, .hero-separators, .hero-metrics-featured { grid-template-columns: 1fr; }
  .metric-card-side {
    transform: none;
  }
  .metric-card-featured {
    min-height: 200px;
  }
  .community-card { align-items: flex-start; }
}
@media (max-width: 560px) {
  .btn { width: 100%; }
  .hero h1 { line-height: 1.05; }
  .player-line { align-items: start; flex-direction: column; }
  .footer-wrap { flex-direction: column; align-items: flex-start; padding: 20px 0; }
  .chip-rotator { min-width: 100%; }
}

@media (max-width: 820px) {
  .separator-category {
    width: 100%;
    margin: 22px auto 4px;
  }
}


.image-card { padding: 0; min-height: 250px; }
.image-card img { width: 100%; height: 100%; object-fit: cover; }
.small-card-overlay {
  position: absolute; inset: auto 0 0 0; padding: 22px;
  background: linear-gradient(180deg, rgba(10,6,20,0.02), rgba(10,6,20,0.92));
}
.small-card-overlay span { color: #d5c7eb; }
.small-card-overlay strong { display: block; font-size: 1.4rem; margin-top: 8px; }
.small-card-overlay small { display: block; color: #aa98ca; margin-top: 6px; }

.server-online.offline {
  color: #d1ced9;
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.05);
}
.server-online.offline i {
  background: #b8b8c7;
  box-shadow: 0 0 14px rgba(190,190,205,0.45);
}
.offline-card .server-bar span {
  background: linear-gradient(90deg, #74717d, #b0adb8);
  box-shadow: 0 0 16px rgba(176,173,184,0.18);
}
.btn-offline {
  background: linear-gradient(135deg, #5f5d69, #8c8996);
  color: #f1eff7;
  box-shadow: 0 0 18px rgba(190,190,205,0.2), 0 0 34px rgba(150,150,165,0.14);
}
.btn-offline:hover { box-shadow: 0 0 20px rgba(195,195,210,0.28), 0 0 38px rgba(175,175,190,0.18); }

.video-shell-small {
  width: min(100%, 860px);
  margin: 0 auto;
}

.community-icons {
  display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px;
}
.community-icon {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 54px; padding: 0 18px; border-radius: 16px;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  color: #efe7ff; box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}
.community-icon img, .community-icon svg { width: 22px; height: 22px; }
.community-icon:hover { box-shadow: 0 0 26px rgba(141,77,255,.18); transform: translateY(-2px); }

.footer-branding { display: flex; align-items: center; gap: 16px; }
.footer-logo { width: 78px; height: auto; object-fit: contain; opacity: 0.9; }

.server-modal {
  position: fixed; inset: 0; display: none; align-items: center; justify-content: center;
  z-index: 100;
}
.server-modal.open { display: flex; }
.server-modal-backdrop {
  position: absolute; inset: 0; background: rgba(5,4,10,0.72); backdrop-filter: blur(10px);
}
.server-modal-dialog {
  position: relative; width: min(calc(100% - 32px), 640px); padding: 28px; border-radius: 28px;
  z-index: 1;
}
.server-modal-dialog h3 { margin: 10px 0 12px; font-size: clamp(1.8rem, 4vw, 2.5rem); }
.server-modal-dialog p { color: var(--muted); line-height: 1.75; }
.modal-close {
  position: absolute; top: 16px; right: 16px; width: 42px; height: 42px; border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08); background: rgba(255,255,255,0.04); color: white;
  font-size: 1.4rem; cursor: pointer;
}
.modal-actions { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
body.modal-open { overflow: hidden; }


/* Updated asset-based imagery */
.big-card img,
.image-card img {
  object-fit: cover;
}

/* Online connect button in green */
.btn-connect-online {
  background: linear-gradient(135deg, #25c970, #79ffb2);
  color: #04140b;
  box-shadow: 0 16px 40px rgba(37, 201, 112, .28), 0 0 34px rgba(121, 255, 178, .18);
}
.btn-connect-online:hover {
  box-shadow: 0 20px 48px rgba(37, 201, 112, .34), 0 0 42px rgba(121, 255, 178, .24);
}

/* Server card glow states */
.server-card {
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.server-card:hover {
  border-color: rgba(115, 255, 172, 0.28);
  box-shadow:
    0 18px 46px rgba(6, 0, 20, 0.42),
    0 0 0 1px rgba(115, 255, 172, 0.08) inset,
    0 0 40px rgba(80, 255, 156, 0.12);
}
.server-card:hover::before {
  opacity: 1;
  filter: blur(8px);
  transform: translateY(-6px) scale(1.03);
  background: radial-gradient(circle, rgba(80,255,156,.34), transparent 66%);
}
.offline-card:hover {
  border-color: rgba(255,255,255,0.16);
  box-shadow:
    0 18px 46px rgba(6, 0, 20, 0.42),
    0 0 0 1px rgba(255,255,255,0.06) inset,
    0 0 40px rgba(255,255,255,0.10);
}
.offline-card:hover::before {
  opacity: 1;
  filter: blur(8px);
  transform: translateY(-6px) scale(1.03);
  background: radial-gradient(circle, rgba(255,255,255,.28), transparent 66%);
}

/* Online bar tuned greener */
.server-card:not(.offline-card) .server-bar span {
  background: linear-gradient(90deg, #1ecf6e, #79ffb2);
  box-shadow: 0 0 18px rgba(80, 255, 156, .35);
}
.server-card:not(.offline-card) .player-count {
  text-shadow: 0 0 18px rgba(80, 255, 156, .22);
}


/* clickable lower boxes */
.mini-card-link,
.separate-box.mini-card-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* footer logo bigger */
.footer-logo,
footer .logo,
.footer-brand img {
  transform: scale(1.2);
  transform-origin: center;
}


/* Fix lower feature cards */
.features-grid {
  align-items: stretch;
}

.feature-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.feature-card h3 {
  margin: 0 0 10px;
  font-size: 1.28rem;
  min-height: 34px;
  display: flex;
  align-items: center;
}

.feature-title-link {
  display: inline-flex;
  align-items: center;
  color: #ffffff;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  transition: color .25s ease, text-shadow .25s ease, transform .2s ease;
}

.feature-title-link:hover {
  color: #caa8ff;
  text-shadow: 0 0 18px rgba(186, 136, 255, 0.35);
  transform: translateY(-1px);
}



.feature-title-link:hover::after {
  opacity: 1;
  transform: scaleX(1);
}


/* Gleiches Hover-Verhalten für alle 3 unteren Boxen */
.feature-card {
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease, background .28s ease;
}
.feature-card:hover {
  transform: translateY(-8px) scale(1.01);
  border-color: rgba(201,112,255,0.24);
  box-shadow:
    0 22px 52px rgba(0,0,0,0.34),
    0 0 0 1px rgba(255,255,255,0.03) inset,
    0 0 34px rgba(174,92,255,0.14);
}

/* Titel-Hover im Stil vom Header */
.feature-title-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 30px 0 16px;
  border-radius: 9px;
  overflow: hidden;
  transition: transform .28s ease, color .28s ease, background .28s ease, box-shadow .28s ease;
}

.feature-title-link::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 18% 50%, rgba(255,255,255,0.07), transparent 34%),
    linear-gradient(135deg, rgba(141,77,255,0.07), rgba(201,112,255,0.035));
  border: 1px solid rgba(215, 179, 255, 0.06);
  box-shadow: 0 10px 28px rgba(141,77,255,0.08), inset 0 1px 0 rgba(255,255,255,0.05);
  opacity: 0;
  transform: scale(.92);
  transition: opacity .3s ease, transform .3s ease;
}



.feature-title-link:hover {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.04) inset;
  text-shadow: none;
}

.feature-title-link:hover::before {
  opacity: 1;
  transform: scale(1);
}

.feature-title-link:hover::after {
  opacity: 1;
  right: 8px;
  transform: translateY(-50%) scale(.84);
}


.dev-warning {
  color: #ff9d2e;
  font-weight: 600;
  text-shadow: 0 0 12px rgba(255,157,46,0.35);
}


.modal-body p {
  white-space: pre-line;
}


/* Legal pages */
.legal-page {
  padding: 140px 0 80px;
}

.legal-shell {
  padding: 34px;
}

.legal-shell h1 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 3vw, 3rem);
}

.legal-shell h2 {
  margin: 32px 0 12px;
  font-size: 1.15rem;
}

.legal-shell p,
.legal-shell li,
.legal-shell address {
  color: rgba(230, 228, 240, 0.88);
  line-height: 1.72;
}

.legal-shell address {
  font-style: normal;
}

.legal-shell ul {
  margin: 0;
  padding-left: 20px;
}

.legal-shell a {
  color: #d1b7ff;
}

.legal-kicker {
  display: inline-block;
  margin-bottom: 12px;
}



.header-actions{
  display:flex;
  align-items:center;
  gap:12px;
}
.lang-selector{
  display:flex;
  align-items:center;
  gap:10px;
  padding:8px 12px;
  border-radius:12px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
  backdrop-filter:blur(12px);
}
.lang-label{
  font-size:.82rem;
  color:rgba(255,255,255,.72);
}
.lang-options{
  display:flex;
  align-items:center;
  gap:6px;
}
.lang-options a{
  min-width:34px;
  height:34px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  color:#fff;
  border-radius:9px;
  border:1px solid transparent;
  background:rgba(255,255,255,.03);
  transition:transform .25s ease, background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.lang-options a:hover{
  transform:translateY(-1px);
  background:rgba(255,255,255,.08);
  border-color:rgba(201,112,255,.26);
}
.lang-options a.active{
  background:linear-gradient(135deg, rgba(141,77,255,.22), rgba(201,112,255,.14));
  border-color:rgba(201,112,255,.30);
  box-shadow:0 0 22px rgba(201,112,255,.12);
}
@media (max-width:1080px){
  .header-actions{width:100%;justify-content:space-between;flex-wrap:wrap;}
}
@media (max-width:720px){
  .lang-label{display:none;}
  .lang-selector{padding:8px 10px;gap:8px;}
}


/* Flag dropdown language selector */
.header-actions{
  display:flex;
  align-items:center;
  gap:12px;
  position:relative;
}

.lang-dropdown{
  position:relative;
}

.lang-toggle{
  display:inline-flex;
  align-items:center;
  gap:10px;
  height:46px;
  padding:0 14px 0 10px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,0.10);
  background:rgba(255,255,255,0.05);
  color:#fff;
  backdrop-filter:blur(14px);
  box-shadow:0 10px 26px rgba(0,0,0,0.18);
  cursor:pointer;
  transition:transform .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease;
}

.lang-toggle:hover{
  transform:translateY(-1px);
  border-color:rgba(201,112,255,0.28);
  background:rgba(255,255,255,0.08);
  box-shadow:0 14px 28px rgba(0,0,0,0.22), 0 0 24px rgba(186,136,255,0.10);
}

.lang-flag-current,
.lang-flag{
  width:24px;
  height:16px;
  border-radius:4px;
  object-fit:cover;
  box-shadow:0 0 0 1px rgba(255,255,255,0.10);
  flex-shrink:0;
}

.lang-current-code{
  font-size:0.88rem;
  font-weight:700;
  letter-spacing:.06em;
}

.lang-caret{
  font-size:0.9rem;
  color:rgba(255,255,255,0.70);
  transition:transform .22s ease;
}

.lang-menu{
  position:absolute;
  top:calc(100% + 10px);
  right:0;
  min-width:180px;
  padding:10px;
  border-radius:16px;
  background:rgba(18, 10, 34, 0.94);
  border:1px solid rgba(255,255,255,0.10);
  box-shadow:0 22px 46px rgba(0,0,0,0.34), 0 0 36px rgba(147,77,255,0.10);
  backdrop-filter:blur(18px);
  opacity:0;
  visibility:hidden;
  transform:translateY(8px) scale(0.98);
  transition:opacity .22s ease, transform .22s ease, visibility .22s ease;
  z-index:40;
}

.lang-dropdown:hover .lang-menu,
.lang-dropdown:focus-within .lang-menu{
  opacity:1;
  visibility:visible;
  transform:translateY(0) scale(1);
}

.lang-dropdown:hover .lang-caret,
.lang-dropdown:focus-within .lang-caret{
  transform:rotate(180deg);
}

.lang-menu a{
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border-radius:12px;
  color:#fff;
  text-decoration:none;
  transition:background .22s ease, transform .22s ease, box-shadow .22s ease;
}

.lang-menu a:hover{
  background:rgba(255,255,255,0.07);
  transform:translateX(2px);
}

.lang-menu a.active{
  background:linear-gradient(135deg, rgba(141,77,255,0.22), rgba(201,112,255,0.14));
  box-shadow:inset 0 0 0 1px rgba(201,112,255,0.20);
}

@media (max-width:1080px){
  .header-actions{
    width:100%;
    justify-content:space-between;
    flex-wrap:wrap;
  }
}

@media (max-width:720px){
  .lang-toggle{
    height:42px;
    padding:0 12px 0 9px;
  }
  .lang-current-code{
    font-size:0.82rem;
  }
  .lang-menu{
    min-width:164px;
  }
}

.ul-header .menu-toggle[aria-expanded="true"] {
  transform: translateY(10px);
}


.btn-apply {
  background: linear-gradient(135deg, rgba(46,204,113,0.18), rgba(95,255,168,0.1));
  border-color: rgba(110,255,166,0.24);
  color: #f2fff7;
  box-shadow: 0 14px 34px rgba(46,204,113,0.12), inset 0 1px 0 rgba(255,255,255,0.05);
}

.beta-section {
  padding: 10px 0 108px;
}
.beta-card {
  --beta-x: 50%;
  --beta-y: 50%;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.85fr);
  gap: 28px;
  align-items: center;
  padding: 34px;
  border-radius: 32px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at var(--beta-x) var(--beta-y), rgba(255,255,255,0.12), transparent 24%),
    linear-gradient(180deg, rgba(255,255,255,0.085), rgba(255,255,255,0.03));
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,0.04);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.beta-card::before,
.beta-card::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  transition: opacity .3s ease, transform .35s ease;
}
.beta-card::before {
  background:
    linear-gradient(135deg, rgba(46,204,113,0.12), rgba(141,77,255,0.08) 52%, rgba(255,255,255,0.02)),
    radial-gradient(circle at var(--beta-x) var(--beta-y), rgba(110,255,166,0.16), transparent 34%);
  opacity: .9;
}
.beta-card::after {
  inset: -30%;
  background: radial-gradient(circle, rgba(255,255,255,0.16), transparent 38%);
  opacity: 0;
  transform: translate3d(0, 0, 0) scale(.9);
}
.beta-card.is-hovered {
  border-color: rgba(110,255,166,0.22);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), 0 0 42px rgba(46,204,113,0.12);
}
.beta-card.is-hovered::after { opacity: 1; }
.beta-card.dir-top.is-hovered::after { transform: translate3d(0, -18px, 0) scale(1); }
.beta-card.dir-right.is-hovered::after { transform: translate3d(18px, 0, 0) scale(1); }
.beta-card.dir-bottom.is-hovered::after { transform: translate3d(0, 18px, 0) scale(1); }
.beta-card.dir-left.is-hovered::after { transform: translate3d(-18px, 0, 0) scale(1); }
.beta-card > * { position: relative; z-index: 1; }
.beta-card h2 {
  margin: 10px 0 12px;
  font-size: clamp(1.6rem, 3.4vw, 2.5rem);
}
.beta-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}
.beta-card small, .beta-helper {
  display: block;
  margin-top: 12px;
  color: #d5c6ee;
}
.beta-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.beta-cta {
  min-height: 58px;
  padding: 0 24px;
  border-radius: 18px;
  background: linear-gradient(135deg, #25c970, #79ffb2);
  color: #04140b;
  border-color: rgba(110,255,166,0.28);
  box-shadow: 0 16px 40px rgba(37, 201, 112, .28), 0 0 34px rgba(121, 255, 178, .18);
}
.beta-cta:hover {
  box-shadow: 0 20px 48px rgba(37, 201, 112, .34), 0 0 42px rgba(121, 255, 178, .24);
}
.beta-card .section-kicker {
  display: inline-flex;
  margin-bottom: 4px;
}
.beta-copy p + small {
  margin-top: 14px;
}
.parallax-stage {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.parallax-stage::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 0;
  right: 0;
  height: 78px;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(10,8,18,1) 0%, rgba(10,8,18,0.96) 18%, rgba(10,8,18,0.72) 48%, rgba(10,8,18,0) 100%);
}
.parallax-stage + .parallax-stage {
  margin-top: -46px;
  padding-top: 46px;
}
.parallax-stage-trailer {
  margin-top: -60px;
  padding-top: 60px;
}
.parallax-stage-trailer::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 280px;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10, 8, 18, 1) 0%, rgba(10, 8, 18, 0.98) 16%, rgba(10, 8, 18, 0.9) 30%, rgba(10, 8, 18, 0.58) 58%, rgba(10, 8, 18, 0) 100%);
}
.parallax-stage-showcase {
  margin-top: -52px;
  padding-top: 52px;
  padding-bottom: 0;
  margin-bottom: 0;
}
.parallax-stage-showcase::before {
  height: 150px;
  z-index: 3;
  background: linear-gradient(180deg, rgba(10,8,18,1) 0%, rgba(10,8,18,0.94) 24%, rgba(10,8,18,0.6) 58%, rgba(10,8,18,0) 100%);
}
.parallax-media {
  position: absolute;
  inset: -20% 0 -20%;
  background-size: cover;
  background-position: center;
  transform: translate3d(0, -42px, 0) scale(1.14);
  will-change: transform;
}
.parallax-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8,9,16,0.82) 0%, rgba(10,7,18,0.82) 32%, rgba(10,7,18,0.88) 100%),
    radial-gradient(circle at 50% 20%, rgba(163,96,255,0.18), transparent 40%);
}
.parallax-stage-showcase .parallax-overlay::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(10,8,18,1) 0%, rgba(10,8,18,0.84) 36%, rgba(10,8,18,0) 100%);
}
.parallax-content {
  position: relative;
  z-index: 1;
  padding: 86px 0;
}
.parallax-stage .trailer-section,
.parallax-stage .features-section,
.parallax-stage .community-section {
  position: relative;
  z-index: 1;
}
.parallax-stage .features-section,
.parallax-stage .community-section {
  padding-top: 24px;
}
.parallax-stage .community-section {
  padding-bottom: 18px;
}
.parallax-stage-showcase .parallax-content {
  padding-bottom: 0;
}
@media (max-width: 900px) {
  .beta-card {
    grid-template-columns: 1fr;
    padding: 26px;
  }
  .beta-actions {
    align-items: stretch;
  }
  .parallax-content {
    padding: 72px 0;
  }
}


@media (max-width: 900px) {
  .video-stage::after {
    height: 130px;
  }
  .parallax-stage-trailer::before {
    height: 140px;
  }
}


.parallax-stage-showcase .community-section {
  padding-bottom: 0;
  margin-bottom: 0;
}
.site-footer {
  margin-top: 0;
  padding-bottom: max(0px, env(safe-area-inset-bottom));
}
.site-footer .container {
  margin-bottom: 0;
}
body.video-background-page {
  overflow-x: clip;
}


/* footer-spacing-fix */
.footer,
footer {
    margin-top: 0 !important;
}

.community-section,
.final-parallax-section,
.last-photo-section,
.action2-section,
.community-box,
.community-card,
.cta-community,
.video-highlight-section {
    margin-bottom: 100px !important;
}

body footer {
    position: relative;
    z-index: 5;
}


/* dev-warning-no-animation */
.dev-warning,
.development-warning,
.notice-dev,
.dev-status {
    position: relative;
    overflow: hidden;
    color: #ff9f1a !important;
    background: rgba(255, 159, 26, 0.08) !important;
    border: 1px solid rgba(255, 159, 26, 0.35) !important;
    box-shadow: 0 0 18px rgba(255, 159, 26, 0.12);
}
.dev-warning::after,
.development-warning::after,
.notice-dev::after,

.dev-warning-text {
    color: #ff9f1a !important;
}


/* video-hero-refresh */
.video-showcase,
.youtube-section,
.last-video-section,
.video-section {
    position: relative;
    overflow: hidden;
}

.video-showcase .video-intro,
.youtube-section .video-intro,
.last-video-section .video-intro,
.video-section .video-intro {
    max-width: 780px;
    margin: 0 auto 28px auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.video-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 16px;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.14);
    backdrop-filter: blur(10px);
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #d8d8d8;
    margin-bottom: 18px;
}

.video-title {
    font-size: clamp(2rem, 4vw, 3.6rem);
    line-height: 1.05;
    font-weight: 800;
    color: #fff;
    margin: 0 0 14px 0;
    text-shadow: 0 10px 35px rgba(0,0,0,0.35);
}

.video-title .accent {
    background: linear-gradient(90deg, #ffffff 0%, #d59bff 45%, #7cf3ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.video-subtitle {
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.78);
    max-width: 700px;
    margin: 0 auto;
}

.video-intro::before {
    content: "";
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle at center, rgba(147, 51, 234, 0.12), transparent 68%);
    filter: blur(16px);
    z-index: -1;
    pointer-events: none;
}

@media (max-width: 900px) {
    .video-title {
        font-size: clamp(1.8rem, 8vw, 2.8rem);
    }
    .video-subtitle {
        font-size: 0.98rem;
    }
}


/* clean-dev-warning-final */
.dev-warning,
.development-warning,
.notice-dev,
.dev-status {
    position: relative !important;
    overflow: hidden !important;
    color: #ff9f1a !important;
    background: rgba(255, 159, 26, 0.08) !important;
    border: 1px solid rgba(255, 159, 26, 0.35) !important;
    box-shadow: 0 0 18px rgba(255, 159, 26, 0.12) !important;
    animation: none !important;
}
.dev-warning::before,
.dev-warning::after,
.development-warning::before,
.development-warning::after,
.notice-dev::before,
.notice-dev::after,
.dev-status::before,
.dev-status::after,
.dev-warning-text::before,
.dev-warning-text::after {
    content: none !important;
    display: none !important;
    animation: none !important;
    background: none !important;
    box-shadow: none !important;
}
.dev-warning-text {
    color: #ff9f1a !important;
    animation: none !important;
    text-shadow: none !important;
}


/* stats-layout-final */
.stats-grid,
.stats-row,
.server-stats,
.overview-stats {
    display: flex !important;
    justify-content: center !important;
    align-items: stretch !important;
    gap: 18px !important;
    flex-wrap: wrap !important;
}

.stat-card,
.count-box,
.stat-box,
.overview-card {
    width: min(30vw, 420px) !important;
    min-width: 320px !important;
    max-width: 420px !important;
    padding: 16px 20px !important;
    min-height: 108px !important;
    border-radius: 16px !important;
}

.stat-card .stat-number,
.count-box .number,
.stat-box .number,
.overview-card .number {
    font-size: clamp(1.8rem, 2.8vw, 2.55rem) !important;
    line-height: 1 !important;
    margin-bottom: 8px !important;
}

.stat-card .stat-label,
.count-box .label,
.stat-box .label,
.overview-card .label,
.stat-card p,
.count-box p,
.stat-box p,
.overview-card p,
.stat-card span,
.count-box span,
.stat-box span,
.overview-card span {
    text-align: center !important;
    justify-content: center !important;
    width: 100% !important;
    display: block !important;
    font-size: 0.95rem !important;
    line-height: 1.35 !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

@media (max-width: 1100px) {
    .stat-card,
    .count-box,
    .stat-box,
    .overview-card {
        width: min(46vw, 420px) !important;
        min-width: 280px !important;
    }
}

@media (max-width: 700px) {
    .stat-card,
    .count-box,
    .stat-box,
    .overview-card {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
    }
}


/* video upgrade */
.video-intro{text-align:center;max-width:800px;margin:0 auto 40px;position:relative}
.video-badge{display:inline-block;padding:8px 16px;border-radius:999px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.15);backdrop-filter:blur(10px);font-size:.85rem;color:#ccc;margin-bottom:20px}
.video-title{font-size:3rem;font-weight:800;color:#fff;margin-bottom:15px}
.video-title span{background:linear-gradient(90deg,#a855f7,#22d3ee);-webkit-background-clip:text;color:transparent}
.video-subtitle{color:rgba(255,255,255,.75);line-height:1.6;margin-bottom:25px}
.video-actions{display:flex;justify-content:center;gap:15px}
.video-btn{padding:12px 22px;border-radius:10px;text-decoration:none;font-weight:bold;transition:.3s}
.video-btn.primary{background:#2ecc71;color:black}
.video-btn.primary:hover{transform:translateY(-2px);box-shadow:0 0 15px rgba(46,204,113,.6)}
.video-btn.secondary{background:rgba(255,255,255,.1);color:white}
.video-btn.secondary:hover{background:rgba(255,255,255,.2)}


/* Inline metrics instead of boxed cards */
.metrics-showcase {
  display: flex;
  justify-content: center;
  margin: 10px 0 70px;
}

.hero-metrics-inline {
  width: min(100%, 900px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.metric-inline {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.metric-inline-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 1.15rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
}

.metric-inline-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.metric-inline-text strong {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
}

.metric-inline-text strong b {
  font-size: 1.25rem;
  font-weight: 800;
}

.metric-inline-text small {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .hero-metrics-inline {
    gap: 14px;
  }

  .metric-inline {
    gap: 12px;
  }

  .metric-inline-icon {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }

  .metric-inline-text strong {
    font-size: 1rem;
  }

  .metric-inline-text strong b {
    font-size: 1.1rem;
  }
}

.hero-metrics-inline {
  flex-direction: row !important;
}

.metric-inline {
  padding: 0 !important;
}

.metric-inline-icon {
  background: none !important;
  border: none !important;
}

.hero-metrics-inline {
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: flex-start !important;
  gap: 18px 48px !important;
}

.script-update-note {
  flex: 0 0 100%;
  order: -1;
  width: 100%;
  margin: 2px 0 0;
  color: var(--muted);
  font-size: .96rem;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
  text-shadow: 0 0 18px rgba(201, 112, 255, .18);
  animation: scriptUpdatePulse 2.4s ease-in-out infinite;
}

@keyframes scriptUpdatePulse {
  0%, 100% {
    opacity: .78;
    transform: scale(1);
    text-shadow: 0 0 14px rgba(201, 112, 255, .14);
  }

  50% {
    opacity: 1;
    transform: scale(1.025);
    text-shadow: 0 0 26px rgba(201, 112, 255, .34), 0 0 42px rgba(125, 255, 207, .14);
  }
}

@media (max-width: 640px) {
  .hero-metrics-inline {
    flex-direction: column !important;
    align-items: center !important;
    gap: 16px !important;
  }

  .script-update-note {
    font-size: .9rem;
  }
}
