/* =========================================================
   01. TOKENS / BASE
   ========================================================= */

:root {
    --bg: #08101d;
    --bg-soft: #0c1525;
    --bg-panel: rgba(11, 17, 30, 0.78);
    --bg-panel-strong: rgba(9, 14, 25, 0.92);
    --line: rgba(255, 255, 255, 0.08);
    --line-strong: rgba(0, 212, 255, 0.20);
    --text: #eff5ff;
    --muted: #9ba8bf;
    --muted-2: #728096;
    --primary: #7c5cff;
    --secondary: #00d4ff;
    --success: #59ecb2;
    --warning: #ffca7b;
    --danger: #ff6989;
    --radius: 26px;
    --radius-lg: 34px;
    --radius-pill: 999px;
    --shadow-xl: 0 34px 90px rgba(0, 0, 0, 0.45);
    --shadow-lg: 0 22px 50px rgba(0, 0, 0, 0.28);
    --shadow-glow: 0 0 0 1px rgba(255, 255, 255, 0.04), 0 0 40px rgba(124, 92, 255, 0.16);
    --grad-main: linear-gradient(120deg, #ffffff 0%, #c7b7ff 42%, #59ddff 100%);
    --grad-btn: linear-gradient(90deg, rgba(124, 92, 255, 0.95) 0%, rgba(66, 157, 255, 0.98) 100%);
    --grad-ring: linear-gradient(130deg, rgba(0, 212, 255, 0.95), rgba(124, 92, 255, 0.9));
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    overflow-x: hidden;
    background:
        radial-gradient(circle at 76% 18%, rgba(29, 73, 167, 0.26) 0%, rgba(7, 12, 20, 0) 32%),
        radial-gradient(circle at 25% 8%, rgba(124, 92, 255, 0.12) 0%, rgba(7, 12, 20, 0) 28%),
        linear-gradient(180deg, #07111f 0%, #071019 44%, #060d16 100%);
    font: 16px/1.65 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 12% 82%, rgba(124, 92, 255, 0.08), transparent 17%),
        radial-gradient(circle at 86% 22%, rgba(0, 212, 255, 0.08), transparent 20%);
    z-index: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    color: inherit;
}

::selection {
    background: rgba(124, 92, 255, 0.92);
    color: #fff;
}

/* =========================================================
   02. GLOBAL LAYOUT / HELPERS
   ========================================================= */

.section-pad {
    position: relative;
    z-index: 1;
    padding: 110px max(28px, calc((100vw - 1240px) / 2));
}

.compact-top {
    padding-top: 74px;
}

.glass-panel,
.service-card,
.news-card,
.status-panel,
.cta-card,
.panel,
.admin-card,
.modal-card {
    background: linear-gradient(180deg, rgba(16, 23, 38, 0.82), rgba(8, 12, 20, 0.94));
    border: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(18px);
}

.glass-bar {
    background: linear-gradient(180deg, rgba(11, 17, 30, 0.82), rgba(11, 17, 30, 0.62));
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(18px);
}

.kicker,
.eyebrow {
    font-size: 0.76rem;
    letter-spacing: 0.24em;
    font-weight: 800;
    color: #aab5c7;
}

.badge-line {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

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

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 34px;
}

.section-head h2,
.about-copy h2,
.status-copy h2,
.cta-card h2 {
    margin: 8px 0 0;
    font-size: clamp(2.3rem, 4vw, 3.65rem);
    line-height: 0.98;
    letter-spacing: -0.05em;
}

.section-head p,
.about-copy p,
.status-copy p,
.cta-card p {
    max-width: 560px;
    color: var(--muted);
}

.section-head-tight {
    margin-bottom: 28px;
}

.section-link {
    color: #7dcffb;
    font-weight: 700;
    white-space: nowrap;
}

.pulse {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 0 0 rgba(89, 236, 178, 0.7);
    animation: pulseDot 2s infinite;
}

.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.12s;
}

.delay-2 {
    transition-delay: 0.22s;
}

.noise {
    position: fixed;
    inset: 0;
    z-index: 90;
    opacity: 0.03;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.75'/%3E%3C/svg%3E");
}

.cursor-glow {
    position: fixed;
    left: 50%;
    top: 50%;
    width: 420px;
    height: 420px;
    z-index: 0;
    pointer-events: none;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(124, 92, 255, 0.18) 0%, rgba(0, 212, 255, 0.06) 34%, transparent 70%);
}

#nightCanvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.55;
    pointer-events: none;
}

/* =========================================================
   03. HEADER / NAVIGATION
   ========================================================= */

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 70;
    padding: 20px 24px;
    transition: 0.3s ease;
}

.site-header.scrolled {
    padding-top: 12px;
    padding-bottom: 12px;
    background: rgba(7, 12, 20, 0.24);
    backdrop-filter: blur(14px);
}

.nav-wrap {
    max-width: 1300px;
    margin: 0 auto;
    border-radius: 24px;
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 10px 18px;
}

.brand,
.admin-brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.brand-logo,
.admin-brand img,
.footer-brand img {
    object-fit: contain;
    filter:
        drop-shadow(0 0 12px rgba(0, 212, 255, 0.3))
        drop-shadow(0 0 22px rgba(124, 92, 255, 0.18));
}

.brand-logo {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    animation: brandFloat 5.6s ease-in-out infinite;
}

.brand-wordmark {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand-wordmark strong {
    font-size: 1.65rem;
    letter-spacing: -0.07em;
    font-weight: 900;
    color: #f8fbff;
    font-style: italic;
    transform: skewX(-8deg);
    text-shadow: 0 0 18px rgba(0, 212, 255, 0.1);
}

.brand-wordmark strong span {
    color: #3e96ff;
}

.brand-wordmark small {
    margin-top: 4px;
    letter-spacing: 0.38em;
    font-size: 0.7rem;
    font-weight: 800;
    color: #dee8ff;
}

.nav-links {
    display: flex;
    gap: 26px;
    margin: 0 auto;
}

.nav-links a {
    position: relative;
    color: #e6edf9;
    font-weight: 500;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: width 0.24s ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
}

.menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 0 auto 4px;
    border-radius: 99px;
    background: #eaf3ff;
}

.menu-toggle span:last-child {
    margin-bottom: 0;
}

/* =========================================================
   04. BUTTONS
   ========================================================= */

.btn {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-pill);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 22px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
    transform: translateY(-2px);
}

.btn.compact {
    min-height: 50px;
    padding-inline: 18px;
    font-size: 0.94rem;
}

.btn.large {
    min-height: 58px;
    padding-inline: 28px;
    font-size: 1.02rem;
}

.btn-primary {
    color: #fff;
    background: var(--grad-btn);
    box-shadow: 0 16px 34px rgba(83, 93, 255, 0.22), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.btn-primary:hover,
.btn-primary:focus-visible {
    box-shadow: 0 20px 40px rgba(83, 93, 255, 0.28), inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.btn-glass,
.btn-ghost {
    color: #f2f6ff;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
}

.btn-symbol,
.join-icon {
    display: inline-grid;
    place-items: center;
    width: 20px;
    height: 20px;
    color: #f1fbff;
}

.join-btn {
    min-width: 216px;
    justify-content: space-between;
}

/* =========================================================
   05. HERO
   ========================================================= */

.hero {
    min-height: 100svh;
    padding-top: 120px;
    padding-bottom: 52px;
    overflow: hidden;
}

.hero-fullscreen::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(8, 13, 23, 0.94) 0%, rgba(8, 13, 23, 0.66) 36%, rgba(8, 13, 23, 0.3) 64%, rgba(8, 13, 23, 0.52) 100%),
        radial-gradient(circle at 76% 34%, rgba(68, 141, 255, 0.16), transparent 32%);
    pointer-events: none;
}

.hero-bg-grid {
    position: absolute;
    inset: 0;
    opacity: 0.08;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 140px 140px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 90%);
}

.hero-cloud,
.hero-orbit {
    position: absolute;
    pointer-events: none;
}

.hero-cloud {
    border-radius: 50%;
    filter: blur(24px);
    opacity: 0.42;
}

.hero-cloud-a {
    right: 5%;
    top: 8%;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(89, 220, 255, 0.18) 0%, rgba(124, 92, 255, 0.12) 38%, transparent 70%);
}

.hero-cloud-b {
    left: -8%;
    bottom: -10%;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(124, 92, 255, 0.16) 0%, transparent 68%);
}

.hero-orbit {
    border: 1px solid rgba(83, 163, 255, 0.12);
    border-radius: 50%;
    animation: orbitDrift 18s linear infinite;
}

.orbit-a {
    right: 7%;
    top: 12%;
    width: 560px;
    height: 560px;
}

.orbit-b {
    right: 15%;
    top: 22%;
    width: 360px;
    height: 360px;
    animation-duration: 26s;
    animation-direction: reverse;
}

.orbit-c {
    right: 21%;
    bottom: 10%;
    width: 240px;
    height: 240px;
    animation-duration: 32s;
}

.hero-stage {
    position: relative;
    z-index: 2;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(420px, 1.02fr) minmax(420px, 0.98fr);
    gap: 42px;
    align-items: center;
}

.hero-copy {
    position: relative;
    z-index: 2;
}

.hero-copy h1 {
    margin: 16px 0 22px;
    max-width: 720px;
    font-size: clamp(4rem, 5.9vw, 6.8rem);
    line-height: 0.92;
    letter-spacing: -0.07em;
}

.hero-lead {
    max-width: 620px;
    color: #d5ddec;
    font-size: clamp(1.08rem, 1.28vw, 1.3rem);
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.hero-visual {
    position: relative;
}

.cinematic-card {
    position: relative;
    width: min(700px, 100%);
    margin-left: auto;
    padding: 28px;
    border-radius: 34px;
    overflow: hidden;
    background:
        radial-gradient(circle at 72% 12%, rgba(55, 107, 220, 0.18), transparent 34%),
        linear-gradient(180deg, rgba(7, 13, 24, 0.66), rgba(6, 10, 18, 0.92));
    box-shadow:
        0 38px 90px rgba(0, 0, 0, 0.5),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.cinematic-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 30%, rgba(255, 255, 255, 0.02));
    pointer-events: none;
}

.card-rings {
    position: absolute;
    inset: 9% 11%;
    border-radius: 50%;
    border: 2px solid rgba(91, 156, 255, 0.2);
    box-shadow: 0 0 28px rgba(55, 136, 255, 0.18);
}

.card-rings::before,
.card-rings::after {
    content: "";
    position: absolute;
    inset: 9%;
    border-radius: 50%;
    border: 1px solid rgba(124, 92, 255, 0.22);
}

.card-rings::after {
    inset: 18%;
    border-color: rgba(0, 212, 255, 0.18);
}

.card-flare {
    position: absolute;
    inset: auto auto 7% 28%;
    width: 42%;
    height: 12px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(76, 196, 255, 0.9) 0%, rgba(76, 196, 255, 0.22) 32%, transparent 68%);
    filter: blur(3px);
}

.hero-emblem {
    position: relative;
    z-index: 2;
    width: min(620px, 100%);
    margin: 0 auto;
    animation: emblemFloat 7s ease-in-out infinite;
}

.hero-emblem-image {
    width: 100%;
    filter:
        drop-shadow(0 0 20px rgba(0, 212, 255, 0.14))
        drop-shadow(0 0 42px rgba(124, 92, 255, 0.12));
}

.eye-glow {
    position: absolute;
    top: 31.4%;
    width: 7.2%;
    height: 2.1%;
    border-radius: 999px 999px 999px 999px;
    background: linear-gradient(90deg, #7de2ff 0%, #3f9dff 100%);
    box-shadow:
        0 0 10px rgba(106, 206, 255, 0.95),
        0 0 24px rgba(77, 190, 255, 0.7),
        0 0 36px rgba(77, 134, 255, 0.45);
    filter: blur(0.5px);
    opacity: 0.94;
    animation: eyePulse 2.8s ease-in-out infinite, eyeBlink 8.5s ease-in-out infinite;
}

.eye-glow-left {
    left: 42.7%;
    transform: translate(-50%, -50%) rotate(-14deg);
}

.eye-glow-right {
    left: 56.9%;
    transform: translate(-50%, -50%) rotate(14deg);
    animation-delay: 0.18s;
}

.hud {
    position: absolute;
    z-index: 3;
    min-width: 170px;
    padding: 12px 14px;
    border-radius: 18px;
    background: rgba(9, 14, 25, 0.78);
    border: 1px solid rgba(138, 166, 255, 0.18);
    backdrop-filter: blur(15px);
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.28);
}

.hud span {
    display: block;
    color: #9cabbe;
    font-size: 0.72rem;
    letter-spacing: 0.16em;
}

.hud b {
    display: inline-block;
    margin-top: 4px;
    color: #70f3b6;
    font-size: 1rem;
    letter-spacing: 0.04em;
}

.hud-top {
    top: 13%;
    right: 2%;
}

.hud-bottom {
    right: 4%;
    bottom: 14%;
}

.hud-dot {
    position: absolute;
    right: 14px;
    top: 50%;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--success);
    transform: translateY(-50%);
    box-shadow: 0 0 0 0 rgba(89, 236, 178, 0.55);
    animation: pulseDot 2s infinite;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-feature {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    min-height: 90px;
    padding: 10px 0;
}

