:root {
    --vp: #b44dff;
    --vp-2: #7c3aed;
    --pink: #ff3cac;
    --bg: #0d0716;
    --card: rgba(255, 255, 255, 0.04);
    --card-2: rgba(255, 255, 255, 0.07);
    --line: rgba(190, 120, 255, 0.16);
    --line-2: rgba(190, 120, 255, 0.28);
    --text: #f4ecff;
    --muted: #a594bf;
    --grad: linear-gradient(135deg, #ff3cac 0%, #b44dff 50%, #7c3aed 100%);
    --glow: 0 0 1.6rem rgba(180, 77, 255, 0.45);
    --r: 1.1rem;
    --sans: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    --wrap: 1180px;
    color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    min-height: 100vh;
    background: var(--bg);
    color: var(--text);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.6;
}
.aurora {
    position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none;
    background:
        radial-gradient(ellipse at 50% -10%, rgba(40, 0, 70, 0.55), transparent 55%),
        radial-gradient(ellipse at center, rgba(40, 0, 70, 0.28), rgba(0, 0, 0, 0.55)),
        var(--bg);
}
.aurora span {
    position: absolute; width: 42vmax; height: 42vmax; border-radius: 50%;
    background: radial-gradient(circle, rgba(180, 77, 255, 0.22), transparent 65%);
    animation: drift 22s ease-in-out infinite alternate;
}
.aurora span:nth-child(1) { left: -10%; top: -20%; }
.aurora span:nth-child(2) {
    left: 60%; top: 5%;
    background: radial-gradient(circle, rgba(255, 60, 172, 0.16), transparent 65%);
    animation-duration: 28s;
}
.aurora span:nth-child(3) {
    left: 18%; top: 55%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.18), transparent 65%);
    animation-duration: 34s;
}
@keyframes drift {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(6vw, 4vh, 0); }
}
.nav, main, .footer { position: relative; z-index: 1; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 {
    font-family: var(--sans); font-weight: 800; letter-spacing: -0.03em; line-height: 1.08; margin: 0;
}
.skip {
    position: absolute; left: 12px; top: -48px; z-index: 40;
    background: var(--grad); color: #fff; padding: 8px 12px; border-radius: 999px;
}
.skip:focus { top: 12px; }
.wrap { width: min(var(--wrap), calc(100% - 40px)); margin-inline: auto; }

/* ---------- NAV (wie FFA top) ---------- */
.nav {
    position: sticky; top: 0; z-index: 20;
    display: flex; align-items: center; gap: 1.2rem;
    min-height: 78px; padding: 0.85rem 1.4rem;
    background: rgba(13, 7, 22, 0.88);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
}
.brand { display: flex; align-items: center; gap: 0.65rem; text-decoration: none; flex-shrink: 0; }
.brand-logo {
    width: 40px; height: 40px; border-radius: 10px;
    object-fit: cover; flex-shrink: 0;
    box-shadow: 0 0 0 1px rgba(180, 77, 255, 0.25), 0 0 18px rgba(180, 77, 255, 0.2);
}
/* Server-Logo: VICE (lila) + CITY (weiß, fett) */
.logo-mark {
    display: inline-flex; align-items: baseline; gap: 0.28em;
    line-height: 1; user-select: none; white-space: nowrap;
}
.logo-mark .vice {
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #b44dff;
    text-shadow: 0 0 0.55rem rgba(180, 77, 255, 0.75), 0 0 1.2rem rgba(180, 77, 255, 0.35);
}
.logo-mark .city {
    font-weight: 900;
    letter-spacing: -0.04em;
    color: #ffffff;
    text-shadow: 0 0 0.45rem rgba(255, 255, 255, 0.35);
}
.logo-mark { font-size: 1.35rem; }
.logo-mark.logo-card { font-size: 1.9rem; }
.logo-mark.logo-hero {
    font-size: clamp(2.8rem, 8vw, 5.6rem);
    gap: 0.22em;
}
.logo-mark.logo-hero .vice {
    font-weight: 650;
    text-shadow: 0 0 0.8rem rgba(180, 77, 255, 0.85), 0 0 2rem rgba(180, 77, 255, 0.4);
}
.logo-mark.logo-hero .city {
    text-shadow: 0 0 0.7rem rgba(255, 255, 255, 0.4);
}
.hero-logo, .card-logo { display: flex; margin: 0; }
.hero-logo { justify-content: center; }
.card-brand { display: flex; align-items: center; gap: 0.9rem; }
.card-brand-text { min-width: 0; }
.card-logo { justify-content: flex-start; }
.pills {
    display: flex; gap: 0.35rem; padding: 0.35rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line);
    border-radius: 999px;
    margin-left: auto;
}
.pill {
    display: inline-flex; align-items: center; gap: 0.45rem;
    padding: 0.6rem 1.05rem; border-radius: 999px;
    text-decoration: none; color: var(--muted);
    font-size: 0.92rem; font-weight: 600; white-space: nowrap;
    transition: all 0.2s ease;
}
.pill:hover { color: var(--text); background: rgba(180, 77, 255, 0.1); }
.pill.is-active, .nav-links a.is-active {
    background: var(--grad); color: #fff; box-shadow: var(--glow);
}
.btn-play { margin-left: 0.35rem; flex-shrink: 0; }
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
    height: 2.9rem; padding: 0 1.2rem;
    border-radius: 999px; border: 0; text-decoration: none;
    font-weight: 700; font-size: 0.95rem; letter-spacing: 0.02em;
    transition: all 0.2s;
}
.btn-play, .btn-solid {
    background: var(--grad); color: #fff; box-shadow: var(--glow);
}
.btn-play:hover, .btn-solid:hover { filter: brightness(1.12); transform: translateY(-1px); }
.btn-ghost {
    background: rgba(255, 255, 255, 0.04); color: var(--text);
    border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--vp); background: rgba(180, 77, 255, 0.1); }
