/* CraftVale – Webseite. Farben aus dem Branding (Spigot/branding): Navy #0f1b3d, Blau #3b6cff, Hellblau #7fd4ff */

:root {
    color-scheme: dark;
    --bg: #070d24;
    --bg-2: #0a1230;
    --bg-3: #0f1b3d;
    --surface: rgba(140, 180, 255, .045);
    --surface-2: rgba(140, 180, 255, .08);
    --border: rgba(127, 212, 255, .12);
    --border-strong: rgba(127, 212, 255, .28);
    --text: #e8f4ff;
    --muted: #93a6cb;
    --blue: #3b6cff;
    --light: #7fd4ff;
    --green: #4ade80;
    --red: #f87171;
    --gold: #fcd34d;
    --silver: #cbd5e1;
    --bronze: #e0975a;
    --gradient: linear-gradient(120deg, var(--blue), var(--light));
    --radius: 18px;
    --radius-sm: 10px;
    --shadow: 0 20px 50px -20px rgba(0, 0, 0, .6);
    --header-h: 72px;
    --font: "Inter", "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
    --mono: "JetBrains Mono", "Cascadia Code", Consolas, "SFMono-Regular", Menlo, monospace;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--light); text-decoration: none; }
a:hover { color: #fff; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
h1 { font-size: clamp(2.3rem, 5.5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 750; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; overflow-wrap: break-word; }
code { font-family: var(--mono); }
:focus-visible { outline: 2px solid var(--light); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
    position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px;
    background: var(--blue); color: #fff; border-radius: var(--radius-sm); transition: top .2s;
}
.skip-link:focus { top: 12px; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.container-narrow { width: min(820px, 100% - 32px); }
.center { text-align: center; }
.center .btn { margin-top: 2rem; }
.muted { color: var(--muted); }

.icon { width: 24px; height: 24px; flex: none; }
.icon-sm { width: 18px; height: 18px; }

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}

.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 14px; margin-bottom: 1.2rem;
    border: 1px solid var(--border); border-radius: 999px;
    background: var(--surface);
    color: var(--light); font-size: .85rem; font-weight: 600; letter-spacing: .02em;
}

.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 640px; }

/* ------------------------------------------------------------------ Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 13px 22px; border-radius: 12px; border: 1px solid transparent;
    font: inherit; font-weight: 650; font-size: 1rem; cursor: pointer;
    transition: transform .15s, box-shadow .2s, background .2s, border-color .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary {
    background: var(--gradient); color: #06102e;
    box-shadow: 0 10px 30px -10px rgba(59, 108, 255, .8);
}
.btn-primary:hover { color: #06102e; box-shadow: 0 14px 36px -10px rgba(127, 212, 255, .8); }
.btn-ghost { background: var(--surface); border-color: var(--border-strong); color: var(--text); }
.btn-ghost:hover { background: var(--surface-2); border-color: var(--light); color: #fff; }
.btn-sm { padding: 8px 14px; font-size: .9rem; border-radius: 9px; }
.btn-lg { padding: 16px 26px; font-size: 1.08rem; font-family: var(--mono); }

.cmd {
    display: inline-block; padding: 2px 8px;
    font-family: var(--mono); font-size: .85em; color: var(--light);
    background: rgba(59, 108, 255, .12); border: 1px solid rgba(59, 108, 255, .25); border-radius: 6px;
    white-space: nowrap;
}

/* ------------------------------------------------------------------ Header */
.site-header {
    position: sticky; top: 0; z-index: 50; height: var(--header-h);
    background: rgba(7, 13, 36, .55);
    backdrop-filter: blur(16px) saturate(150%); -webkit-backdrop-filter: blur(16px) saturate(150%);
    border-bottom: 1px solid transparent;
    transition: border-color .3s, background .3s;
}
.site-header.is-scrolled { background: rgba(7, 13, 36, .85); border-bottom-color: var(--border); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 100%; }

.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; font-size: 1.25rem; letter-spacing: .02em; }
.brand:hover { color: var(--text); }
.brand img { border-radius: 9px; background: var(--bg-3); padding: 3px; }
.brand-name span { color: var(--light); }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav a {
    display: block; padding: 8px 14px; border-radius: 9px;
    color: var(--muted); font-weight: 550; font-size: .95rem; transition: color .2s, background .2s;
}
.main-nav a:hover { color: var(--text); background: var(--surface); }
.main-nav a[aria-current="page"] { color: var(--text); background: var(--surface-2); }

