/* lovlyflo.de – Military-Series-Look (Camo, Neon-Grün, Klammer-Ecken) */
:root {
  --bg: #0b1210;
  --bg-2: #0f1916;
  --panel: rgba(9, 16, 14, .82);
  --panel-solid: #0e1714;
  --line: rgba(141, 255, 90, .18);
  --ink: #eef3ec;
  --muted: #9fb0a6;
  --neon: #8dff5a;
  --neon-core: #d8ffbf;
  --neon-deep: #2fbf3a;
  --glow: 0 0 6px rgba(141, 255, 90, .65), 0 0 22px rgba(47, 191, 58, .45);
  --f-display: "Archivo", "Arial Black", system-ui, sans-serif;
  --f-head: "Oswald", "Arial Narrow", system-ui, sans-serif;
  --f-tech: "Electrolize", ui-monospace, Consolas, monospace;
  --wrap: min(100% - 2 * clamp(20px, 5vw, 80px), 1280px);
  --nav: 72px;
  --cut: 14px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.6 var(--f-head); letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: var(--wrap); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* --- typo helpers --- */
.spaced { font-family: var(--f-tech); text-transform: uppercase; letter-spacing: .55em; color: var(--neon); font-size: clamp(12px, 1.1vw, 16px); text-shadow: 0 0 8px rgba(141,255,90,.45); }
.label { font-family: var(--f-tech); text-transform: uppercase; letter-spacing: .14em; font-size: 12px; color: var(--muted); }
h1, h2, h3 { margin: 0; font-weight: 400; }
h2 { font-family: var(--f-display); font-weight: 900; font-stretch: 112%; text-transform: uppercase; font-size: clamp(34px, 4.6vw, 64px); line-height: 1; letter-spacing: -.01em; text-shadow: var(--glow); }
h3 { font-family: var(--f-head); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; font-size: 22px; line-height: 1.15; }
p { margin: 0; }
.lead { font-size: clamp(17px, 1.4vw, 20px); color: #cfd9d2; max-width: 60ch; }

/* --- skip link --- */
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--neon); color: #08110b; padding: 10px 16px; font-family: var(--f-tech); text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--neon); outline-offset: 3px; }

/* --- buttons: chamfered like the overlay plates --- */
.btn {
  --c: 10px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 26px; border: 0; cursor: pointer;
  font: 600 16px/1 var(--f-head); text-transform: uppercase; letter-spacing: .08em; text-decoration: none;
  clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c));
  transition: transform .12s ease, filter .15s ease, background-color .15s ease;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--neon { background: var(--neon); color: #07110a; box-shadow: var(--glow); }
.btn--ghost { background: rgba(141,255,90,.08); color: var(--ink); box-shadow: inset 0 0 0 1px rgba(141,255,90,.55); }
.btn--ghost:hover { background: rgba(141,255,90,.16); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; }

/* --- bracket corners (the template's [ ] panels) --- */
.brackets { position: relative; }
.brackets::before, .brackets::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  --b: 18px; --t: 2px;
  background:
    linear-gradient(var(--neon), var(--neon)) left top / var(--b) var(--t),
    linear-gradient(var(--neon), var(--neon)) left top / var(--t) var(--b),
    linear-gradient(var(--neon), var(--neon)) right bottom / var(--b) var(--t),
    linear-gradient(var(--neon), var(--neon)) right bottom / var(--t) var(--b);
  background-repeat: no-repeat;
  filter: drop-shadow(0 0 4px rgba(141,255,90,.7));
}
.brackets::after {
  background:
    linear-gradient(var(--neon), var(--neon)) right top / var(--b) var(--t),
    linear-gradient(var(--neon), var(--neon)) right top / var(--t) var(--b),
    linear-gradient(var(--neon), var(--neon)) left bottom / var(--b) var(--t),
    linear-gradient(var(--neon), var(--neon)) left bottom / var(--t) var(--b);
  background-repeat: no-repeat;
}

