/* Destiny City

/* Theming */
:root {
  --color-bg-0: #0a0a0a;
  --color-bg-1: #121218;
  --color-fg: #ffffff;
  --primary: #a020f0; /* Magenta */
  --secondary: #6b2db8; /* Deep Purple */
  --accent: #e040fb; /* Electric Pink */
  --glass-bg: rgba(160, 32, 240, 0.05);
  --glass-border: rgba(160, 32, 240, 0.2);
  --shadow-glow: 0 0 28px rgba(160, 32, 240, 0.35);
  --shadow-strong: 0 0 40px rgba(224, 64, 251, 0.45);
  --radius-card: 16px;
  --radius-btn: 12px;
  --container-max: 1400px;
}

/* Base */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--color-fg);
  background: radial-gradient(1200px 600px at 10% 0%, #111118 0%, #0b0b0f 65%, #0a0a0a 100%);
  font-family: 'Manrope', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

/* Accessibility */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 12px; }
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

.container { max-width: var(--container-max); margin: 0 auto; padding: 0 24px; }
.section { padding: 120px 0; }
@media (max-width: 768px) { .section { padding: 60px 0; } }

/* Header */
.header-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; min-height: 72px; }
.nav { display: flex; align-items: center; gap: 16px; }
.nav-links { display: none; gap: 4px; }
@media (min-width: 1024px) { .nav-links { display: flex; } .burger { display: none; } }

.burger { width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--glass-border); background: rgba(160,32,240,.06); display: inline-flex; align-items: center; justify-content: center; gap: 4px; cursor: pointer; }
.burger span { width: 18px; height: 2px; background: var(--accent); display: block; box-shadow: 0 0 12px rgba(224,64,251,.6); }

.nav-cta { display: none; gap: 10px; }
@media (min-width: 1024px) { .nav-cta { display: flex; } }

.mobile-menu { position: fixed; inset: 72px 16px 16px; backdrop-filter: blur(16px); background: rgba(20,20,30,.6); border: 1px solid var(--glass-border); border-radius: 16px; padding: 16px; z-index: 999; animation: slideIn .35s ease; }
.mobile-menu nav { display: grid; gap: 10px; }
.mobile-menu a { color: #fff; text-decoration: none; padding: 12px 16px; border-radius: 10px; background: rgba(160,32,240,.06); border: 1px solid var(--glass-border); font-family: 'Space Grotesk', sans-serif; font-weight: 600; letter-spacing: .3px; }
@keyframes slideIn { from { opacity: 0; transform: translateY(-8px) } to { opacity: 1; transform: translateY(0) } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 32px; border-radius: var(--radius-btn); border: 1px solid transparent; cursor: pointer; transition: transform .2s ease, box-shadow .3s ease, background .3s ease, border-color .3s ease; text-decoration: none; min-height: 44px; }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--secondary) 50%, var(--accent)); color: #fff; }
.btn-primary:hover { transform: scale(1.05); box-shadow: var(--shadow-strong); }
.btn-secondary { background: transparent; color: #fff; border-color: rgba(160,32,240,.5); }
.btn-secondary:hover { transform: scale(1.05); background: rgba(160,32,240,.08); box-shadow: var(--shadow-glow); }
.pulse { animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(224,64,251,.45)} 70%{box-shadow:0 0 0 16px rgba(224,64,251,0)} 100%{box-shadow:0 0 0 0 rgba(224,64,251,0)} }