.hero-feature-icon {
    flex: 0 0 42px;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    font-size: 1.3rem;
    color: #8ee6ff;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-feature strong {
    display: block;
    margin-bottom: 2px;
}

.hero-feature small {
    color: var(--muted);
}

.hero-rail {
    position: absolute;
    top: 120px;
    bottom: 60px;
    width: 78px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    color: #70809b;
}

.hero-rail-left {
    left: 34px;
}

.hero-rail-right {
    right: 34px;
}

.rail-line {
    width: 1px;
    flex: 1;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(0, 212, 255, 0.18), rgba(255, 255, 255, 0.06));
}

.rail-copy {
    display: grid;
    gap: 10px;
    justify-items: center;
    text-align: center;
    font-size: 0.79rem;
    letter-spacing: 0.24em;
}

.rail-mini-mark,
.rail-scroll {
    text-align: center;
    letter-spacing: 0.22em;
    font-size: 0.74rem;
}

.rail-mini-mark {
    color: #7f91b0;
    font-weight: 900;
}

.rail-scroll {
    display: grid;
    gap: 2px;
    color: #8392a8;
}

.rail-scroll i {
    font-style: normal;
    color: #9fe7ff;
}

/* =========================================================
   06. COMMUNITY
   ========================================================= */

.community-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.service-card {
    border-radius: 24px;
    padding: 24px;
    min-height: 320px;
}

.service-top {
    display: flex;
    align-items: center;
    gap: 14px;
}

.service-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    font-weight: 900;
    color: #eef8ff;
    background: linear-gradient(135deg, rgba(124, 92, 255, 0.92), rgba(0, 212, 255, 0.58));
    box-shadow: 0 14px 26px rgba(95, 108, 255, 0.22);
}

.service-label {
    display: block;
    color: #8ea0b7;
    font-size: 0.72rem;
    letter-spacing: 0.18em;
}

.service-top h3 {
    margin: 3px 0 0;
    font-size: 1.5rem;
}

.service-state {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    padding: 8px 10px;
    font-size: 0.79rem;
    color: #cde7dd;
    background: rgba(255, 255, 255, 0.04);
}

.service-state i,
.status-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    display: inline-block;
}

.service-state.pending i,
.status-dot.pending {
    background: var(--warning);
    box-shadow: 0 0 14px rgba(255, 202, 123, 0.55);
}

.status-dot.online {
    background: var(--success);
    box-shadow: 0 0 14px rgba(89, 236, 178, 0.55);
}

.service-card p {
    margin: 22px 0;
    color: var(--muted);
}

.terminal-line {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.terminal-line span {
    color: #6ce2ff;
    font-weight: 800;
}

.terminal-line code {
    flex: 1;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.mini-copy {
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.05);
    cursor: pointer;
}

.discord-widget-wrap,
.fake-activity {
    border-radius: 18px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.fake-activity {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
}

.avatar-stack {
    display: flex;
    align-items: center;
}

.avatar-stack i {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #09111e;
    background: linear-gradient(135deg, #7c5cff, #00d4ff);
    margin-right: -10px;
}

.service-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    margin-top: 18px;
    color: #90a1b8;
    font-size: 0.9rem;
}

/* =========================================================
   07. NEWS
   ========================================================= */

.news-section {
    padding-top: 84px;
}

.news-shell {
    padding: 26px;
    border-radius: 30px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.news-card {
    border-radius: 22px;
    padding: 22px;
    min-height: 230px;
}

.news-card.featured {
    background:
        radial-gradient(circle at top right, rgba(0, 212, 255, 0.11), transparent 34%),
        linear-gradient(180deg, rgba(18, 26, 43, 0.92), rgba(8, 13, 22, 0.96));
}

.news-meta {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
}

.news-tag,
.post-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: #b7c6dd;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.news-meta time {
    color: #7d8aa2;
    font-size: 0.88rem;
}

.news-card h3 {
    margin: 18px 0 10px;
    font-size: 1.5rem;
    line-height: 1.08;
}

.news-card p {
    color: var(--muted);
}

.news-open {
    margin-top: 18px;
    padding: 0;
    border: 0;
    background: none;
    color: #8adcf9;
    font-weight: 800;
    cursor: pointer;
}

/* =========================================================
   08. ABOUT / STATUS / CTA
   ========================================================= */

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 22px;
    align-items: start;
}

.principles {
    display: grid;
    gap: 14px;
}

.principle,
.status-panel,
.cta-card {
    border-radius: 26px;
}

.principle {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 16px;
    padding: 20px 22px;
    background: linear-gradient(180deg, rgba(15, 22, 36, 0.9), rgba(8, 12, 20, 0.96));
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.principle b {
    color: #8fe2ff;
    font-size: 1.2rem;
}

.principle strong {
    display: block;
    margin-bottom: 4px;
}

.principle small {
    color: var(--muted);
}

.status-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding: 28px;
}

.status-list {
    display: grid;
    gap: 14px;
}

.status-list > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.status-list span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #dce7f9;
}

.status-list b {
    color: #a6b6cf;
}

.cta-card {
    position: relative;
    overflow: hidden;
    padding: 34px;
    text-align: center;
}

.cta-card .hero-cta {
    justify-content: center;
}

.cta-moon {
    position: absolute;
    left: 50%;
    top: -80px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(92, 204, 255, 0.22) 0%, rgba(124, 92, 255, 0.11) 34%, transparent 70%);
    filter: blur(8px);
}

/* =========================================================
   09. FOOTER / TOAST / MODAL
   ========================================================= */

footer {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: auto auto;
    align-items: center;
    gap: 18px;
    padding: 30px max(28px, calc((100vw - 1240px) / 2)) 44px;
    color: #98a5bc;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.footer-brand img {
    width: 46px;
    height: 46px;
}

.footer-brand b {
    display: block;
    color: #edf4ff;
}

.footer-links {
    display: flex;
    justify-content: end;
    gap: 16px;
}

.copyright {
    grid-column: 1 / -1;
}

.toast {
    position: fixed;
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%) translateY(14px);
    opacity: 0;
    pointer-events: none;
    z-index: 100;
    padding: 13px 18px;
    border-radius: 999px;
    background: rgba(10, 15, 24, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 110;
    display: none;
}

.modal.open {
    display: grid;
    place-items: center;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 9, 16, 0.72);
    backdrop-filter: blur(8px);
}

.modal-card {
    position: relative;
    z-index: 1;
    width: min(760px, calc(100vw - 34px));
    max-height: min(80vh, 820px);
    overflow: auto;
    border-radius: 24px;
    padding: 26px;
}

.modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    cursor: pointer;
}

.modal-title {
    margin: 16px 0;
    font-size: 2rem;
    line-height: 1.05;
}

.modal-body {
    white-space: pre-wrap;
    color: #b6c1d3;
}

/* =========================================================
   10. ADMIN / LOGIN
   ========================================================= */

.admin-body {
    min-height: 100vh;
    background:
        radial-gradient(circle at 85% 15%, rgba(33, 98, 198, 0.24), transparent 28%),
        radial-gradient(circle at 16% 0%, rgba(124, 92, 255, 0.18), transparent 22%),
        linear-gradient(180deg, #08111f, #071019 52%, #060d16 100%);
    padding: 34px;
}

.admin-shell,
.editor-shell {
    max-width: 1220px;
    margin: 0 auto;
}

.login-shell {
    max-width: 590px;
}

.admin-brand {
    margin-bottom: 22px;
}

.admin-brand img {
    width: 44px;
    height: 44px;
}

.admin-brand b {
    font-size: 1.18rem;
    color: #eef4ff;
}

.admin-brand small {
    display: block;
    color: #7f8ea8;
}

.panel {
    border-radius: 28px;
    padding: 34px;
}

.panel h1,
.admin-top h1,
.editor-top h1 {
    margin: 0;
    font-size: clamp(2.2rem, 4.4vw, 3.2rem);
    line-height: 0.98;
    letter-spacing: -0.05em;
}

.muted {
    color: var(--muted);
}

.form-grid,
.form-panel {
    display: grid;
    gap: 18px;
}

.form-grid {
    margin-top: 24px;
}

.form-grid label,
.editor-grid label,
.check-label {
    display: grid;
    gap: 8px;
    font-size: 0.84rem;
    font-weight: 800;
    color: #d5deed;
}

.form-grid input,
.editor-grid input,
.editor-grid textarea,
.editor-grid select {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    padding: 14px 15px;
    color: var(--text);
    background: rgba(255, 255, 255, 0.03);
    outline: none;
}

.form-grid input:focus,
.editor-grid input:focus,
.editor-grid textarea:focus,
.editor-grid select:focus {
    border-color: rgba(124, 92, 255, 0.5);
    box-shadow: 0 0 0 4px rgba(124, 92, 255, 0.11);
}

.form-grid small,
.publish-panel small,
.back-link {
    color: var(--muted-2);
}

.alert {
    padding: 14px 16px;
    border-radius: 15px;
    margin: 18px 0;
}

.alert.error {
    background: rgba(255, 105, 137, 0.10);
    border: 1px solid rgba(255, 105, 137, 0.28);
    color: #ffadc0;
}

.alert.success {
    background: rgba(89, 236, 178, 0.10);
    border: 1px solid rgba(89, 236, 178, 0.28);
    color: #a5f4cf;
}

.success-panel {
    text-align: center;
}

.back-link {
    display: inline-block;
    margin-top: 18px;
}

/* =========================================================
   11. ADMIN DASHBOARD / EDITOR
   ========================================================= */

.dashboard-shell {
    min-height: calc(100vh - 68px);
    display: grid;
    grid-template-columns: 280px 1fr;
    border-radius: 32px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(9, 14, 24, 0.84);
    box-shadow: var(--shadow-xl);
    backdrop-filter: blur(18px);
}

.admin-sidebar {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 28px 22px;
    background:
        radial-gradient(circle at 10% 10%, rgba(124, 92, 255, 0.16), transparent 30%),
        linear-gradient(180deg, rgba(15, 22, 38, 0.98), rgba(8, 12, 20, 0.98));
    border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.admin-sidebar::after {
    content: "";
    position: absolute;
    inset: auto 20px 18px 20px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.18), transparent);
}

.admin-sidebar nav {
    display: grid;
    gap: 8px;
    margin-top: 30px;
}

.admin-sidebar nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 12px 14px;
    border-radius: 16px;
    color: #92a0b5;
    font-weight: 700;
    transition: 0.2s ease;
}

