/**
 * MYCITADEL // GLOBAL CORE STYLESHEET v26.1
 * Theme: Year 5055 Sovereign Neural Interface
 * Adaptability: Universal Device Scaling (Phone -> 8K TV)
 */

/* --- 1. SOVEREIGN FONT INJECTION --- */
@font-face { font-family: 'Orbitron'; src: url('../f0n7z/Orbitron/Orbitron-Bold.ttf'); font-weight: bold; }
@font-face { font-family: 'Saira'; src: url('../f0n7z/SairaStencil/SairaStencil-Regular.ttf'); }
@font-face { font-family: 'SourceCode'; src: url('../f0n7z/SourceCodePro/SourceCodePro-Regular.ttf'); }

:root {
    --neon-blue: #00f7ff;
    --alien-green: #00FF41;
    --deep-purple: #1a0b2e;
    --gold: #d4af37;
    --bg-black: #02040a;
    --glass: rgba(255, 255, 255, 0.03);
    --border-glow: rgba(0, 247, 255, 0.2);
    /* Dynamic Scaling Variables */
    --citadel-spacing: 2rem;
    --font-scale: 1;
}

/* --- 2. GLOBAL RESET & BASE --- */
body {
    background-color: var(--bg-black);
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(26, 11, 46, 0.8) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(0, 247, 255, 0.05) 0%, transparent 30%);
    color: #e0e0e0;
    font-family: 'SourceCode', monospace;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* --- 3. TYPOGRAPHY & GLOW EFFECTS --- */
h1, .brand-text {
    font-family: 'Saira', sans-serif;
    color: var(--neon-blue);
    text-transform: uppercase;
    letter-spacing: calc(0.3rem * var(--font-scale));
    text-shadow: 0 0 15px rgba(0, 247, 255, 0.6);
    animation: textPulse 4s infinite ease-in-out;
}

h2, h3, h4, .h-alien {
    font-family: 'Orbitron', sans-serif;
    color: var(--alien-green);
    text-shadow: 0 0 10px rgba(0, 255, 65, 0.3);
    letter-spacing: 0.1rem;
    text-transform: uppercase;
}

/* --- 4. GLASSMORPHISM CARDS --- */
.citadel-card {
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-glow);
    border-radius: 4px;
    padding: var(--citadel-spacing);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.citadel-card:hover {
    border-color: var(--alien-green);
    transform: translateY(-5px);
    box-shadow: 0 0 25px rgba(0, 255, 65, 0.15);
}

.citadel-card::before {
    content: "";
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon-blue), transparent);
    animation: scanning 3s infinite;
}

/* --- 5. UNIVERSAL DEVICE ADAPTABILITY (Media Queries) --- */

/* MOBILE PHONES */
@media (max-width: 576px) {
    :root { 
        --citadel-spacing: 1rem; 
        --font-scale: 0.7; 
    }
    h1 { font-size: 1.5rem; letter-spacing: 0.1rem; }
    .citadel-card { padding: 1.25rem; }
}

/* TABLETS & CONSOLES */
@media (min-width: 577px) and (max-width: 992px) {
    :root { 
        --citadel-spacing: 1.5rem; 
        --font-scale: 0.85; 
    }
}

/* LARGE TELEVISIONS & 4K MONITORS */
@media (min-width: 1600px) {
    :root { 
        --citadel-spacing: 3rem; 
        --font-scale: 1.5; 
    }
    body { font-size: 1.2rem; }
    .citadel-card::before { height: 4px; } /* Thicker scan bar for big screens */
}

/* --- 6. TACTICAL INPUT SUITE --- */
.citadel-input {
    background-color: rgba(0, 0, 0, 0.6) !important;
    border: 1px solid rgba(0, 247, 255, 0.2);
    color: #ffffff;
    padding: 0.75rem 1rem;
    font-family: 'SourceCode', monospace;
    border-radius: 2px;
    transition: all 0.3s ease;
    width: 100%;
}

.citadel-input:focus {
    outline: none;
    border-color: var(--gold);
    background-color: rgba(212, 175, 55, 0.05) !important;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

/* --- 7. ANIMATIONS --- */
@keyframes textPulse {
    0%, 100% { opacity: 1; filter: brightness(100%); }
    50% { opacity: 0.8; filter: brightness(130%); }
}

@keyframes scanning {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* --- 8. UTILITIES & SCROLLBAR --- */
.text-neon { color: var(--neon-blue); }
.text-alien { color: var(--alien-green); }
.text-gold { color: var(--gold); }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-black); }
::-webkit-scrollbar-thumb { background: var(--neon-blue); border-radius: 2px; }


/* --- 5. UNIVERSAL DEVICE ADAPTABILITY (Media Queries) --- */

/* MOBILE PHONES */
@media (max-width: 576px) {
    :root { 
        --citadel-spacing: 1rem; 
        --font-scale: 0.7; 
    }
    h1 { font-size: 1.5rem; letter-spacing: 0.1rem; }
    .citadel-card { padding: 1.25rem; }
}

/* TABLETS & CONSOLES */
@media (min-width: 577px) and (max-width: 992px) {
    :root { 
        --citadel-spacing: 1.5rem; 
        --font-scale: 0.85; 
    }
}

/* LARGE TELEVISIONS & 4K MONITORS */
@media (min-width: 1600px) {
    :root { 
        --citadel-spacing: 3rem; 
        --font-scale: 1.5; 
    }
    body { font-size: 1.2rem; }
    .citadel-card::before { height: 4px; } /* Thicker scan bar for big screens */
}

/* --- 6. TACTICAL INPUT SUITE --- */
.citadel-input {
    background-color: rgba(0, 0, 0, 0.6) !important;
    border: 1px solid rgba(0, 247, 255, 0.2);
    color: #ffffff;
    padding: 0.75rem 1rem;
    font-family: 'SourceCode', monospace;
    border-radius: 2px;
    transition: all 0.3s ease;
    width: 100%;
}

.citadel-input:focus {
    outline: none;
    border-color: var(--gold);
    background-color: rgba(212, 175, 55, 0.05) !important;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

/* --- 7. ANIMATIONS --- */
@keyframes textPulse {
    0%, 100% { opacity: 1; filter: brightness(100%); }
    50% { opacity: 0.8; filter: brightness(130%); }
}

@keyframes scanning {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* --- 8. UTILITIES & SCROLLBAR --- */
.text-neon { color: var(--neon-blue); }
.text-alien { color: var(--alien-green); }
.text-gold { color: var(--gold); }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-black); }
::-webkit-scrollbar-thumb { background: var(--neon-blue); border-radius: 2px; }