:root {
    --bg-color: #0f172a;
    --header-bg: #1e293b;
    --card-bg: #1e293b;
    --accent-color: #38bdf8;
    --text-main: #ffffff;
    --text-dim: #94a3b8;
    --success: #22c55e;
    --transition: all 0.3s ease;

    --color-banner: #f59e0b;
    --color-maintenance: #ef4444;
    --color-campaign: #8b5cf6;
    --color-renewable: #10b981;
    --color-default: #64748b;

    /* Glow Colors */
    --color-glow-gold: #ffd700;
    --color-glow-pink: #ff69b4;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: 'Inter', -apple-system, sans-serif;
    line-height: 1.5;
    min-height: 100vh;
}

/* --- MASCOT --- */
body::after {
    content: "";
    position: fixed;
    bottom: 0;
    right: 0;
    width: 600px; 
    height: 80vh; 
    background-image: url('img/pictures/BerserkerMorganStage3.webp');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom right;
    z-index: -1; 
    pointer-events: none;
    transition: var(--transition);
}

/* --- HEADER --- */
.main-header {
    background-color: var(--header-bg);
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid rgba(56, 189, 248, 0.2);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo h1 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-color);
    font-weight: 800;
}

#clock {
    font-size: 1.1rem;
    font-family: 'Courier New', monospace;
    font-weight: bold;
}

/* --- FOOTER --- */
.main-footer {
    background-color: var(--header-bg);
    padding: 1rem 1.5rem;
    border-top: 2px solid rgba(56, 189, 248, 0.2);
    color: var(--text-dim);
    font-size: 0.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

/* --- GLOBAL ADAPTATIONS --- */
@media (min-width: 1024px) {
    .main-footer {
        position: fixed;
        bottom: 0; left: 0; right: 0;
    }
}

@media (max-width: 1023px) {
    .main-footer { flex-direction: column; gap: 1rem; margin-top: 2rem; }
    body::after { width: 350px; height: 60vh; opacity: 0.35; filter: blur(3px); right: -50px; }
}
