@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
    --primary: #ff4d00;
    --secondary: #00a8ff;
    --dark: #000000;
    --light: #ffffff;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: #000000;
    color: #ffffff;
    min-height: 100vh;
    padding: 20px;
}

.font-display {
    font-family: 'Space Grotesk', sans-serif;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
    background: #ff4d00;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #ff6a2e;
}

.container {
    max-width: 900px;
    margin: 0 auto;
}

header {
    text-align: center;
    color: white;
    margin-bottom: 40px;
    padding: 40px 0;
}

header h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3em;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #ff4d00 0%, #ff8c42 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(255, 77, 0, 0.3);
}

header .subtitle {
    font-size: 1.2em;
    opacity: 0.8;
    color: rgba(255, 255, 255, 0.7);
}

.status-banner {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
}

.status-banner:hover {
    box-shadow: 0 0 30px rgba(255, 77, 0, 0.2);
    transform: translateY(-2px);
}

.status-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    flex-shrink: 0;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 77, 0, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 77, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 77, 0, 0);
    }
}

.status-banner.operational .status-icon {
    background: #10b981;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.5);
}

.status-banner.degraded .status-icon {
    background: #ff4d00;
    box-shadow: 0 0 20px rgba(255, 77, 0, 0.5);
}

.status-banner.down .status-icon {
    background: #ef4444;
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.5);
}

.status-text h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.8em;
    margin-bottom: 5px;
}

.status-text p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1em;
}

section {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

section:hover {
    border-color: rgba(255, 77, 0, 0.2);
}

section h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5em;
    margin-bottom: 20px;
    color: #ffffff;
}

.service-item {
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 15px;
    background: rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-item:hover {
    border-color: rgba(255, 77, 0, 0.5);
    box-shadow: 0 0 20px rgba(255, 77, 0, 0.15);
    transform: translateY(-2px);
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.service-name {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 1.1em;
    color: #ffffff;
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.status-indicator.operational {
    background: #10b981;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

.status-indicator.degraded {
    background: #ff4d00;
    box-shadow: 0 0 10px rgba(255, 77, 0, 0.5);
}

.status-indicator.down {
    background: #ef4444;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.5);
}

.service-metrics {
    display: flex;
    gap: 20px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9em;
}

.badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.85em;
    font-weight: 600;
}

.badge.operational {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge.degraded {
    background: rgba(255, 77, 0, 0.2);
    color: #ff4d00;
    border: 1px solid rgba(255, 77, 0, 0.3);
}

.badge.down {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.incident-item {
    position: relative;
    padding: 20px;
    margin-bottom: 20px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 8px;
    border-left: 4px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.incident-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.incident-item.severity-maintenance {
    border-left-color: #3b82f6;
    background: rgba(59, 130, 246, 0.05);
}

.incident-item.severity-degraded-performance {
    border-left-color: #ff4d00;
    background: rgba(255, 77, 0, 0.05);
}

.incident-item.severity-partial-outage {
    border-left-color: #f97316;
    background: rgba(249, 115, 22, 0.05);
}

.incident-item.severity-major-outage {
    border-left-color: #ef4444;
    background: rgba(239, 68, 68, 0.05);
}

.incident-content {
    width: 100%;
}

.incident-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.incident-header h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1em;
    color: #ffffff;
    margin-bottom: 8px;
}

.incident-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.severity-badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.85em;
    font-weight: 600;
}

.severity-badge.maintenance {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.severity-badge.degraded-performance {
    background: rgba(255, 77, 0, 0.2);
    color: #ff4d00;
    border: 1px solid rgba(255, 77, 0, 0.3);
}

.severity-badge.partial-outage {
    background: rgba(249, 115, 22, 0.2);
    color: #fb923c;
    border: 1px solid rgba(249, 115, 22, 0.3);
}

.severity-badge.major-outage {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.message-status {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.85em;
    font-weight: 600;
}

.message-status.investigating {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.message-status.identified {
    background: rgba(249, 115, 22, 0.2);
    color: #fb923c;
    border: 1px solid rgba(249, 115, 22, 0.3);
}

.message-status.monitoring {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.message-status.update {
    background: rgba(139, 92, 246, 0.2);
    color: #a78bfa;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.message-status.scheduled,
.message-status.in-progress,
.message-status.verifying,
.message-status.completed {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.message-status.resolved {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.incident-updates {
    margin-top: 15px;
}

.update-item {
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    margin-bottom: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.update-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.update-status {
    padding: 3px 10px;
    border-radius: 10px;
    font-size: 0.75em;
    font-weight: 600;
    text-transform: capitalize;
}

.update-status.investigating {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
}

.update-status.identified {
    background: rgba(249, 115, 22, 0.2);
    color: #fb923c;
}

.update-status.monitoring {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
}

.update-status.update {
    background: rgba(139, 92, 246, 0.2);
    color: #a78bfa;
}

.update-status.scheduled,
.update-status.in-progress,
.update-status.verifying,
.update-status.completed {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
}

.update-status.resolved {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.update-time {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85em;
}

.update-message {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    font-size: 0.95em;
}

.no-incidents {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    padding: 40px;
}

.view-history {
    display: inline-block;
    margin-top: 10px;
    color: #ff4d00;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.view-history:hover {
    color: #ff6a2e;
    text-shadow: 0 0 10px rgba(255, 77, 0, 0.5);
}

.breadcrumb {
    margin-bottom: 20px;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    padding: 10px 20px;
    background: rgba(255, 77, 0, 0.2);
    border: 1px solid rgba(255, 77, 0, 0.3);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.breadcrumb a:hover {
    background: rgba(255, 77, 0, 0.3);
    box-shadow: 0 0 20px rgba(255, 77, 0, 0.3);
}

footer {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    padding: 30px 0;
    font-size: 0.9em;
}

footer p {
    margin: 5px 0;
}

@media (max-width: 768px) {
    header h1 {
        font-size: 2em;
    }
    
    .status-banner {
        flex-direction: column;
        text-align: center;
    }
    
    .service-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .incident-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .incident-meta {
        flex-direction: column;
        align-items: flex-start;
    }
}
