: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:
    radial-gradient(circle at top left, rgba(132, 67, 255, 0.14), transparent 30%),
    radial-gradient(circle at 80% 20%, rgba(214, 99, 255, 0.12), transparent 28%),
    linear-gradient(180deg, #05030a 0%, #0b0813 44%, #05040a 100%);
  color: var(--text);
  overflow-x: hidden;
}

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.06;
  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; }
.orb-2 { width: 500px; height: 500px; background: #c65dff; top: 15%; right: -180px; }
.orb-3 { width: 400px; height: 400px; background: #3e1c82; bottom: -120px; left: 22%; }

.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 34px;
}
.hero-metrics-centered {
  width: min(100%, 920px);
  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-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-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; padding: 10px 14px; border-radius: 999px;
  background: rgba(255,255,255,0.05); border: 1px solid var(--line); color: #eadbff;
}
.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 {
  border-top: 1px solid rgba(255,255,255,0.05);
  background: rgba(255,255,255,0.02);
}
.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; }

.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 { grid-template-columns: 1fr; }
  .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; }
}

@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;
  }
}
