/* ================================
   Grundlayout Nerdflix
   ================================ */

:root {
    --nf-bg: #05070a;
    --nf-bg-soft: #0d1117;
    --nf-card: #11151d;
    --nf-border-soft: #1f2633;
    --nf-text: #e6e6e6;
    --nf-text-muted: #9ca3af;
    --nf-accent: #e0243b;          /* Rot wie im Logo */
    --nf-accent-soft: #ff4b68;
    --nf-accent-secondary: #20e3ff; /* Zyan-Glow */
}

/* Reset / Basis */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
                 Roboto, Helvetica, Arial, sans-serif;
    background: radial-gradient(circle at top, #141821 0, var(--nf-bg) 55%);
    color: var(--nf-text);
}

/* ================================
   Header & Navigation
   ================================ */

.nf-header {
    background: linear-gradient(90deg, #000000, #05070a, #000000);
    color: #fff;
    border-bottom: 1px solid #202634;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
    position: sticky;
    top: 0;
    z-index: 50;
}

.nf-header-inner {
    max-width: 980px;
    margin: 0 auto;
    padding: 8px 20px;
    display: flex;
    align-items: center;
}

/* Logo + Titel-Bereich */

.nf-header-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.nf-logo-link {
    display: inline-block;
}

/* ► Logo: wieder klein & clean, ohne Effekte ◄ */

.nf-header-logo img {
    height: 52px;          /* wieder wie vorher */
    width: auto;
    display: block;
    object-fit: contain;
    image-rendering: auto; /* keine künstliche Schärfung/Filter */
    border-radius: 0;
    box-shadow: none;
    filter: none;
}

.nf-header-title {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ffffff;
    text-shadow:
        0 0 6px rgba(0,0,0,0.9),
        0 0 10px rgba(224,36,59,0.4);
}

/* Navigation mittig */

.nf-nav {
    flex: 1;
    text-align: center;
}

.nf-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 24px;
}

.nf-nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding-bottom: 3px;
    position: relative;
    transition: color 0.2s ease;
}

.nf-nav a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -3px;
    width: 0;
    height: 2px;
    background: linear-gradient(
        90deg,
        var(--nf-accent),
        var(--nf-accent-secondary)
    );
    transform: translateX(-50%);
    transition: width 0.2s ease;
}

.nf-nav a:hover,
.nf-nav a.active {
    color: var(--nf-accent-soft);
}

.nf-nav a:hover::after,
.nf-nav a.active::after {
    width: 60%;
}

/* ================================
   Hauptbereich
   ================================ */

.nf-main {
    max-width: 980px;
    margin: 30px auto 50px;
    padding: 0 20px;
}

/* Hero-Bereich */

.nf-hero {
    margin-bottom: 40px;
    padding: 22px 24px 24px;
    border-radius: 14px;
    background: radial-gradient(circle at top left, #1d2636 0, #0a0d14 55%);
    border: 1px solid rgba(32, 227, 255, 0.15);
    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.9),
        0 0 32px rgba(32, 227, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.nf-hero::before {
    content: "";
    position: absolute;
    right: -80px;
    top: -80px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(224, 36, 59, 0.3),
        transparent 60%
    );
    pointer-events: none;
}

.nf-hero h1 {
    margin: 0 0 8px;
    font-size: 26px;
    letter-spacing: 0.04em;
}

.nf-hero p {
    margin: 4px 0;
    line-height: 1.6;
}

.nf-hero-sub {
    color: var(--nf-text-muted);
    font-size: 14px;
}

/* Sektionen */

.nf-section {
    margin-bottom: 40px;
}

.nf-section h2 {
    margin: 0 0 18px;
    font-size: 20px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    position: relative;
}

.nf-section h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 110px;
    height: 2px;
    background: linear-gradient(
        90deg,
        var(--nf-accent),
        var(--nf-accent-secondary)
    );
}

/* ================================
   Karten (News & Wünsche)
   ================================ */

.nf-card {
    background: radial-gradient(circle at top left, #192233 0, var(--nf-card) 55%);
    border-radius: 10px;
    padding: 16px 20px;
    margin-bottom: 16px;
    border: 1px solid var(--nf-border-soft);
    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.7),
        0 0 20px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
    transition: transform 0.12s ease, box-shadow 0.12s ease,
                border-color 0.12s ease;
}

.nf-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at top right,
        rgba(32, 227, 255, 0.08),
        transparent 55%
    );
    pointer-events: none;
}

.nf-card:hover {
    transform: translateY(-2px);
    border-color: rgba(224, 36, 59, 0.6);
    box-shadow:
        0 14px 30px rgba(0, 0, 0, 0.9),
        0 0 26px rgba(224, 36, 59, 0.35);
}

.nf-card h3 {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 17px;
}

/* kompaktere Karten für Wünsche */

.nf-card-compact {
    padding: 12px 16px;
}

/* Meta-Text */

.nf-meta {
    font-size: 12px;
    color: var(--nf-text-muted);
    margin-top: 10px;
}

/* ================================
   Formular "Dein Wunsch"
   ================================ */

.nf-form {
    max-width: 620px;
}

.nf-form label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    color: var(--nf-text-muted);
}

.nf-form textarea {
    width: 100%;
    min-height: 110px;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid var(--nf-border-soft);
    background: #050812;
    color: var(--nf-text);
    resize: vertical;
    font-family: inherit;
    font-size: 14px;
    outline: none;
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.6);
}

.nf-form textarea:focus {
    border-color: var(--nf-accent);
    box-shadow:
        0 0 0 1px rgba(224, 36, 59, 0.6),
        0 0 12px rgba(32, 227, 255, 0.4);
}

.nf-form button {
    margin-top: 12px;
    padding: 10px 26px;
    border-radius: 999px;
    border: none;
    background: linear-gradient(
        135deg,
        var(--nf-accent),
        var(--nf-accent-soft)
    );
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow:
        0 6px 18px rgba(0, 0, 0, 0.8),
        0 0 16px rgba(224, 36, 59, 0.55);
    transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.nf-form button:hover {
    transform: translateY(-1px);
    box-shadow:
        0 8px 22px rgba(0, 0, 0, 0.9),
        0 0 20px rgba(224, 36, 59, 0.7);
}

.nf-form button:active {
    transform: translateY(1px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.8);
}

/* Erfolgsmeldung */

.nf-success {
    color: #4ade80;
    margin-bottom: 10px;
    font-size: 14px;
}

/* ================================
   Footer
   ================================ */

.nf-footer {
    background: #020308;
    color: var(--nf-text-muted);
    text-align: center;
    padding: 16px 10px;
    font-size: 13px;
    border-top: 1px solid #181d29;
}

/* ================================
   Links allgemein
   ================================ */

a {
    color: var(--nf-accent-secondary);
}

a:hover {
    color: var(--nf-accent-soft);
}

/* ================================
   Responsive Anpassungen
   ================================ */

@media (max-width: 700px) {
    .nf-header-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .nf-nav {
        width: 100%;
    }

    .nf-nav ul {
        justify-content: flex-start;
        gap: 16px;
    }

    .nf-main {
        margin-top: 20px;
    }

    .nf-hero {
        padding: 18px 18px 20px;
    }

    .nf-hero h1 {
        font-size: 22px;
    }
}
