/* Schriften liegen auf dem eigenen Server (kein Google Fonts → keine Datenübertragung an Google) */
@font-face { font-family: "Roboto"; src: url("fonts/roboto-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Roboto"; src: url("fonts/roboto-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Roboto"; src: url("fonts/roboto-latin-700-normal.woff2") format("woff2"); font-weight: 600 700; font-display: swap; }
@font-face { font-family: "Fira Code"; src: url("fonts/fira-code-latin-500-normal.woff2") format("woff2"); font-weight: 400 500; font-display: swap; }
@font-face { font-family: "Fira Code"; src: url("fonts/fira-code-latin-600-normal.woff2") format("woff2"); font-weight: 600 700; font-display: swap; }
@font-face { font-family: "Press Start 2P"; src: url("fonts/press-start-2p-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  color-scheme: dark;
  --bg: #09090b;
  --fg: #d9f2e6;
  --fg-soft: rgba(217, 242, 230, 0.82);
  --muted: #8bb6a4;
  --primary: #19b56f;
  --primary-bright: #3fdc95;
  --primary-fg: #03110d;
  --primary-tint: rgba(25, 181, 111, 0.12);
  --primary-line: rgba(25, 181, 111, 0.35);
  --accent: #7ee0a3;
  --card: rgba(218, 255, 235, 0.035);
  --card-hover: rgba(218, 255, 235, 0.055);
  --border: rgba(199, 255, 225, 0.1);
  --border-strong: rgba(199, 255, 225, 0.18);
  --danger: #f87171;
  --radius: 12px;

  --font-sans: "Roboto", system-ui, sans-serif;
  --font-mono: "Fira Code", ui-monospace, "Courier New", monospace;
  --font-pixel: "Press Start 2P", var(--font-mono);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
html, body { margin: 0; }

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.6 var(--font-sans);
  overflow-x: hidden;
}

a { color: var(--primary-bright); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--primary-bright); outline-offset: 3px; border-radius: 4px; }

.container { width: min(1100px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }

/* ---------- Kopfzeile ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 56px;
  background: rgba(20, 20, 22, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.topbar-inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--fg); text-decoration: none; font-weight: 700; font-size: 17px; }
.brand-mark {
  flex: none;
  width: 22px;
  height: 22px;
  background: var(--primary);
  box-shadow: inset -5px -5px 0 rgba(0, 0, 0, 0.28), inset 5px 5px 0 rgba(255, 255, 255, 0.18);
}
.topnav { display: flex; gap: 28px; margin-right: auto; }
.topnav a { color: var(--fg-soft); text-decoration: none; font-size: 15px; font-weight: 500; }
.topnav a:hover { color: var(--fg); }
.discord {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--fg);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  padding: 6px 12px;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
}
.discord:hover { background: var(--card-hover); }
.discord svg { width: 18px; height: 18px; color: var(--primary-bright); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(82vh, 760px);
  display: grid;
  place-items: center;
  padding: 72px 0 88px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.hero-bg, .backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 45% at 50% 38%, rgba(25, 181, 111, 0.16), transparent 70%),
    linear-gradient(to bottom, rgba(9, 9, 11, 0.45), rgba(9, 9, 11, 0.6) 55%, var(--bg)),
    url("hero.webp") center / cover no-repeat;
  z-index: 0;
}
.backdrop {
  position: fixed;
  height: 460px;
  bottom: auto;
  opacity: 0.55;
  -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent);
  mask-image: linear-gradient(to bottom, #000 30%, transparent);
  pointer-events: none;
}

.particles { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.particles i {
  position: absolute;
  width: 5px;
  height: 5px;
  background: var(--primary-bright);
  box-shadow: 0 0 10px 2px rgba(63, 220, 149, 0.55);
  opacity: 0.55;
  animation: drift 11s ease-in-out infinite alternate;
}
.particles i:nth-child(1) { left: 8%; top: 22%; animation-delay: -2s; }
.particles i:nth-child(2) { left: 16%; top: 64%; animation-delay: -7s; width: 4px; height: 4px; }
.particles i:nth-child(3) { left: 27%; top: 36%; animation-delay: -4s; opacity: 0.35; }
.particles i:nth-child(4) { left: 38%; top: 78%; animation-delay: -9s; }
.particles i:nth-child(5) { left: 61%; top: 18%; animation-delay: -1s; width: 4px; height: 4px; }
.particles i:nth-child(6) { left: 70%; top: 70%; animation-delay: -6s; }
.particles i:nth-child(7) { left: 82%; top: 40%; animation-delay: -3s; opacity: 0.4; }
.particles i:nth-child(8) { left: 91%; top: 58%; animation-delay: -8s; }
@keyframes drift {
  from { transform: translate(0, 0); }
  to { transform: translate(14px, -36px); }
}

.hero-inner { position: relative; z-index: 2; width: min(860px, 100% - 32px); text-align: center; }

.logo {
  margin: 0;
  font: 400 clamp(26px, 6.4vw, 80px)/1.3 var(--font-pixel);
  text-transform: uppercase;
  color: #effff6;
  /* 3D-Kante in Pixelschritten (1/16 em) */
  text-shadow:
    0 0.0625em 0 #9fe3bf,
    0 0.125em 0 #148a55,
    0 0.1875em 0 #0b5a37,
    0 0.25em 0 #06341f,
    0 0.35em 0.4em rgba(0, 0, 0, 0.55),
    0 0 0.8em rgba(25, 181, 111, 0.35);
  overflow-wrap: break-word;
}
.tagline { margin: 30px auto 0; max-width: 52ch; font-size: clamp(16px, 2.2vw, 19px); color: var(--fg-soft); }

/* Info-Leiste: IP, Version, Spieler */
.stats {
  display: flex;
  margin: 40px auto 0;
  max-width: 720px;
  background: rgba(9, 9, 11, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.stat { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 18px 16px; }
.stat-ip { flex-grow: 1.8; }
.stat + .stat { border-left: 1px solid var(--border); }
.stat-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(217, 242, 230, 0.75);
}
.stat-hint { font-size: 12.5px; color: var(--muted); }

.ip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 3px 12px;
  font: 600 18px/1.4 var(--font-mono);
  letter-spacing: 0.05em;
  color: var(--primary-bright);
  background: var(--primary-tint);
  border: 0;
  border-radius: 4px;
  cursor: pointer;
}
.ip:hover { background: rgba(25, 181, 111, 0.2); }
.ip svg { width: 15px; height: 15px; color: var(--muted); flex: none; }
.ip code { font: inherit; white-space: nowrap; }

.pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 12px;
  font: 500 14px/1.6 var(--font-mono);
  color: #d1fae5;
  background: rgba(25, 181, 111, 0.15);
  border: 1px solid rgba(25, 181, 111, 0.3);
  border-radius: 999px;
  white-space: nowrap;
}
.pill.off { color: #fecaca; background: rgba(248, 113, 113, 0.12); border-color: rgba(248, 113, 113, 0.3); }

/* ---------- Knöpfe ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  font: 600 16px/1.2 var(--font-sans);
  border-radius: 8px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
}
.btn-primary { color: var(--primary-fg); background: var(--primary); }
.btn-primary:hover { background: var(--primary-bright); }
.btn-primary[disabled] { cursor: progress; background: rgba(25, 181, 111, 0.45); }
.hero-cta { margin-top: 32px; }

/* ---------- Abschnitte ---------- */
.section { padding-top: 104px; }
.section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin: 0 0 44px;
  font: 600 clamp(22px, 3.4vw, 30px)/1.2 var(--font-sans);
  letter-spacing: 0.08em;
  color: var(--primary);
  text-align: center;
}
.section-title::before,
.section-title::after {
  content: "";
  flex: 0 1 120px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--primary-line));
}
.section-title::after { background: linear-gradient(to left, transparent, var(--primary-line)); }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* Kaufen: Text links, Formular rechts */
.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.about h3 { margin: 0 0 16px; font-size: 26px; font-weight: 700; letter-spacing: -0.01em; }
.about p { margin: 0 0 16px; color: var(--fg-soft); line-height: 1.75; max-width: 60ch; }
.about strong { color: var(--fg); }
.perks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.perks li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.perks li::before {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  background: var(--primary);
  box-shadow: 0 0 10px rgba(25, 181, 111, 0.6);
}