.admin-sidebar nav a:hover,
.admin-sidebar nav a.active {
    color: #f1f7ff;
    background: linear-gradient(90deg, rgba(124, 92, 255, 0.18), rgba(255, 255, 255, 0.05));
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.admin-sidebar > small {
    margin-top: auto;
    color: #5c6880;
}

.admin-main {
    padding: 34px;
}

.admin-top,
.editor-top {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 18px;
    margin-bottom: 24px;
}

.admin-card {
    border-radius: 26px;
    padding: 24px;
}

.admin-card + .admin-card {
    margin-top: 18px;
}

.admin-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.admin-card-head h2,
.publish-panel h3 {
    margin: 0;
}

.admin-card-head p,
.admin-card-head > span,
.post-row small {
    color: #7a879e;
}

.post-row {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.post-row:last-child {
    border-bottom: 0;
}

.post-row > div:first-child {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 12px;
    align-items: center;
}

.post-status.published {
    color: #89f3c4;
    border-color: rgba(89, 236, 178, 0.24);
}

.post-status.draft {
    color: #ffd493;
    border-color: rgba(255, 202, 123, 0.24);
}

.row-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.row-actions a,
.row-actions button {
    padding: 0;
    border: 0;
    background: none;
    color: #90a1b8;
    cursor: pointer;
}

.row-actions a:hover {
    color: #8ce2ff;
}

.row-actions button:hover {
    color: #ff97ad;
}

.editor-grid {
    display: grid;
    grid-template-columns: 1fr 330px;
    gap: 22px;
}

.editor-grid textarea {
    min-height: 380px;
    resize: vertical;
}

.publish-panel {
    position: sticky;
    top: 28px;
    height: max-content;
    border-radius: 24px;
    padding: 22px;
}

.check-label {
    display: flex;
    align-items: center;
    gap: 10px;
}

.check-label input {
    width: auto;
}

.empty-state {
    padding: 42px;
    text-align: center;
    color: #6f7c92;
}

/* =========================================================
   12. KEYFRAMES
   ========================================================= */

@keyframes pulseDot {
    0% {
        box-shadow: 0 0 0 0 rgba(89, 236, 178, 0.7);
    }
    70% {
        box-shadow: 0 0 0 11px rgba(89, 236, 178, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(89, 236, 178, 0);
    }
}

@keyframes brandFloat {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
}

@keyframes orbitDrift {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes emblemFloat {
    0%,
    100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-6px) scale(1.004);
    }
}

@keyframes eyePulse {
    0%,
    100% {
        opacity: 0.86;
        filter: blur(0.5px);
    }
    50% {
        opacity: 1;
        filter: blur(1px);
    }
}

@keyframes eyeBlink {
    0%,
    44%,
    49%,
    100% {
        height: 2.1%;
        opacity: 0.95;
    }
    46%,
    47% {
        height: 0.3%;
        opacity: 0.55;
    }
}

/* =========================================================
   13. RESPONSIVE
   ========================================================= */

@media (max-width: 1400px) {
    .hero-rail {
        display: none;
    }

    .hero-grid {
        grid-template-columns: minmax(0, 1fr) minmax(360px, 0.94fr);
    }
}

@media (max-width: 1180px) {
    .section-pad {
        padding-inline: 24px;
    }

    .nav-wrap {
        gap: 18px;
    }

    .hero {
        padding-top: 110px;
    }

    .hero-grid,
    .about-grid,
    .status-panel,
    .editor-grid {
        grid-template-columns: 1fr;
    }

    .cinematic-card {
        width: min(680px, 100%);
        margin: 0 auto;
    }

    .community-grid,
    .news-grid,
    .hero-features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-shell {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }
}

@media (max-width: 900px) {
    .site-header {
        padding-inline: 16px;
    }

    .nav-wrap {
        position: relative;
        flex-wrap: wrap;
        padding: 12px 14px;
    }

    .menu-toggle {
        display: inline-grid;
        place-content: center;
        margin-left: auto;
    }

    .nav-links {
        display: none;
        width: 100%;
        order: 10;
        flex-direction: column;
        gap: 10px;
        padding-top: 10px;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-actions {
        display: none;
        width: 100%;
        order: 11;
        padding-top: 12px;
    }

    .nav-links.open + .nav-actions,
    .nav-actions.mobile-open {
        display: flex;
    }

    .hero-copy h1 {
        font-size: clamp(3.2rem, 10.4vw, 5.4rem);
    }

    .hero-lead {
        font-size: 1.02rem;
    }

    .news-grid,
    .community-grid,
    .hero-features {
        grid-template-columns: 1fr;
    }

    .section-head,
    .admin-top,
    .editor-top,
    footer {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: start;
    }
}

@media (max-width: 680px) {
    .section-pad {
        padding: 84px 18px;
    }

    .hero {
        padding-top: 98px;
        padding-bottom: 38px;
    }

    .brand-logo {
        width: 50px;
        height: 50px;
    }

    .brand-wordmark strong {
        font-size: 1.34rem;
    }

    .brand-wordmark small {
        letter-spacing: 0.24em;
        font-size: 0.62rem;
    }

    .hero-copy h1 {
        font-size: clamp(2.7rem, 14vw, 4rem);
        margin-bottom: 16px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .hud {
        min-width: 140px;
        padding: 10px 12px;
    }

    .hud-top {
        top: 10px;
        right: 10px;
    }

    .hud-bottom {
        right: 12px;
        bottom: 10px;
    }

    .cinematic-card {
        padding: 18px;
    }

    .hero-emblem {
        width: 100%;
    }

    .eye-glow {
        top: 31.6%;
        width: 7.2%;
        height: 2%;
    }

    .eye-glow-left {
        left: 42.9%;
    }

    .eye-glow-right {
        left: 56.8%;
    }

    .news-shell,
    .cta-card,
    .panel,
    .admin-main,
    .admin-sidebar,
    .publish-panel {
        padding: 20px;
    }

    .status-panel,
    .service-card,
    .news-card,
    .principle {
        padding: 18px;
    }

    .admin-body {
        padding: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}

/* =========================================================
   14. HERO INTERACTION v0.7
   Exakte Augen-Layer aus dem aktuellen Logo + HUD außerhalb
   ========================================================= */

.hero-visual-layout {
    position: relative;
    width: 100%;
}

.hero-hud-stack {
    position: absolute;
    z-index: 6;
    top: 34%;
    right: -92px;
    width: 182px;
    display: grid;
    gap: 14px;
}

.hero-hud-stack .hud {
    position: relative;
    inset: auto;
    min-width: 0;
    width: 100%;
}

.hero-hud-stack .hud:last-child b {
    color: #74e8ff;
}

.hero-emblem {
    cursor: crosshair;
    perspective: 1000px;
}

.hero-emblem-inner {
    --hero-tx: 0px;
    --hero-ty: 0px;
    --hero-rx: 0deg;
    --hero-ry: 0deg;
    position: relative;
    width: 100%;
    transform-style: preserve-3d;
    transform:
        translate3d(var(--hero-tx), var(--hero-ty), 0)
        rotateX(var(--hero-rx))
        rotateY(var(--hero-ry));
    transition: transform 180ms ease-out, filter 260ms ease;
    will-change: transform;
}

.hero-emblem:hover .hero-emblem-inner {
    filter:
        drop-shadow(0 0 14px rgba(0, 212, 255, 0.14))
        drop-shadow(0 0 30px rgba(124, 92, 255, 0.12));
}

.eye-layer {
    position: absolute;
    inset: 0;
    z-index: 4;
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
    mix-blend-mode: screen;
    opacity: 0.92;
    filter:
        brightness(1.28)
        saturate(1.15)
        drop-shadow(0 0 5px rgba(92, 210, 255, 0.78))
        drop-shadow(0 0 13px rgba(83, 140, 255, 0.54));
    animation: eyeExactPulse 2.7s ease-in-out infinite;
}

.eye-layer-left {
    transform-origin: 54.7% 37.2%;
    animation:
        eyeExactPulse 2.7s ease-in-out infinite,
        eyeExactBlink 9.2s ease-in-out infinite;
}

.eye-layer-right {
    transform-origin: 64.2% 38.9%;
    animation:
        eyeExactPulse 2.7s 0.16s ease-in-out infinite,
        eyeExactBlink 9.2s 0.05s ease-in-out infinite;
}

.hero-emblem:hover .eye-layer {
    opacity: 1;
}

.hero-emblem-glint {
    position: absolute;
    inset: 7% 12% 18%;
    z-index: 5;
    pointer-events: none;
    opacity: 0;
    transform: translateX(-130%) rotate(15deg);
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.04) 38%,
        rgba(116, 232, 255, 0.25) 50%,
        rgba(255, 255, 255, 0.04) 62%,
        transparent 100%
    );
    filter: blur(2px);
}

.hero-emblem:hover .hero-emblem-glint {
    opacity: 1;
    animation: heroGlint 1.55s ease-in-out;
}

.hero-visual-layout:has(.hero-emblem:hover) .card-rings {
    border-color: rgba(72, 189, 255, 0.34);
    box-shadow:
        0 0 34px rgba(55, 136, 255, 0.28),
        0 0 72px rgba(124, 92, 255, 0.12);
    animation: ringWake 5.5s linear infinite;
}

.hero-visual-layout:has(.hero-emblem:hover) .card-flare {
    opacity: 1;
    filter: blur(2px) brightness(1.25);
}

@keyframes eyeExactPulse {
    0%, 100% {
        opacity: 0.72;
        filter:
            brightness(1.15)
            saturate(1.08)
            drop-shadow(0 0 4px rgba(92, 210, 255, 0.65))
            drop-shadow(0 0 10px rgba(83, 140, 255, 0.40));
    }
    50% {
        opacity: 1;
        filter:
            brightness(1.5)
            saturate(1.22)
            drop-shadow(0 0 7px rgba(92, 210, 255, 0.95))
            drop-shadow(0 0 18px rgba(83, 140, 255, 0.68));
    }
}

@keyframes eyeExactBlink {
    0%, 43%, 47.5%, 100% {
        transform: scaleY(1);
    }
    44.6%, 45.5% {
        transform: scaleY(0.08);
    }
}

@keyframes heroGlint {
    0% {
        transform: translateX(-135%) rotate(15deg);
    }
    100% {
        transform: translateX(135%) rotate(15deg);
    }
}

@keyframes ringWake {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 1380px) {
    .hero-hud-stack {
        position: relative;
        top: auto;
        right: auto;
        width: min(560px, 100%);
        margin: 14px auto 0;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .hero-hud-stack {
        grid-template-columns: 1fr;
    }

    .hero-emblem {
        cursor: default;
    }
}

/* =========================================================
   15. HERO POLISH v0.8
   - HUD rechts neben dem Logo
   - eigenes Cursor-Design statt Fadenkreuz
   - kein Glanzstreifen mehr
   - reaktiver Hintergrund / stärkere Sterne
   ========================================================= */

body.frontpage {
    --hero-bg-x: 0;
    --hero-bg-y: 0;
    --hero-spot-x: 72%;
    --hero-spot-y: 30%;
}

.hero-fullscreen::before {
    background:
        linear-gradient(90deg, rgba(8, 13, 23, 0.95) 0%, rgba(8, 13, 23, 0.68) 34%, rgba(8, 13, 23, 0.26) 64%, rgba(8, 13, 23, 0.50) 100%),
        radial-gradient(circle at var(--hero-spot-x) var(--hero-spot-y), rgba(77, 151, 255, 0.20), transparent 28%),
        radial-gradient(circle at 78% 35%, rgba(116, 84, 255, 0.14), transparent 35%);
    transition: background 220ms ease-out;
}

.hero-bg-grid {
    background-position:
        calc(var(--hero-bg-x) * 24px) calc(var(--hero-bg-y) * 18px),
        calc(var(--hero-bg-x) * 18px) calc(var(--hero-bg-y) * 14px);
    transition: background-position 200ms ease-out, opacity 220ms ease-out;
    opacity: 0.10;
}

.hero-cloud {
    transition: transform 280ms ease-out, opacity 280ms ease-out, filter 280ms ease-out;
}

.hero-cloud-a {
    transform: translate3d(calc(var(--hero-bg-x) * 26px), calc(var(--hero-bg-y) * 18px), 0);
    opacity: 0.50;
    filter: blur(28px);
}

.hero-cloud-b {
    transform: translate3d(calc(var(--hero-bg-x) * -20px), calc(var(--hero-bg-y) * -12px), 0);
    opacity: 0.46;
    filter: blur(25px);
}

.hero.hero-hovering-emblem .hero-cloud-a {
    opacity: 0.58;
}

.hero.hero-hovering-emblem .hero-cloud-b {
    opacity: 0.54;
}

.hero-visual {
    overflow: visible;
}

.hero-visual-layout {
    position: relative;
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 560px) 188px;
    justify-content: center;
    align-items: center;
    gap: 18px;
}

.hero-visual-layout .moon-card {
    width: min(560px, 100%);
    margin: 0;
}

.hero-hud-stack {
    position: static;
    z-index: 6;
    width: 188px;
    display: grid;
    gap: 14px;
    align-self: center;
}

.hero-hud-stack .hud {
    position: relative;
    inset: auto;
    min-width: 0;
    width: 100%;
}

.hero-hud-stack .hud:last-child b {
    color: #74e8ff;
}

.hero-emblem {
    cursor: default;
    perspective: 1000px;
}

.hero-emblem-inner {
    --hero-tx: 0px;
    --hero-ty: 0px;
    --hero-rx: 0deg;
    --hero-ry: 0deg;
    position: relative;
    width: 100%;
    transform-style: preserve-3d;
    transform:
        translate3d(var(--hero-tx), var(--hero-ty), 0)
        rotateX(var(--hero-rx))
        rotateY(var(--hero-ry));
    transition: transform 180ms ease-out, filter 260ms ease;
    will-change: transform;
}

.hero-emblem:hover .hero-emblem-inner {
    filter:
        drop-shadow(0 0 14px rgba(0, 212, 255, 0.16))
        drop-shadow(0 0 30px rgba(124, 92, 255, 0.14));
}

.hero-emblem-glint {
    display: none;
}

.hero-visual-layout:has(.hero-emblem:hover) .card-rings {
    border-color: rgba(72, 189, 255, 0.34);
    box-shadow:
        0 0 34px rgba(55, 136, 255, 0.28),
        0 0 72px rgba(124, 92, 255, 0.12);
    animation: ringWake 5.5s linear infinite;
}

.hero-visual-layout:has(.hero-emblem:hover) .card-flare {
    opacity: 0.85;
    filter: blur(3px) brightness(1.22);
}

.ns-cursor-ring,
.ns-cursor-dot {
    display: none;
}

@media (hover: hover) and (pointer: fine) {
    body.frontpage,
    body.frontpage a,
    body.frontpage button,
    body.frontpage input,
    body.frontpage textarea,
    body.frontpage select,
    body.frontpage label,
    body.frontpage summary {
        cursor: none;
    }

    .ns-cursor-ring,
    .ns-cursor-dot {
        display: block;
        position: fixed;
        left: -100px;
        top: -100px;
        pointer-events: none;
        z-index: 95;
        opacity: 0;
    }

    body.frontpage.cursor-ready .ns-cursor-ring,
    body.frontpage.cursor-ready .ns-cursor-dot {
        opacity: 1;
    }

    .ns-cursor-ring {
        width: 28px;
        height: 28px;
        margin-left: -14px;
        margin-top: -14px;
        border-radius: 50%;
        border: 1px solid rgba(112, 217, 255, 0.85);
        box-shadow:
            0 0 0 1px rgba(124, 92, 255, 0.18) inset,
            0 0 18px rgba(66, 186, 255, 0.22);
        background: radial-gradient(circle, rgba(0, 212, 255, 0.06) 0%, rgba(124, 92, 255, 0.04) 55%, transparent 70%);
        transition: width 0.18s ease, height 0.18s ease, margin 0.18s ease, opacity 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
    }

    .ns-cursor-dot {
        width: 7px;
        height: 7px;
        margin-left: -3.5px;
        margin-top: -3.5px;
        border-radius: 50%;
        background: radial-gradient(circle, #b8ecff 0%, #54bcff 45%, #715dff 100%);
        box-shadow:
            0 0 10px rgba(107, 198, 255, 0.95),
            0 0 18px rgba(124, 92, 255, 0.38);
        transition: transform 0.16s ease, opacity 0.16s ease;
    }

    body.frontpage.cursor-active .ns-cursor-ring {
        width: 38px;
        height: 38px;
        margin-left: -19px;
        margin-top: -19px;
        border-color: rgba(139, 226, 255, 0.96);
        box-shadow:
            0 0 0 1px rgba(124, 92, 255, 0.28) inset,
            0 0 22px rgba(66, 186, 255, 0.28),
            0 0 34px rgba(124, 92, 255, 0.15);
    }

    body.frontpage.cursor-active .ns-cursor-dot {
        transform: scale(1.28);
    }

    body.frontpage.cursor-pressed .ns-cursor-ring {
        transform: scale(0.9);
    }
}

@media (max-width: 1380px) {
    .hero-visual-layout {
        grid-template-columns: 1fr;
        gap: 16px;
        justify-items: center;
    }

    .hero-hud-stack {
        width: min(560px, 100%);
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .hero-hud-stack {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-bg-grid,
    .hero-cloud,
    .hero-emblem-inner,
    .ns-cursor-ring,
    .ns-cursor-dot {
        transition: none !important;
    }
}


/* =========================================================
   16. SERVICE / CURSOR FIX v0.9
   ========================================================= */

@media (hover: hover) and (pointer: fine) {
    body.frontpage,
    body.frontpage * {
        cursor: none !important;
    }
}

.service-top-brand {
    align-items: flex-start;
}

.service-brand {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.service-brand-logo {
    display: block;
    max-width: 190px;
    width: auto;
    height: 38px;
    object-fit: contain;
    object-position: left center;
}

/* Original TeamSpeak asset: no recolor, no glow/effect per media-kit rules. */
.teamspeak-brand-logo {
    filter: none !important;
}

.service-brand small {
    color: #8795aa;
    font-size: .78rem;
}

.discord-brand-line {
    display: flex;
    align-items: center;
    gap: 10px;
}

.discord-brand-line h3 {
    margin: 0;
    font-size: 1.55rem;
}

.service-brand-symbol {
    width: 34px;
    height: 34px;
    object-fit: contain;
    filter: none !important;
}

.service-state.online i {
    background: var(--success);
    box-shadow: 0 0 14px rgba(89, 236, 178, .55);
}

.discord-live-card {
    margin-top: 18px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .07);
    background:
        radial-gradient(circle at 100% 0%, rgba(88, 101, 242, .16), transparent 42%),
        rgba(255, 255, 255, .025);
}

.discord-live-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 17px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.discord-live-head > div {
    display: grid;
}

.discord-live-kicker {
    color: #95a4ba;
    font-size: .68rem;
    letter-spacing: .18em;
}

.discord-live-head strong {
    margin-top: 2px;
    font-size: 1.12rem;
}

.discord-online-count {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    color: #c1cbe0;
    font-size: .8rem;
}

.discord-online-count i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #5865f2;
    box-shadow: 0 0 12px rgba(88, 101, 242, .62);
}

.discord-live-card.is-live .discord-online-count i {
    background: var(--success);
    box-shadow: 0 0 12px rgba(89, 236, 178, .54);
}

.discord-member-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
}

.discord-member-row > span,
.discord-widget-note {
    color: #8f9db2;
    font-size: .86rem;
}

.discord-member-stack {
    display: flex;
    align-items: center;
    min-width: max-content;
}

.discord-member-stack img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #0b1220;
    margin-left: -9px;
    background: #141d2e;
}

.discord-member-stack img:first-child {
    margin-left: 0;
}

.discord-widget-note {
    padding: 18px;
}

.discord-join-inline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 18px;
    border-top: 1px solid rgba(255, 255, 255, .06);
    color: #dce5ff;
    font-weight: 800;
    background: linear-gradient(90deg, rgba(88, 101, 242, .14), rgba(255, 255, 255, .025));
}

.discord-join-inline:hover {
    background: linear-gradient(90deg, rgba(88, 101, 242, .22), rgba(255, 255, 255, .04));
}

@media (max-width: 680px) {
    .discord-live-head,
    .discord-member-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .service-brand-logo {
        max-width: 160px;
        height: 34px;
    }
}

/* =========================================================
   17. LIVE SERVICES v0.10
   TeamSpeak Status API + Discord Invite API
   ========================================================= */

.service-state.offline i,
.status-dot.offline {
    background: #ff6d7a;
    box-shadow: 0 0 14px rgba(255, 109, 122, .42);
}

.ts-live-card {
    margin-top: 18px;
    padding: 17px 18px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, .07);
    background:
        radial-gradient(circle at 92% 8%, rgba(72, 189, 255, .10), transparent 42%),
        rgba(255, 255, 255, .025);
    transition: border-color .25s ease, background .25s ease, box-shadow .25s ease;
}

.ts-live-card.is-online {
    border-color: rgba(89, 236, 178, .14);
    box-shadow: inset 0 0 28px rgba(89, 236, 178, .025);
}

.ts-live-card.is-offline {
    border-color: rgba(255, 109, 122, .15);
    background:
        radial-gradient(circle at 92% 8%, rgba(255, 109, 122, .08), transparent 42%),
        rgba(255, 255, 255, .022);
}

.ts-live-main {
    display: grid;
    gap: 3px;
}

.ts-live-kicker {
    color: #92a2b9;
    font-size: .68rem;
    letter-spacing: .18em;
}

.ts-live-main strong {
    font-size: 1.05rem;
}

.ts-slot-meter {
    width: 100%;
    height: 5px;
    margin: 15px 0 12px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, .055);
}