.nav-toggle {
    display: none; margin-left: auto; padding: 8px; border: 1px solid var(--border); border-radius: 10px;
    background: var(--surface); color: var(--text); cursor: pointer;
}
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* ------------------------------------------------------------------ Server-Adresse & Status */
.copy-ip {
    display: inline-flex; align-items: center; gap: 12px;
    padding: 12px 14px 12px 18px; border-radius: 14px; cursor: pointer;
    background: rgba(10, 18, 48, .7); border: 1px solid var(--border-strong); color: var(--text);
    font: inherit; text-align: left; transition: border-color .2s, box-shadow .2s, transform .15s;
}
.copy-ip:hover { border-color: var(--light); box-shadow: 0 0 0 4px rgba(127, 212, 255, .1); }
.copy-ip-label { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.copy-ip-text { font-family: var(--mono); font-weight: 700; font-size: 1.1rem; }
.copy-ip-action {
    display: inline-flex; align-items: center; gap: 6px; margin-left: 6px;
    padding: 8px 12px; border-radius: 10px; background: var(--gradient); color: #06102e; font-weight: 700; font-size: .85rem;
}
.copy-ip.is-copied .copy-ip-action { background: var(--green); }
.copy-ip > .copy-ip-label, .copy-ip > .copy-ip-text { grid-column: 1; }
.copy-ip:not(.copy-ip--small) { display: inline-grid; grid-template-columns: auto auto; grid-template-rows: auto auto; column-gap: 12px; row-gap: 0; }
.copy-ip:not(.copy-ip--small) .copy-ip-action { grid-column: 2; grid-row: 1 / span 2; }

.copy-ip--small { padding: 7px 12px; gap: 9px; border-radius: 10px; background: var(--surface); border-color: var(--border); }
.copy-ip--small .copy-ip-text { font-size: .85rem; font-weight: 600; }
.copy-ip--small .icon { color: var(--muted); }
.copy-ip--small.is-copied { border-color: var(--green); }

.status-dot {
    position: relative; width: 10px; height: 10px; border-radius: 50%; flex: none;
    background: var(--muted);
}
[data-online="1"] .status-dot, .status-dot.is-online { background: var(--green); }
[data-online="0"] .status-dot, .status-dot.is-offline { background: var(--red); }
[data-online="1"] .status-dot::after, .status-dot.is-online::after {
    content: ""; position: absolute; inset: -4px; border-radius: 50%;
    border: 2px solid var(--green); opacity: 0; animation: ping 2s ease-out infinite;
}
@keyframes ping { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(1.8); opacity: 0; } }

.status-card {
    display: inline-flex; align-items: center; gap: 12px;
    padding: 12px 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border);
    line-height: 1.3;
}
.status-card .status-dot { width: 12px; height: 12px; }
.status-card strong { display: block; }
.status-sub { color: var(--muted); font-size: .9rem; }