.buy { padding: 28px; border-color: var(--primary-line); }
.buy-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 22px; }
.price { font: 600 38px/1 var(--font-mono); color: var(--fg); letter-spacing: -0.02em; }

.label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 10px; color: var(--fg-soft); }
.name-row { display: flex; align-items: center; gap: 12px; }
.slot {
  flex: none;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-strong);
  border-radius: 8px;
}
.slot img { width: 42px; height: 42px; image-rendering: pixelated; display: block; border-radius: 2px; }
.slot.filled { border-color: var(--primary-line); box-shadow: 0 0 18px rgba(25, 181, 111, 0.25); }
.slot.filled img { animation: pop 220ms steps(4, end); }
@keyframes pop { from { transform: scale(0.4); } to { transform: scale(1); } }

input[type="text"] {
  flex: 1;
  min-width: 0;
  height: 58px;
  padding: 0 16px;
  font: 500 18px/1 var(--font-mono);
  color: var(--fg);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-strong);
  border-radius: 8px;
}
input[type="text"]::placeholder { color: rgba(139, 182, 164, 0.6); }
input[type="text"]:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(25, 181, 111, 0.25); }

.hint { min-height: 1.5em; margin: 8px 0 16px 70px; font-size: 14px; color: var(--muted); }
.hint.ok { color: var(--accent); font-weight: 500; }
.hint.bad { color: var(--danger); font-weight: 500; }

