:root {
  --bg: #0b1020;
  --bg-elevated: #12192d;
  --bg-card: #171f36;
  --text: #e8edf7;
  --text-muted: #9aa6c0;
  --accent: #f0a14a;
  --accent-soft: rgba(240, 161, 74, 0.16);
  --discord: #5865f2;
  --border: rgba(232, 237, 247, 0.1);
  --shadow: 0 18px 40px rgba(4, 8, 18, 0.35);
  --radius: 18px;
  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.page-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 50% at 80% -10%, rgba(240, 161, 74, 0.16), transparent 55%),
    radial-gradient(ellipse 50% 40% at 0% 20%, rgba(88, 101, 242, 0.12), transparent 50%),
    linear-gradient(180deg, #0d1426 0%, var(--bg) 40%);
  z-index: -1;
}

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(11, 16, 32, 0.78);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 40px;
  height: 40px;
  color: var(--accent);
}

.brand-mark svg {
  width: 100%;
  height: 100%;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-kicker {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-nav a {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--text-muted);
}

.site-nav a[aria-current="page"],
.site-nav a:hover {
  color: var(--text);
}

.nav-discord {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--discord);
  color: #fff !important;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
}

.hero,
.section {
  padding: 72px 0;
}

.hero {
  display: grid;
  gap: 28px;
}

.eyebrow {
  font-family: var(--font-display);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--accent);
  margin: 0 0 12px;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  margin: 0 0 12px;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  max-width: 14ch;
}

.lead {
  max-width: 38rem;
  font-size: 1.2rem;
  color: var(--text-muted);
  margin: 0 0 28px;
}

.hero-actions,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
}

.btn-primary {
  background: var(--accent);
  color: #1a1208;
}

.btn-discord {
  background: var(--discord);
  color: #fff;
}

.btn-ghost {
  border: 1px solid var(--border);
  color: var(--text);
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
  margin-bottom: 28px;
}

.muted {
  color: var(--text-muted);
  margin: 0;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.guide-card,
.panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.guide-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  min-height: 220px;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.guide-card:hover {
  transform: translateY(-4px);
  border-color: rgba(240, 161, 74, 0.45);
}

.guide-card h3 {
  font-size: 1.35rem;
}

.guide-card p {
  color: var(--text-muted);
  margin: 0;
  flex: 1;
}

.card-link {
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 600;
}

.badge {
  align-self: flex-start;
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 9px;
  border-radius: 999px;
}

.badge-soon {
  background: var(--accent-soft);
  color: var(--accent);
}

.badge-live {
  background: rgba(88, 101, 242, 0.18);
  color: #c5ccff;
}

.panel {
  padding: 28px;
}

.impressum-panel {
  max-width: 40rem;
}

.impressum-panel h2 {
  font-size: 1.05rem;
  margin-top: 28px;
}

.impressum-panel h2:first-child {
  margin-top: 0;
}

.impressum-panel address {
  font-style: normal;
  color: var(--text-muted);
  line-height: 1.7;
}

.impressum-panel a {
  color: var(--accent);
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0 48px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 600;
  margin: 0 0 6px;
}

.footer-copy,
.footer-links a {
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 18px;
}

.guide-article {
  padding: 56px 0 88px;
}

.guide-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.markdown {
  max-width: 46rem;
}

.markdown h2 {
  margin-top: 36px;
}

.markdown p,
.markdown li {
  color: var(--text-muted);
}

.markdown a {
  color: var(--accent);
  text-decoration: underline;
}

.markdown ul,
.markdown ol {
  padding-left: 1.2rem;
}

.empty-state {
  padding: 72px 0;
}

@media (max-width: 900px) {
  .guide-grid,
  .footer-inner {
    grid-template-columns: 1fr;
    display: grid;
  }

  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    padding: 16px 20px 24px;
    background: rgba(11, 16, 32, 0.96);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav.is-open {
    display: flex;
  }
}