/* ------------------------------------------------------------------ Hero */
.hero { position: relative; padding: clamp(40px, 8vw, 90px) 0 clamp(50px, 8vw, 100px); overflow: hidden; }
.hero-bg {
    position: absolute; inset: -20% 0 0; z-index: -1; pointer-events: none;
    background:
        radial-gradient(600px 400px at 80% 30%, rgba(59, 108, 255, .28), transparent 70%),
        radial-gradient(500px 350px at 10% 10%, rgba(127, 212, 255, .14), transparent 70%),
        radial-gradient(800px 300px at 50% 110%, rgba(59, 108, 255, .18), transparent 70%);
}
.hero-bg::after {
    content: ""; position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(127, 212, 255, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(127, 212, 255, .05) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.hero h1 { margin-bottom: .4em; font-size: clamp(2.3rem, 4.6vw, 3.6rem); }
.join-box { display: flex; flex-wrap: wrap; gap: 14px; margin: 2rem 0 1.5rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.online-faces { display: flex; align-items: center; margin-top: 1.8rem; }
.online-faces .face {
    margin-right: -8px; border-radius: 8px; border: 2px solid var(--bg); overflow: hidden;
    transition: transform .2s;
}
.online-faces .face:hover { transform: translateY(-4px); z-index: 1; }
.online-faces img { width: 32px; height: 32px; image-rendering: pixelated; }
.online-faces-label { margin-left: 20px; color: var(--muted); font-size: .9rem; }

.hero-art { position: relative; }
.island-wrap { animation: float 7s ease-in-out infinite; filter: drop-shadow(0 30px 40px rgba(59, 108, 255, .25)); }
.island { width: 100%; height: auto; }
.island-shadow {
    width: 60%; height: 30px; margin: -10px auto 0; border-radius: 50%;
    background: radial-gradient(ellipse, rgba(59, 108, 255, .35), transparent 70%);
    animation: shadow 7s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
@keyframes shadow { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.85); opacity: .6; } }

/* ------------------------------------------------------------------ Zahlenleiste */
.stats-strip { border-block: 1px solid var(--border); background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.stats-strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-tile {
    display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center;
    padding: 28px 24px;
}
.stat-tile + .stat-tile { border-left: 1px solid var(--border); }
.stat-tile .icon { grid-row: span 2; width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: rgba(59, 108, 255, .15); color: var(--light); }
.stat-tile strong { font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat-tile span { color: var(--muted); font-size: .9rem; }

/* ------------------------------------------------------------------ Abschnitte */
.section { padding: clamp(60px, 9vw, 110px) 0; }
.section-tight { padding: clamp(30px, 5vw, 60px) 0 clamp(60px, 8vw, 100px); }
.section-alt { background: linear-gradient(180deg, transparent, rgba(15, 27, 61, .55) 20%, rgba(15, 27, 61, .55) 80%, transparent); }
.section-head { text-align: center; max-width: 700px; margin: 0 auto 3rem; }
.section-head p { color: var(--muted); font-size: 1.08rem; }

.card {
    position: relative;
    background: linear-gradient(180deg, var(--surface-2), var(--surface));
    border: 1px solid var(--border); border-radius: var(--radius);
    padding: 26px;
}

/* Schritte */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { padding-top: 30px; }
.step::after {
    content: ""; position: absolute; top: 52px; right: -21px; width: 22px; height: 2px;
    background: linear-gradient(90deg, var(--border-strong), transparent);
}
.step:last-child::after { display: none; }
.step-number {
    display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 18px;
    border-radius: 13px; background: var(--gradient); color: #06102e; font-weight: 800; font-size: 1.2rem;
    box-shadow: 0 8px 24px -8px rgba(59, 108, 255, .9);
}
.step p { color: var(--muted); margin: 0; font-size: .95rem; }

/* Features */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature { display: flex; flex-direction: column; overflow: hidden; transition: transform .25s, border-color .25s, box-shadow .25s; }
.feature::before {
    content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
    background: radial-gradient(300px 160px at var(--mx, 50%) var(--my, 0%), rgba(127, 212, 255, .12), transparent 70%);
}
.feature:hover { transform: translateY(-4px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.feature:hover::before { opacity: 1; }
.feature p { color: var(--muted); font-size: .95rem; flex: 1; }
.feature .cmd { align-self: flex-start; }
.feature-icon {
    display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 18px; flex: none;
    border-radius: 14px; color: var(--light);
    background: linear-gradient(135deg, rgba(59, 108, 255, .3), rgba(127, 212, 255, .1));
    border: 1px solid rgba(127, 212, 255, .2);
}

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--border); border-radius: 14px; background: var(--surface); transition: border-color .2s, background .2s; }
.faq-item[open] { border-color: var(--border-strong); background: var(--surface-2); }
.faq-item summary {
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
    padding: 18px 22px; cursor: pointer; font-weight: 650; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: ""; width: 10px; height: 10px; flex: none; margin-right: 4px;
    border-right: 2px solid var(--light); border-bottom: 2px solid var(--light);
    transform: rotate(45deg); transition: transform .25s;
}
.faq-item[open] summary::after { transform: rotate(-135deg); }
.faq-item p { padding: 0 22px 20px; margin: 0; color: var(--muted); }

/* Call to action */
.cta {
    display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
    padding: clamp(28px, 5vw, 50px); overflow: hidden;
    background:
        radial-gradient(400px 200px at 100% 0%, rgba(127, 212, 255, .2), transparent 70%),
        linear-gradient(135deg, rgba(59, 108, 255, .25), rgba(15, 27, 61, .6));
    border-color: var(--border-strong);
}
.cta h2 { margin-bottom: .3em; }
.cta p { color: var(--muted); margin: 0; max-width: 560px; }

/* ------------------------------------------------------------------ Unterseiten */
.page-hero {
    position: relative; padding: clamp(50px, 8vw, 90px) 0 clamp(30px, 5vw, 50px);
    background:
        radial-gradient(600px 300px at 15% 0%, rgba(59, 108, 255, .22), transparent 70%),
        radial-gradient(500px 260px at 90% 20%, rgba(127, 212, 255, .1), transparent 70%);
}
.page-hero .lead { margin-bottom: 0; }
.page-hero.center .lead, .center .lead { margin-inline: auto; }

/* Regeln */
.rules { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 14px; }
.rule { display: flex; gap: 20px; align-items: flex-start; padding: 22px 24px; }
.rule-number {
    font-family: var(--mono); font-weight: 800; font-size: 1.3rem; line-height: 1.3;
    background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.rule h2 { font-size: 1.1rem; margin-bottom: .3em; }
.rule p { margin: 0; color: var(--muted); }
.note { display: flex; gap: 18px; align-items: flex-start; border-color: rgba(252, 211, 77, .3); background: linear-gradient(135deg, rgba(252, 211, 77, .08), var(--surface)); }
.note > .icon { color: var(--gold); margin-top: 3px; }
.note h2 { font-size: 1.1rem; margin-bottom: .3em; }
.note p { margin: 0; color: var(--muted); }

/* Rechtliches */
.prose { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
.prose h2 { font-size: 1.25rem; margin-top: 1.8em; }
.prose h2:first-child, .prose .placeholder-note + h2 { margin-top: 0; }
.prose h3 { font-size: 1.02rem; margin-top: 1.4em; }
.prose p, .prose li { color: #c3d2ee; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .5em; }
.placeholder-note {
    margin-bottom: 2rem; padding: 14px 18px; border-radius: 12px;
    background: rgba(252, 211, 77, .1); border: 1px solid rgba(252, 211, 77, .3); color: #fde68a; font-size: .93rem;
}

/* Feature-Karten: Befehl + Link */
.feature-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.feature-link { display: inline-flex; align-items: center; gap: 4px; font-size: .88rem; font-weight: 600; }
.feature-icon--sm { width: 42px; height: 42px; margin: 0; border-radius: 12px; }
.feature-icon--sm .icon { width: 20px; height: 20px; }
.icon-xs { width: 14px; height: 14px; }

.page-hero-actions { margin-top: 1.6rem; }
.split-head { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: start; margin-bottom: 2rem; }
.split-head h2 { margin-bottom: .4em; }
.split-head p { margin: 0; }
.facts { list-style: none; margin: 0; padding: 18px 20px; display: grid; gap: 10px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); font-size: .93rem; }
.facts li { display: flex; gap: 10px; align-items: flex-start; }
.facts .icon { color: var(--light); margin-top: 3px; }
.list-title { font-size: 1.2rem; margin: 2.4rem 0 1.2rem; }

/* Items (Belohnungen) */
.items { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.item { display: flex; align-items: flex-start; gap: 9px; font-size: .92rem; line-height: 1.35; }
.item-text { min-width: 0; overflow-wrap: anywhere; hyphens: auto; -webkit-hyphens: auto; }
.item > .item-swatch, .item > .icon { margin-top: 2px; }
.streak .item { font-size: .86rem; }
.item-amount { font-weight: 750; font-variant-numeric: tabular-nums; color: var(--text); }
.item-swatch {
    width: 16px; height: 16px; flex: none; border-radius: 3px;
    box-shadow: inset -3px -3px 0 rgba(0, 0, 0, .28), inset 3px 3px 0 rgba(255, 255, 255, .25);
}
.item-claim { color: var(--light); }
.item-claim .icon { width: 16px; height: 16px; }
.item-diamond { background: #4ee6e0; }
.item-emerald { background: #3fd26b; }
.item-gold { background: #f5c842; }
.item-netherite { background: #4a4247; }
.item-redstone { background: #e5463d; }
.item-lapis { background: #3d6be0; }
.item-copper { background: #e0874d; }
.item-purple { background: #a46ae0; }
.item-wood { background: #a87a4d; }
.item-white { background: #eef2f7; }
.item-iron { background: #c9d1db; }

/* Tägliche Serie */
.streak { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.streak-day { padding: 20px 18px; display: flex; flex-direction: column; gap: 14px; }
.streak-label { font-weight: 800; font-size: 1.05rem; }
.streak-day--best { border-color: rgba(252, 211, 77, .45); background: linear-gradient(180deg, rgba(252, 211, 77, .12), var(--surface)); }
.streak-day--best .streak-label { color: var(--gold); }
.streak-badge {
    position: absolute; top: -10px; right: 14px; display: inline-flex; align-items: center; gap: 4px;
    padding: 2px 10px; border-radius: 999px; background: var(--gold); color: #3a2a00; font-size: .75rem; font-weight: 800;
}

/* Wochenaufgaben */
.bonus {
    display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center;
    border-color: rgba(252, 211, 77, .35); background: linear-gradient(135deg, rgba(252, 211, 77, .1), var(--surface));
}
.bonus .feature-icon { margin: 0; color: var(--gold); }
.bonus h3 { margin-bottom: .2em; }
.bonus p { margin: 0; }
.quest-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.quest { display: flex; flex-direction: column; gap: 12px; padding: 22px; }
.quest-head { display: flex; gap: 14px; align-items: center; }
.quest h4 { margin: 0; font-size: 1.05rem; }
.quest p { margin: 0; color: var(--muted); font-size: .93rem; flex: 1; }
.quest-type { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--light); font-weight: 700; }

/* Erste Schritte */
.guide { list-style: none; margin: 0 0 3rem; padding: 0; position: relative; }
.guide::before {
    content: ""; position: absolute; left: 23px; top: 10px; bottom: 10px; width: 2px;
    background: linear-gradient(180deg, var(--blue), var(--light), transparent);
}
.guide-step { display: grid; grid-template-columns: 48px 1fr; gap: 22px; }
.guide-step + .guide-step { margin-top: 22px; }
.guide-marker { position: relative; z-index: 1; }
.guide-number {
    display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px;
    background: var(--gradient); color: #06102e; font-weight: 800; font-size: 1.15rem;
    box-shadow: 0 0 0 6px var(--bg), 0 10px 24px -8px rgba(59, 108, 255, .9);
}
.guide-body { display: grid; grid-template-columns: 1.3fr 1fr; gap: 26px; align-items: center; }
.guide-text h2 { display: flex; align-items: center; gap: 10px; font-size: 1.3rem; }
.guide-text h2 .icon { color: var(--light); }
.guide-text p { color: #c3d2ee; }
.guide-text .guide-tip { display: flex; gap: 8px; align-items: flex-start; margin: 0; font-size: .9rem; color: var(--muted); }
.guide-tip .icon { color: var(--gold); margin-top: 4px; }

.chatbox {
    display: grid; gap: 6px; padding: 14px; border-radius: 12px;
    background: rgba(0, 0, 0, .45); border: 1px solid rgba(255, 255, 255, .06);
    font-family: var(--mono);
}
.chatline {
    display: grid; gap: 2px; padding: 8px 10px; border: 0; border-radius: 6px; cursor: pointer;
    background: transparent; color: inherit; font: inherit; text-align: left; transition: background .2s;
}
.chatline:hover { background: rgba(255, 255, 255, .06); }
.chatline code { color: #fff; font-size: .9rem; }
.chatline code::before { content: "> "; color: var(--light); }
.chatline span { color: #9aa5b8; font-size: .78rem; font-family: var(--font); }
.chatline.is-copied code::after { content: "  ✓ kopiert"; color: var(--green); font-family: var(--font); font-size: .78rem; }

/* Spawn & Warps */
.spawn-card {
    display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center;
    padding: clamp(22px, 4vw, 34px);
    background: radial-gradient(400px 200px at 0% 0%, rgba(127, 212, 255, .16), transparent 70%), linear-gradient(135deg, rgba(59, 108, 255, .2), var(--surface));
    border-color: var(--border-strong);
}
.spawn-card h2 { margin: .1em 0 .3em; }
.spawn-card p { margin: 0; max-width: 620px; }
.spawn-art { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 20px; background: var(--gradient); color: #06102e; }
.spawn-art .icon { width: 36px; height: 36px; }
.warp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.warp {
    display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; align-items: start;
    width: 100%; padding: 20px; font: inherit; color: var(--text); text-align: left; cursor: pointer;
    transition: transform .25s, border-color .25s;
}
.warp:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.warp.is-copied { border-color: var(--green); }
.warp-icon {
    grid-row: span 2; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; color: rgba(0, 0, 0, .55);
    box-shadow: inset -4px -4px 0 rgba(0, 0, 0, .25), inset 4px 4px 0 rgba(255, 255, 255, .22);
}
.warp-info { display: grid; gap: 2px; }
.warp-info strong { font-size: 1.08rem; }
.warp-world { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--light); font-weight: 700; }
.warp-desc { color: var(--muted); font-size: .9rem; margin-top: 4px; }
.warp .cmd { justify-self: start; margin-top: 6px; }

/* ------------------------------------------------------------------ Footer */
.site-footer { margin-top: 40px; border-top: 1px solid var(--border); background: var(--bg-2); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; padding: 56px 0 40px; }
.footer-brand img { width: 200px; height: auto; margin-bottom: 1rem; }
.footer-brand p { color: var(--muted); max-width: 320px; font-size: .95rem; }
.footer-title { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer ul a { color: var(--text); opacity: .85; }
.site-footer ul a:hover { opacity: 1; color: var(--light); }
.footer-bottom {
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px;
    padding: 20px 0 28px; border-top: 1px solid var(--border); color: var(--muted); font-size: .82rem;
}

/* ------------------------------------------------------------------ Toast */
.toast {
    position: fixed; left: 50%; bottom: 28px; z-index: 200;
    padding: 12px 20px; border-radius: 12px; background: #0f1b3d; border: 1px solid var(--green);
    color: var(--text); font-weight: 600; box-shadow: var(--shadow);
    transform: translate(-50%, 30px); opacity: 0; pointer-events: none; transition: transform .3s, opacity .3s;
}
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; }

/* ------------------------------------------------------------------ Einblenden beim Scrollen */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .js .reveal { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------------ Responsive */
@media (max-width: 1080px) {
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .step::after { display: none; }
    .copy-ip--small { display: none; }
}

@media (max-width: 900px) {
    .nav-toggle { display: block; }
    .split-head, .guide-body { grid-template-columns: 1fr; }
    .bonus { grid-template-columns: auto 1fr; }
    .bonus .items { grid-column: 1 / -1; }
    .main-nav {
        position: fixed; inset: var(--header-h) 0 auto; margin: 0;
        padding: 12px 16px 20px; background: rgba(7, 13, 36, .97); border-bottom: 1px solid var(--border);
        transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
    }
    .main-nav.is-open { transform: none; opacity: 1; visibility: visible; }
    .main-nav ul { flex-direction: column; }
    .main-nav a { padding: 12px 14px; font-size: 1.05rem; }

    .hero-grid { grid-template-columns: 1fr; gap: 20px; }
    .hero-art { order: -1; max-width: 420px; margin: 0 auto; width: 100%; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .stats-strip-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-tile:nth-child(3) { border-left: 0; }
    .stat-tile:nth-child(n+3) { border-top: 1px solid var(--border); }
}

@media (max-width: 600px) {
    .feature-grid, .steps { grid-template-columns: 1fr; }
    .join-box { flex-direction: column; }
    .copy-ip:not(.copy-ip--small) { width: 100%; }
    .copy-ip-action span { display: none; }
    .status-card { width: 100%; }
    .hero-actions .btn { flex: 1; }
    .stat-tile { padding: 20px 14px; column-gap: 10px; }
    .stat-tile .icon { width: 34px; height: 34px; padding: 7px; }
    .rule { gap: 14px; padding: 18px; }
    .guide::before { left: 17px; }
    .guide-step { grid-template-columns: 36px 1fr; gap: 12px; }
    .guide-number { width: 36px; height: 36px; border-radius: 11px; font-size: 1rem; }
    .guide-body { padding: 20px; }
    .spawn-card { grid-template-columns: 1fr; }
    .streak { grid-template-columns: 1fr 1fr; }
    .cta .btn { width: 100%; }
    .footer-bottom { flex-direction: column; }
}
