
:root {
    --bg: #020712;
    --bg-deep: #01040b;
    --bg-soft: #04111e;
    --text: #e9f8ff;
    --muted: #91b9ca;
    --dim: #567384;
    --accent: #49cbff;
    --accent-strong: #7ee6ff;
    --success: #45e38a;
    --warning: #ffd85c;
    --danger: #ff4d5d;
    --violet: #d46cff;
    --panel: rgba(4, 16, 28, 0.48);
    --max: 1180px;
    --slant: 90px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
            radial-gradient(circle at 18% 12%, rgba(73, 203, 255, 0.09), transparent 26%),
            radial-gradient(circle at 82% 8%, rgba(126, 230, 255, 0.06), transparent 22%),
            linear-gradient(180deg, var(--bg) 0%, #030916 48%, var(--bg-deep) 100%);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background-image:
            linear-gradient(rgba(126, 230, 255, 0.026) 1px, transparent 1px),
            linear-gradient(90deg, rgba(126, 230, 255, 0.018) 1px, transparent 1px),
            radial-gradient(circle, rgba(185, 236, 255, 0.58) 0 1px, transparent 1.5px);
    background-size: 76px 76px, 76px 76px, 170px 170px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0.58), transparent 84%);
    opacity: 0.24;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
            radial-gradient(circle at 72% 28%, rgba(86, 116, 255, 0.07), transparent 25%),
            radial-gradient(circle at 22% 68%, rgba(73, 203, 255, 0.06), transparent 26%);
    opacity: 0.7;
}

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

button,
input,
select {
    font: inherit;
}

.shell {
    width: min(var(--max), calc(100% - 40px));
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Header / Navigation */
.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(18px);
    background: linear-gradient(180deg, rgba(2, 7, 18, 0.96), rgba(2, 7, 18, 0.74));
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.32);
}

.nav {
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: max-content;
}

.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(73, 203, 255, 0.42);
    background:
            radial-gradient(circle at 50% 50%, rgba(73, 203, 255, 0.34), transparent 42%),
            linear-gradient(135deg, rgba(73, 203, 255, 0.18), rgba(69, 227, 138, 0.04));
    box-shadow: 0 0 34px rgba(73, 203, 255, 0.2);
}

.brand-mark::before,
.brand-mark::after {
    content: "";
    position: absolute;
    inset: 11px;
    border: 1px solid rgba(126, 230, 255, 0.7);
    border-radius: 50%;
}

.brand-mark::after {
    inset: 18px 7px;
    transform: rotate(-28deg);
    border-left-color: transparent;
    border-right-color: transparent;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.brand-text strong {
    font-size: 0.86rem;
    font-weight: 700;
}

.brand-text span {
    color: var(--dim);
    font-size: 0.68rem;
    margin-top: 4px;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 5px;
    border-radius: 8px;
    background: rgba(2, 13, 24, 0.6);
}

.nav-links a {
    color: var(--muted);
    font-size: 0.89rem;
    padding: 10px 13px;
    border-radius: 6px;
    transition: 180ms ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
    color: var(--text);
    background: rgba(73, 203, 255, 0.08);
}

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

.user-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 42px;
    padding: 0 14px;
    color: #dff8ff;
    border-radius: 8px;
    background: rgba(73, 203, 255, 0.055);
}

.user-badge::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--success);
    box-shadow: 0 0 14px rgba(69, 227, 138, 0.72);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 8px;
    padding: 11px 17px;
    font-size: 0.9rem;
    font-weight: 650;
    border: 1px solid rgba(73, 203, 255, 0.26);
    transition: 180ms ease;
    cursor: pointer;
    font-family: inherit;
}

.btn-ghost {
    color: var(--muted);
    background: rgba(73, 203, 255, 0.035);
}

.btn-ghost:hover {
    color: var(--text);
    border-color: rgba(73, 203, 255, 0.46);
    background: rgba(73, 203, 255, 0.08);
}

.btn-primary {
    color: #021019;
    background: linear-gradient(135deg, #49cbff, #7ee6ff);
    border-color: rgba(126, 230, 255, 0.54);
    box-shadow: 0 12px 36px rgba(73, 203, 255, 0.2);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 46px rgba(73, 203, 255, 0.27);
}

/* Typografie */
h1 {
    margin: 24px 0 0;
    font-size: clamp(3rem, 7vw, 6.4rem);
    line-height: 0.9;
    letter-spacing: -0.075em;
}

h1 span {
    display: block;
    color: transparent;
    -webkit-text-stroke: 1px rgba(233, 248, 255, 0.56);
    text-shadow: 0 0 46px rgba(73, 203, 255, 0.1);
}

h2 {
    margin: 0;
    font-size: clamp(2rem, 4.2vw, 4.2rem);
    line-height: 0.98;
    letter-spacing: -0.055em;
}

h3 {
    margin: 0;
    font-size: clamp(1.25rem, 2vw, 1.7rem);
    line-height: 1.05;
    letter-spacing: -0.035em;
}

.lead {
    margin: 26px 0 0;
    color: var(--muted);
    max-width: 680px;
    font-size: clamp(1rem, 1.6vw, 1.15rem);
    line-height: 1.75;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--accent-strong);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding: 9px 12px;
    border-radius: 6px;
    background: rgba(73, 203, 255, 0.055);
}

