:root {
    --bg: #0a0a0c;
    --panel: #151518;
    --accent: #0047ff;
    --text: #e0e0e0;
    --glow: #00ff00;
}

body { font-family: 'Inter', sans-serif; background: var(--bg); color: var(--text); margin: 0; }

/* Navigation */
header {
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    padding: 0.75rem 5%; 
    border-bottom: 1px solid #333; 
    background: rgba(0,0,0,0.9);
    position: sticky; 
    top: 0; 
    z-index: 100;
}
nav a { 
    color: var(--text); 
    text-decoration: none; 
    margin-left: 25px; 
    font-size: 0.85rem; 
    transition: 0.3s; 
}
nav a:hover, nav a.active { color: var(--accent); }
.login-link { border: 1px solid var(--accent); padding: 8px 15px; border-radius: 3px; }

/* Logo Styling */
.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    gap: 8px;
    flex-shrink: 0;
    position: relative;
    cursor: pointer;
}

.logo img {
    height: 100%;
    width: auto;
    max-height: 45px;
    object-fit: contain;
    filter: drop-shadow(0 0 2px rgba(0, 255, 0, 0.1));
    cursor: pointer;
}

.logo img:hover {
    filter: drop-shadow(0 0 15px rgba(0, 255, 0, 0.6));
}

.logo img.animating {
    position: fixed !important;
    z-index: 10000 !important;
    height: 45px !important;
    width: 45px !important;
    animation: logoFlyToCenter 0.6s ease-in-out forwards, logoScale 0.5s ease-in-out 0.6s forwards;
    top: 50% !important;
    left: 50% !important;
    filter: drop-shadow(0 0 30px rgba(0, 255, 0, 0.8)) !important;
    opacity: 1 !important;
    background: radial-gradient(circle, rgba(0, 255, 0, 0.3) 0%, rgba(0, 255, 0, 0.1) 100%) !important;
    padding: 20px !important;
    border-radius: 50% !important;
}

@keyframes logoFlyToCenter {
    0% {
        transform: translate(calc(var(--startX) - 50vw), calc(var(--startY) - 50vh)) scale(1);
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes logoScale {
    0% {
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        transform: translate(-50%, -50%) scale(6);
    }
}

.logo-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    animation: overlayFade 0.4s ease-in forwards;
    pointer-events: auto;
}

@keyframes overlayFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Sections */
main { padding: 4rem 10%; }
.hero { text-align: center; padding: 6rem 0; background: radial-gradient(circle at center, #112 0%, #0a0a0c 100%); }
.hero h1 { font-size: 3.5rem; margin-bottom: 1rem; letter-spacing: -2px; }
.hero p { font-size: 1.2rem; opacity: 0.7; max-width: 700px; margin: 0 auto; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top: 3rem; }
.card { background: var(--panel); padding: 2.5rem; border-radius: 8px; border-bottom: 4px solid var(--accent); }

/* Admin UI Elements */
.big-number { font-family: monospace; font-size: 4rem; color: var(--glow); margin: 2rem 0; }
input { background: #000; border: 1px solid #444; color: var(--glow); padding: 12px; width: 100%; margin-bottom: 1rem; }
button { background: var(--accent); color: white; border: none; padding: 12px 25px; cursor: pointer; font-weight: bold; width: 100%; }
button.danger { background: #800; }

table { width: 100%; border-collapse: collapse; margin-top: 2rem; }
th, td { text-align: left; padding: 15px; border-bottom: 1px solid #222; }

.hidden { display: none; }

/* Ergänzung für dein style.css */
blockquote {
    font-style: italic;
    font-size: 1.5rem;
    border-left: 4px solid var(--accent);
    padding-left: 20px;
    margin: 40px 0;
    color: var(--accent);
}

/* --- FOOTER STYLES --- */
footer {
    background-color: rgba(0, 0, 0, 0.5);
    border-top: 1px solid #222;
    padding: 3rem 10% 2rem 10%;
    margin-top: auto; /* Schiebt den Footer bei wenig Inhalt nach unten */
    color: #666;
    font-size: 0.85rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    color: var(--text);
    font-weight: bold;
    letter-spacing: 1px;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: #888;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid #1a1a1a;
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.legal-notice {
    font-size: 0.7rem;
    max-width: 600px;
    line-height: 1.4;
    color: #444;
}

/* Responsive Anpassung */
@media (max-width: 768px) {
    .footer-content, .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
}

/* --- ADMIN FOOTER (TERMINAL STYLE) --- */
.admin-footer {
    background-color: #050505;
    border-top: 1px solid var(--glow);
    padding: 10px 2rem;
    font-family: 'Courier New', monospace;
    font-size: 0.75rem;
    color: var(--glow);
    
    /* Sorgt für die gleichmäßige Verteilung der 4 Elemente */
    display: flex;
    justify-content: space-between; 
    align-items: center;
    
    position: fixed;
    bottom: 0;
    width: 100%;
    box-sizing: border-box;
    z-index: 1000;
}

.admin-copyright {
    opacity: 0.8;
    letter-spacing: 1px;
    font-weight: bold;
}

.system-status {
    display: flex;
    gap: 20px;
}

.status-item::before {
    content: "●";
    margin-right: 5px;
    animation: blink 1s infinite;
}

@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0.3; }
    100% { opacity: 1; }
}

.terminal-info {
    text-transform: uppercase;
    opacity: 0.7;
}

/* Platzhalter für den Content, damit er nicht vom fixierten Footer verdeckt wird */
.admin-body-padding {
    padding-bottom: 50px;
}
