:root {
    --bg: #0b1120;
    --card-bg: #020617;
    --accent: #facc15;
    --accent-soft: rgba(250, 204, 21, 0.15);
    --text-main: #e5e7eb;
    --text-muted: #9ca3af;
    --border: #1f2937;
    --divider: rgba(148, 163, 184, 0.55);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    background: radial-gradient(circle at top, #1e293b 0, #020617 55%, #000 100%);
    color: var(--text-main);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    padding: 16px;
}

.wrapper {
    width: 100%;
    max-width: 800px;
}

/* Header / Navigation */

.site-header {
    text-align: center;
    margin-bottom: 16px;
}

.site-title {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.site-title span {
    color: var(--accent);
}

.site-nav {
    margin-top: 10px;
}

.nav-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 18px;
    padding: 8px 10px;
    background: rgba(15, 23, 42, 0.85);
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.35);
}

.nav-link {
    font-size: 13px;
    text-decoration: none;
    color: var(--text-main);
    padding: 6px 14px;
    border-radius: 999px;
    transition: background 0.15s ease, color 0.15s ease;
}

.nav-link:hover {
    background: var(--accent-soft);
    color: var(--accent);
}

/* Karte */

.card {
    background: var(--card-bg);
    border-radius: 14px;
    border: 1px solid var(--border);
    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.75),
        0 0 0 1px rgba(15, 23, 42, 0.9);
    padding: 18px 16px 16px;
}

/* Welcome-Block oben */

.welcome {
    margin-bottom: 18px;
}

.welcome h1 {
    font-size: 18px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 10px;
    text-align: center;
}

.welcome p {
    font-size: 13px;
    color: var(--text-main);
    line-height: 1.55;
    margin-bottom: 10px;
}

/* Verbindungsdetails-Box (inkl. IP) */

.meta-box {
    background:
        radial-gradient(circle at top left, var(--accent-soft), transparent 55%),
        radial-gradient(circle at top right, rgba(148, 163, 184, 0.12), transparent 60%);
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    padding: 12px 14px 10px;
    margin-top: 4px;
    margin-bottom: 16px;
}

.meta-heading {
    font-size: 13px;
    font-weight: 700;
    color: #ef4444;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 6px;
}

.meta-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    row-gap: 8px;
    column-gap: 12px;
    font-size: 13px;
}

.meta-row {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    column-gap: 8px;
    align-items: baseline;
}

.meta-label {
    font-weight: 500;
    color: var(--text-muted);
    font-size: 12px;
}

.meta-value {
    color: var(--text-main);
    word-break: break-all;
}

/* Bereich vor Footer – langer Infotext */

.pre-footer {
    margin-top: 20px;
}

.pre-footer-content {
    padding: 14px 12px;
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.9);
    font-size: 14px;
    color: #f9fafb;
    text-align: left;
    line-height: 1.6;
}

.pre-footer-content h2 {
    font-size: 15px;
    margin-bottom: 6px;
    color: var(--accent);
}

.pre-footer-content p {
    margin-bottom: 10px;
}

/* Abstände zwischen Themenblöcken */
.pre-footer-section {
    margin-bottom: 14px;
}

/* Footer mit Text links und Links rechts */

.site-footer {
    margin-top: 18px;
}

.footer-inner {
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: rgba(15, 23, 42, 0.9);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 12px;
    color: var(--text-muted);
}

.footer-left span {
    opacity: 0.9;
}

.footer-right a {
    color: var(--text-muted);
    text-decoration: none;
    margin-left: 10px;
}

.footer-right a:hover {
    color: var(--accent);
    text-decoration: underline;
}

/* Responsive */

@media (min-width: 640px) {
    body {
        padding: 32px;
        align-items: center;
    }

    .card {
        padding: 28px 32px 24px;
    }

    .meta-row {
        grid-template-columns: 130px minmax(0, 1fr);
    }

    .site-title {
        font-size: 38px;
    }
}