.ts-slot-meter > span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #00d4ff, #7c5cff);
    box-shadow: 0 0 16px rgba(0, 212, 255, .28);
    transition: width .45s ease;
}

.ts-live-meta {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    color: #8f9db2;
    font-size: .82rem;
}

.ts-live-meta b {
    color: #e9f2ff;
}

.discord-count-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    background: rgba(255, 255, 255, .055);
}

.discord-count-grid > div {
    display: grid;
    gap: 3px;
    padding: 15px 18px;
    background: #0c1422;
}

.discord-count-grid span {
    color: #8190a6;
    font-size: .66rem;
    letter-spacing: .16em;
}

.discord-count-grid b {
    font-size: 1.28rem;
    color: #edf4ff;
}

.discord-live-card.is-live .discord-count-grid > div:first-child b {
    color: #75efb8;
}

@media (max-width: 680px) {
    .ts-live-meta {
        flex-direction: column;
        gap: 4px;
    }

    .discord-count-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* =========================================================
   17. HERO TITLE BALANCE v0.10.2
   Ruhigerer Zeilenfall für den neuen Claim
   ========================================================= */

.hero-copy .hero-title {
    max-width: 780px;
    font-size: clamp(3.7rem, 4.7vw, 5.4rem);
    line-height: 0.96;
    letter-spacing: -0.06em;
}

.hero-title-line {
    display: block;
    width: max-content;
    max-width: 100%;
    white-space: nowrap;
}

.hero-title-line + .hero-title-line {
    margin-top: 0.015em;
}

@media (max-width: 1180px) {
    .hero-copy .hero-title {
        max-width: 860px;
        font-size: clamp(3.8rem, 7.2vw, 5.6rem);
    }
}

@media (max-width: 680px) {
    .hero-copy .hero-title {
        max-width: 100%;
        font-size: clamp(2.65rem, 12.3vw, 3.75rem);
        line-height: 0.98;
        letter-spacing: -0.055em;
    }

    .hero-title-line {
        width: auto;
        white-space: normal;
    }
}

/* =========================================================
   18. FULLSCREEN HERO BALANCE v0.10.4
   Vollbild bleibt erhalten, Inhalt wird aber über die Höhe verteilt.
   ========================================================= */

@media (min-width: 1181px) {
    .hero {
        min-height: 100svh;
        padding-top: 108px;
        padding-bottom: 28px;
        display: flex;
        align-items: stretch;
    }

    .hero-stage {
        width: 100%;
        min-height: calc(100svh - 136px);
        display: flex;
        flex-direction: column;
    }

    .hero-grid {
        flex: 1 1 auto;
        align-items: center;
        padding-block: 10px 24px;
    }

    .hero-features {
        flex: 0 0 auto;
        margin-top: auto;
        padding-top: 18px;
        padding-bottom: 2px;
    }
}

/* Auf sehr hohen Displays nicht alles unnatürlich weit auseinanderziehen. */
@media (min-width: 1181px) and (min-height: 1000px) {
    .hero-stage {
        min-height: calc(100svh - 150px);
    }

    .hero-grid {
        align-content: center;
        padding-top: 28px;
    }

    .hero-features {
        margin-bottom: 8px;
    }
}


/* =========================================================
   19. PERFORMANCE / NATIVE CURSOR v0.10.5
   Browser-eigener Cursor-Renderer statt JS-Follow-Animation.
   Dadurch reagiert der Mauszeiger wieder ohne sichtbare Verzögerung.
   ========================================================= */

.ns-cursor-ring,
.ns-cursor-dot {
    display: none !important;
}

@media (hover: hover) and (pointer: fine) {
    body.frontpage,
    body.frontpage * {
        cursor: url("/assets/img/ns-cursor.svg") 16 16, auto !important;
    }

    body.frontpage a,
    body.frontpage button,
    body.frontpage input,
    body.frontpage textarea,
    body.frontpage select,
    body.frontpage summary,
    body.frontpage .hero-emblem,
    body.frontpage .mini-copy,
    body.frontpage .news-open {
        cursor: url("/assets/img/ns-cursor-active.svg") 18 18, pointer !important;
    }
}

#nightCanvas {
    opacity: 0.58;
}

/* =========================================================
   20. PERFORMANCE CURSOR HYBRID v0.10.6
   Alter NightShift-Look, aber performanter:
   - Punkt folgt direkt
   - Ring läuft nur minimal weich nach
   - transform-only Bewegung / GPU-Compositing
   ========================================================= */

