/**
 * Root-Landing — Nachtlager Skin Overrides
 * Scope: body.landing-nachtlager
 */
body.landing-nachtlager {
    background: #070c12 !important;
    color: #d8e2ee !important;
}

body.landing-nachtlager .scene {
    background-color: #070c12 !important;
    /* Gradient + animierte Fahnen (WebP) + statisches Lager ohne Fahnen-Stoff */
    background-image:
        linear-gradient(180deg, rgba(7, 12, 18, 0.45), rgba(7, 12, 18, 0.72)),
        var(--landing-hero-flags-url),
        var(--landing-hero-url) !important;
    background-size: cover !important;
    background-position: center top !important;
    background-repeat: no-repeat !important;
}

body.landing-nachtlager .scene::after {
    background:
        radial-gradient(ellipse 90% 55% at 50% 0%, rgba(126, 184, 201, 0.12), transparent 55%),
        radial-gradient(ellipse 110% 70% at 50% 100%, rgba(0, 0, 0, 0.72) 0%, transparent 58%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.42) 0%, transparent 22%, transparent 68%, rgba(0, 0, 0, 0.55) 100%) !important;
}

/* Cool moon sparks instead of warm glory embers */
body.landing-nachtlager .episch-rain-drop {
    background: linear-gradient(
        to bottom,
        rgba(232, 240, 250, 0.98) 0%,
        rgba(126, 184, 201, 0.9) 38%,
        rgba(90, 144, 168, 0.7) 68%,
        rgba(40, 80, 110, 0.35) 88%,
        transparent 100%
    ) !important;
    box-shadow:
        0 0 4px 2px rgba(126, 184, 201, 0.5),
        0 0 10px 3px rgba(90, 144, 168, 0.25) !important;
}
body.landing-nachtlager .episch-rain-drop.episch-rain-drop--fine {
    background: radial-gradient(
        circle at 32% 30%,
        rgba(255, 254, 250, 1) 0%,
        rgba(197, 212, 232, 0.95) 42%,
        rgba(126, 184, 201, 0.7) 72%,
        transparent 88%
    ) !important;
    box-shadow:
        0 0 5px 2px rgba(126, 184, 201, 0.65),
        0 0 12px 4px rgba(90, 144, 168, 0.22) !important;
}

body.landing-nachtlager .top-logo img {
    filter: drop-shadow(0 8px 28px rgba(0, 0, 0, 0.75)) drop-shadow(0 0 40px rgba(126, 184, 201, 0.18)) !important;
}

body.landing-nachtlager .story-box,
body.landing-nachtlager .episch-login-panel,
body.landing-nachtlager .episch-werben-dialog {
    background-image:
        linear-gradient(160deg, rgba(22, 32, 46, 0.94), rgba(10, 16, 24, 0.97)),
        var(--landing-panel-url) !important;
    background-size: cover, 100% 100% !important;
    background-position: center, center !important;
    border-color: rgba(126, 184, 201, 0.38) !important;
    box-shadow:
        0 0 0 1px rgba(126, 184, 201, 0.14),
        0 24px 64px rgba(0, 0, 0, 0.65) !important;
    color: #d8e2ee !important;
}

/* Gladiatoren-Silhouetten aus Original-Charakter-Fulls (Versus/Priscus/Magnus/Valerias = GLB-Chars) */
body.landing-nachtlager .story-box:not(.episch-auth-visible)::after {
    content: "";
    position: absolute;
    left: 2%;
    right: 2%;
    bottom: -4%;
    height: 88%;
    z-index: 0;
    pointer-events: none;
    background: var(--landing-gladiators-url) center bottom / contain no-repeat;
    opacity: 0.42;
    filter: blur(0.4px) drop-shadow(0 12px 28px rgba(0, 0, 0, 0.7));
    mix-blend-mode: normal;
}
body.landing-nachtlager .story-box:not(.episch-auth-visible)::before {
    content: "";
    display: block !important;
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    border-radius: inherit;
    background:
        linear-gradient(180deg, rgba(10, 16, 24, 0.15) 0%, transparent 35%, rgba(7, 12, 18, 0.45) 100%),
        radial-gradient(ellipse 70% 55% at 50% 85%, rgba(126, 184, 201, 0.06), transparent 60%);
}
body.landing-nachtlager .story-scroll-inner,
body.landing-nachtlager .story-content {
    position: relative;
    z-index: 2;
}
body.landing-nachtlager .story-content {
    color: var(--episch-gold-bright, #e8c9a0) !important;
    -webkit-text-stroke: 0.4px rgba(212, 165, 116, 0.55);
    text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.95),
        0 0 10px rgba(0, 0, 0, 0.55),
        0 0 1px rgba(232, 201, 160, 0.45);
}

body.landing-nachtlager .intro-card,
body.landing-nachtlager .section-lbg,
body.landing-nachtlager .section-img2,
body.landing-nachtlager .section-img3,
body.landing-nachtlager .section-img4 {
    border-color: rgba(197, 212, 232, 0.28) !important;
    box-shadow: 0 14px 44px rgba(0, 0, 0, 0.55), 0 0 24px rgba(126, 184, 201, 0.1) !important;
}