.btn-dark {
    background: var(--card-2); color: var(--text); border: 1px solid var(--line);
}
.icon-btn {
    display: none; width: 2.6rem; height: 2.6rem; border-radius: 999px;
    place-items: center; background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--line); color: var(--muted); padding: 0; margin-left: 0.2rem;
}
.icon-btn:hover { color: #fff; background: rgba(255, 60, 172, 0.25); border-color: rgba(255, 60, 172, 0.5); }
.icon-btn svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sheet {
    display: grid; gap: 0.35rem; padding: 0.75rem 1rem 1rem;
    background: rgba(13, 7, 22, 0.96); border-bottom: 1px solid var(--line);
}
.sheet[hidden] { display: none; }
.sheet a {
    text-decoration: none; color: var(--muted); font-weight: 600;
    padding: 0.7rem 1rem; border-radius: 999px;
}
.sheet a.is-active { background: var(--grad); color: #fff; box-shadow: var(--glow); }

/* ---------- HERO PANEL ---------- */
.hero {
    position: relative;
    min-height: clamp(640px, 88vh, 920px);
    display: grid; place-items: center;
    padding: 4.5rem 1.25rem 5.5rem;
}
.hero-panel {
    position: relative;
    width: min(920px, 100%);
    text-align: center;
    padding: 3.2rem 2rem 2.6rem;
    background: rgba(13, 7, 22, 0.94);
    border: 1px solid var(--line);
    border-radius: 1.8rem;
    box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    overflow: hidden;
    animation: pop 0.35s ease;
}
.hero-panel::before {
    content: ""; position: absolute; top: -12rem; right: -10rem;
    width: 28rem; height: 28rem;
    background: radial-gradient(circle, rgba(180, 77, 255, 0.22), transparent 65%);
    pointer-events: none;
}
.hero-panel::after {
    content: ""; position: absolute; bottom: -14rem; left: -10rem;
    width: 28rem; height: 28rem;
    background: radial-gradient(circle, rgba(255, 60, 172, 0.14), transparent 65%);
    pointer-events: none;
}
@keyframes pop {
    from { opacity: 0; transform: translateY(0.8rem) scale(0.985); }
    to { opacity: 1; transform: none; }
}
.hero-kicker {
    position: relative; z-index: 1;
    font-weight: 800; font-size: 0.78rem;
    letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted);
}
.hero h1.hero-logo {
    position: relative; z-index: 1;
    margin-top: 0.55rem;
}
.hero .lede {
    position: relative; z-index: 1;
    max-width: 36rem; margin: 1.1rem auto 0;
    color: var(--muted); font-size: 1.05rem;
}
.hero-actions {
    position: relative; z-index: 1;
    display: flex; flex-wrap: wrap; gap: 0.7rem; justify-content: center; margin-top: 1.6rem;
}

/* ---------- BANDS / CARDS ---------- */
.band { position: relative; padding: 4.5rem 0; }
.band-follow { padding-top: 0.5rem; }
.band-paper { background: transparent; color: var(--text); }
.band-vivid {
    position: relative;
    background: rgba(13, 7, 22, 0.72);
    border-block: 1px solid var(--line);
    color: var(--text);
    overflow: hidden;
}
.band-vivid::before {
    content: ""; position: absolute; inset: 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(255, 60, 172, 0.18), transparent 40%),
        radial-gradient(circle at 85% 70%, rgba(180, 77, 255, 0.2), transparent 42%);
    pointer-events: none;
}
.band-vivid > .wrap { position: relative; z-index: 1; }
.eyebrow {
    font-size: 0.78rem; font-weight: 800; letter-spacing: 0.16em;
    text-transform: uppercase; color: var(--vp); margin-bottom: 0.65rem;
}
.band-vivid .eyebrow { color: var(--pink); }
.band h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); max-width: 16ch; }
.band .intro { max-width: 40rem; margin-top: 0.85rem; color: var(--muted); font-size: 1.02rem; }