.eyebrow::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--success);
    box-shadow: 0 0 18px var(--success);
}

.section-title {
    max-width: 700px;
    margin-bottom: 42px;
}

.section-title p {
    margin: 12px 0 0;
    color: var(--muted);
    line-height: 1.7;
}

/* Seitenflächen */
.hero,
.register-page,
.login-page,
.portal-page {
    position: relative;
    z-index: 1;
    background:
            radial-gradient(circle at 72% 18%, rgba(73, 203, 255, 0.1), transparent 24%),
            radial-gradient(circle at 20% 72%, rgba(126, 230, 255, 0.045), transparent 28%),
            linear-gradient(180deg, #020712 0%, #07111d 100%);
}

.hero {
    padding: 106px 0 170px;
}

.register-page,
.login-page,
.portal-page {
    min-height: calc(100vh - 82px);
    padding: 86px 0 160px;
}

.login-page {
    display: flex;
    align-items: center;
}

.register-page::after,
.login-page::after,
.portal-page::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 170px;
    background:
            radial-gradient(circle at 18% 10%, rgba(73, 203, 255, 0.035), transparent 24%),
            linear-gradient(180deg, #0a1b2a 0%, #020813 100%);
    clip-path: polygon(0 58%, 100% 20%, 100% 100%, 0 100%);
    z-index: 0;
}

.section {
    position: relative;
    z-index: 2;
    margin-top: calc(var(--slant) * -1);
    padding: calc(var(--slant) + 100px) 0 124px;
    overflow: hidden;
    clip-path: polygon(0 var(--slant), 100% 0, 100% 100%, 0 100%);
    background:
            radial-gradient(circle at 12% 8%, rgba(73, 203, 255, 0.045), transparent 22%),
            linear-gradient(180deg, #0a1b2a 0%, #07111d 100%);
}

.section-alt {
    background:
            radial-gradient(circle at 86% 16%, rgba(73, 203, 255, 0.07), transparent 25%),
            radial-gradient(circle at 8% 92%, rgba(126, 230, 255, 0.035), transparent 24%),
            linear-gradient(180deg, #10263a 0%, #08131f 100%);
}

.section-strong {
    background:
            radial-gradient(circle at 20% 90%, rgba(126, 230, 255, 0.07), transparent 24%),
            radial-gradient(circle at 70% 18%, rgba(73, 203, 255, 0.045), transparent 24%),
            linear-gradient(180deg, #06101a 0%, #0d2031 100%);
}

.section-flat {
    background:
            radial-gradient(circle at 18% 10%, rgba(73, 203, 255, 0.04), transparent 24%),
            linear-gradient(180deg, #08131f 0%, #020813 100%);
}

/* Startseite */
.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    gap: 56px;
    align-items: center;
}

.hero-meta {
    margin-top: 32px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #c9eaf7;
    padding: 11px 13px;
    border-radius: 7px;
    background: rgba(3, 16, 28, 0.58);
}

.meta-pill i {
    width: 9px;
    height: 9px;
    display: block;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 14px rgba(69, 227, 138, 0.72);
}

.command-panel {
    min-height: 560px;
    position: relative;
    border-radius: 14px;
    border: 1px solid rgba(73, 203, 255, 0.14);
    background:
            linear-gradient(150deg, rgba(255,255,255,0.025), transparent 35%),
            radial-gradient(circle at 50% 40%, rgba(73, 203, 255, 0.14), transparent 34%),
            rgba(2, 13, 24, 0.52);
    box-shadow:
            0 28px 90px rgba(0,0,0,0.48),
            0 0 70px rgba(73, 203, 255, 0.075);
    overflow: hidden;
}

.command-panel::before {
    content: "";
    position: absolute;
    inset: 34px;
    border-radius: 50%;
    border: 1px solid rgba(73, 203, 255, 0.2);
    box-shadow: 0 0 90px rgba(73, 203, 255, 0.1);
}

.command-panel::after {
    content: "";
    position: absolute;
    inset: -30% 26%;
    background: linear-gradient(90deg, transparent, rgba(73, 203, 255, 0.18), transparent);
    transform: rotate(38deg);
    filter: blur(2px);
    opacity: 0.35;
}

.orbit {
    position: absolute;
    border: 1px solid rgba(73, 203, 255, 0.22);
    border-radius: 50%;
    transform: rotate(-18deg);
}

.orbit.one { width: 72%; height: 26%; left: 14%; top: 37%; }
.orbit.two { width: 86%; height: 34%; left: 7%; top: 33%; transform: rotate(22deg); opacity: 0.7; }
.orbit.three { width: 54%; height: 20%; left: 23%; top: 40%; transform: rotate(74deg); opacity: 0.44; }

.planet-core {
    position: absolute;
    width: 150px;
    height: 150px;
    left: calc(50% - 75px);
    top: calc(50% - 75px);
    border-radius: 50%;
    background:
            radial-gradient(circle at 35% 28%, #d9fbff, #49cbff 32%, #0d4058 64%, #020712 100%);
    box-shadow:
            0 0 75px rgba(73, 203, 255, 0.25),
            inset -24px -26px 44px rgba(0,0,0,0.52);
}

.hud-card {
    position: absolute;
    width: 178px;
    padding: 15px;
    border-radius: 8px;
    background: rgba(2, 10, 18, 0.68);
    backdrop-filter: blur(12px);
    box-shadow: 0 18px 50px rgba(0,0,0,0.42);
}

.hud-card strong {
    display: block;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    color: var(--accent-strong);
    text-transform: uppercase;
}

.hud-card span {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.4;
}

.hud-a { left: 28px; top: 38px; }
.hud-b { right: 28px; bottom: 42px; }
.hud-c { left: 36px; bottom: 46px; width: 144px; }

.feature-stack {
    display: grid;
    gap: 70px;
}

.feature-card {
    display: grid;
    grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
    gap: 44px;
    align-items: center;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
    position: relative;
}

.feature-art {
    min-height: 310px;
    border-radius: 10px;
    border: 1px solid rgba(73, 203, 255, 0.11);
    background:
            radial-gradient(circle at 52% 45%, rgba(73, 203, 255, 0.12), transparent 34%),
            rgba(3, 12, 22, 0.42);
    position: relative;
    overflow: hidden;
}

.feature-art::before {
    content: "";
    position: absolute;
    inset: 16px;
    border-radius: 8px;
    border: 1px solid rgba(73, 203, 255, 0.08);
}

.feature-copy .tag {
    display: inline-flex;
    color: var(--accent-strong);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-size: 0.73rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.feature-copy p {
    color: var(--muted);
    line-height: 1.78;
    font-size: 1rem;
    margin: 18px 0 0;
    max-width: 620px;
}

.feature-points {
    margin: 24px 0 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.feature-points span {
    color: #c9eaf7;
    background: rgba(73, 203, 255, 0.035);
    border-radius: 6px;
    padding: 10px 12px;
    font-size: 0.92rem;
}

.ship-art .ship {
    position: absolute;
    left: 18%;
    top: 43%;
    width: 66%;
    height: 18%;
    background: linear-gradient(90deg, transparent 0 7%, #344857 7% 18%, #83dfff 18% 25%, #1d2831 25% 68%, #b5f4ff 68% 78%, transparent 78%);
    clip-path: polygon(0 45%, 15% 15%, 72% 18%, 100% 50%, 72% 82%, 15% 85%);
    filter: drop-shadow(0 0 24px rgba(73, 203, 255, 0.3));
}

.ship-art .ship::before {
    content: "";
    position: absolute;
    inset: 39% 16% 39% 8%;
    background: rgba(126, 230, 255, 0.85);
    box-shadow: 0 0 18px rgba(126, 230, 255, 0.6);
}

.ship-art .trail {
    position: absolute;
    right: 73%;
    top: 49%;
    width: 120px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(73, 203, 255, 0.72));
}

.ship-art .scanline,
.nav-art .scanline,
.station-art .scanline {
    position: absolute;
    inset: 50% 8%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(73, 203, 255, 0.62), transparent);
}

.nav-art .map-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(73, 203, 255, 0.2);
}

.nav-art .r1 { inset: 54px; }
.nav-art .r2 { inset: 94px; opacity: 0.72; }
.nav-art .r3 { width: 55%; height: 22%; left: 22%; top: 38%; transform: rotate(-24deg); }

.node {
    position: absolute;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 20px rgba(73, 203, 255, 0.88);
}

.n1 { left: 27%; top: 32%; }
.n2 { left: 63%; top: 28%; background: var(--success); box-shadow: 0 0 20px rgba(69, 227, 138, 0.78); }
.n3 { left: 54%; top: 61%; }
.n4 { left: 34%; top: 67%; background: var(--warning); box-shadow: 0 0 20px rgba(255, 216, 92, 0.72); }

.route {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, rgba(73, 203, 255, 0.05), rgba(73, 203, 255, 0.6), rgba(73, 203, 255, 0.05));
    transform-origin: left center;
}

.rt1 { left: 29%; top: 34%; width: 36%; transform: rotate(-6deg); }
.rt2 { left: 55%; top: 62%; width: 26%; transform: rotate(-118deg); }
.rt3 { left: 36%; top: 68%; width: 25%; transform: rotate(-18deg); }

.station-art .station-core {
    position: absolute;
    width: 132px;
    height: 132px;
    left: calc(50% - 66px);
    top: calc(50% - 66px);
    border-radius: 10px;
    border: 1px solid rgba(73, 203, 255, 0.32);
    background:
            linear-gradient(135deg, rgba(73, 203, 255, 0.2), rgba(255,255,255,0.035)),
            rgba(5, 24, 38, 0.86);
    box-shadow: 0 0 54px rgba(73, 203, 255, 0.18);
    transform: rotate(45deg);
}

.station-art .arm {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 190px;
    height: 10px;
    margin-left: -95px;
    margin-top: -5px;
    border-radius: 4px;
    background: linear-gradient(90deg, transparent, rgba(73, 203, 255, 0.34), transparent);
}

.station-art .a2 { transform: rotate(90deg); }
.station-art .a3 { transform: rotate(45deg); opacity: 0.58; }
.station-art .a4 { transform: rotate(-45deg); opacity: 0.58; }

.lore-panel {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 44px;
}

.lore-panel p {
    color: var(--muted);
    line-height: 1.8;
    margin: 0;
}

.quote-box {
    border-left: 1px solid rgba(73, 203, 255, 0.4);
    padding-left: 18px;
    color: #dff8ff;
    font-size: clamp(1.2rem, 2.2vw, 1.8rem);
    line-height: 1.35;
    letter-spacing: -0.025em;
}

.parallax-band {
    position: relative;
    z-index: 3;
    margin-top: calc(var(--slant) * -1);
    padding: calc(var(--slant) + 130px) 0 calc(var(--slant) + 120px);
    overflow: hidden;
    isolation: isolate;
    clip-path: polygon(0 var(--slant), 100% 0, 100% calc(100% - var(--slant)), 0 100%);
    background:
            linear-gradient(rgba(2, 7, 18, 0.34), rgba(2, 7, 18, 0.72)),
            url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 900'%3E%3Cdefs%3E%3CradialGradient id='g1' cx='72%25' cy='35%25' r='42%25'%3E%3Cstop offset='0%25' stop-color='%2349cbff' stop-opacity='.55'/%3E%3Cstop offset='100%25' stop-color='%23010810' stop-opacity='0'/%3E%3C/radialGradient%3E%3CradialGradient id='g2' cx='24%25' cy='72%25' r='34%25'%3E%3Cstop offset='0%25' stop-color='%237ee6ff' stop-opacity='.24'/%3E%3Cstop offset='100%25' stop-color='%23010810' stop-opacity='0'/%3E%3C/radialGradient%3E%3CradialGradient id='planet' cx='35%25' cy='28%25' r='65%25'%3E%3Cstop offset='0%25' stop-color='%23d9fbff'/%3E%3Cstop offset='35%25' stop-color='%2349cbff'/%3E%3Cstop offset='78%25' stop-color='%230c4460'/%3E%3Cstop offset='100%25' stop-color='%2301060d'/%3E%3C/radialGradient%3E%3C/defs%3E%3Crect width='1600' height='900' fill='%2301060d'/%3E%3Crect width='1600' height='900' fill='url(%23g1)'/%3E%3Crect width='1600' height='900' fill='url(%23g2)'/%3E%3Ccircle cx='1170' cy='290' r='138' fill='url(%23planet)'/%3E%3Cg fill='%23dff8ff' fill-opacity='.9'%3E%3Ccircle cx='90' cy='120' r='2'/%3E%3Ccircle cx='180' cy='260' r='1.5'/%3E%3Ccircle cx='280' cy='90' r='1.8'/%3E%3Ccircle cx='360' cy='210' r='1.4'/%3E%3Ccircle cx='470' cy='120' r='1.8'/%3E%3Ccircle cx='560' cy='300' r='1.6'/%3E%3Ccircle cx='660' cy='180' r='1.6'/%3E%3Ccircle cx='760' cy='80' r='1.5'/%3E%3Ccircle cx='860' cy='220' r='1.7'/%3E%3Ccircle cx='980' cy='130' r='1.4'/%3E%3Ccircle cx='1080' cy='90' r='1.9'/%3E%3Ccircle cx='1260' cy='150' r='1.4'/%3E%3Ccircle cx='1380' cy='250' r='1.8'/%3E%3Ccircle cx='1490' cy='110' r='1.6'/%3E%3Ccircle cx='1310' cy='470' r='1.5'/%3E%3Ccircle cx='1120' cy='520' r='1.7'/%3E%3Ccircle cx='900' cy='620' r='1.5'/%3E%3Ccircle cx='680' cy='700' r='1.9'/%3E%3Ccircle cx='410' cy='640' r='1.4'/%3E%3Ccircle cx='220' cy='760' r='1.6'/%3E%3C/g%3E%3Cpath d='M190 650 C420 470 760 450 1080 560' stroke='%2349cbff' stroke-opacity='.22' stroke-width='2' fill='none'/%3E%3Cpath d='M260 700 C560 540 900 560 1290 690' stroke='%237ee6ff' stroke-opacity='.16' stroke-width='2' fill='none'/%3E%3Cpath d='M1040 250 L1380 510' stroke='%23dff8ff' stroke-opacity='.1' stroke-width='1'/%3E%3C/svg%3E");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.parallax-band::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
            linear-gradient(145deg, rgba(73, 203, 255, 0.1), transparent 32%),
            linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.38));
}

.parallax-content {
    max-width: 780px;
}

.parallax-eyebrow {
    display: inline-block;
    margin-bottom: 18px;
    padding: 8px 12px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent-strong);
    background: rgba(73, 203, 255, 0.08);
    border-radius: 6px;
}

.parallax-band p {
    margin: 22px 0 0;
    max-width: 650px;
    color: var(--muted);
    line-height: 1.8;
    font-size: 1.05rem;
}

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

.screenshot-thumb {
    position: relative;
    min-height: 230px;
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid rgba(73, 203, 255, 0.12);
    background:
            radial-gradient(circle at 72% 24%, rgba(73, 203, 255, 0.18), transparent 24%),
            linear-gradient(135deg, rgba(7, 24, 38, 0.92), rgba(2, 8, 16, 0.96));
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.24);
}

