/* --- 1. CORE SYSTEM & BACKGROUND --- */
body { 
    background-color: #FAF9F6 !important; /* Was #000, now matches your dashboard cream */
    font-family: 'Courier New', monospace; 
    margin: 0; 
    padding-top: 20px;
}

/* Increase opacity for more vibrancy */
body::before {
    content: "";
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: -2;
    background: url('https://aaronvoreck.com/wp-content/uploads/2026/01/Desert-Cube-Z17Pro-scaled.jpg') no-repeat center center;
    background-size: cover;
    opacity: 0.8; /* Changed from 0.5 to 0.8 to make it brighter */
}

/* --- 2. THE MAIN CONTAINERS --- */
.ramen-header, 
.av-dashboard-container {
    max-width: 1200px !important; /* Expanded for handsomer wide view */
    margin: 40px auto !important;
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid #841617 !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.av-dashboard-container {
    position: relative !important;
    min-height: 1000px;
}


/* Diamond Forge Theme Overrides */
.page-template-template-forge {
    background-color: #f5f5f4; /* Stone-100 */
    font-family: 'Courier New', Courier, monospace !important;
}

.forge-red-text {
    color: #841617;
}

.nav-button.active {
    background-color: #841617 !important;
    color: white !important;
    border-color: #841617 !important;
    font-weight: bold;
}

/* Typewriter header effect */
h2.forge-header {
    border-bottom: 2px solid #841617;
    text-transform: uppercase;
    letter-spacing: 3px;
    padding-bottom: 8px;
}



/* --- 3. THE TRANSMISSION HUB (CENTER CONTENT) --- */
#primary, .site-main, .main-content-shield, .primary-data-feed {
    display: block !important;
    margin-right: 420px !important; /* Sidebar clearance */
    margin-top: 20px !important;
    padding-left: 40px !important;
    width: auto !important;
    max-width: 95% !important; /* Closer to edges as requested */
    box-sizing: border-box !important;
}

.mirotalk-frame {
    border: 2px solid #841617;
    border-radius: 4px;
    width: 94% !important;
}

/* --- 4. THE COMMAND SIDEBAR & SKULLY --- */
.command-sidebar {
    position: absolute !important;
    right: 20px !important;
    top: 50px !important; 
    width: 380px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    z-index: 1000;
}

.skully-frame {
    width: 180px !important;
    height: 180px !important;
    margin-bottom: 20px !important;
}

#ens-log {
    width: 320px !important;
    border-left: 4px solid #841617 !important;
    padding: 15px !important;
    background: rgba(250, 249, 246, 0.98) !important;
    font-size: 11px;
}

/* --- 5. TYPOGRAPHY & NAV --- */
.site-title {
    color: #841617 !important;
    font-size: 48px !important;
    font-family: 'Arial Black', sans-serif !important;
    text-align: center;
}

.sovereign-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 15px 0;
}

.sovereign-nav li a {
    color: #841617;
    text-decoration: none;
    font-weight: bold;
    padding: 0 15px;
}

/* --- Diamond Forge Theme Styling --- */
.nav-button.active { 
    background-color: #841617 !important; 
    color: white !important; 
    border-color: #841617 !important; 
}
.font-mono-tech { font-family: 'Courier New', monospace; }
.page-content.hidden { display: none; }

.viz-container { 
    height: 350px; 
    border: 1px solid #d1d5db; 
    border-radius: 0.5rem; 
    background: white; 
    overflow: hidden; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
}


 .logo-scanner-wrap {
    position: relative !important;
    overflow: hidden !important;
    background: none !important;
    border: none !important;
}

.skully-laser {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right, transparent, #841617 20%, #ff0000 50%, #841617 80%, transparent);
    z-index: 5; /* Behind the logo, which is z-index 10 */
    pointer-events: none;
    /* Force the animation to be active */
    animation: laser-scan-active 4s infinite ease-in-out !important;
}

/* Specific Vertical Movement Animation */
@keyframes laser-scan-active {
    0% { top: 0%; opacity: 0.5; }
    50% { top: 100%; opacity: 1; }
    100% { top: 0%; opacity: 0.5; }
}

/* Force the footer to start a brand new "line" at the bottom */
footer, .site-footer, #colophon {
    clear: both !important;
    display: table !important; /* Forces the block to respect full width */
    width: 100% !important;
    margin-top: 60px !important;
    padding: 40px 0;
}

/* Ensure the main wrap container 'wraps' its children */
#page, .site-content, .main-container {
    display: block;
    overflow: auto; /* This forces the container to grow with the sidebar */
}