@media (hover: hover) and (pointer: fine) {
    body.frontpage,
    body.frontpage * {
        cursor: none !important;
    }

    .ns-cursor-ring,
    .ns-cursor-dot {
        display: block !important;
        position: fixed;
        left: 0;
        top: 0;
        z-index: 120;
        pointer-events: none;
        opacity: 0;
        will-change: transform;
        contain: layout style paint;
    }

    body.frontpage.cursor-visible .ns-cursor-ring,
    body.frontpage.cursor-visible .ns-cursor-dot {
        opacity: 1;
    }

    .ns-cursor-ring {
        width: 30px;
        height: 30px;
        border-radius: 50%;
        border: 1px solid rgba(120, 221, 255, 0.88);
        background:
            radial-gradient(circle at center, rgba(0, 212, 255, 0.05) 0 34%, transparent 38%),
            conic-gradient(from 0deg,
                rgba(124, 92, 255, 0.00) 0deg 36deg,
                rgba(124, 92, 255, 0.72) 36deg 49deg,
                rgba(124, 92, 255, 0.00) 49deg 126deg,
                rgba(82, 205, 255, 0.72) 126deg 139deg,
                rgba(82, 205, 255, 0.00) 139deg 216deg,
                rgba(124, 92, 255, 0.72) 216deg 229deg,
                rgba(124, 92, 255, 0.00) 229deg 306deg,
                rgba(82, 205, 255, 0.72) 306deg 319deg,
                rgba(82, 205, 255, 0.00) 319deg 360deg);
        box-shadow:
            0 0 13px rgba(75, 193, 255, 0.24),
            inset 0 0 10px rgba(124, 92, 255, 0.10);
        transition:
            width 150ms ease,
            height 150ms ease,
            border-color 150ms ease,
            box-shadow 150ms ease,
            opacity 100ms ease;
    }

    .ns-cursor-ring::before {
        content: "";
        position: absolute;
        inset: 4px;
        border-radius: 50%;
        border: 1px solid rgba(178, 235, 255, 0.16);
    }

    .ns-cursor-ring::after {
        content: "";
        position: absolute;
        inset: -6px;
        border-radius: 50%;
        border: 1px solid transparent;
        opacity: 0;
    }

    .ns-cursor-dot {
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: radial-gradient(circle, #e7faff 0%, #86dcff 38%, #7061ff 100%);
        box-shadow:
            0 0 8px rgba(119, 219, 255, 0.95),
            0 0 17px rgba(124, 92, 255, 0.34);
        transition:
            width 140ms ease,
            height 140ms ease,
            opacity 100ms ease;
    }

    body.frontpage.cursor-active .ns-cursor-ring {
        width: 42px;
        height: 42px;
        border-color: rgba(165, 236, 255, 0.96);
        box-shadow:
            0 0 18px rgba(75, 193, 255, 0.30),
            0 0 34px rgba(124, 92, 255, 0.13),
            inset 0 0 14px rgba(124, 92, 255, 0.12);
    }

    body.frontpage.cursor-active .ns-cursor-dot {
        width: 8px;
        height: 8px;
    }

    body.frontpage.cursor-pressed .ns-cursor-ring::after {
        animation: nsCursorPulse 280ms ease-out;
    }

    body.frontpage.cursor-pressed .ns-cursor-dot {
        width: 5px;
        height: 5px;
    }

    .cursor-glow {
        left: 0;
        top: 0;
        transform: translate3d(-1000px, -1000px, 0) translate3d(-50%, -50%, 0);
        will-change: transform;
    }
}

@keyframes nsCursorPulse {
    0% {
        inset: -4px;
        opacity: 0.55;
        border-color: rgba(118, 220, 255, 0.72);
    }
    100% {
        inset: -17px;
        opacity: 0;
        border-color: rgba(124, 92, 255, 0.08);
    }
}


/* =========================================================
   21. NIGHTSHIFT CURSOR DOT v0.10.7
   Nur noch ein direkter Lichtpunkt. Kein Ring, kein Nachlauf.
   ========================================================= */

@media (hover: hover) and (pointer: fine) {
    /* Alte native SVG-/Pointer-Cursor sicher überschreiben. */
    body.frontpage,
    body.frontpage *,
    body.frontpage a,
    body.frontpage button,
    body.frontpage input,
    body.frontpage textarea,
    body.frontpage select,
    body.frontpage label,
    body.frontpage summary,
    body.frontpage .hero-emblem,
    body.frontpage .mini-copy,
    body.frontpage .news-open {
        cursor: none !important;
    }

    .ns-cursor-ring {
        display: none !important;
    }

    .cursor-glow {
        display: none !important;
    }

    .ns-cursor-dot {
        display: block !important;
        position: fixed;
        left: 0;
        top: 0;
        z-index: 130;
        width: 8px;
        height: 8px;
        pointer-events: none;
        border-radius: 50%;
        opacity: 0;
        will-change: transform;
        contain: layout style paint;
        background:
            radial-gradient(circle,
                #ffffff 0%,
                #c9f5ff 24%,
                #6ed6ff 53%,
                #7464ff 78%,
                rgba(124, 92, 255, 0) 100%);
        box-shadow:
            0 0 7px rgba(131, 225, 255, 0.98),
            0 0 15px rgba(73, 193, 255, 0.55),
            0 0 24px rgba(124, 92, 255, 0.24);
        transition:
            width 110ms ease,
            height 110ms ease,
            opacity 80ms linear,
            box-shadow 120ms ease;
    }

    .ns-cursor-dot::after {
        content: "";
        position: absolute;
        inset: -6px;
        border-radius: 50%;
        border: 1px solid rgba(104, 208, 255, 0.18);
        opacity: 0.42;
        transform: scale(0.8);
        animation: nsDotBreath 1.9s ease-in-out infinite;
        pointer-events: none;
    }

    body.frontpage.cursor-visible .ns-cursor-dot {
        opacity: 1;
    }

    body.frontpage.cursor-active .ns-cursor-dot {
        width: 10px;
        height: 10px;
        box-shadow:
            0 0 9px rgba(157, 235, 255, 1),
            0 0 19px rgba(73, 193, 255, 0.68),
            0 0 30px rgba(124, 92, 255, 0.32);
    }

    body.frontpage.cursor-pressed .ns-cursor-dot {
        width: 6px;
        height: 6px;
    }

    body.frontpage.cursor-pressed .ns-cursor-dot::after {
        animation: nsDotClick 260ms ease-out;
    }
}

@keyframes nsDotBreath {
    0%, 100% {
        opacity: 0.22;
        transform: scale(0.72);
    }
    50% {
        opacity: 0.52;
        transform: scale(1.08);
    }
}

@keyframes nsDotClick {
    0% {
        opacity: 0.55;
        transform: scale(0.8);
    }
    100% {
        opacity: 0;
        transform: scale(1.75);
    }
}


/* =========================================================
   22. FULLSCREEN SECTION FLOW v0.10.8
   Jede Hauptsektion nutzt mindestens die volle Browserhöhe.
   Auf Desktop rastet das Scrollen weich an der nächsten Sektion ein.
   ========================================================= */

@media (min-width: 900px) {
    html {
        scroll-snap-type: y mandatory;
        scroll-padding-top: 0;
    }

    main > section,
    .hero,
    #community,
    #news,
    #about,
    #status,
    .final-cta {
        min-height: 100svh;
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }

    #community,
    #news,
    #about,
    #status,
    .final-cta {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    #community,
    #news,
    #about,
    #status {
        padding-top: 118px;
        padding-bottom: 70px;
    }

    .final-cta {
        padding-top: 110px;
        padding-bottom: 110px;
    }

    footer {
        scroll-snap-align: end;
    }
}

/* Auf kleineren Displays kein erzwungenes Snapping:
   dort darf der Inhalt natürlich fließen. */
@media (max-width: 899px) {
    html {
        scroll-snap-type: none;
    }
}


/* =========================================================
   23. FULLER SCENES v0.10.9
   Vollbild-Sektionen bekommen mehr visuelle Substanz,
   ohne sie mit unnötigem Text vollzustopfen.
   ========================================================= */

.scene-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.scene-section::before {
    content: attr(data-scene);
    position: absolute;
    right: max(26px, calc((100vw - 1320px) / 2));
    bottom: 28px;
    z-index: -1;
    color: rgba(133, 178, 255, .055);
    font-size: clamp(3.6rem, 7vw, 7.5rem);
    line-height: .85;
    font-weight: 900;
    letter-spacing: -.055em;
    white-space: nowrap;
    pointer-events: none;
}

.scene-section::after {
    content: "";
    position: absolute;
    width: 560px;
    height: 560px;
    right: -180px;
    top: 15%;
    z-index: -2;
    border-radius: 50%;
    border: 1px solid rgba(102, 170, 255, .07);
    box-shadow:
        0 0 0 80px rgba(102, 170, 255, .018),
        0 0 0 160px rgba(124, 92, 255, .012);
    pointer-events: none;
}

/* Community ------------------------------------------------ */

.community-pulse {
    display: grid;
    grid-template-columns: 1.35fr repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 26px;
    padding: 14px;
    border-radius: 24px;
    background:
        linear-gradient(90deg, rgba(10, 18, 31, .94), rgba(11, 18, 30, .72)),
        radial-gradient(circle at 20% 50%, rgba(0, 212, 255, .08), transparent 34%);
    border: 1px solid rgba(255, 255, 255, .065);
}

.pulse-intro,
.pulse-step {
    min-height: 112px;
    padding: 16px 18px;
    border-radius: 18px;
}

.pulse-intro {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pulse-intro strong {
    margin-top: 7px;
    font-size: 1.05rem;
}

.pulse-intro small,
.pulse-step small {
    margin-top: 5px;
    color: #8795aa;
    line-height: 1.45;
}

.pulse-step {
    display: grid;
    align-content: center;
    border: 1px solid rgba(255, 255, 255, .055);
    background: rgba(255, 255, 255, .025);
}

.pulse-step > span {
    color: #6edcff;
    font-size: .68rem;
    letter-spacing: .18em;
}

.pulse-step b {
    margin-top: 4px;
}

/* News ----------------------------------------------------- */

.news-overview {
    display: grid;
    grid-template-columns: .9fr 1.1fr 1.35fr;
    gap: 14px;
    margin-top: 18px;
}

.news-overview-primary,
.news-overview-card {
    min-height: 132px;
    padding: 18px 20px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, .06);
    background: rgba(255, 255, 255, .025);
}

.news-overview-primary {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: end;
    column-gap: 12px;
    background:
        radial-gradient(circle at 20% 0%, rgba(0, 212, 255, .11), transparent 45%),
        rgba(255, 255, 255, .025);
}

.news-overview-primary .kicker {
    grid-column: 1 / -1;
}

.news-overview-primary > b {
    font-size: 2.65rem;
    line-height: 1;
    color: #7ee5ff;
}

.news-overview-primary > strong {
    padding-bottom: 4px;
}

.news-overview-primary > small {
    grid-column: 1 / -1;
    color: #8795aa;
    margin-top: 8px;
}

.news-overview-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-overview-card > span {
    color: #8798ae;
    font-size: .68rem;
    letter-spacing: .18em;
}

.news-overview-card > strong {
    margin-top: 8px;
    font-size: 1rem;
}

.news-overview-card > small {
    margin-top: 6px;
    color: #8795aa;
}

.news-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 13px;
}

.news-chip-row i {
    padding: 7px 10px;
    border-radius: 999px;
    font-style: normal;
    color: #b9c9dd;
    font-size: .76rem;
    border: 1px solid rgba(255, 255, 255, .07);
    background: rgba(255, 255, 255, .035);
}

/* About ---------------------------------------------------- */

.about-dna {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 24px;
}

.about-dna > div {
    min-height: 124px;
    padding: 18px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, .06);
    background:
        radial-gradient(circle at 100% 0%, rgba(124, 92, 255, .08), transparent 44%),
        rgba(255, 255, 255, .024);
}

.about-dna span {
    display: block;
    color: #7edfff;
    font-size: 1.15rem;
    font-weight: 900;
    letter-spacing: -.02em;
}

.about-dna strong {
    display: block;
    margin-top: 9px;
}

.about-dna small {
    display: block;
    margin-top: 5px;
    color: #8795aa;
    line-height: 1.4;
}

/* Status --------------------------------------------------- */

.infra-map {
    display: grid;
    grid-template-columns: 1fr auto 1.15fr auto 1fr 1fr;
    gap: 10px;
    align-items: center;
    margin-top: 24px;
    padding: 16px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, .06);
    background:
        linear-gradient(90deg, rgba(10, 17, 29, .94), rgba(8, 14, 24, .78)),
        radial-gradient(circle at 56% 50%, rgba(0, 212, 255, .08), transparent 32%);
}

.infra-node {
    min-height: 110px;
    padding: 16px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, .055);
    background: rgba(255, 255, 255, .025);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.infra-node-kicker {
    color: #8191a8;
    font-size: .64rem;
    letter-spacing: .17em;
}

.infra-node strong {
    margin-top: 5px;
    font-size: .93rem;
    overflow-wrap: anywhere;
}

.infra-node small {
    margin-top: 5px;
    color: #8594aa;
}

.infra-node small b {
    color: #78e7b6;
}

.infra-link {
    color: #63d7ff;
    opacity: .55;
    font-size: 1.2rem;
}

.node-ts,
.node-discord {
    background:
        radial-gradient(circle at 100% 0%, rgba(86, 101, 242, .08), transparent 44%),
        rgba(255, 255, 255, .025);
}

/* CTA ------------------------------------------------------ */

.final-cta .cta-card {
    width: min(1040px, 100%);
    margin-inline: auto;
    padding: clamp(34px, 5vw, 62px);
}

.final-cta .cta-card > p {
    margin-inline: auto;
}

.cta-choice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    width: min(760px, 100%);
    margin: 30px auto 0;
}

.cta-choice {
    appearance: none;
    text-align: left;
    min-height: 176px;
    padding: 22px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, .075);
    background:
        radial-gradient(circle at 100% 0%, rgba(0, 212, 255, .09), transparent 45%),
        rgba(255, 255, 255, .028);
    color: inherit;
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.cta-choice:hover {
    transform: translateY(-3px);
    border-color: rgba(108, 213, 255, .24);
    background:
        radial-gradient(circle at 100% 0%, rgba(0, 212, 255, .13), transparent 45%),
        rgba(255, 255, 255, .04);
}

.cta-choice > span {
    color: #7fdfff;
    font-size: .68rem;
    letter-spacing: .18em;
    font-weight: 800;
}

.cta-choice > strong {
    display: block;
    margin-top: 8px;
    font-size: 1.35rem;
}

.cta-choice > small {
    display: block;
    margin-top: 7px;
    color: #8d9bb0;
    line-height: 1.45;
}

.cta-choice > i {
    display: block;
    margin-top: 18px;
    color: #dce8ff;
    font-style: normal;
    font-size: .82rem;
    font-weight: 800;
}

.cta-footnote {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    margin-top: 24px;
    color: #8998ad;
}

.cta-footnote > span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #c7d5e7;
    font-weight: 700;
}

.cta-footnote i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 12px rgba(89, 236, 178, .55);
}

/* Responsive ---------------------------------------------- */