.split { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 2.4rem; align-items: center; }
.status-card, .trait-list article, .side, .usp-grid article, .join li, .post, .rule, .block, .toc, .partner, .facts div, .rule-lines a {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--r);
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.status-card {
    position: relative; overflow: hidden; padding: 1.6rem;
    box-shadow: 0 1.4rem 3rem rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.status-card::before {
    content: ""; position: absolute; top: -8rem; right: -7rem; width: 16rem; height: 16rem;
    background: radial-gradient(circle, rgba(180, 77, 255, 0.22), transparent 65%);
    pointer-events: none;
}
.status-card img { width: 3.6rem; height: 3.6rem; border-radius: 1rem; box-shadow: var(--glow); flex-shrink: 0; }
.status-card .card-brand h2 { margin-top: 0; font-size: 1.85rem; }
.status-card .role { margin-top: 0.25rem; color: var(--muted); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.65rem; margin-top: 1.3rem; }
.facts div { padding: 0.75rem 0.85rem; }
.facts dt { color: var(--muted); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.facts dd { margin: 0.2rem 0 0; font-size: 1.45rem; font-weight: 800; }
.facts dd.players-live { font-size: 1.2rem; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.facts dd.players-live.is-offline { color: var(--muted); }

.rule-lines { list-style: none; margin: 1.4rem 0 0; display: grid; gap: 0.65rem; }
.rule-lines a {
    display: block; text-decoration: none; padding: 0.9rem 1rem; font-weight: 600;
}
.rule-lines a:hover, .post:hover, .partner:hover, .join li:hover, .usp-grid article:hover, .side:hover, .trait-list article:hover {
    transform: translateY(-0.15rem);
    border-color: rgba(180, 77, 255, 0.6);
    box-shadow: 0 0.8rem 2rem rgba(124, 58, 237, 0.25);
}
.more {
    display: inline-flex; margin-top: 1.1rem; font-weight: 700; text-decoration: none; color: var(--vp);
}
.band-vivid .more { color: #fff; }

.join {
    list-style: none; margin: 1.8rem 0 0;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.9rem;
}
.join li {
    display: flex; flex-direction: column; gap: 0.65rem; padding: 1.1rem;
    overflow: hidden;
}
.join-head { display: flex; align-items: center; justify-content: space-between; }
.join-index {
    font-size: 1.8rem; font-weight: 800;
    background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.join-mark {
    width: 3.4rem; height: 3.4rem; border-radius: 0.9rem;
    background: rgba(255, 255, 255, 0.92);
    display: grid; place-items: center;
    box-shadow: 0 0 0 1px var(--line-2), var(--glow);
}
.join-mark img { width: 2.2rem; height: 2.2rem; object-fit: contain; }
.join-mark img[src$="saltychat.png"] { filter: brightness(0); }
.join h3 { font-size: 1.2rem; }
.join p { color: var(--muted); font-size: 0.9rem; }
.join-links { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: auto; padding-top: 0.4rem; }
.step-btn {
    display: inline-flex; align-items: center; gap: 0.4rem;
    text-decoration: none; color: var(--text);
    border-bottom: 1px solid rgba(255, 60, 172, 0.7);
    font-size: 0.82rem; font-weight: 650; padding-bottom: 1px;
}
.step-btn img { width: 1rem; height: 1rem; object-fit: contain; background: #fff; border-radius: 0.25rem; }
.step-btn img[src$="saltychat.png"] { filter: brightness(0); }
.step-btn:hover { color: var(--pink); }

.usp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; margin-top: 1.5rem; }
.usp-grid article { padding: 1.1rem; }
.usp-grid h3 { font-size: 1.25rem; margin-bottom: 0.45rem; }
.usp-grid p { color: var(--muted); }
.traits { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 1.6rem; align-items: end; }
.trait-list { display: grid; gap: 0.7rem; }
.trait-list article, .side { padding: 1.1rem; }
.trait-list h3, .side h3 { font-size: 1.25rem; margin-bottom: 0.4rem; }
.trait-list p, .side p, .side li { color: var(--muted); }
.sides { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; margin-top: 1.8rem; }
.side ul { margin: 0.7rem 0 0; padding-left: 1.1em; }
.community { text-align: center; }
.community h2, .community .intro { margin-inline: auto; }
.community .hero-actions { margin-top: 1.3rem; }

.page { min-height: 70vh; padding: 4rem 0 5rem; }
.page h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
.page .lede { max-width: 40rem; margin-top: 0.85rem; color: var(--muted); font-size: 1.05rem; }
.prose { display: grid; gap: 0.75rem; margin-top: 1.5rem; max-width: 46rem; }
.back { display: inline-flex; margin-bottom: 1rem; color: var(--vp); font-weight: 700; text-decoration: none; }
.chapter-grid { display: grid; gap: 1.5rem; margin-top: 2rem; }
.chapter-grid h2 { font-size: 1.55rem; margin-bottom: 0.7rem; }
.post-list { display: grid; gap: 0.55rem; }
.post { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; padding: 0.9rem 1rem; }
.post-title { font-weight: 700; }
.post-min { margin-left: auto; color: var(--muted); font-size: 0.82rem; font-weight: 650; }
.rule-btn {
    width: 100%; display: flex; align-items: center; gap: 0.75rem;
    text-align: left; background: transparent; border: 0; border-radius: var(--r);
    padding: 0.9rem 1rem; color: inherit;
}
.rule-btn::after {
    content: ""; flex: none; width: 0.45rem; height: 0.45rem;
    border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
}
.rule.is-open .rule-btn::after { transform: translateY(2px) rotate(225deg); }
.rule-btn:hover .post-title { color: var(--pink); }
.rule-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.28s ease; }
.rule.is-open .rule-panel { grid-template-rows: 1fr; }
.rule-inner { overflow: hidden; min-height: 0; }
.rule-body { padding: 0 1rem 1rem; }
.rule-body section + section { margin-top: 0.85rem; }
.rule-body h3 { font-size: 1rem; margin-bottom: 0.35rem; }
.rule-body p, .rule-body li { color: var(--muted); font-size: 0.95rem; }
.rule-body li { margin: 0.25rem 0 0.25rem 1.1em; }

.article-meta { display: flex; flex-wrap: wrap; gap: 1.3rem; margin-top: 1.3rem; }
.article-meta span { display: block; color: var(--muted); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.article-meta strong { font-size: 1rem; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 230px; gap: 1.2rem; margin-top: 1.5rem; align-items: start; }
.block { padding: 1.1rem; margin-bottom: 0.75rem; }
.block h2 { font-size: 1.55rem; }
.block p, .block li { color: var(--muted); }
.block p + p, .block ul { margin-top: 0.5rem; }
.block li { margin: 0.35rem 0 0.35rem 1.1em; }
.block strong { color: var(--text); font-weight: 700; }
.block p.is-emphasis {
    color: var(--text);
    font-weight: 650;
    border-left: 3px solid rgba(180, 77, 255, 0.75);
    padding-left: 0.85rem;
}
.toc { position: sticky; top: 92px; padding: 0.75rem; }
.toc h2 { font-size: 0.95rem; padding: 0.4rem 0.55rem; }
.toc a {
    display: block; text-decoration: none; color: var(--muted);
    font-size: 0.88rem; font-weight: 600; padding: 0.55rem 0.7rem; border-radius: 999px;
}
.toc a.is-active { color: #fff; background: var(--grad); box-shadow: var(--glow); }
.empty { margin-top: 1rem; color: var(--muted); }
.partner-head { margin-top: 2rem; }
.partner-head h2 { font-size: 1.55rem; }
.partner-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; margin-top: 0.9rem; }
.partner {
    display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
    text-decoration: none; padding: 1rem 1.05rem;
}
.partner span { color: var(--pink); font-size: 0.82rem; font-weight: 700; }
.discord-card { margin-top: 1.5rem; }

.footer {
    padding: 2.6rem 0 1.6rem;
    border-top: 1px solid var(--line);
    color: var(--muted);
    background: rgba(13, 7, 22, 0.65);
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 1.6rem; }
.footer h2 {
    font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--text); margin-bottom: 0.65rem; font-weight: 800;
}
.footer a { display: block; text-decoration: none; margin-top: 0.4rem; }
.footer a:hover { color: var(--text); }
.footer .brand { margin-bottom: 0.75rem; }
.legal {
    display: flex; justify-content: space-between; gap: 1rem;
    margin-top: 1.8rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: 0.82rem;
}
a:focus-visible, button:focus-visible { outline: 2px solid var(--vp); outline-offset: 3px; }

::-webkit-scrollbar { width: 0.4rem; }
::-webkit-scrollbar-thumb { background: rgba(180, 77, 255, 0.4); border-radius: 999px; }
::-webkit-scrollbar-track { background: transparent; }

@media (max-width: 1100px) {
    .nav-links { display: none; }
    .icon-btn { display: grid; }
    .btn-play { margin-left: auto; }
}
@media (max-width: 980px) {
    .split, .traits, .sides, .layout, .footer-grid, .usp-grid { grid-template-columns: 1fr; display: grid; }
    .join, .partner-grid { grid-template-columns: 1fr 1fr; }
    .toc { position: static; }
    .legal { display: grid; }
}
@media (max-width: 720px) {
    .join, .partner-grid, .facts { grid-template-columns: 1fr; }
    .hero-panel { padding: 2.2rem 1.2rem 1.8rem; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .aurora span, .hero-panel { animation: none; }
    .rule-panel { transition: none; }
}
