/* DARK AMBER THEME - Complete vault aesthetic */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

body {
    background-color: #0a0800;
    background-image: radial-gradient(rgba(255, 180, 0, 0.05) 1px, transparent 1px);
    background-size: 32px 32px;
    font-family: 'Courier New', 'Fira Code', monospace;
    color: #ffb347;  /* Warm amber */
    line-height: 1.6;
    padding: 2rem 1rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Main vault container */
.vault-panel {
    max-width: 1200px;
    width: 100%;
    background: #0f0c00;
    border: 2px solid #b8860b;
    box-shadow: 0 0 30px rgba(255, 140, 0, 0.2), inset 0 0 40px rgba(80, 40, 0, 0.3);
    padding: 2rem;
    position: relative;
}

/* Scanline effect - gives that CRT monitor feel */
.vault-panel::after {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: repeating-linear-gradient(0deg, 
        rgba(0,0,0,0) 0px, 
        rgba(0,0,0,0) 2px, 
        rgba(255,180,40,0.03) 3px, 
        rgba(0,0,0,0) 4px);
    pointer-events: none;
    z-index: 1;
}

/* Navigation */
.system-nav {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 0.5rem 0 1rem 0;
    border-bottom: 2px solid #b8860b;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-group a {
    color: #ffb400;
    text-decoration: none;
    margin-right: 2rem;
    padding: 0.2rem 0;
    display: inline-block;
    border-bottom: 1px solid transparent;
    transition: all 0.2s ease;
}

.nav-group a:hover {
    border-bottom: 1px solid #ffb400;
    text-shadow: 0 0 8px #ffb400;
}

.nav-divider {
    display: none; /* Hide since we have border-bottom on nav */
}

/* Header */
.glitch-header {
    margin-bottom: 3rem;
    text-align: center;
}

.tagline {
    font-size: 2.2rem;
    font-weight: bold;
    color: #ffb400;
    text-transform: uppercase;
    letter-spacing: 4px;
    text-shadow: 2px 2px 0 #5a3e00, 4px 4px 0 #2a1e00;
    line-height: 1.2;
}

.sub-tag {
    font-size: 1.1rem;
    color: #d4a373;
    margin-top: 0.8rem;
    letter-spacing: 2px;
    border-top: 1px dashed #b8860b;
    display: inline-block;
    padding-top: 0.8rem;
}

/* Node grid - 3 columns on desktop */
.node-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
    width: 100%;
}

/* Responsive */
@media (max-width: 900px) {
    .node-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .node-grid {
        grid-template-columns: 1fr;
    }
}

/* Node cards */
.node-card {
    border: 2px solid #b8860b;
    padding: 1.5rem;
    background: rgba(20, 15, 0, 0.7);
    box-shadow: 0 5px 15px rgba(0,0,0,0.7), inset 0 0 20px rgba(255,180,0,0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    backdrop-filter: blur(2px);
}

.node-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255,140,0,0.3), inset 0 0 30px rgba(255,180,0,0.2);
    border-color: #ffb400;
}

.node-name {
    font-size: 2rem;
    font-weight: bold;
    color: #ffb400;
    text-transform: uppercase;
    letter-spacing: 3px;
    border-bottom: 1px solid #b8860b;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(255,180,0,0.3);
}

.node-role {
    font-size: 0.9rem;
    color: #d4a373;
    margin-bottom: 1rem;
    font-style: italic;
    letter-spacing: 1px;
}

.node-services {
    list-style: none;
    margin: 1rem 0;
    padding-left: 0;
}

.node-services li, .node-services p {
    color: #e6b17e;
    margin: 0.5rem 0;
    padding-left: 1rem;
    border-left: 2px solid #b8860b;
    font-size: 0.95rem;
}

/* Handle the dash in the services list */
.node-services :first-child {
    margin-top: 0;
}

.service-next {
    color: #ffb400;
    font-size: 0.9rem;
    margin-top: 1.2rem;
    padding-top: 0.8rem;
    border-top: 1px dashed #b8860b;
    font-weight: bold;
    letter-spacing: 0.5px;
}

/* Build log section */
.build-log {
    margin: 3rem 0;
    border: 2px solid #b8860b;
    padding: 2rem;
    background: rgba(15, 12, 0, 0.8);
    box-shadow: inset 0 0 30px rgba(0,0,0,0.8);
}

.log-title {
    color: #ffb400;
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(255,180,0,0.3);
}

.log-line {
    color: #e6b17e;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    border-left: 3px solid #b8860b;
    padding-left: 1rem;
}

.log-line strong {
    color: #ffb400;
    margin-right: 1rem;
    font-size: 1rem;
    background: rgba(184, 134, 11, 0.2);
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
}

.log-line a {
    color: #ffb400 !important;
    text-decoration: none;
    font-weight: bold;
}

.log-line a:hover {
    text-decoration: underline;
    text-shadow: 0 0 8px #ffb400;
}

.log-excerpt {
    color: #d4a373;
    font-size: 0.95rem;
    margin: 0.5rem 0 1.5rem 1.5rem;
    padding: 0.8rem 1rem;
    background: rgba(0,0,0,0.4);
    border-left: 3px solid #ffb400;
    border-radius: 0 5px 5px 0;
    line-height: 1.6;
}

.log-excerpt a {
    color: #ffb400 !important;
    text-decoration: none;
    margin-left: 0.8rem;
    font-weight: bold;
}

.log-excerpt a:hover {
    text-decoration: underline;
}

/* View all logs link */
.build-log > div:last-child a {
    color: #ffb400;
    text-decoration: none;
    font-size: 1rem;
    letter-spacing: 1px;
    padding: 0.3rem 1rem;
    border: 1px solid #b8860b;
    display: inline-block;
    transition: all 0.2s ease;
}

.build-log > div:last-child a:hover {
    background: #b8860b;
    color: #0a0800 !important;
    box-shadow: 0 0 15px #ffb400;
}

/* Footer */
.footer-seed {
    margin-top: 2rem;
}

.footer-seed div {
    text-align: right;
    color: #b8860b;
    font-size: 0.8rem;
    border-top: 1px dashed #b8860b;
    padding-top: 1rem;
    font-style: italic;
}

/* Links - global */
a {
    color: #ffb400;
    text-decoration: none;
    transition: all 0.2s ease;
}

a:hover {
    text-shadow: 0 0 8px #ffb400;
}

/* Typography */
h1, h2, h3, h4 {
    color: #ffb400;
    letter-spacing: 1px;
}

/* Any remaining white text fixes */
* {
    color: inherit;
}

/* Blog list page (if needed) */
.blog-list {
    list-style: none;
}

.blog-list li {
    margin: 1rem 0;
    padding: 1rem;
    border: 1px solid #b8860b;
    background: rgba(20, 15, 0, 0.5);
}

.blog-list time {
    color: #ffb400;
    margin-right: 1rem;
}

/* Selection color */
::selection {
    background: #b8860b;
    color: #0a0800;
}


.node-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px dashed #ffb400;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
}

.node-status {
    font-size: 0.9rem;
    font-weight: bold;
}

.status-local {
    color: #ffb400;  /* Amber for local machine */
}

.status-online {
    color: #00ff00;  /* Green for online nodes */
}

.status-offline {
    color: #ff4444;  /* Red for offline nodes */
}

.status-unknown {
    color: #888888;  /* Gray for unknown */
}