@media (max-width: 1180px) {
    .community-pulse,
    .about-dna {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .news-overview {
        grid-template-columns: 1fr 1fr;
    }

    .news-overview-primary {
        grid-column: 1 / -1;
    }

    .infra-map {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .infra-link {
        display: none;
    }
}

@media (max-width: 760px) {
    .scene-section::before {
        display: none;
    }

    .community-pulse,
    .news-overview,
    .about-dna,
    .infra-map,
    .cta-choice-grid {
        grid-template-columns: 1fr;
    }

    .news-overview-primary {
        grid-column: auto;
    }

    .cta-footnote {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

@media (min-width: 900px) and (max-height: 780px) {
    .community-pulse,
    .about-dna,
    .infra-map,
    .news-overview {
        margin-top: 16px;
    }

    .pulse-intro,
    .pulse-step,
    .about-dna > div,
    .infra-node {
        min-height: 92px;
    }
}


/* =========================================================
   24. NIGHTSHIFT CONTROL CENTER v0.11
   ========================================================= */

.admin-control-body,
.control-login-body {
    min-height: 100vh;
    padding: 0;
    color: #edf4ff;
    background:
        radial-gradient(circle at 82% 12%, rgba(34, 113, 222, .18), transparent 32%),
        radial-gradient(circle at 12% 4%, rgba(124, 92, 255, .13), transparent 27%),
        linear-gradient(180deg, #07101c 0%, #070e18 48%, #050b13 100%);
}

.admin-control-body::before,
.control-login-body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: .18;
    background-image:
        linear-gradient(rgba(117, 173, 255, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(117, 173, 255, .045) 1px, transparent 1px);
    background-size: 96px 96px;
    mask-image: linear-gradient(180deg, rgba(0,0,0,.9), transparent 92%);
}

.admin-control-body *,
.control-login-body * {
    box-sizing: border-box;
}

.admin-control-body .kicker,
.control-login-body .kicker {
    letter-spacing: .2em;
}

.admin-control-body .toast {
    z-index: 400;
}

/* Dashboard shell ----------------------------------------- */

.admin-control-shell {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr);
}

.control-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 28px 20px 22px;
    border-right: 1px solid rgba(255,255,255,.055);
    background:
        radial-gradient(circle at 0 0, rgba(124,92,255,.14), transparent 30%),
        rgba(7, 13, 23, .88);
    backdrop-filter: blur(18px);
}

.control-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #eef5ff;
}

.control-brand img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    filter: drop-shadow(0 0 14px rgba(63, 176, 255, .16));
}

.control-brand > span {
    display: grid;
    gap: 2px;
}

.control-brand strong {
    font-size: .96rem;
    letter-spacing: -.02em;
    font-style: italic;
}

.control-brand strong span {
    color: #50bdff;
}

.control-brand small {
    color: #74839a;
    font-size: .61rem;
    letter-spacing: .2em;
}

.control-node-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 28px;
    padding: 11px 12px;
    border-radius: 15px;
    border: 1px solid rgba(89, 236, 178, .10);
    background: rgba(89, 236, 178, .035);
}

.control-node-pill > i {
    width: 9px;
    height: 9px;
    flex: 0 0 9px;
    border-radius: 50%;
    background: #5decb4;
    box-shadow: 0 0 13px rgba(89,236,178,.52);
}

.control-node-pill span {
    display: grid;
}

.control-node-pill b {
    color: #c8f5e1;
    font-size: .67rem;
    letter-spacing: .12em;
}

.control-node-pill small {
    margin-top: 2px;
    color: #5d8c7b;
    font-size: .6rem;
    letter-spacing: .11em;
}

.control-nav {
    display: grid;
    gap: 7px;
    margin-top: 26px;
}

.control-nav a {
    display: grid;
    grid-template-columns: 38px 1fr;
    align-items: center;
    gap: 10px;
    min-height: 58px;
    padding: 9px 11px;
    border-radius: 16px;
    color: #8391a7;
    border: 1px solid transparent;
    transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.control-nav a:hover,
.control-nav a.active {
    color: #eef5ff;
    background:
        linear-gradient(90deg, rgba(124,92,255,.13), rgba(58, 174, 255, .055));
    border-color: rgba(255,255,255,.055);
}

.control-nav a:hover {
    transform: translateX(2px);
}

.control-nav-icon {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 11px;
    color: #78ddff;
    background: rgba(255,255,255,.035);
    border: 1px solid rgba(255,255,255,.055);
}

.control-nav a > span:last-child {
    display: grid;
}

.control-nav b {
    font-size: .84rem;
}

.control-nav small {
    margin-top: 2px;
    color: #647187;
    font-size: .67rem;
}

.control-sidebar-bottom {
    display: grid;
    gap: 12px;
    margin-top: auto;
}

.control-user {
    display: flex;
    align-items: center;
    gap: 11px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,.055);
}

.control-user-avatar {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    color: white;
    font-weight: 900;
    background: linear-gradient(135deg, #775cff, #2faeff);
    box-shadow: 0 8px 24px rgba(68, 121, 255, .18);
}

.control-user > span:last-child {
    display: grid;
}

.control-user b {
    font-size: .82rem;
}

.control-user small,
.control-version {
    color: #5f6b7e;
    font-size: .66rem;
}

.control-logout {
    color: #8795aa;
    font-size: .74rem;
}

.control-logout:hover {
    color: #ff9bad;
}

/* Main ---------------------------------------------------- */

.control-main {
    width: min(1500px, 100%);
    padding: 38px clamp(26px, 4vw, 64px) 54px;
}

.control-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 28px;
}

.control-header h1,
.control-editor-heading h1 {
    margin: 8px 0 8px;
    font-size: clamp(2.2rem, 4vw, 4.1rem);
    line-height: .95;
    letter-spacing: -.055em;
}

.control-header p,
.control-editor-heading p {
    margin: 0;
    color: #8391a7;
}

.control-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.control-clock {
    display: grid;
    min-width: 118px;
    padding: 10px 14px;
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,.06);
    background: rgba(255,255,255,.025);
}

.control-clock small {
    color: #718096;
    font-size: .58rem;
    letter-spacing: .15em;
}

.control-clock b {
    margin-top: 3px;
    color: #80e4ff;
    font-variant-numeric: tabular-nums;
}

/* Metrics ------------------------------------------------- */

.control-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 13px;
    margin-top: 30px;
}

.control-metric,
.control-panel {
    border: 1px solid rgba(255,255,255,.06);
    background:
        radial-gradient(circle at 100% 0%, rgba(67, 141, 255, .065), transparent 38%),
        rgba(11, 18, 30, .68);
    box-shadow: 0 24px 58px rgba(0,0,0,.18);
    backdrop-filter: blur(14px);
}

.control-metric {
    min-height: 176px;
    padding: 18px;
    border-radius: 22px;
}

.control-metric.metric-live {
    background:
        radial-gradient(circle at 100% 0%, rgba(0, 212, 255, .09), transparent 42%),
        rgba(11, 18, 30, .72);
}

.metric-head {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
}

.metric-icon {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    color: #7cddff;
    font-size: .69rem;
    font-weight: 900;
    background: rgba(255,255,255,.035);
    border: 1px solid rgba(255,255,255,.055);
}

.metric-state {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 8px;
    border-radius: 999px;
    color: #94a2b7;
    font-size: .63rem;
    background: rgba(255,255,255,.035);
}

.metric-state i,
.sys-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ffc96f;
    box-shadow: 0 0 10px rgba(255,201,111,.28);
}

.metric-state.online i,
.sys-dot.online {
    background: #5decb4;
    box-shadow: 0 0 10px rgba(89,236,178,.42);
}

.metric-state.offline i,
.sys-dot.offline {
    background: #ff728f;
    box-shadow: 0 0 10px rgba(255,114,143,.38);
}

.metric-state.warning i {
    background: #ffc96f;
}

.metric-label {
    display: block;
    margin-top: 18px;
    color: #6f7e94;
    font-size: .62rem;
    letter-spacing: .17em;
}

.control-metric > strong {
    display: block;
    margin-top: 6px;
    font-size: 1.55rem;
    line-height: 1;
    letter-spacing: -.03em;
}

.control-metric > small {
    display: block;
    margin-top: 6px;
    color: #78869b;
    font-size: .72rem;
}

.metric-bar {
    height: 4px;
    margin-top: 18px;
    overflow: hidden;
    border-radius: 99px;
    background: rgba(255,255,255,.055);
}

.metric-bar > i {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #7c5cff, #3ab8ff);
    transition: width .45s ease;
}

/* Main content -------------------------------------------- */

.control-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(290px, .7fr);
    gap: 16px;
    margin-top: 16px;
}

.control-panel {
    border-radius: 24px;
    padding: 22px;
}

.control-panel-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,.055);
}

.control-panel-head.compact {
    padding-bottom: 13px;
}

.control-panel-head h2 {
    margin: 4px 0 3px;
    font-size: 1.38rem;
    letter-spacing: -.035em;
}

.control-panel-head p {
    margin: 0;
    color: #748298;
    font-size: .76rem;
}

.control-counter {
    padding: 7px 10px;
    border-radius: 999px;
    color: #9aacbf;
    font-size: .68rem;
    background: rgba(255,255,255,.035);
    border: 1px solid rgba(255,255,255,.055);
}

.control-post-list {
    display: grid;
}

.control-post {
    position: relative;
    display: grid;
    grid-template-columns: 3px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,.052);
}

.control-post:last-child {
    border-bottom: 0;
}

.control-post-marker {
    align-self: stretch;
    min-height: 54px;
    border-radius: 99px;
    background: #ffc96f;
}

.control-post-marker.published {
    background: linear-gradient(180deg, #5decb4, #3ab8ff);
}

.control-post-copy {
    min-width: 0;
}

.control-post-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    color: #627086;
    font-size: .65rem;
}

.control-post-copy > strong {
    display: block;
    margin-top: 7px;
    font-size: .93rem;
}

.control-post-copy > small {
    display: block;
    margin-top: 3px;
    color: #69768a;
}

.control-featured {
    color: #b9aaff;
    font-size: .59rem;
    letter-spacing: .1em;
}

.control-post-actions {
    display: flex;
    gap: 8px;
}

.control-post-actions a,
.control-post-actions button {
    min-height: 34px;
    padding: 8px 10px;
    border-radius: 10px;
    color: #8998ad;
    font: inherit;
    font-size: .69rem;
    border: 1px solid rgba(255,255,255,.055);
    background: rgba(255,255,255,.025);
}

.control-post-actions a:hover {
    color: #89e4ff;
    border-color: rgba(89, 210, 255, .18);
}

.control-post-actions button:hover {
    color: #ff9bad;
    border-color: rgba(255, 114, 143, .18);
}

.control-empty {
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    color: #7c8ba0;
}

.control-empty > span {
    font-size: 2.2rem;
    color: #67d5ff;
}

.control-empty strong {
    margin-top: 8px;
    color: #dce7f7;
}

.control-empty small {
    margin: 5px 0 16px;
}

.control-side-stack {
    display: grid;
    gap: 16px;
    align-content: start;
}

.control-system-list {
    display: grid;
    margin-top: 8px;
}

.control-system-list > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 43px;
    border-bottom: 1px solid rgba(255,255,255,.045);
}

.control-system-list > div:last-child {
    border-bottom: 0;
}

.control-system-list span {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #8795aa;
    font-size: .76rem;
}

.control-system-list b {
    font-size: .71rem;
}

.control-latest-panel h3 {
    margin: 10px 0 8px;
    font-size: 1.18rem;
}

.control-latest-date {
    display: block;
    margin-top: 14px;
    color: #6f7c91;
    font-size: .68rem;
}

.control-latest-panel p {
    margin: 0;
    color: #7e8ca1;
    font-size: .76rem;
    line-height: 1.55;
}

.control-latest-panel > a {
    display: inline-block;
    margin-top: 14px;
    color: #78ddff;
    font-size: .74rem;
    font-weight: 800;
}

.control-quick-panel {
    display: grid;
    gap: 4px;
}

.control-quick-panel > .kicker {
    margin-bottom: 8px;
}

.control-quick-panel a,
.control-quick-panel button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 42px;
    padding: 8px 10px;
    color: #8795aa;
    font: inherit;
    font-size: .75rem;
    text-align: left;
    border: 0;
    border-bottom: 1px solid rgba(255,255,255,.045);
    background: none;
}

.control-quick-panel a:hover,
.control-quick-panel button:hover {
    color: #dfeaff;
}

/* Editor -------------------------------------------------- */

.control-editor-shell {
    position: relative;
    z-index: 1;
    width: min(1500px, 100%);
    min-height: 100vh;
    margin: 0 auto;
    padding: 26px clamp(20px, 4vw, 58px) 52px;
}

.control-editor-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    min-height: 68px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255,255,255,.055);
}

.control-editor-actions {
    display: flex;
    gap: 10px;
}

.control-editor-main {
    margin-top: 34px;
}

.control-editor-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 24px;
}

.editor-word-counter {
    min-width: 100px;
    display: grid;
    justify-items: end;
}

.editor-word-counter small {
    color: #637187;
    font-size: .6rem;
    letter-spacing: .16em;
}

.editor-word-counter b {
    margin-top: 3px;
    color: #7ee2ff;
    font-size: 1.35rem;
    font-variant-numeric: tabular-nums;
}

.control-editor-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 18px;
    align-items: start;
}

.control-editor-form {
    display: grid;
    gap: 18px;
}

.control-field-row {
    display: grid;
    grid-template-columns: 1.5fr .8fr;
    gap: 14px;
}

