:root {
    --rust: #c45a28;
    --gold: #d4a84b;
    --cream: #e8dcc4;
    --tan: #c49a6c;
    --sienna: #a05a32;
    --chocolate: #7a4428;
    --slate: #3d4a52;
    --plum: #4a3a4c;
    --charcoal: #3c4a42;
    --olive: #b4a864;
    --bronze: #7a5c34;
}

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

#galaxy-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

#galaxy-bg canvas {
    width: 100%;
    height: 100%;
}

body {
    font-family: 'Courier New', monospace;
    background: #000;
    color: var(--cream);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    max-width: 600px;
    width: 100%;
}

#title-canvas {
    display: block;
    margin: 0 auto 2rem auto;
}

.status-card {
    position: relative;
    background: rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--bronze);
    border-radius: 4px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    overflow: hidden;
}

.status-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--charcoal);
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--olive);
    animation: pulse 2s infinite;
}

.status-dot.error {
    background: var(--rust);
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.metric {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--charcoal);
}

.metric:last-child {
    border-bottom: none;
}

.metric-label {
    color: var(--tan);
}

.metric-value {
    color: var(--gold);
    font-weight: bold;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--charcoal);
    border-radius: 4px;
    margin-top: 0.5rem;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--olive);
    transition: width 0.3s ease;
}

.progress-fill.warning {
    background: var(--rust);
}

.progress-fill.critical {
    background: var(--sienna);
}

.resource-metric {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--charcoal);
}

.resource-metric:last-child {
    border-bottom: none;
}

.resource-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.25rem;
}

.timestamp {
    text-align: center;
    color: var(--bronze);
    font-size: 0.8rem;
    margin-top: 1rem;
}