.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.55; color: var(--fg-soft); margin-bottom: 22px; cursor: pointer; }
.check input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--primary); cursor: pointer; }

.buy .btn { width: 100%; }
.error { margin: 12px 0 0; color: var(--danger); font-weight: 500; font-size: 14.5px; }
.error:empty { display: none; }
.secure { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 16px 0 0; font-size: 13px; color: var(--muted); }
.secure svg { width: 14px; height: 14px; }

/* Ablauf */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps li { padding: 24px; }
.num { font: 500 12px/1 var(--font-mono); color: var(--primary); }
.steps h3 { margin: 12px 0 8px; font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.steps p { margin: 0; color: var(--fg-soft); font-size: 15px; }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 820px; margin: 0 auto; }
.faq details { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); }
.faq details[open] { border-color: var(--primary-line); }
.faq summary {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  list-style: none;
  border-radius: var(--radius);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { background: var(--card-hover); }
.faq summary .q { flex: 1; }
.plus { position: relative; flex: none; width: 14px; height: 14px; color: var(--muted); }
.plus::before, .plus::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 2px; background: currentColor; transition: transform 160ms ease; }
.plus::after { transform: rotate(90deg); }
details[open] .plus::after { transform: rotate(0deg); }
.faq .answer { padding: 0 20px 20px 56px; color: var(--fg-soft); }
.faq .answer p { margin: 0; }

/* ---------- Fußzeile ---------- */
.footer { position: relative; z-index: 1; margin-top: 120px; border-top: 1px solid var(--border); padding: 36px 0 40px; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer nav a { color: var(--muted); text-decoration: none; font-size: 14.5px; }
.footer nav a:hover { color: var(--fg); }
.disclaimer { margin: 22px 0 0; font-size: 12.5px; color: var(--muted); }

/* ---------- Unterseiten (Erfolg, Rechtliches) ---------- */
.page { position: relative; z-index: 1; flex: 1; padding-top: 64px; }
.status-card { max-width: 560px; margin: 0 auto; padding: 32px; }
.status-head { display: flex; align-items: center; gap: 18px; }
.status-head h1 { margin: 0; font-size: 26px; line-height: 1.25; font-weight: 700; letter-spacing: -0.01em; }
.status-card .lead { margin: 18px 0 0; color: var(--fg-soft); }
.ip-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--border); }
.ip-row .stat-label { margin-right: auto; }
.back { display: inline-block; margin-top: 22px; font-weight: 500; }

.doc { max-width: 760px; margin: 0 auto; padding: 32px 36px 36px; }
.doc h1 { margin: 0 0 8px; font-size: 30px; letter-spacing: -0.01em; }
.doc h2 { margin: 28px 0 8px; font-size: 18px; color: var(--primary-bright); }
.doc p { color: var(--fg-soft); max-width: 68ch; }
.doc address { font-style: normal; color: var(--fg-soft); }
.todo { background: rgba(250, 204, 21, 0.16); color: #fde68a; padding: 0 4px; outline: 1px dashed rgba(250, 204, 21, 0.6); }
.todo-box { background: rgba(250, 204, 21, 0.1); color: #fde68a; border: 1px dashed rgba(250, 204, 21, 0.6); border-radius: 8px; padding: 12px 16px; margin: 0 0 24px; font-size: 14.5px; }

/* ---------- Kleine Bildschirme ---------- */
@media (max-width: 860px) {
  .split { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .topnav { display: none; }
  .topbar-inner { justify-content: space-between; }
  .hero { padding: 48px 0 64px; min-height: 0; }
  .logo { font-size: 8vw; }
  .stats { flex-direction: column; }
  .ip code { white-space: normal; overflow-wrap: anywhere; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--border); }
  .section { padding-top: 80px; }
  .section-title::before, .section-title::after { flex-basis: 40px; }
  .buy { padding: 22px 18px; }
  .hint { margin-left: 0; }
  .faq .answer { padding-left: 20px; }
  .doc, .status-card { padding: 24px 20px; }
  .footer { margin-top: 88px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .particles i, .slot.filled img { animation: none; }
  .plus::before, .plus::after { transition: none; }
}