.control-editor-form label,
.control-publish-panel label,
.control-login-fields label {
    display: grid;
    gap: 7px;
    color: #cbd5e5;
    font-size: .76rem;
    font-weight: 800;
}

.control-editor-form input,
.control-editor-form textarea,
.control-publish-panel input,
.control-publish-panel select,
.control-login-fields input {
    width: 100%;
    outline: none;
    border: 1px solid rgba(255,255,255,.065);
    border-radius: 14px;
    padding: 13px 14px;
    color: #edf4ff;
    background: rgba(255,255,255,.027);
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.control-editor-form input:focus,
.control-editor-form textarea:focus,
.control-publish-panel input:focus,
.control-publish-panel select:focus,
.control-login-fields input:focus {
    border-color: rgba(76, 185, 255, .32);
    box-shadow: 0 0 0 4px rgba(63, 164, 255, .07);
    background: rgba(255,255,255,.038);
}

.control-editor-form textarea {
    min-height: 430px;
    resize: vertical;
    line-height: 1.6;
}

.editor-writing-note {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 5px;
}

.editor-writing-note > span {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    border-radius: 10px;
    color: #76dfff;
    font-size: .65rem;
    font-weight: 900;
    border: 1px solid rgba(255,255,255,.055);
    background: rgba(255,255,255,.028);
}

.editor-writing-note p {
    margin: 0;
    color: #748197;
    font-size: .71rem;
}

.editor-writing-note b {
    color: #aab8ca;
}

.control-editor-side {
    display: grid;
    gap: 16px;
    position: sticky;
    top: 18px;
}

.control-publish-panel {
    display: grid;
    gap: 15px;
}

.editor-status-light {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.editor-status-light.published {
    background: #5decb4;
    box-shadow: 0 0 12px rgba(89,236,178,.48);
}

.editor-status-light.draft {
    background: #ffc96f;
    box-shadow: 0 0 12px rgba(255,201,111,.38);
}

.control-feature-toggle {
    grid-template-columns: auto 1fr !important;
    align-items: center;
    gap: 11px !important;
    padding: 12px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.055);
    background: rgba(255,255,255,.022);
}

.control-feature-toggle > input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.feature-switch {
    position: relative;
    width: 39px;
    height: 22px;
    border-radius: 99px;
    background: rgba(255,255,255,.09);
    transition: background .18s ease;
}

.feature-switch::after {
    content: "";
    position: absolute;
    left: 3px;
    top: 3px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #8390a3;
    transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}

.control-feature-toggle input:checked + .feature-switch {
    background: rgba(124,92,255,.32);
}

.control-feature-toggle input:checked + .feature-switch::after {
    transform: translateX(17px);
    background: #8ae4ff;
    box-shadow: 0 0 10px rgba(94,211,255,.45);
}

.control-feature-toggle > span:last-child {
    display: grid;
}

.control-feature-toggle b {
    color: #dce6f5;
    font-size: .75rem;
}

.control-feature-toggle small {
    color: #6f7d92;
    font-size: .65rem;
}

.editor-save-button {
    width: 100%;
}

.control-preview-panel {
    overflow: hidden;
    padding: 0;
}

.preview-browser-bar {
    display: flex;
    align-items: center;
    gap: 5px;
    min-height: 36px;
    padding: 0 13px;
    border-bottom: 1px solid rgba(255,255,255,.055);
    background: rgba(255,255,255,.018);
}

.preview-browser-bar i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #516074;
}

.preview-browser-bar i:nth-child(1) {
    background: #ff728f;
}

.preview-browser-bar i:nth-child(2) {
    background: #ffc96f;
}

.preview-browser-bar i:nth-child(3) {
    background: #5decb4;
}

.preview-browser-bar span {
    margin-left: auto;
    color: #5e6b7e;
    font-size: .56rem;
    letter-spacing: .17em;
}

.editor-news-preview {
    position: relative;
    min-height: 260px;
    padding: 20px;
    background:
        radial-gradient(circle at 100% 0%, rgba(68, 153, 255, .13), transparent 42%),
        linear-gradient(180deg, rgba(14,24,40,.94), rgba(8,15,25,.98));
}

.editor-preview-meta {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    color: #718097;
    font-size: .6rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.editor-news-preview h3 {
    margin: 18px 0 10px;
    font-size: 1.45rem;
    line-height: 1.02;
    letter-spacing: -.035em;
}

.editor-news-preview p {
    margin: 0;
    color: #8c9aad;
    font-size: .76rem;
    line-height: 1.55;
    white-space: pre-line;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.editor-preview-featured {
    display: none;
    width: max-content;
    margin-top: 18px;
    padding: 6px 8px;
    border-radius: 999px;
    color: #c7b9ff;
    font-size: .57rem;
    letter-spacing: .13em;
    border: 1px solid rgba(124,92,255,.18);
    background: rgba(124,92,255,.08);
}

.editor-preview-featured.show {
    display: inline-flex;
}

/* Login --------------------------------------------------- */

.control-login-shell {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(420px, .85fr);
}

.control-login-visual {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: clamp(30px, 5vw, 70px);
    border-right: 1px solid rgba(255,255,255,.055);
    background:
        radial-gradient(circle at 72% 35%, rgba(40, 145, 255, .16), transparent 26%),
        radial-gradient(circle at 30% 10%, rgba(124, 92, 255, .15), transparent 26%),
        rgba(7,14,24,.36);
}

.login-brand {
    position: relative;
    z-index: 2;
}

.login-visual-copy {
    position: relative;
    z-index: 2;
    width: min(650px, 100%);
    margin: auto 0;
}

.login-visual-copy h1 {
    max-width: 620px;
    margin: 12px 0 16px;
    font-size: clamp(3.2rem, 6vw, 6.7rem);
    line-height: .87;
    letter-spacing: -.07em;
}

.login-visual-copy > p {
    max-width: 520px;
    color: #8896aa;
    font-size: 1rem;
}

.login-node-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 30px;
}

.login-node-grid > div {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 62px;
    padding: 11px;
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,.055);
    background: rgba(255,255,255,.022);
}

.login-node-grid i {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: #5decb4;
    box-shadow: 0 0 10px rgba(89,236,178,.42);
}

.login-node-grid span {
    display: grid;
}

.login-node-grid b {
    font-size: .61rem;
    letter-spacing: .1em;
}

.login-node-grid small {
    margin-top: 2px;
    color: #657287;
    font-size: .55rem;
    letter-spacing: .11em;
}

.login-system-code {
    position: relative;
    z-index: 2;
    color: #4f5a6c;
    font-size: .57rem;
    letter-spacing: .18em;
}

.login-orbit {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(85, 162, 255, .09);
    pointer-events: none;
}

.login-orbit-a {
    width: 620px;
    height: 620px;
    right: -180px;
    top: 8%;
    box-shadow:
        0 0 0 100px rgba(81, 157, 255, .012),
        0 0 0 200px rgba(124, 92, 255, .008);
}

.login-orbit-b {
    width: 250px;
    height: 250px;
    left: 12%;
    bottom: -80px;
}

.control-login-form-wrap {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: clamp(28px, 5vw, 70px);
    background: rgba(4,9,16,.28);
}

.control-login-form {
    width: min(430px, 100%);
}

.control-login-form h2 {
    margin: 9px 0 9px;
    font-size: 2.35rem;
    line-height: .95;
    letter-spacing: -.05em;
}

.control-login-fields {
    display: grid;
    gap: 15px;
    margin-top: 28px;
}

.control-login-button {
    width: 100%;
    margin-top: 4px;
}

.login-security-note {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding: 12px;
    border-radius: 14px;
    border: 1px solid rgba(89,236,178,.08);
    background: rgba(89,236,178,.025);
}

.login-security-note > i {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 50%;
    background: #5decb4;
    box-shadow: 0 0 10px rgba(89,236,178,.4);
}

.login-security-note > span {
    display: grid;
}

.login-security-note b {
    color: #b8dece;
    font-size: .7rem;
}

.login-security-note small {
    margin-top: 2px;
    color: #5f7a70;
    font-size: .61rem;
}

/* Responsive ---------------------------------------------- */

@media (max-width: 1180px) {
    .control-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .control-content-grid {
        grid-template-columns: 1fr;
    }

    .control-side-stack {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .control-editor-grid {
        grid-template-columns: 1fr;
    }

    .control-editor-side {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .admin-control-shell {
        grid-template-columns: 1fr;
    }

    .control-sidebar {
        position: relative;
        height: auto;
        padding: 18px;
        border-right: 0;
        border-bottom: 1px solid rgba(255,255,255,.055);
    }

    .control-node-pill,
    .control-sidebar-bottom {
        display: none;
    }

    .control-nav {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        margin-top: 16px;
    }

    .control-nav a {
        grid-template-columns: 32px 1fr;
    }

    .control-nav small {
        display: none;
    }

    .control-main {
        padding: 28px 20px 44px;
    }

    .control-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .control-login-shell {
        grid-template-columns: 1fr;
    }

    .control-login-visual {
        min-height: 52vh;
        border-right: 0;
        border-bottom: 1px solid rgba(255,255,255,.055);
    }

    .control-login-form-wrap {
        min-height: auto;
        padding-block: 56px;
    }
}

@media (max-width: 680px) {
    .control-metrics,
    .control-side-stack,
    .control-editor-side,
    .control-field-row,
    .login-node-grid {
        grid-template-columns: 1fr;
    }

    .control-header-actions {
        width: 100%;
        align-items: stretch;
        flex-direction: column;
    }

    .control-clock {
        width: 100%;
    }

    .control-post {
        grid-template-columns: 3px 1fr;
    }

    .control-post-actions {
        grid-column: 2;
        justify-content: flex-start;
    }

    .control-editor-nav,
    .control-editor-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .control-editor-actions {
        width: 100%;
    }

    .control-editor-actions > * {
        flex: 1;
    }

    .control-nav {
        grid-template-columns: 1fr;
    }

    .control-login-visual {
        padding: 28px 20px;
    }

    .login-visual-copy h1 {
        font-size: clamp(3rem, 16vw, 5rem);
    }
}


/* =========================================================
   25. ADMIN SCROLL-SNAP FIX v0.11.1
   Die Fullscreen-Scroll-Snaps gehören nur zur öffentlichen Website.
   Im Adminbereich würden sie die Dashboard-Sections anspringen und
   dadurch den Header "Willkommen in der Zentrale" überspringen.
   ========================================================= */

.admin-control-body main > section,
.admin-control-body .control-metrics,
.admin-control-body .control-panel,
.control-login-body main > section {
    min-height: auto !important;
    scroll-snap-align: none !important;
    scroll-snap-stop: normal !important;
}

html:has(body.admin-control-body),
html:has(body.control-login-body) {
    scroll-snap-type: none !important;
    scroll-padding-top: 0 !important;
}


/* =========================================================
   26. ADMIN ANALYTICS v0.12
   ========================================================= */

.metric-inline-link {
    display: inline-block;
    margin-top: 12px;
    color: #73dfff;
    font-size: .68rem;
    font-weight: 800;
}

.metric-inline-link:hover {
    color: #b9efff;
}

.stats-main {
    padding-bottom: 70px;
}

.stats-privacy-pill {
    min-width: 155px;
}

.stats-privacy-pill b {
    color: #6febba;
    font-size: .7rem;
    letter-spacing: .08em;
}

.stats-kpis {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 13px;
    margin-top: 30px;
}

.stats-kpi-primary {
    background:
        radial-gradient(circle at 100% 0%, rgba(0, 212, 255, .12), transparent 42%),
        radial-gradient(circle at 0 100%, rgba(124, 92, 255, .08), transparent 42%),
        rgba(11, 18, 30, .72);
}

.stats-secondary-value {
    display: block;
    margin-top: 15px;
    color: #6fd9ff;
    font-size: .69rem;
    font-weight: 700;
}

.stats-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(300px, .62fr);
    gap: 16px;
    margin-top: 16px;
}

.stats-chart-panel {
    min-width: 0;
}

.stats-legend {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #77869a;
    font-size: .67rem;
}

.stats-legend span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.stats-legend i {
    width: 8px;
    height: 8px;
    border-radius: 3px;
}

.legend-visitors {
    background: #62ddff;
    box-shadow: 0 0 10px rgba(98, 221, 255, .28);
}

.legend-views {
    background: #7c5cff;
    box-shadow: 0 0 10px rgba(124, 92, 255, .25);
}

.stats-chart {
    height: 325px;
    display: grid;
    grid-template-columns: repeat(30, minmax(6px, 1fr));
    gap: 6px;
    align-items: end;
    margin-top: 24px;
    padding: 15px 6px 0;
    border-radius: 16px;
    background-image:
        linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 100% 25%;
}

.stats-day {
    min-width: 0;
    height: 100%;
    display: grid;
    grid-template-rows: 1fr 20px;
    gap: 6px;
}

.stats-bars {
    display: flex;
    justify-content: center;
    align-items: end;
    gap: 2px;
    min-height: 0;
}

.stats-bar {
    display: block;
    width: min(7px, 42%);
    min-height: 2px;
    border-radius: 4px 4px 1px 1px;
    transition: filter .16s ease, transform .16s ease;
}

.stats-bar.visitors {
    background: linear-gradient(180deg, #91ebff, #30b9ff);
    box-shadow: 0 0 11px rgba(69, 197, 255, .17);
}

.stats-bar.views {
    background: linear-gradient(180deg, #a190ff, #6b53f2);
}

.stats-day:hover .stats-bar {
    filter: brightness(1.28);
    transform: scaleX(1.12);
}

.stats-day > span {
    overflow: hidden;
    color: #58667a;
    font-size: .51rem;
    text-align: center;
    white-space: nowrap;
}

.stats-day:nth-child(even) > span {
    opacity: .25;
}

.stats-side-stack {
    display: grid;
    gap: 16px;
    align-content: start;
}

.stats-breakdown-list {
    display: grid;
    gap: 17px;
    margin-top: 18px;
}

.stats-breakdown-list > div {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 7px 12px;
    align-items: end;
}

.stats-breakdown-list span {
    display: grid;
}

.stats-breakdown-list span > b {
    font-size: .77rem;
}

.stats-breakdown-list span > small {
    margin-top: 2px;
    color: #657389;
    font-size: .61rem;
}

.stats-breakdown-list > div > strong {
    color: #87e5ff;
    font-size: .78rem;
}

.stats-breakdown-list > div > i {
    grid-column: 1 / -1;
    height: 4px;
    overflow: hidden;
    border-radius: 99px;
    background: rgba(255,255,255,.055);
}

.stats-breakdown-list > div > i > b {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #7c5cff, #3cc7ff);
}

.stats-source-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 15px;
}

.stats-source-grid > div {
    min-height: 91px;
    padding: 12px;
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,.052);
    background: rgba(255,255,255,.022);
}

.stats-source-grid span {
    display: block;
    color: #728096;
    font-size: .64rem;
}

.stats-source-grid b {
    display: block;
    margin-top: 8px;
    color: #dce8f8;
    font-size: 1.2rem;
}

.stats-source-grid small {
    display: block;
    margin-top: 3px;
    color: #5f6d81;
    font-size: .58rem;
}

.stats-privacy-panel {
    display: grid;
    grid-template-columns: .8fr 1.35fr;
    gap: 22px 38px;
    align-items: center;
    margin-top: 16px;
    background:
        radial-gradient(circle at 0 100%, rgba(89, 236, 178, .065), transparent 35%),
        rgba(11, 18, 30, .68);
}

.stats-privacy-panel h2 {
    margin: 5px 0 0;
    font-size: 1.35rem;
}

.stats-privacy-points {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 16px;
}

.stats-privacy-points span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #91a0b4;
    font-size: .7rem;
}

