:root {
    --bg-color: #0b0b0e;
    --surface-color: rgba(255, 255, 255, 0.03);
    --surface-border: rgba(255, 255, 255, 0.08);
    --text-main: #f0f0f5;
    --text-muted: #8e8e9e;
    
    --operational: #10b981;
    --operational-bg: rgba(16, 185, 129, 0.1);
    
    --degraded: #f59e0b;
    --degraded-bg: rgba(245, 158, 11, 0.1);
    
    --outage: #ef4444;
    --outage-bg: rgba(239, 68, 68, 0.1);
    
    --maintenance: #3b82f6;
    --maintenance-bg: rgba(59, 130, 246, 0.1);

    --unknown: #6b7280;
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* Vibe background */
.glow-bg {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80vw;
    height: 80vh;
    background: radial-gradient(circle, rgba(59,130,246,0.04) 0%, rgba(0,0,0,0) 70%);
    z-index: -1;
    pointer-events: none;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--surface-border);
}

.logo-wrapper {
    display: flex;
    align-items: center;
}

.logo-placeholder {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    background: linear-gradient(90deg, #fff, #a1a1aa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.header-text {
    font-size: 1rem;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 500;
}

/* Loading State */
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
    color: var(--text-muted);
    font-size: 1.1rem;
    animation: pulse-opacity 1.5s infinite ease-in-out;
}

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

/* Status Banner */
.status-banner {
    padding: 1.5rem 2rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--surface-color);
    border: 1px solid var(--surface-border);
    backdrop-filter: blur(10px);
    animation: fadeInDown 0.6s ease-out;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.status-banner h1 {
    font-size: 1.75rem;
    font-weight: 600;
}

/* Indicator with pulse */
.indicator-ring {
    position: relative;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.indicator {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    position: relative;
    z-index: 2;
}

.indicator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    z-index: 1;
    animation: pulse 2s infinite;
}

/* Status Colors */
.status-operational { border-color: var(--operational-bg); }
.status-operational .indicator { background-color: var(--operational); box-shadow: 0 0 20px var(--operational); }
.status-operational .indicator::before { background-color: var(--operational); }

.status-degraded { border-color: var(--degraded-bg); }
.status-degraded .indicator { background-color: var(--degraded); box-shadow: 0 0 20px var(--degraded); }
.status-degraded .indicator::before { background-color: var(--degraded); }

.status-outage { border-color: var(--outage-bg); }
.status-outage .indicator { background-color: var(--outage); box-shadow: 0 0 20px var(--outage); }
.status-outage .indicator::before { background-color: var(--outage); }

.status-maintenance { border-color: var(--maintenance-bg); }
.status-maintenance .indicator { background-color: var(--maintenance); box-shadow: 0 0 20px var(--maintenance); }
.status-maintenance .indicator::before { background-color: var(--maintenance); }

.status-unknown .indicator { background-color: var(--unknown); box-shadow: 0 0 20px var(--unknown); }

/* Incident Card */
.incident-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
    border: 1px solid var(--surface-border);
    border-radius: 12px;
    padding: 2rem;
    opacity: 0;
    transform: translateY(10px);
}

.incident-card.show {
    animation: fadeInUp 0.5s ease-out forwards;
    animation-delay: 0.1s;
}

.incident-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--surface-border);
    padding-bottom: 1rem;
}

.incident-header h2 {
    font-size: 1.25rem;
    font-weight: 500;
}

.updated-time {
    color: var(--text-muted);
    font-size: 0.9rem;
    background: rgba(255,255,255,0.05);
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid var(--surface-border);
}

.incident-body p {
    color: #d1d1d6;
    line-height: 1.6;
    font-size: 1.05rem;
}

.operational-card .incident-body p {
    color: var(--text-muted);
    text-align: center;
}

.footer {
    margin-top: auto;
    text-align: center;
    padding: 2rem 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer a {
    color: var(--text-muted);
    text-decoration: underline;
    text-decoration-color: var(--surface-border);
    text-underline-offset: 4px;
    transition: all 0.2s;
}

.footer a:hover {
    color: var(--text-main);
    text-decoration-color: var(--text-main);
}

/* Animations */
@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
    70% { transform: translate(-50%, -50%) scale(3); opacity: 0; }
    100% { transform: translate(-50%, -50%) scale(1); opacity: 0; }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive Styles */
@media (max-width: 600px) {
    .incident-header {
        flex-direction: column;
        gap: 0.8rem;
    }
    .status-banner {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 2rem 1.5rem;
    }
}
