
:root {
  color-scheme: dark;
  --bg: #000000;
  --bg-soft: #070707;
  --panel: #101010;
  --panel-2: #151515;
  --panel-3: #1a1a1a;
  --green: #00f700;
  --green-strong: #00ff00;
  --green-soft: rgba(0,247,0,.12);
  --green-line: rgba(0,247,0,.32);
  --text: #f7f7f7;
  --muted: #b2b2b2;
  --muted-2: #777;
  --border: rgba(255,255,255,.10);
  --danger: #ff5d69;
  --warning: #ffd257;
  --radius: 16px;
  --shadow: 0 24px 80px rgba(0,0,0,.48);
  --nav-height: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 74% 8%, rgba(0,247,0,.07), transparent 28rem),
    radial-gradient(circle at 10% 80%, rgba(0,247,0,.04), transparent 30rem),
    #000;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .15;
  background-image:
    linear-gradient(rgba(0,247,0,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,247,0,.025) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, transparent, #000 16%, #000 84%, transparent);
}

a { color: inherit; }
button, input { font: inherit; }
button { color: inherit; }

.site-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  min-height: var(--nav-height);
  display: flex;
  align-items: center;
  background: rgba(0,0,0,.90);
  border-bottom: 1px solid rgba(0,247,0,.17);
  backdrop-filter: blur(14px);
}
.nav-inner {
  width: min(1220px, calc(100% - 30px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: max-content;
}
.brand-mark {
  width: 42px;
  height: 42px;
  border: 2px solid var(--green);
  display: grid;
  place-items: center;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 20px;
  line-height: 1;
  color: var(--green);
  transform: skew(-6deg);
  box-shadow: 0 0 28px rgba(0,247,0,.11);
}
.brand-copy {
  line-height: 1;
}
.brand-copy strong {
  display: block;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 20px;
  letter-spacing: .035em;
}
.brand-copy span {
  display: block;
  margin-top: 5px;
  color: var(--green);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .19em;
  text-transform: uppercase;
}
.nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 5px;
}
.nav-link {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  color: #bdbdbd;
  text-decoration: none;
  font-size: 14px;
  font-weight: 750;
  border: 1px solid transparent;
  border-radius: 8px;
  transition: .16s ease;
}
.nav-link:hover {
  color: white;
  background: #101010;
  border-color: var(--border);
}
.nav-link.active {
  color: var(--green);
  background: rgba(0,247,0,.08);
  border-color: rgba(0,247,0,.28);
}
.nav-link.discord {
  color: #000;
  background: var(--green);
  border-color: var(--green);
}
.nav-link.discord:hover { background: #5cff5c; }
.nav-link.disabled { opacity: .45; pointer-events: none; }

.mobile-nav-toggle { display: none; }

.container {
  width: min(1220px, calc(100% - 30px));
  margin: 0 auto;
}
.page { padding: 42px 0 78px; }

.hero {
  position: relative;
  min-height: 620px;
  display: grid;
  grid-template-columns: 1.07fr .93fr;
  gap: 54px;
  align-items: center;
  padding: 58px 0 68px;
}
.hero::after {
  content: "";
  position: absolute;
  right: 1%;
  top: 15%;
  width: 380px;
  height: 380px;
  border: 1px solid rgba(0,247,0,.12);
  border-radius: 50%;
  box-shadow:
    0 0 0 50px rgba(0,247,0,.018),
    0 0 0 100px rgba(0,247,0,.012);
  pointer-events: none;
}
.kicker {
  color: var(--green);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .20em;
  text-transform: uppercase;
}
.hero-title {
  margin: 12px 0 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(62px, 9vw, 118px);
  line-height: .82;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.hero-title .green { color: var(--green); }
.hero-subtitle {
  display: inline-block;
  margin-top: 18px;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(28px, 4vw, 50px);
  line-height: 1;
  text-transform: uppercase;
}
.hero-copy {
  max-width: 680px;
  margin: 24px 0 0;
  color: #c6c6c6;
  font-size: 17px;
  line-height: 1.7;
}
.actions, .inline-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.actions { margin-top: 28px; }

.btn {
  min-height: 46px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  appearance: none;
  text-decoration: none;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 850;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, color .15s ease, opacity .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  color: #000;
  background: var(--green);
  border-color: var(--green);
}
.btn-primary:hover { background: #62ff62; }
.btn-secondary {
  color: #fff;
  background: #161616;
  border-color: rgba(0,247,0,.34);
}
.btn-secondary:hover { border-color: var(--green); color: var(--green); }
.btn-ghost {
  color: #d0d0d0;
  background: transparent;
  border-color: var(--border);
}
.btn-ghost:hover { background: #111; color: #fff; }
.btn-danger { background: #2b1012; border-color: rgba(255,93,105,.42); color: #ff9098; }
.btn.small { min-height: 38px; padding: 0 13px; font-size: 13px; }

.hero-visual {
  position: relative;
  z-index: 2;
}
.event-board {
  position: relative;
  border: 1px solid rgba(0,247,0,.26);
  border-radius: 14px;
  background: linear-gradient(145deg, #121212, #080808);
  padding: 26px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.event-board::before {
  content: "";
  position: absolute;
  inset: -1px auto -1px -1px;
  width: 5px;
  background: var(--green);
}
.event-board::after {
  content: "M+";
  position: absolute;
  right: -18px;
  bottom: -42px;
  font-family: Impact, sans-serif;
  font-size: 180px;
  line-height: 1;
  color: rgba(0,247,0,.035);
  pointer-events: none;
}
.event-board h2 {
  position: relative;
  z-index: 2;
  margin: 0;
  font-family: Impact, sans-serif;
  font-size: 34px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.event-board h2 span { color: var(--green); }
.event-facts {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 1px;
  margin-top: 24px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.08);
}
.event-fact {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 15px;
  align-items: center;
  padding: 15px 16px;
  background: #0d0d0d;
}
.event-fact span {
  color: #818181;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.event-fact strong { font-size: 16px; }
.hero-stripe {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  color: #8a8a8a;
  font-size: 12px;
}
.hero-stripe::before {
  content: "";
  width: 72px;
  height: 3px;
  background: repeating-linear-gradient(90deg, var(--green) 0 10px, transparent 10px 15px);
}

.section {
  position: relative;
  padding: 76px 0;
  border-top: 1px solid rgba(255,255,255,.065);
}
.section.dark-soft { background: rgba(255,255,255,.018); }
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 28px;
}
.section-title {
  margin: 8px 0 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(38px, 5.3vw, 64px);
  line-height: .98;
  text-transform: uppercase;
  letter-spacing: .025em;
}
.section-title span { color: var(--green); }
.section-copy {
  max-width: 720px;
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.quick-card {
  background: #0e0e0e;
  border: 1px solid var(--border);
  border-top: 3px solid var(--green);
  padding: 22px;
  border-radius: 10px;
}
.quick-card .num {
  color: var(--green);
  font-family: Impact, sans-serif;
  font-size: 36px;
}
.quick-card h3 { margin: 12px 0 7px; font-size: 19px; }
.quick-card p { margin: 0; color: #aaa; line-height: 1.6; font-size: 14px; }

.rules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: start;
}
.rule-sheet {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid rgba(0,247,0,.2);
  background: #0b0b0b;
  box-shadow: 0 18px 60px rgba(0,0,0,.30);
}
.rule-sheet button {
  all: unset;
  display: block;
  cursor: zoom-in;
  width: 100%;
}
.rule-sheet img {
  width: 100%;
  display: block;
  aspect-ratio: 1447/2048;
  object-fit: cover;
  object-position: top;
  filter: saturate(1.05);
  transition: transform .25s ease, filter .25s ease;
}
.rule-sheet:hover img { transform: scale(1.015); filter: saturate(1.15) brightness(1.04); }
.rule-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 14px;
  border-top: 1px solid rgba(0,247,0,.18);
  background: #0c0c0c;
}
.rule-caption strong { font-size: 13px; }
.rule-caption span { color: var(--green); font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }

.rule-modal {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: none;
  background: rgba(0,0,0,.96);
  padding: 18px;
}
.rule-modal.open { display: grid; grid-template-rows: auto minmax(0,1fr) auto; }
.rule-modal-top, .rule-modal-bottom {
  width: min(1200px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
}
.rule-modal-title { color: var(--green); font-weight: 900; }
.rule-modal-stage {
  min-height: 0;
  display: grid;
  place-items: center;
  overflow: auto;
}
.rule-modal-stage img {
  max-width: min(100%, 1030px);
  height: auto;
  max-height: calc(100vh - 150px);
  object-fit: contain;
}
.modal-controls { display: flex; gap: 8px; }

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 30px;
  background:
    linear-gradient(90deg, rgba(0,247,0,.10), transparent 42%),
    #0e0e0e;
  border: 1px solid rgba(0,247,0,.24);
  border-radius: 12px;
}
.cta-panel h3 {
  margin: 0;
  font-family: Impact, sans-serif;
  font-size: 32px;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.cta-panel p { margin: 7px 0 0; color: #aaa; }

.footer {
  border-top: 1px solid rgba(0,247,0,.13);
  background: #020202;
  padding: 26px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #747474;
  font-size: 12px;
}

/* Shared page headings / forms */
.page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 24px;
}
.page-head h1 {
  margin: 7px 0 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(42px, 6vw, 66px);
  line-height: .95;
  text-transform: uppercase;
  letter-spacing: .025em;
}
.page-head h1 span { color: var(--green); }
.page-head p { margin: 10px 0 0; max-width: 700px; color: var(--muted); line-height: 1.6; }

.panel {
  background: #0e0e0e;
  border: 1px solid var(--border);
  border-left: 4px solid var(--green);
  border-radius: 10px;
  box-shadow: var(--shadow);
}
.form-card { padding: 26px; }
.form-grid { display: grid; gap: 17px; }
.field { display: grid; gap: 7px; }
.field label {
  color: #cfcfcf;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.field input {
  width: 100%;
  min-height: 48px;
  border: 1px solid #303030;
  border-radius: 7px;
  background: #070707;
  color: #fff;
  padding: 0 13px;
  outline: none;
}
.field input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(0,247,0,.08);
}
.toggle-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.toggle {
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid #292929;
  border-radius: 7px;
  background: #090909;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}
.toggle.active { border-color: rgba(0,247,0,.48); background: rgba(0,247,0,.06); }
.switch {
  width: 40px;
  height: 22px;
  border-radius: 999px;
  background: #333;
  position: relative;
  transition: .18s ease;
}
.switch::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  top: 3px;
  left: 3px;
  background: #aaa;
  border-radius: 50%;
  transition: .18s ease;
}
.toggle.active .switch { background: var(--green); }
.toggle.active .switch::after { left: 21px; background: #000; }
.notice {
  padding: 13px 14px;
  color: #a9a9a9;
  background: #090909;
  border: 1px solid #242424;
  border-radius: 7px;
  font-size: 13px;
  line-height: 1.55;
}
.status-line {
  margin-top: 14px;
  min-height: 20px;
  color: #aaa;
  font-size: 13px;
}
.status-line.success { color: var(--green); }
.status-line.error { color: #ff808a; }
.stream-preview {
  display: none;
  width: 100%;
  margin-top: 18px;
  border-radius: 8px;
  border: 1px solid rgba(0,247,0,.20);
  background: #000;
  aspect-ratio: 16/9;
  object-fit: contain;
}

/* Streamer two-column layout */
.streamer-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 18px;
  align-items: start;
}
.side-card {
  padding: 20px;
  background: #0d0d0d;
  border: 1px solid var(--border);
  border-top: 3px solid var(--green);
  border-radius: 9px;
}
.side-card h3 {
  margin: 0 0 14px;
  font-family: Impact, sans-serif;
  font-size: 24px;
  text-transform: uppercase;
}
.tip-list { display: grid; gap: 12px; }
.tip {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 10px;
  color: #aaa;
  font-size: 13px;
  line-height: 1.5;
}
.tip b {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: var(--green);
  border: 1px solid rgba(0,247,0,.3);
  border-radius: 5px;
}

/* Viewer */
.login-shell {
  min-height: calc(100vh - var(--nav-height));
  display: grid;
  place-items: center;
  padding: 36px 15px;
}
.login-card { width: min(460px, 100%); padding: 26px; }
.backline { margin-bottom: 18px; }

.dashboard-wrap { display: none; padding: 36px 0 70px; }
.dashboard-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0 18px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}
.dashboard-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid #2c2c2c;
  border-radius: 6px;
  background: #0c0c0c;
  color: #a7a7a7;
  font-size: 12px;
  font-weight: 800;
}
.status-pill.online {
  color: var(--green);
  border-color: rgba(0,247,0,.30);
  background: rgba(0,247,0,.055);
}
.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(0,247,0,.10);
}
.stream-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.stream-tile {
  position: relative;
  min-height: 250px;
  overflow: hidden;
  background: #070707;
  border: 1px solid #252525;
  border-radius: 10px;
  aspect-ratio: 16/9;
  cursor: pointer;
  transition: border-color .18s ease, transform .18s ease;
}
.stream-tile:hover {
  transform: translateY(-2px);
  border-color: rgba(0,247,0,.48);
}
.stream-tile video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}
.tile-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #696969;
  font-size: 13px;
  text-align: center;
  padding: 20px;
}
.tile-overlay {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 36px 14px 13px;
  background: linear-gradient(transparent, rgba(0,0,0,.92));
}
.stream-name { font-weight: 900; }
.live-badge {
  color: #000;
  background: var(--green);
  padding: 4px 7px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .09em;
}
.empty-board {
  grid-column: 1/-1;
  min-height: 330px;
  display: grid;
  place-items: center;
  color: #747474;
  text-align: center;
  border: 1px dashed #2c2c2c;
  border-radius: 10px;
  background: #080808;
}
.empty-board strong {
  display: block;
  margin-bottom: 6px;
  color: #cfcfcf;
  font-size: 17px;
}
.single-view { display: none; }
.single-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.single-player {
  background: #000;
  border: 1px solid rgba(0,247,0,.30);
  border-radius: 10px;
  overflow: hidden;
}
.single-player video {
  width: 100%;
  display: block;
  aspect-ratio: 16/9;
  object-fit: contain;
  background: #000;
}
.player-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px;
  border-top: 1px solid #202020;
  background: #0b0b0b;
}
.player-title {
  margin-left: auto;
  color: var(--green);
  font-weight: 900;
}
input[type="range"] { accent-color: var(--green); }

.footer-note {
  color: #737373;
  font-size: 12px;
  line-height: 1.5;
}

/* Mobile */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; gap: 30px; }
  .hero::after { display: none; }
  .quick-grid, .rules-grid { grid-template-columns: 1fr; }
  .streamer-layout { grid-template-columns: 1fr; }
  .stream-grid { grid-template-columns: 1fr; }
  .section-head, .page-head, .cta-panel { align-items: flex-start; flex-direction: column; }
  .event-fact { grid-template-columns: 100px 1fr; }
}
@media (max-width: 700px) {
  :root { --nav-height: 64px; }
  .nav-inner { flex-wrap: wrap; padding: 10px 0; }
  .site-nav { min-height: 64px; height: auto; }
  .brand-copy span { display: none; }
  .nav-links { width: 100%; order: 3; overflow-x: auto; padding-bottom: 1px; }
  .nav-link { min-width: max-content; }
  .hero { padding-top: 38px; }
  .hero-title { font-size: 58px; }
  .toggle-row { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

/* Security/UI update: Startseite hat nur noch zwei Streaming-Schritte. */
.quick-grid.quick-grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (max-width: 900px) {
  .quick-grid.quick-grid-two {
    grid-template-columns: 1fr;
  }
}