.stats-privacy-points i {
    display: grid;
    place-items: center;
    width: 19px;
    height: 19px;
    flex: 0 0 19px;
    border-radius: 50%;
    color: #a8f4d4;
    font-size: .62rem;
    font-style: normal;
    background: rgba(89, 236, 178, .07);
    border: 1px solid rgba(89, 236, 178, .12);
}

.stats-privacy-panel > p {
    grid-column: 1 / -1;
    margin: 0;
    padding-top: 15px;
    color: #647287;
    font-size: .66rem;
    border-top: 1px solid rgba(255,255,255,.045);
}

@media (max-width: 1180px) {
    .stats-kpis {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .stats-layout {
        grid-template-columns: 1fr;
    }

    .stats-side-stack {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .stats-kpis,
    .stats-side-stack,
    .stats-privacy-panel,
    .stats-privacy-points {
        grid-template-columns: 1fr;
    }

    .stats-chart {
        gap: 3px;
        height: 280px;
        overflow-x: auto;
    }

    .stats-privacy-panel > p {
        grid-column: auto;
    }

    .stats-legend {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }
}


/* =========================================================
   27. LEGAL + PRIVACY CONSENT v0.13
   ========================================================= */

.footer-legal-links button,
.legal-footer button,
.privacy-current-choice button {
    appearance: none;
    padding: 0;
    color: inherit;
    font: inherit;
    border: 0;
    background: none;
}

.footer-legal-links button:hover,
.legal-footer button:hover,
.privacy-current-choice button:hover {
    color: #84e4ff;
}

.discord-local-logo {
    width: auto;
    max-width: 150px;
    height: 38px;
}

/* Consent ------------------------------------------------- */

.privacy-consent {
    position: fixed;
    left: 50%;
    bottom: 18px;
    z-index: 500;
    width: min(920px, calc(100vw - 28px));
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 14px 16px;
    border-radius: 20px;
    color: #edf5ff;
    border: 1px solid rgba(128, 206, 255, .16);
    background:
        radial-gradient(circle at 0 100%, rgba(124,92,255,.12), transparent 35%),
        rgba(7, 14, 24, .94);
    box-shadow: 0 24px 70px rgba(0,0,0,.5), 0 0 38px rgba(76,159,255,.07);
    backdrop-filter: blur(20px);
    transform: translate(-50%, calc(100% + 42px));
    opacity: 0;
    visibility: hidden;
    transition: transform .28s ease, opacity .22s ease, visibility .22s ease, border-color .18s ease;
}

.privacy-consent.is-open {
    transform: translate(-50%, 0);
    opacity: 1;
    visibility: visible;
}

.privacy-consent.has-error {
    border-color: rgba(255, 114, 143, .5);
}

.privacy-consent-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    color: #8ae6ff;
    font-size: .73rem;
    font-weight: 900;
    letter-spacing: -.04em;
    border: 1px solid rgba(112, 216, 255, .15);
    background: linear-gradient(135deg, rgba(124,92,255,.13), rgba(0,212,255,.08));
}

.privacy-consent-copy > span {
    color: #73dfff;
    font-size: .58rem;
    font-weight: 900;
    letter-spacing: .18em;
}

.privacy-consent-copy > strong {
    display: block;
    margin-top: 3px;
    font-size: .86rem;
}

.privacy-consent-copy p {
    margin: 4px 0 0;
    max-width: 570px;
    color: #8190a5;
    font-size: .69rem;
    line-height: 1.45;
}

.privacy-consent-copy a {
    color: #9fadc0;
    text-decoration: underline;
    text-decoration-color: rgba(159,173,192,.35);
    text-underline-offset: 2px;
}

.privacy-consent-actions {
    display: flex;
    gap: 8px;
}

.privacy-btn {
    min-height: 38px;
    padding: 9px 13px;
    border-radius: 11px;
    color: #dce8f8;
    font: inherit;
    font-size: .68rem;
    font-weight: 800;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.035);
}

.privacy-btn:hover {
    border-color: rgba(111, 214, 255, .22);
    background: rgba(255,255,255,.055);
}

.privacy-btn-analytics {
    color: white;
    border-color: rgba(88, 176, 255, .18);
    background: linear-gradient(135deg, rgba(124,92,255,.62), rgba(33,150,243,.55));
}

.privacy-btn:disabled {
    opacity: .55;
}

.privacy-consent-close {
    position: absolute;
    right: 8px;
    top: 5px;
    width: 24px;
    height: 24px;
    padding: 0;
    color: #647287;
    font: inherit;
    font-size: 1rem;
    border: 0;
    background: none;
}

/* Legal pages -------------------------------------------- */

.legal-body {
    min-height: 100vh;
    color: #eef5ff;
    background:
        radial-gradient(circle at 82% 5%, rgba(48, 132, 255, .15), transparent 28%),
        radial-gradient(circle at 10% 30%, rgba(124,92,255,.08), transparent 30%),
        #07101a;
}

.legal-body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: .12;
    background-image:
        linear-gradient(rgba(122,177,255,.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(122,177,255,.045) 1px, transparent 1px);
    background-size: 110px 110px;
}

.legal-header,
.legal-main,
.legal-footer {
    position: relative;
    z-index: 1;
}

.legal-header {
    width: min(1280px, calc(100% - 40px));
    min-height: 96px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 1px solid rgba(255,255,255,.055);
}

.legal-main {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 70px 0 85px;
}

.legal-main > section {
    min-height: auto !important;
    scroll-snap-align: none !important;
}

html:has(body.legal-body) {
    scroll-snap-type: none !important;
}

.legal-hero {
    max-width: 800px;
    padding-bottom: 42px;
}

.legal-hero h1 {
    margin: 12px 0 16px;
    font-size: clamp(3.2rem, 7vw, 7rem);
    line-height: .87;
    letter-spacing: -.07em;
}

.legal-hero h1 span {
    color: transparent;
    background: linear-gradient(90deg, #7b70ff, #55d6ff);
    background-clip: text;
    -webkit-background-clip: text;
}

.legal-hero p {
    margin: 0;
    color: #8795aa;
    font-size: 1rem;
}

.legal-config-warning {
    margin-bottom: 20px;
    padding: 15px 17px;
    border-radius: 16px;
    color: #e8d7a7;
    font-size: .76rem;
    border: 1px solid rgba(255,201,111,.16);
    background: rgba(255,201,111,.045);
}

.legal-config-warning b {
    color: #ffda91;
}

.legal-config-warning code,
.legal-card code {
    color: #80ddff;
}

.legal-grid,
.privacy-content {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.legal-card {
    min-height: 230px;
    padding: 24px;
    border-radius: 23px;
    border: 1px solid rgba(255,255,255,.06);
    background:
        radial-gradient(circle at 100% 0%, rgba(77, 158, 255, .07), transparent 42%),
        rgba(11,18,30,.68);
    box-shadow: 0 22px 55px rgba(0,0,0,.17);
}

.legal-card-primary,
.legal-card-wide {
    background:
        radial-gradient(circle at 100% 0%, rgba(0,212,255,.09), transparent 40%),
        radial-gradient(circle at 0 100%, rgba(124,92,255,.06), transparent 40%),
        rgba(11,18,30,.7);
}

.legal-card-wide {
    grid-column: 1 / -1;
}

.legal-card > span {
    color: #6fdcff;
    font-size: .59rem;
    font-weight: 900;
    letter-spacing: .17em;
}

.legal-card h2 {
    margin: 10px 0 13px;
    font-size: 1.42rem;
    letter-spacing: -.035em;
}

.legal-card p {
    margin: 0 0 12px;
    color: #8896aa;
    font-size: .78rem;
    line-height: 1.65;
}

.legal-card p:last-child {
    margin-bottom: 0;
}

.legal-card a {
    color: #8ae6ff;
}

.legal-note {
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 15px;
    color: #66758a;
    font-size: .68rem;
    border: 1px solid rgba(255,255,255,.05);
    background: rgba(255,255,255,.018);
}

.legal-note b {
    color: #93a1b5;
}

.legal-footer {
    width: min(1280px, calc(100% - 40px));
    min-height: 92px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: #5f6d81;
    font-size: .68rem;
    border-top: 1px solid rgba(255,255,255,.055);
}

.legal-footer > div {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.privacy-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 14px;
}

.privacy-summary-grid article {
    min-height: 120px;
    padding: 16px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.055);
    background: rgba(255,255,255,.023);
}

.privacy-summary-grid span {
    color: #72dbff;
    font-size: .66rem;
    font-weight: 900;
}

.privacy-summary-grid b,
.privacy-summary-grid small {
    display: block;
}

.privacy-summary-grid b {
    margin-top: 9px;
    font-size: .82rem;
}

.privacy-summary-grid small {
    margin-top: 5px;
    color: #6f7d91;
    font-size: .64rem;
    line-height: 1.4;
}

.privacy-current-choice {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4px 16px;
    align-items: center;
    margin-top: 20px;
    padding: 14px;
    border-radius: 15px;
    border: 1px solid rgba(89,236,178,.08);
    background: rgba(89,236,178,.025);
}

.privacy-current-choice span {
    grid-column: 1 / -1;
    color: #657e74;
    font-size: .55rem;
    letter-spacing: .14em;
}

.privacy-current-choice b {
    color: #c9e9dc;
    font-size: .75rem;
}

.privacy-current-choice button {
    color: #78dfff;
    font-size: .68rem;
    font-weight: 800;
}

@media (max-width: 900px) {
    .privacy-consent {
        grid-template-columns: 42px minmax(0, 1fr);
    }

    .privacy-consent-actions {
        grid-column: 1 / -1;
        justify-content: flex-end;
    }

    .privacy-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 650px) {
    .privacy-consent {
        bottom: 10px;
        width: calc(100vw - 18px);
        grid-template-columns: 1fr;
        padding: 14px;
    }

    .privacy-consent-icon {
        display: none;
    }

    .privacy-consent-actions {
        grid-column: auto;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .privacy-btn {
        min-height: 42px;
    }

    .legal-header,
    .legal-main,
    .legal-footer {
        width: min(100% - 24px, 1180px);
    }

    .legal-header {
        min-height: 82px;
    }

    .legal-main {
        padding-top: 48px;
    }

    .legal-grid,
    .privacy-content,
    .privacy-summary-grid {
        grid-template-columns: 1fr;
    }

    .legal-card-wide {
        grid-column: auto;
    }

    .legal-footer {
        padding: 20px 0;
        align-items: flex-start;
        flex-direction: column;
    }
}