body.landing-nachtlager .episch-server-card {
    background: linear-gradient(165deg, rgba(22, 34, 50, 0.95), rgba(10, 16, 24, 0.97)) !important;
    border-color: rgba(197, 212, 232, 0.28) !important;
    color: #e8c9a0 !important;
}
body.landing-nachtlager .episch-server-card:hover,
body.landing-nachtlager .episch-server-card.is-active {
    border-color: rgba(126, 184, 201, 0.5) !important;
    box-shadow: 0 0 16px rgba(126, 184, 201, 0.28), 0 14px 44px rgba(0, 0, 0, 0.55) !important;
}
body.landing-nachtlager .episch-server-select-label {
    color: #e8c9a0 !important;
}

body.landing-nachtlager .btn {
    background:
        linear-gradient(165deg, rgba(197, 212, 232, 0.08) 0%, transparent 38%),
        linear-gradient(165deg, rgba(22, 36, 48, 0.94) 0%, rgba(10, 16, 24, 0.96) 100%) !important;
    color: #e8f0fa !important;
    border-color: rgba(126, 184, 201, 0.42) !important;
}
body.landing-nachtlager .btn.btn-login,
body.landing-nachtlager .btn.btn-register,
body.landing-nachtlager .btn.btn-client {
    border-color: rgba(126, 184, 201, 0.55) !important;
    color: #e8f0fa !important;
}

body.landing-nachtlager .actions.visible .btn {
    animation-name: landingNachtPulse !important;
}
@keyframes landingNachtPulse {
    0%, 100% {
        border-color: rgba(126, 184, 201, 0.55);
        box-shadow: 0 0 14px rgba(126, 184, 201, 0.22), 0 14px 44px rgba(0, 0, 0, 0.55);
        background:
            linear-gradient(165deg, rgba(197, 212, 232, 0.1) 0%, transparent 38%),
            linear-gradient(165deg, rgba(28, 44, 60, 0.92) 0%, rgba(12, 20, 30, 0.95) 100%);
    }
    50% {
        border-color: rgba(212, 165, 116, 0.45);
        box-shadow: 0 0 18px rgba(126, 184, 201, 0.32), 0 14px 44px rgba(0, 0, 0, 0.55);
        background:
            linear-gradient(165deg, rgba(126, 184, 201, 0.16) 0%, transparent 38%),
            linear-gradient(165deg, rgba(32, 52, 68, 0.94) 0%, rgba(14, 22, 34, 0.96) 100%);
    }
}

body.landing-nachtlager .episch-login-submit {
    background: linear-gradient(165deg, #7eb8c9 0%, #3a6a7a 48%, #1e3a48 100%) !important;
    color: #e8f0fa !important;
    border-color: rgba(126, 184, 201, 0.5) !important;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.35);
}
body.landing-nachtlager .episch-login-submit:hover {
    filter: brightness(1.08);
    box-shadow: 0 0 18px rgba(126, 184, 201, 0.35) !important;
}

body.landing-nachtlager .episch-login-field label,
body.landing-nachtlager .episch-auth-tab.is-active,
body.landing-nachtlager .episch-login-links a,
body.landing-nachtlager .episch-login-links button,
body.landing-nachtlager .episch-client-saved-title,
body.landing-nachtlager .episch-client-account-chip {
    color: #e8c9a0 !important;
}
body.landing-nachtlager .episch-login-field input,
body.landing-nachtlager .episch-auth-tabs,
body.landing-nachtlager .episch-client-saved-panel,
body.landing-nachtlager .episch-client-account-chip {
    border-color: rgba(197, 212, 232, 0.28) !important;
    background-color: rgba(8, 14, 22, 0.85) !important;
    color: #d8e2ee !important;
}
body.landing-nachtlager .episch-login-field input:focus {
    border-color: rgba(126, 184, 201, 0.55) !important;
    box-shadow: 0 0 0 3px rgba(126, 184, 201, 0.18) !important;
}

body.landing-nachtlager .episch-werben-tag {
    background: rgba(126, 184, 201, 0.2) !important;
    border: 1px solid rgba(126, 184, 201, 0.5) !important;
    color: #e8f0fa !important;
}
body.landing-nachtlager .episch-werben-btn {
    border-color: rgba(126, 184, 201, 0.5) !important;
    background: linear-gradient(135deg, rgba(126, 184, 201, 0.28), rgba(18, 28, 40, 0.9)) !important;
    color: #e8f0fa !important;
}

body.landing-nachtlager .episch-skip-arrow,
body.landing-nachtlager .episch-lang-flag.is-active {
    border-color: rgba(126, 184, 201, 0.45) !important;
    color: #e8f0fa !important;
}

body.landing-nachtlager .social-hammer-item {
    border-color: rgba(197, 212, 232, 0.28) !important;
    background: rgba(10, 16, 24, 0.85) !important;
    color: #c5d4e8 !important;
}
body.landing-nachtlager .social-hammer-item:hover {
    border-color: rgba(126, 184, 201, 0.5) !important;
    box-shadow: 0 0 14px rgba(126, 184, 201, 0.25) !important;
}

/* Moon crest accent near logo (decorative) */
body.landing-nachtlager .top-logo::after {
    content: "";
    position: absolute;
    right: -18px;
    top: 50%;
    width: 36px;
    height: 36px;
    transform: translateY(-50%);
    background: var(--landing-moon-url) center / contain no-repeat;
    opacity: 0.85;
    pointer-events: none;
    filter: drop-shadow(0 0 10px rgba(126, 184, 201, 0.35));
}

@media (max-width: 720px) {
    body.landing-nachtlager .top-logo::after {
        width: 28px;
        height: 28px;
        right: -12px;
    }
}