.screenshot-thumb::before {
    content: "";
    position: absolute;
    inset: 18px;
    border: 1px solid rgba(73, 203, 255, 0.08);
    border-radius: 7px;
}

.screenshot-thumb::after {
    content: "";
    position: absolute;
    left: 12%;
    right: 12%;
    bottom: 32%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(126, 230, 255, 0.6), transparent);
    box-shadow: 0 0 22px rgba(73, 203, 255, 0.24);
}

.screenshot-thumb span {
    position: absolute;
    left: 18px;
    bottom: 16px;
    z-index: 2;
    color: #dff8ff;
    font-weight: 700;
    font-size: 0.94rem;
}

.screenshot-map {
    background:
            radial-gradient(circle at 28% 28%, rgba(69, 227, 138, 0.18), transparent 16%),
            radial-gradient(circle at 70% 60%, rgba(73, 203, 255, 0.22), transparent 22%),
            linear-gradient(135deg, #0d2436, #020813);
}

.screenshot-market {
    background:
            linear-gradient(90deg, rgba(73, 203, 255, 0.08) 1px, transparent 1px),
            linear-gradient(180deg, rgba(73, 203, 255, 0.07) 1px, transparent 1px),
            linear-gradient(135deg, #10263a, #020813);
    background-size: 34px 34px, 34px 34px, auto;
}

.screenshot-station {
    background:
            radial-gradient(circle at 50% 48%, rgba(126, 230, 255, 0.26), transparent 22%),
            radial-gradient(circle at 50% 48%, rgba(73, 203, 255, 0.18), transparent 38%),
            linear-gradient(135deg, #06101a, #0d2031);
}

.news-card {
    min-height: 210px;
    padding: 24px;
    border-radius: 10px;
    border: 1px solid rgba(73, 203, 255, 0.1);
    background: rgba(4, 16, 28, 0.42);
}

.news-card time {
    color: var(--accent-strong);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.news-card h3 {
    margin-top: 18px;
}

.news-card p {
    margin: 14px 0 0;
    color: var(--muted);
    line-height: 1.7;
}

.faq-grid {
    display: grid;
    grid-template-columns: 0.74fr 1.26fr;
    gap: 42px;
    align-items: start;
}

.faq-list {
    display: grid;
    gap: 10px;
}

details {
    border: 1px solid rgba(73, 203, 255, 0.1);
    border-radius: 8px;
    background: rgba(4, 16, 28, 0.38);
    overflow: hidden;
    box-shadow: none;
}

summary {
    cursor: pointer;
    list-style: none;
    padding: 19px 21px;
    color: #dff8ff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    content: "+";
    color: var(--accent-strong);
    font-size: 1.25rem;
    line-height: 1;
}

details[open] summary::after {
    content: "-";
}

details p {
    margin: 0;
    padding: 0 21px 21px;
    color: var(--muted);
    line-height: 1.7;
}

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

.stat {
    position: relative;
    min-height: 142px;
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    column-gap: 18px;
    align-items: center;
    padding: 24px 22px;
    border-radius: 10px;
    border: 1px solid rgba(73, 203, 255, 0.11);
    background:
            radial-gradient(circle at 0% 50%, rgba(73, 203, 255, 0.11), transparent 34%),
            linear-gradient(180deg, rgba(5, 16, 28, 0.72), rgba(3, 10, 18, 0.82));
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.stat::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 2px;
    background: linear-gradient(180deg, transparent, rgba(126, 230, 255, 0.42), transparent);
}

.stat-icon {
    grid-column: 1;
    grid-row: 1 / span 3;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(126, 230, 255, 0.94);
    filter: drop-shadow(0 0 18px rgba(73, 203, 255, 0.24));
}

.stat-icon svg {
    width: 58px;
    height: 58px;
    stroke: currentColor;
    stroke-width: 1.35;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.stat-label {
    grid-column: 2;
    display: block;
    margin: 0 0 7px;
    color: var(--dim);
    font-size: 0.74rem;
    font-weight: 750;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.stat strong {
    grid-column: 2;
    display: block;
    color: #f3fcff;
    font-size: clamp(2rem, 3vw, 2.75rem);
    line-height: 0.95;
    letter-spacing: -0.055em;
}

.stat span:not(.stat-icon) {
    grid-column: 2;
    display: block;
    margin-top: 9px;
    color: var(--muted);
    font-size: 0.93rem;
    line-height: 1.42;
}

/* Login / Registrierung */
.login-wrap {
    width: min(460px, 100%);
    margin: 0 auto;
}

.login-intro {
    text-align: center;
    margin-bottom: 26px;
}

.login-intro .lead {
    margin-left: auto;
    margin-right: auto;
}

.register-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(380px, 0.8fr);
    gap: 68px;
    align-items: center;
}

.access-meta {
    margin-top: 34px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    max-width: 700px;
}

.access-item {
    position: relative;
    min-height: 118px;
    padding: 18px;
    border-radius: 10px;
    border: 1px solid rgba(73, 203, 255, 0.1);
    background:
            radial-gradient(circle at 0% 50%, rgba(73, 203, 255, 0.1), transparent 34%),
            rgba(4, 16, 28, 0.38);
}

.access-item strong {
    display: block;
    color: #f3fcff;
    font-size: 1rem;
    margin-bottom: 8px;
}

.access-item span {
    color: var(--muted);
    line-height: 1.5;
    font-size: 0.9rem;
}

.register-panel,
.create-panel {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid rgba(73, 203, 255, 0.14);
    background:
            radial-gradient(circle at 90% 10%, rgba(73, 203, 255, 0.14), transparent 24%),
            linear-gradient(180deg, rgba(7, 21, 34, 0.86), rgba(3, 10, 18, 0.94));
    box-shadow:
            0 28px 90px rgba(0,0,0,0.38),
            0 0 70px rgba(73, 203, 255, 0.06);
}

.create-panel {
    position: sticky;
    top: 112px;
}

.register-panel::before,
.create-panel::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 2px;
    background: linear-gradient(180deg, transparent, rgba(126, 230, 255, 0.46), transparent);
}

.login-panel {
    position: relative;
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.panel-head {
    padding: 28px 28px 0;
}

.login-panel .panel-head {
    display: none;
}

.panel-head small {
    display: block;
    color: var(--accent-strong);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.panel-head h2 {
    margin: 0;
    font-size: clamp(1.7rem, 3vw, 2.35rem);
    line-height: 1;
    letter-spacing: -0.045em;
}

.panel-head p {
    margin: 14px 0 0;
    color: var(--muted);
    line-height: 1.65;
}

.register-form,
.pilot-form {
    padding: 26px 28px 28px;
    display: grid;
    gap: 17px;
}

.login-form {
    margin-top: 34px;
    padding: 0;
    display: grid;
    gap: 18px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.field {
    display: grid;
    gap: 8px;
}

.field label,
.checkbox-label {
    color: #dff8ff;
    font-size: 0.9rem;
    font-weight: 700;
}

.field input,
.field select {
    width: 100%;
    height: 48px;
    border: 1px solid rgba(73, 203, 255, 0.18);
    border-radius: 8px;
    color: var(--text);
    background: rgba(1, 7, 14, 0.68);
    padding: 0 14px;
    outline: none;
    transition: 160ms ease;
}

.field select {
    appearance: none;
    background-image:
            linear-gradient(45deg, transparent 50%, rgba(126, 230, 255, 0.9) 50%),
            linear-gradient(135deg, rgba(126, 230, 255, 0.9) 50%, transparent 50%),
            linear-gradient(180deg, rgba(1, 7, 14, 0.68), rgba(1, 7, 14, 0.68));
    background-position:
            calc(100% - 19px) 20px,
            calc(100% - 14px) 20px,
            0 0;
    background-size: 5px 5px, 5px 5px, 100% 100%;
    background-repeat: no-repeat;
}

.field input::placeholder {
    color: rgba(145, 185, 202, 0.52);
}

.field input:focus,
.field select:focus {
    border-color: rgba(126, 230, 255, 0.55);
    box-shadow: 0 0 0 3px rgba(73, 203, 255, 0.08);
    background-color: rgba(1, 9, 18, 0.76);
}

.checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 2px;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.55;
}

.checkbox-row input,
.remember-row input {
    width: 18px;
    height: 18px;
    accent-color: var(--accent);
}

.checkbox-row a,
.form-options a,
.login-note a,
.register-note a {
    color: var(--accent-strong);
    font-weight: 700;
}

.form-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: var(--muted);
    font-size: 0.9rem;
}

.remember-row {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    line-height: 1.4;
}

.submit-row {
    margin-top: 4px;
    display: grid;
    gap: 14px;
}

.submit-row .btn {
    width: 100%;
    min-height: 50px;
}

.hint {
    color: var(--dim);
    font-size: 0.85rem;
    line-height: 1.45;
}

.login-note,
.register-note,
.portal-note {
    color: var(--muted);
    text-align: center;
    font-size: 0.92rem;
    line-height: 1.5;
}

.system-card {
    position: relative;
    width: auto;
    margin: 0 28px 28px;
    padding: 15px 16px;
    border-radius: 8px;
    border: 1px solid rgba(73, 203, 255, 0.1);
    background: rgba(2, 10, 18, 0.58);
    backdrop-filter: blur(12px);
    box-shadow: 0 18px 50px rgba(0,0,0,0.22);
}

.system-card strong {
    display: block;
    color: var(--accent-strong);
    font-size: 0.76rem;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.system-card span {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    line-height: 1.4;
    font-size: 0.85rem;
}

/* Pilotenportal */
.portal-head {
    max-width: 880px;
    margin-bottom: 48px;
}

.portal-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.8fr);
    gap: 32px;
    align-items: start;
}

.portal-grid .section-title {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.portal-grid .section-title h2 {
    font-size: clamp(1.55rem, 3vw, 2.45rem);
}

.portal-list,
.pilot-list {
    display: grid;
    gap: 16px;
}

.pilot-card {
    position: relative;
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    min-height: 142px;
    padding: 22px;
    border-radius: 10px;
    border: 1px solid rgba(73, 203, 255, 0.11);
    background:
            radial-gradient(circle at 0% 50%, rgba(73, 203, 255, 0.12), transparent 34%),
            linear-gradient(180deg, rgba(5, 16, 28, 0.74), rgba(3, 10, 18, 0.84));
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.pilot-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 2px;
    background: linear-gradient(180deg, transparent, rgba(126, 230, 255, 0.42), transparent);
}

.pilot-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(126, 230, 255, 0.94);
    filter: drop-shadow(0 0 18px rgba(73, 203, 255, 0.24));
}

.pilot-icon svg {
    width: 58px;
    height: 58px;
    stroke: currentColor;
    stroke-width: 1.35;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.pilot-meta {
    min-width: 0;
}

.pilot-kicker {
    display: block;
    color: var(--dim);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.pilot-details {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 9px;
    border-radius: 6px;
    color: #c9eaf7;
    background: rgba(73, 203, 255, 0.045);
    font-size: 0.88rem;
}

.pill::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--accent);
    box-shadow: 0 0 12px rgba(73, 203, 255, 0.62);
}

.pill.location::before {
    background: var(--success);
    box-shadow: 0 0 12px rgba(69, 227, 138, 0.62);
}

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

/* Footer */
.site-footer {
    position: relative;
    z-index: 1;
    margin-top: calc(var(--slant) * -1);
    padding: calc(var(--slant) + 48px) 0 56px;
    color: var(--dim);
    background:
            radial-gradient(circle at 20% 0%, rgba(73, 203, 255, 0.03), transparent 24%),
            linear-gradient(180deg, #020813 0%, #01050c 100%);
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.footer-links a:hover {
    color: var(--text);
}

/* Responsive */
@media (max-width: 980px) {
    :root {
        --slant: 52px;
    }

    .nav {
        height: auto;
        padding: 18px 0;
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .nav-links {
        order: 3;
        width: 100%;
        justify-content: flex-start;
        overflow-x: auto;
    }

    .hero,
    .register-page,
    .login-page,
    .portal-page {
        padding-top: 58px;
        padding-bottom: 120px;
    }

    .hero-grid,
    .feature-card,
    .lore-panel,
    .register-grid,
    .portal-grid,
    .faq-grid,
    .screenshots-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }

    .command-panel {
        min-height: 430px;
    }

    .feature-art {
        min-height: 270px;
    }

    .section {
        padding: calc(var(--slant) + 88px) 0 92px;
    }

    .parallax-band {
        padding: calc(var(--slant) + 98px) 0 calc(var(--slant) + 92px);
        background-attachment: scroll;
    }

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

    .access-meta {
        grid-template-columns: 1fr;
    }

    .create-panel {
        position: relative;
        top: auto;
    }

    .nav-actions {
        width: 100%;
        justify-content: space-between;
    }
}

@media (max-width: 720px) {
    .pilot-card {
        grid-template-columns: 1fr;
    }

    .pilot-icon {
        width: 62px;
        height: 62px;
    }

    .pilot-actions,
    .pilot-actions .btn {
        width: 100%;
    }
}

@media (max-width: 620px) {
    :root {
        --slant: 36px;
    }

    .shell {
        width: min(100% - 24px, var(--max));
    }

    .nav-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .user-badge,
    .nav-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .hero,
    .register-page,
    .login-page,
    .portal-page {
        padding-top: 42px;
        padding-bottom: 96px;
    }

    .hero-meta,
    .feature-points,
    .form-row {
        grid-template-columns: 1fr;
    }

    .meta-pill {
        width: 100%;
    }

    .command-panel {
        min-height: 360px;
        border-radius: 10px;
    }

    .hud-card {
        display: none;
    }

    .planet-core {
        width: 118px;
        height: 118px;
        left: calc(50% - 59px);
        top: calc(50% - 59px);
    }

    .section {
        padding: calc(var(--slant) + 64px) 0 72px;
    }

    .feature-stack {
        gap: 56px;
    }

    .feature-art {
        min-height: 230px;
        border-radius: 8px;
    }

    .parallax-band {
        padding: calc(var(--slant) + 78px) 0 calc(var(--slant) + 70px);
    }

    .stats {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .form-options {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .section-title,
    .portal-grid .section-title {
        align-items: flex-start;
        flex-direction: column;
    }

    .panel-head,
    .register-form,
    .pilot-form {
        padding-left: 20px;
        padding-right: 20px;
    }

    .system-card {
        margin-left: 20px;
        margin-right: 20px;
    }

    .footer-grid {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* Flash messages */
.flash-errors,
.flash-infos,
.flash-successes {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.flash-error,
.flash-info,
.flash-success {
    padding: 11px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    line-height: 1.45;
}

.flash-error {
    background: rgba(255, 77, 93, 0.1);
    border: 1px solid rgba(255, 77, 93, 0.3);
    color: #ffb3b8;
}

.flash-info {
    background: rgba(73, 203, 255, 0.08);
    border: 1px solid rgba(73, 203, 255, 0.22);
    color: #c9eaf7;
}

.flash-success {
    background: rgba(69, 227, 138, 0.08);
    border: 1px solid rgba(69, 227, 138, 0.24);
    color: #a8f0c8;
}

/* Pilot card ship image */
.pilot-icon img {
    width: 58px;
    height: 58px;
    object-fit: contain;
    filter: drop-shadow(0 0 14px rgba(73, 203, 255, 0.28));
}

/* Language switcher */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 2px;
    border: 1px solid rgba(73, 203, 255, 0.18);
    border-radius: 6px;
    overflow: hidden;
    margin-right: 4px;
}

.lang-btn {
    padding: 6px 10px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--dim);
    text-decoration: none;
    transition: color 0.15s, background 0.15s;
}

.lang-btn:hover {
    color: var(--accent);
    background: rgba(73, 203, 255, 0.06);
}

.lang-btn.is-active {
    color: var(--accent-strong);
    background: rgba(73, 203, 255, 0.1);
}

/* Footer logout link */
.btn-link {
    background: none;
    border: none;
    padding: 0;
    color: var(--muted);
    font-size: inherit;
    cursor: pointer;
    text-decoration: none;
}

.btn-link:hover {
    color: var(--text);
}