/* Hero */
.hero { isolation: isolate; padding-top: 16px; }
.hero-inner { display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 32px; }
@media (max-width: 1024px) { .hero-inner { grid-template-columns: 1fr; gap: 20px; } }
.hero .hero-inner { position: relative; z-index: 1; }
.hero-content { animation: fadeUp .6s ease both; }
.hero-card { padding: 20px 24px; border-radius: 16px; border: 1px solid rgba(160,32,240,.2); background: rgba(12, 12, 18, .35); backdrop-filter: blur(10px); box-shadow: 0 0 24px rgba(160,32,240,.18); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero-logo { display: none; }
.dc-3d { font-family: 'Space Grotesk', sans-serif; font-size: clamp(36px, 9vw, 84px); line-height: 0.92; font-weight: 700; letter-spacing: .5px; background: linear-gradient(180deg, #d5b8ff 0%, #a020f0 22%, #6b2db8 55%, #3d146f 100%); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: 0 14px 32px rgba(0,0,0,.6), 0 0 28px rgba(160,32,240,.35); filter: drop-shadow(0 0 20px rgba(160,32,240,.25)); transform: perspective(800px) rotateX(2deg); }
@media (max-width: 768px){ .dc-3d { font-size: clamp(32px, 14vw, 72px); } }
.hero-bg { display: none; }
.hero-bg-img { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: contain; object-position: top center; filter: saturate(1.05) contrast(1.02) brightness(0.88); transform: translateY(0) scale(1.0); will-change: transform; pointer-events: none; }
@media (max-width: 768px){ .hero-bg { filter: saturate(1.05) contrast(1.02) brightness(0.7); } }
.hero-overlay { position: absolute; inset: 0; z-index: 0; background: radial-gradient(1200px 400px at 50% 50%, rgba(0,0,0,.35), rgba(0,0,0,.65) 60%); pointer-events: none; }

/* Welcome */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
@media (max-width: 1024px) { .split { grid-template-columns: 1fr; } }
.orb { width: 100%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(60% 60% at 40% 40%, rgba(224,64,251,.65), rgba(160,32,240,.2) 55%, rgba(0,0,0,.2) 100%); box-shadow: 0 0 60px rgba(224,64,251,.35); animation: rotateOrb 12s linear infinite; }
@keyframes rotateOrb { 0%{ transform: rotate(0deg) } 100%{ transform: rotate(360deg) } }
.electric-wrap { position: relative; display: grid; place-items: center; }
.welcome-gif { position: relative; z-index: 1; display: block; width: 80%; max-width: 480px; height: auto; margin: 0 auto; border-radius: 12px; box-shadow: var(--shadow-glow); }
.electric-svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; filter: drop-shadow(0 0 10px rgba(224,64,251,.55)); }
.electric-svg .bolt { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; opacity: 0; animation: boltFlicker 4s ease-in-out infinite; }
.electric-svg .bolt-b { animation-delay: 1.2s; }
@keyframes boltFlicker { 0%, 70% { opacity: 0; } 71%, 72% { opacity: 1; } 73% { opacity: .5; } 75% { opacity: 0; } }
.gradient { background: linear-gradient(90deg, var(--primary), var(--secondary) 60%, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.glass { background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: var(--radius-card); backdrop-filter: blur(10px); }
.card-group { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; padding: 16px; }
@media (min-width: 1024px){ .card-group { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 768px){ .card-group { grid-template-columns: 1fr; } }
.card { padding: 20px; border-radius: var(--radius-card); background: var(--glass-bg); border: 1px solid var(--glass-border); transition: transform .25s ease, box-shadow .3s ease, border-color .3s ease; }
.card:hover { transform: translateY(-8px); box-shadow: 0 0 28px rgba(160,32,240,.35); border-color: rgba(224,64,251,.5); }
/* Karten-Bild für Fraktionen */
.card-image { display:block; width: 120px; height: auto; margin: 0 auto 10px; object-fit: contain; filter: grayscale(100%) brightness(.9); opacity: .9; border-radius: 12px; box-shadow: 0 0 14px rgba(160,32,240,.15); transition: transform .25s ease, opacity .25s ease, box-shadow .3s ease; }
.card:hover .card-image { filter: none; opacity: 1; transform: translateY(-2px) scale(1.05); box-shadow: 0 0 22px var(--card-glow, rgba(224,64,251,.35)); animation: pulseGlow 1.8s ease-in-out infinite; }

@keyframes pulseGlow { 0%, 100% { box-shadow: 0 0 12px var(--card-glow, rgba(224,64,251,.35)); } 50% { box-shadow: 0 0 26px var(--card-glow, rgba(224,64,251,.45)); } }

/* Fraktionen-Bilder – dedizierte Glow-Farben */
img.card-image[src="bilder/PD.png"] { --card-glow: rgba(88,165,255,.55); }
img.card-image[src="bilder/medic.png"] { --card-glow: rgba(25,195,125,.55); }
img.card-image[src="bilder/crime.png"] { --card-glow: rgba(255,82,82,.55); }
img.card-image[src="bilder/unternehmen.png"] { --card-glow: rgba(255,215,64,.55); }

/* Wiki */
.wiki .divider { height: 2px; background: linear-gradient(90deg, var(--accent), transparent); margin: 8px 0 16px; border-radius: 999px; }
/* Generic divider for other pages */
.divider { height: 2px; background: linear-gradient(90deg, var(--accent), transparent); margin: 8px 0 16px; border-radius: 999px; }
.wiki-block h3 { font-family: 'Space Grotesk', sans-serif; font-weight: 700; margin: 0 0 8px; }
.wiki-block h4 { font-family: 'Space Grotesk', sans-serif; font-weight: 600; margin: 12px 0 6px; }
.wiki-block h3, .wiki-block h4 {
  background: linear-gradient(90deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.wiki-image { margin: 10px 0 16px; }
.wiki-image img { width: 100%; height: auto; border-radius: var(--radius-card); border: 1px solid var(--glass-border); box-shadow: 0 0 24px rgba(160,32,240,.18); }
.wiki { font-family: 'Manrope', system-ui, -apple-system, Segoe UI, Roboto, sans-serif; font-size: 17px; line-height: 1.75; letter-spacing: .1px; }
.wiki p { margin: 6px 0; }
.wiki ul { margin: 6px 0 10px; padding-left: 20px; }
.wiki li { margin: 6px 0; }

/* Wiki Layout */
.wiki-grid { display: grid; grid-template-columns: 280px 1fr; gap: 32px; align-items: start; }
.wiki-toc { position: sticky; top: 80px; background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: var(--radius-card); padding: 16px; box-shadow: 0 0 18px rgba(160,32,240,.16); }
.wiki-toc h3 { margin: 0 0 8px; }
.wiki-toc nav { display: grid; gap: 8px; }
.wiki-toc a { display: block; color: var(--color-fg); text-decoration: none; padding: 10px 12px; border-radius: 10px; transition: background .2s ease, box-shadow .2s ease, transform .15s ease; border: 1px solid transparent; }
.wiki-toc a:hover, .wiki-toc a:focus { background: rgba(160,32,240,.08); border-color: var(--glass-border); box-shadow: 0 0 18px rgba(160,32,240,.22); outline: none; }
.wiki-content { min-width: 0; }
.wiki-block { background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: var(--radius-card); padding: 16px 20px; margin: 16px 0 24px; box-shadow: 0 0 24px rgba(160,32,240,.18); scroll-margin-top: 100px; }
h3 .heading-anchor { color: inherit; text-decoration: none; }
h3 .heading-anchor::after { content: '#'; color: var(--accent); margin-left: 8px; opacity: 0; transition: opacity .2s ease; }
h3:hover .heading-anchor::after { opacity: .85; }
@media (max-width: 1024px){ .wiki-grid { grid-template-columns: 1fr; } .wiki-toc { position: static; } }

/* Features */
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
@media (max-width: 1400px){ .features-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 1024px){ .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px){ .features-grid { grid-template-columns: 1fr; } }
.feature .icon { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 14px; background: rgba(160,32,240,.08); border: 1px solid var(--glass-border); margin-bottom: 12px; }

/* Quote Banner */
.quote { position: relative; padding: 140px 0; background: linear-gradient(180deg, rgba(160,32,240,.06), rgba(0,0,0,0)); overflow: hidden; }
.quote::before { content: ""; position: absolute; inset: 0; background: radial-gradient(800px 200px at 10% 0%, rgba(224,64,251,.12), transparent 70%); transform: translate3d(0,0,0); will-change: transform; }
.quote-inner blockquote { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 48px; text-align: center; margin: 0; background: linear-gradient(90deg, var(--primary), var(--secondary) 60%, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (max-width: 768px){ .quote-inner blockquote { font-size: 32px; } }

/* Startseite – zentrierte Quote Card */
.quote-home .quote-inner { display: grid; place-items: center; }
.quote-home .quote-card { position: relative; max-width: 960px; margin: 0 auto; padding: 24px 28px; border-radius: var(--radius-card); background: rgba(20,20,30,.65); border: 1px solid var(--glass-border); box-shadow: var(--shadow-glow); }
.quote-home .quote-card::after { content:""; position:absolute; left:-10%; right:-10%; bottom:-2px; height: 3px; background: linear-gradient(90deg, var(--primary), var(--secondary) 60%, var(--accent)); filter: blur(6px); opacity:.9; }
.quote-home .quote-card blockquote { font-size: clamp(32px, 5vw, 56px); letter-spacing: .6px; }

/* Timeline / Changelog */
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 0; bottom: 0; width: 2px; background: rgba(160,32,240,.35); }
.timeline > li { position: relative; padding-left: 32px; margin-bottom: 24px; }
.timeline > li::before { content: ""; position: absolute; left: 2px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px rgba(224,64,251,.4); }
.badge { display: inline-block; font-size: 12px; padding: 6px 10px; border-radius: 999px; margin-bottom: 6px; border: 1px solid rgba(255,255,255,.15); }
.badge.added { background: rgba(0,230,118,.12); color: #00e676; border-color: rgba(0,230,118,.3); }
.badge.updated { background: rgba(224,64,251,.12); color: var(--accent); border-color: rgba(224,64,251,.3); }
.badge.removed { background: rgba(255,82,82,.12); color: #ff5252; border-color: rgba(255,82,82,.3); }
details { background: rgba(160,32,240,.06); border: 1px solid var(--glass-border); border-radius: 12px; padding: 8px 12px; }
details[open] { box-shadow: 0 0 20px rgba(160,32,240,.25); }
details summary { cursor: pointer; outline: none; }
.details-content { overflow: hidden; transition: grid-template-rows .3s ease; }

/* Accordion / Rules */
.accordion { display: grid; gap: 12px; }
.acc-item { border-radius: 14px; border: 1px solid var(--glass-border); background: rgba(160,32,240,.06); }
.acc-trigger { width: 100%; background: transparent; color: #fff; text-align: left; padding: 16px; border: none; cursor: pointer; font-weight: 600; }
.acc-trigger[aria-expanded="true"] { color: #fff; border-bottom: 1px solid rgba(224,64,251,.35); box-shadow: inset 0 0 28px rgba(160,32,240,.15); }
.acc-panel { display: none; padding: 12px 16px; }
.acc-panel.open { display: block; animation: fadeUp .25s ease both; }

/* CTA */
.cta { position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(160,32,240,.05), rgba(160,32,240,.05)),
  repeating-linear-gradient(0deg, rgba(255,255,255,.06) 0 1px, transparent 1px 40px),
  repeating-linear-gradient(90deg, rgba(255,255,255,.06) 0 1px, transparent 1px 40px);
  opacity: .25; pointer-events: none; }
.center { text-align: center; }

/* CTA – neues Design */
.cta-card { position: relative; max-width: 960px; margin: 0 auto; padding: 28px 32px; border-radius: 18px; backdrop-filter: blur(10px); background: rgba(12,12,18,.55); border: 1px solid var(--glass-border); box-shadow: 0 0 28px rgba(160,32,240,.18); }
.cta-card::after { content:""; position:absolute; left:-20%; right:-20%; bottom:-2px; height: 4px; background: linear-gradient(90deg, var(--primary), var(--secondary) 60%, var(--accent)); filter: blur(8px); opacity:.8; }
.cta-title { font-family: 'Audiowide', cursive; font-size: 56px; line-height: 1.05; margin: 0 0 8px; background: linear-gradient(90deg, var(--primary), var(--secondary) 60%, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: 0 0 22px rgba(160,32,240,.35); letter-spacing: .04em; }
.cta-sub { font-size: 20px; opacity: .9; margin: 6px 0 12px; }
.cta-actions { display: flex; justify-content: center; gap: 12px; margin-top: 8px; }
.discord-btn { background: linear-gradient(135deg, #5865F2 0%, #7E8AFB 50%, #B4BDFF 100%); color:#fff; border-color: rgba(88,101,242,.55); box-shadow: 0 0 28px rgba(88,101,242,.45); }
.discord-btn:hover { transform: scale(1.06); box-shadow: 0 0 36px rgba(88,101,242,.6); }

/* CTA – finales Banner (neues Layout + Schrift) */
.final-cta { padding: 80px 0; position: relative; background:
  radial-gradient(900px 300px at 85% -50%, rgba(224,64,251,.14), transparent 60%),
  radial-gradient(900px 300px at 10% -50%, rgba(160,32,240,.16), transparent 60%),
  linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(16,18,28,.85) 100%);
  border-top: 1px solid rgba(160,32,240,.25);
}
.final-cta .cta-card { max-width: 1000px; margin: 0 auto; padding: 0; background: transparent; border: none; box-shadow: none; }
.final-cta .cta-title { font-family: 'Russo One', sans-serif; font-size: clamp(42px, 8vw, 86px); letter-spacing: 1.5px; margin: 0 0 10px; background: linear-gradient(90deg, var(--primary), var(--secondary) 60%, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.final-cta .cta-sub { font-size: 20px; opacity: .85; margin: 6px 0 18px; }
.final-cta .cta-actions { display: flex; justify-content: center; gap: 12px; margin-top: 12px; }
.final-cta .discord-btn { background: linear-gradient(135deg, #6b2db8 0%, #a020f0 50%, #e040fb 100%); color:#fff; border: 1px solid rgba(160,32,240,.35); box-shadow: 0 0 28px rgba(160,32,240,.4); }
.final-cta .discord-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 36px rgba(88,101,242,.6); }

/* Footer */
.site-footer { position: relative; background: var(--color-bg-0); border-top: 1px solid var(--glass-border); padding-top: 40px; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--primary), var(--secondary) 60%, var(--accent)); opacity: .7; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 768px){ .footer-grid { grid-template-columns: 1fr; } }
.site-footer a { color: #e0e0e0; text-decoration: none; }
.site-footer a:hover { color: #fff; text-shadow: 0 0 18px rgba(160,32,240,.35); }
.site-footer h3 { font-family: 'Space Grotesk', sans-serif; margin: 0 0 8px; background: linear-gradient(90deg, var(--primary), var(--secondary) 60%, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin: 6px 0; }
.copyright { border-top: 1px solid rgba(255,255,255,.08); padding: 16px 0 40px; opacity: .8; text-align: center; }

/* Footer – Navigation */
.footer-nav { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; }
.footer-nav li { margin: 0; }
.footer-nav a { font-family: 'Space Grotesk', sans-serif; font-weight: 700; letter-spacing: .4px; display: inline-block; padding: 6px 10px; border-radius: 10px; }
.footer-nav a:hover { background: rgba(160,32,240,.08); box-shadow: 0 0 18px rgba(160,32,240,.22); text-shadow: 0 0 18px rgba(160,32,240,.35); }

/* Loader */
#loader { position: fixed; inset: 0; display: grid; place-items: center; background: radial-gradient(800px 200px at 50% 30%, rgba(160,32,240,.1), rgba(0,0,0,.7)), #0a0a0a; z-index: 2000; }
.loader-inner { display: grid; gap: 16px; align-items: center; justify-items: center; }
.loader-inner .logo { font-family: 'Space Grotesk', sans-serif; font-size: 64px; font-weight: 700; background: linear-gradient(180deg, #d5b8ff 0%, #a020f0 22%, #6b2db8 55%, #3d146f 100%); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: 0 0 30px rgba(160,32,240,.45); }
.loader-inner .bar { width: 200px; height: 4px; border-radius: 999px; background: linear-gradient(90deg, transparent, var(--accent), transparent); animation: loadBar 1.4s ease-in-out infinite; }
@keyframes loadBar { 0%{transform: translateX(-30px)} 50%{transform: translateX(30px)} 100%{transform: translateX(-30px)} }

/* Progress Bar */
#progress-bar { position: fixed; left: 0; top: 0; height: 3px; width: 0%; background: linear-gradient(90deg, var(--primary), var(--accent)); box-shadow: 0 0 12px rgba(224,64,251,.5); z-index: 1200; }

/* Custom Cursor */
#cursor { position: fixed; width: 14px; height: 14px; border-radius: 50%; pointer-events: none; background: radial-gradient(circle at 30% 30%, #fff, var(--accent) 60%, transparent 70%); box-shadow: 0 0 24px rgba(224,64,251,.55); transform: translate(-50%, -50%); z-index: 1500; opacity: .8; }
@media (pointer: coarse) { #cursor { display: none; } }
/* Disable custom cursor globally */
#cursor { display: none !important; }

/* Canvas Background */
#bg-canvas { position: fixed; inset: 0; z-index: -1; }

/* Typography */
h1.display { font-family: 'Space Grotesk', sans-serif; font-size: 64px; font-weight: 700; line-height: 1.05; background: linear-gradient(90deg, var(--primary), var(--secondary) 60%, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: 0 0 18px rgba(160,32,240,.35); }
h2 { font-size: 48px; font-weight: 700; margin: 0 0 12px; font-family: 'Space Grotesk', sans-serif; }
h3 { font-size: 32px; font-weight: 600; margin: 0 0 8px; font-family: 'Space Grotesk', sans-serif; }
body, p, li { font-size: 18px; line-height: 1.6; }
@media (max-width: 768px){ h1.display{ font-size: 44px } h2{ font-size: 36px } h3{ font-size: 24px } body, p, li{ font-size: 16px } }

/* Animations */
@keyframes fadeUp { 0%{opacity:0; transform: translateY(8px)} 100%{opacity:1; transform: translateY(0)} }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #0f0f14; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--secondary), var(--accent)); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, var(--accent), var(--primary)); }

/* Regelwerk Seite */
.rules-hero { position: relative; padding: 80px 0 40px; background: radial-gradient(1200px 400px at 20% -10%, rgba(160,32,240,.18), transparent), radial-gradient(1200px 400px at 80% -20%, rgba(224,64,251,.12), transparent); border-bottom: 1px solid var(--glass-border); }
.rules-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .rules-grid { grid-template-columns: 280px 1fr; } }
.toc { position: sticky; top: 80px; align-self: start; padding: 16px; border-radius: var(--radius-card); border: 1px solid var(--glass-border); background: var(--glass-bg); box-shadow: 0 0 18px rgba(160,32,240,.16); }
.toc h3 { margin: 0 0 8px; }
.toc nav { display: grid; gap: 8px; }
.toc a { display: block; color: var(--color-fg); text-decoration: none; padding: 10px 12px; border-radius: 10px; transition: background .2s ease, box-shadow .2s ease, transform .15s ease, border-color .2s ease; border: 1px solid transparent; font-family: 'Manrope', system-ui, -apple-system, Segoe UI, Roboto, sans-serif; font-weight: 600; }
.toc a:hover, .toc a:focus { color: #fff; background: rgba(160,32,240,.08); border-color: var(--glass-border); box-shadow: 0 0 18px rgba(160,32,240,.22); outline: none; }
.rules-content { display: grid; gap: 24px; }
.rules-section { padding: 20px; border-radius: var(--radius-card); border: 1px solid var(--glass-border); background: rgba(20,20,30,.55); }
.rules-section h2 { margin-top: 0; }
.rules-section h2.gradient { letter-spacing: .3px; text-shadow: 0 0 18px rgba(160,32,240,.35); }
.rule-list { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.rule-list li { line-height: 1.6; }
.note { margin-top: 12px; opacity: .85; font-style: italic; }

/* Regelwerk – Hervorhebungen */
.rules-section .highlight {
  background: rgba(245, 197, 24, .12);
  border-left: 4px solid #F5C518;
  padding: 6px 10px;
  border-radius: 10px;
  box-shadow: inset 0 0 0 1px rgba(245, 197, 24, .22);
}

/* Header global – sticky & Branding */
.site-header { position: sticky; top: 0; z-index: 1000; backdrop-filter: blur(10px); background: rgba(20,20,30,.35); border-bottom: 1px solid var(--glass-border); }
.brand { font-family: 'Space Grotesk', sans-serif; letter-spacing: .5px; font-weight: 700; display: inline-flex; align-items: center; gap: 10px; }
.brand-logo { display:inline-block; height: 24px; width: auto; border-radius: 4px; }
.nav-links a { color: #e0e0e0; text-decoration: none; padding: 12px 16px; border-radius: 10px; transition: all .25s ease; font-family: 'Space Grotesk', sans-serif; font-weight: 600; letter-spacing: .3px; }
.nav-links a:hover, .nav-links a:focus { color: #fff; box-shadow: 0 0 24px rgba(160,32,240,.45), inset 0 0 1px rgba(255,255,255,.1); background: rgba(160,32,240,.06); outline: none; }

/* Headings consistency */
h2, h3 { font-family: 'Space Grotesk', sans-serif; }

/* Features – Icon-Liste */
.feature-lead { opacity: .9; margin: 0 0 12px; }
.feature-list { list-style: none; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: repeat(2, minmax(260px, 1fr)); gap: 16px; }
@media (max-width: 768px){ .feature-list { grid-template-columns: 1fr; } }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: var(--glass-bg); border: 1px solid var(--glass-border); box-shadow: 0 0 18px rgba(160,32,240,.18); }
.feature-list .icon { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgba(160,32,240,.12); border: 1px solid var(--glass-border); flex: 0 0 auto; }
.feature-list svg { width: 18px; height: 18px; fill: var(--accent); }

/* Wiki – Typografie & Bilder */
.wiki h2, .wiki h3, .wiki h4 { font-family: 'Space Grotesk', sans-serif; }
.wiki-image img { width: 100%; max-width: 900px; margin: 0 auto; display: block; height: auto; object-fit: contain; }

/* Footer – Branding */
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-logo { width: 42px; height: 42px; border-radius: 8px; box-shadow: 0 0 18px rgba(160,32,240,.35); border: 1px solid var(--glass-border); }

/* Footer – Social Logos */
.footer-social { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.social-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid var(--glass-border); color: #ffffff; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.social-icon:hover { transform: translateY(-2px); box-shadow: var(--shadow-glow); }
.social-icon svg { width: 24px; height: 24px; fill: currentColor; }
/* Brand-specific looks */
.social-icon.discord { background: #5865F2; border-color: rgba(88,101,242,.65); }
.social-icon.x { background: #000000; border-color: rgba(255,255,255,.35); }
.social-icon.youtube { background: #FF0000; border-color: rgba(255,0,0,.55); }

/* Timeline – Kategorien */
.timeline h4 { font-family: 'Space Grotesk', sans-serif; margin: 8px 0 6px; }
.timeline h4.added { color: #19C37D; }
.timeline h4.changed { color: #FF8C00; }
.timeline h4.fixed { color: #FFD43B; }
.timeline h4.removed { color: #FF3B30; }
.timeline-date { display: block; margin-top: 8px; opacity: .7; font-size: .85rem; }
.timeline .timeline-card { padding: 14px 16px; background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 12px; box-shadow: 0 0 18px rgba(160,32,240,.18); }

/* Neues Changelog-Design */
.changelog { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.changelog-item { padding: 16px; background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 14px; box-shadow: 0 0 22px rgba(160,32,240,.18); }
.changelog-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.changelog-title { margin: 0; font-family: 'Space Grotesk', sans-serif; color: var(--accent); font-size: 1.1rem; }
.cl-tag { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; border: 1px solid transparent; }
.cl-tag.added { background: rgba(0,230,118,.14); color: #00e676; border-color: rgba(0,230,118,.35); }
.cl-tag.changed { background: rgba(255,140,0,.14); color: #FF8C00; border-color: rgba(255,140,0,.35); }
.cl-tag.removed { background: rgba(255,59,48,.14); color: #FF3B30; border-color: rgba(255,59,48,.35); }
.cl-tag.fixed { background: rgba(255,212,59,.14); color: #FFD43B; border-color: rgba(255,212,59,.35); }
.changelog-body { display: grid; gap: 6px; }
.changelog-date { display: block; margin-top: 8px; opacity: .7; font-size: .85rem; }
.changelog .subhead { margin: 6px 0 4px; color: var(--accent); font-weight: 700; }

/* AGBs – bessere Typografie */
.agbs-page h2, .agbs-page h3 { font-family: 'Space Grotesk', sans-serif; }
.agbs-page h3.gradient { background: linear-gradient(90deg, var(--primary), var(--secondary) 60%, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.agbs-page p, .agbs-page li { font-family: 'Manrope', system-ui, -apple-system, Segoe UI, Roboto, sans-serif; line-height: 1.7; }

/* Regelwerk – Fließtext mit Manrope */
.rules-page p, .rules-page li { font-family: 'Manrope', system-ui, -apple-system, Segoe UI, Roboto, sans-serif; }