/* --- header --- */
.nav { position: fixed; inset: 0 0 auto; z-index: 20; height: var(--nav); background: rgba(8, 13, 11, .94); border-bottom: 1px solid var(--line); }
.nav__bar { height: 100%; display: flex; align-items: center; gap: 32px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.logo img { width: 40px; height: 40px; filter: drop-shadow(0 0 6px rgba(141,255,90,.5)); }
.logo span { font-family: var(--f-display); font-weight: 900; font-stretch: 112%; font-size: 20px; letter-spacing: .02em; text-transform: uppercase; }
.nav__links { display: flex; gap: 28px; margin-left: auto; }
.nav__links a { font-family: var(--f-head); font-weight: 500; text-transform: uppercase; letter-spacing: .1em; font-size: 15px; text-decoration: none; color: #cfd9d2; padding: 10px 0; position: relative; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; background: var(--neon); box-shadow: var(--glow); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after, .nav__links a[aria-current="true"]::after { transform: scaleX(1); }
.nav__toggle { display: none; margin-left: auto; width: 44px; height: 44px; background: rgba(141,255,90,.08); border: 1px solid rgba(141,255,90,.5); color: var(--ink); cursor: pointer; }
@media (max-width: 860px) {
  :root { --nav: 60px; }
  .nav__toggle { display: inline-grid; place-items: center; }
  .nav__links { position: fixed; inset: var(--nav) 0 auto; flex-direction: column; gap: 0; margin: 0; padding: 8px clamp(20px, 5vw, 80px) 24px; background: rgba(8,13,11,.98); border-bottom: 1px solid var(--line); display: none; }
  .nav.is-open .nav__links { display: flex; }
  .nav__links a { padding: 16px 0; font-size: 20px; border-bottom: 1px solid var(--line); }
  .nav__links a::after { display: none; }
  .nav .nav__cta { display: none; }
}

/* --- sections --- */
.section { position: relative; padding: clamp(80px, 10vw, 128px) 0; border-top: 1px solid var(--line); background: var(--bg); }
.section--alt { background: var(--bg-2); }
.section::before { /* faint tactical grid like the template */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(141,255,90,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(141,255,90,.04) 1px, transparent 1px);
  background-size: 48px 48px;
}
.section > .wrap { position: relative; }
.head { display: grid; gap: 16px; margin-bottom: clamp(40px, 5vw, 64px); }

/* --- hero --- */
.hero {
  position: relative; min-height: 100svh; display: grid; align-items: center;
  padding: calc(var(--nav) + 40px) 0 56px; overflow: hidden;
  background: #0b1210 url("brand/camo-1920.webp") center / cover no-repeat;
}
@media (max-width: 700px) { .hero { background-image: url("brand/camo-960.webp"); } }
.hero::after { /* hazard stripes edge, as on the banners */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; opacity: .55;
  background: repeating-linear-gradient(-45deg, rgba(255,255,255,.35) 0 14px, transparent 14px 28px);
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__brand { display: grid; justify-items: start; gap: 18px; }
.hero__logo { width: clamp(120px, 14vw, 200px); height: auto; filter: drop-shadow(0 0 18px rgba(141,255,90,.45)); }
.hero__logo { animation: enter .7s ease-out both; }
.hero h1 { display: grid; gap: 14px; }
.hero h1 .big { font-family: var(--f-display); font-weight: 900; font-stretch: 118%; text-transform: uppercase; font-size: clamp(44px, 6.4vw, 104px); line-height: .9; letter-spacing: -.01em; color: #fff; text-shadow: var(--glow); animation: enter .7s .08s ease-out both; }
.hero h1 .spaced { animation: enter .7s .16s ease-out both; }
.hero .lead { animation: enter .7s .24s ease-out both; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; animation: enter .7s .3s ease-out both; }
@keyframes enter { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero h1 .big { font-size: clamp(44px, 13vw, 120px); }
  .hero { min-height: auto; padding-top: calc(var(--nav) + 32px); }
}
@media (max-width: 520px) { .hero__actions .btn { width: 100%; } }

/* --- server status panel --- */
.status { background: var(--panel); border: 1px solid var(--line); padding: 28px clamp(20px, 3vw, 32px); backdrop-filter: blur(2px); animation: enter .7s .2s ease-out both; }
.status__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.status__title { font-weight: 400; font-stretch: normal; line-height: 1.4; text-shadow: none; font-family: var(--f-tech); text-transform: uppercase; letter-spacing: .3em; color: var(--neon); font-size: 13px; }
.pulse { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-tech); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.pulse::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--muted); }
.pulse[data-state="ok"] { color: var(--neon); }
.pulse[data-state="ok"]::before { background: var(--neon); box-shadow: 0 0 8px var(--neon); animation: blink 2.4s ease-in-out infinite; }
.pulse[data-state="err"] { color: #ff8a7a; }
.pulse[data-state="err"]::before { background: #ff6b5a; }
@keyframes blink { 50% { opacity: .35; } }
.rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.row { display: grid; grid-template-columns: 74px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 12px 14px; background: rgba(141,255,90,.05); border-left: 2px solid var(--neon); }
.row__k { font-family: var(--f-tech); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.row__v { font-family: var(--f-tech); font-size: clamp(16px, 1.6vw, 20px); color: #fff; overflow-wrap: anywhere; min-width: 0; }
.row__v.is-loading { color: var(--muted); }
.copy { min-width: 44px; min-height: 40px; padding: 0 12px; background: transparent; border: 1px solid rgba(141,255,90,.5); color: var(--ink); font: 500 13px/1 var(--f-head); text-transform: uppercase; letter-spacing: .08em; cursor: pointer; transition: background-color .15s ease, transform .12s ease; }
.copy:hover { background: rgba(141,255,90,.14); transform: translateY(-1px); }
.copy:active { transform: scale(.97); }
.copy[data-done] { background: var(--neon); color: #07110a; border-color: var(--neon); }
.copy:disabled { opacity: .4; cursor: not-allowed; transform: none; }
.status__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; }
.status__meta { font-family: var(--f-tech); font-size: 13px; color: var(--muted); }
@media (max-width: 520px) {
  .status__top { flex-direction: column; align-items: flex-start; gap: 8px; }
  .status__title { letter-spacing: .2em; }
}
@media (max-width: 420px) { .row { grid-template-columns: 1fr auto; } .row__k { grid-column: 1 / -1; } }

/* --- games --- */
.games { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } /* 6 Spiele: 3 + 3 */
@media (max-width: 1023px) { .games { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .games { grid-template-columns: 1fr; } }
.game {
  --c: var(--cut);
  position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start;
  padding: 24px; background: var(--panel-solid); min-height: 150px;
  clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c));
  box-shadow: inset 0 0 0 1px rgba(141,255,90,.22);
  transition: transform .18s ease, box-shadow .18s ease;
}
.game::after { content: ""; position: absolute; left: 24px; right: 24px; top: 0; height: 2px; background: var(--neon); box-shadow: var(--glow); transform: scaleX(.25); transform-origin: left; transition: transform .25s ease; }
.game:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px rgba(141,255,90,.6); }
.game:hover::after { transform: scaleX(1); }
.game__icon { width: 56px; height: 56px; display: grid; place-items: center; border: 2px solid var(--neon); box-shadow: var(--glow), inset 0 0 12px rgba(141,255,90,.25); font-family: var(--f-display); font-weight: 900; font-size: 22px; color: var(--neon-core); }
.game h3 { margin-bottom: 6px; }
.game p { color: var(--muted); font-size: 16px; line-height: 1.5; }
.game { grid-template-rows: 1fr; }
.game > div { display: flex; flex-direction: column; height: 100%; }
.game__meta { margin-top: auto; padding-top: 14px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2px 12px; font-family: var(--f-tech); font-size: 13px; color: var(--muted); }
.game__port { grid-column: 1; grid-row: 1; color: var(--neon-core); font-size: 15px; letter-spacing: .04em; }
.game__meta > span:not(.game__port) { grid-column: 1; }
.game__meta .copy { grid-column: 2; grid-row: 1 / span 2; }

/* --- connect steps --- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.step { padding: 32px 28px; background: var(--panel); min-height: 220px; }
.step__n { font-family: var(--f-display); font-weight: 900; font-stretch: 125%; font-size: 48px; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--neon); text-shadow: 0 0 14px rgba(141,255,90,.35); display: block; margin-bottom: 18px; }
.step p { color: #cfd9d2; margin-top: 8px; }
.step code { font-family: var(--f-tech); color: var(--neon-core); background: rgba(141,255,90,.1); padding: 1px 6px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } .step { min-height: 0; } }

/* --- discord panel (template: twitch-panel-discord) --- */
.discord-sec { background: #0a110f url("brand/camo-960.webp") center / cover no-repeat; }
.discord-sec::before { background-color: rgba(8, 13, 11, .72); opacity: 1; }
.discord {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(20px, 3vw, 40px);
  padding: clamp(28px, 4vw, 48px); background: var(--panel); text-decoration: none; color: inherit;
  transition: transform .18s ease, background-color .18s ease;
}
.discord:hover { transform: translateY(-2px); background: rgba(12, 22, 18, .92); }
.discord:hover .discord__btn { filter: brightness(1.08); }
.discord__icon { width: 96px; height: 96px; display: grid; place-items: center; border: 2px solid var(--neon); box-shadow: var(--glow), inset 0 0 18px rgba(141,255,90,.2); }
.discord__icon img { width: 56px; height: auto; }
.discord__text { display: grid; gap: 10px; }
.discord__line { color: #cfd9d2; font-size: 18px; max-width: 52ch; }
@media (max-width: 760px) {
  .discord { grid-template-columns: 1fr; justify-items: start; }
  .discord__icon { width: 72px; height: 72px; }
  .discord__icon img { width: 42px; }
  .discord__btn { width: 100%; }
}

/* --- tech --- */
.tech { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.facts li { display: grid; grid-template-columns: 160px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.facts li span:last-child { color: #fff; }
@media (max-width: 860px) { .tech { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .facts li { grid-template-columns: 1fr; gap: 4px; } }

/* --- footer --- */
.footer { position: relative; padding: 72px 0 40px; border-top: 1px solid var(--line); background: #070c0a url("brand/camo-960.webp") center / cover no-repeat; }
.footer::before { content: ""; position: absolute; inset: 0; background: rgba(7, 12, 10, .86); }
.footer > .wrap { position: relative; }
.footer__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 28px; list-style: none; margin: 0; padding: 0; }
.footer__links a { display: inline-block; padding: 10px 0; text-decoration: none; text-transform: uppercase; letter-spacing: .1em; font-size: 14px; color: #cfd9d2; }
.footer__links a:hover { color: var(--neon); }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; font-family: var(--f-tech); font-size: 13px; color: var(--muted); }

/* live region toast */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 30; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: var(--neon); color: #07110a; padding: 12px 20px; font: 600 15px/1 var(--f-head); text-transform: uppercase; letter-spacing: .08em; box-shadow: var(--glow); transition: opacity .2s ease, transform .2s ease; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
