.status-page {
    background: radial-gradient(ellipse at center, #1a1624 0%, #0d0a15 60%, #000000 100%);
    min-height: 100vh;
    padding: 40px 20px;
    position: relative;
}

.status-page::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 140, 0, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(253, 185, 21, 0.02) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.status-page > * {
    position: relative;
    z-index: 1;
}

/* Page Header */
.page-header {
    text-align: center;
    margin-bottom: 60px;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #FDB915 0%, #FF8C00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 20px 0 10px;
}

.page-header .page-sub {
    font-size: 1.1rem;
    color: #9ca3af;
}

/* Status Overview */
.status-overview {
    max-width: 1200px;
    margin: 0 auto 80px;
}

.status-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    background: linear-gradient(135deg, rgba(30, 27, 40, 0.8) 0%, rgba(13, 10, 21, 0.8) 100%);
    border: 1px solid rgba(255, 140, 0, 0.1);
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.service-card:hover {
    border-color: rgba(255, 140, 0, 0.3);
    box-shadow: 0 8px 32px rgba(255, 140, 0, 0.1);
    transform: translateY(-4px);
}

/* Service Header */
.service-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 140, 0, 0.1);
}

.service-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: capitalize;
}

.indicator-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.status-operational .indicator-dot {
    background-color: #10b981;
}

.status-operational {
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
}

.status-degraded .indicator-dot {
    background-color: #f59e0b;
}

.status-degraded {
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.1);
}

.status-down .indicator-dot {
    background-color: #ef4444;
}

.status-down {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Status Charts */
.status-chart {
    margin-bottom: 20px;
}

.chart-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #9ca3af;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bars-container {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 8px;
    overflow: hidden;
}

.bars {
    display: flex;
    gap: 1px;
    width: 100%;
    height: 24px;
}

.bar {
    flex: 1;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.bar:hover {
    transform: scaleY(1.2);
    filter: brightness(1.3);
    z-index: 10;
}

.bar-operational {
    background: #10b981;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.3);
}

.bar-degraded {
    background: #f59e0b;
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.3);
}

.bar-down {
    background: #ef4444;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.3);
}

.bar-unknown {
    background: #6b7280;
    box-shadow: 0 0 8px rgba(107, 114, 128, 0.3);
}

/* Numeric state values */
.bar-1 {
    background: #10b981;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.3);
}

.bar-2 {
    background: #f59e0b;
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.3);
}

.bar-3 {
    background: #ef4444;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.3);
}

.bar-0 {
    background: #6b7280;
    box-shadow: 0 0 8px rgba(107, 114, 128, 0.3);
}

/* Uptime Stats */
.uptime-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 140, 0, 0.1);
}

.stat {
    text-align: center;
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    color: #9ca3af;
    margin-bottom: 4px;
}

.stat-value {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #FDB915 0%, #FF8C00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Incidents Section */
.incidents-section {
    max-width: 1200px;
    margin: 80px auto;
}

.incidents-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 30px;
}

.no-incidents {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(16, 185, 129, 0.02) 100%);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 12px;
}

.no-incidents p {
    font-size: 1.1rem;
    color: #10b981;
    margin: 0;
}

.incidents-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.incident-card {
    background: linear-gradient(135deg, rgba(30, 27, 40, 0.8) 0%, rgba(13, 10, 21, 0.8) 100%);
    border-left: 4px solid #9ca3af;
    border-radius: 8px;
    padding: 24px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.incident-investigating {
    border-left-color: #f59e0b;
}

.incident-identified {
    border-left-color: #f59e0b;
}

.incident-monitoring {
    border-left-color: #3b82f6;
}

.incident-resolved {
    border-left-color: #10b981;
    opacity: 0.8;
}

.incident-card:hover {
    box-shadow: 0 8px 24px rgba(255, 140, 0, 0.1);
}

.incident-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 12px;
}

.incident-title-section {
    flex: 1;
    min-width: 250px;
}

.incident-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 6px;
}

.incident-service {
    display: inline-block;
    padding: 4px 8px;
    background: rgba(255, 140, 0, 0.2);
    color: #FF8C00;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

.incident-meta {
    display: flex;
    gap: 12px;
    align-items: center;
}

.severity {
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: capitalize;
}

.severity-minor {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
}

.severity-major {
    background: rgba(249, 115, 22, 0.2);
    color: #f97316;
}

.severity-critical {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.status-badge {
    padding: 6px 12px;
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: capitalize;
}

.incident-timeline {
    display: flex;
    gap: 24px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 140, 0, 0.1);
    flex-wrap: wrap;
}

.incident-time {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.time-label {
    font-size: 0.85rem;
    color: #9ca3af;
    font-weight: 500;
}

.time-value {
    font-size: 0.95rem;
    color: #d1d5db;
    font-weight: 600;
}

/* Incident Updates */
.incident-updates {
    margin-top: 16px;
}

.updates-header {
    font-size: 0.9rem;
    font-weight: 600;
    color: #9ca3af;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.updates-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.update-item {
    padding: 12px;
    background: rgba(0, 0, 0, 0.2);
    border-left: 2px solid rgba(255, 140, 0, 0.3);
    border-radius: 4px;
}

.update-time {
    font-size: 0.8rem;
    color: #9ca3af;
    margin-bottom: 4px;
}

.update-message {
    font-size: 0.95rem;
    color: #d1d5db;
    line-height: 1.5;
}

/* Status Legend */
.status-legend {
    max-width: 1200px;
    margin: 80px auto;
    text-align: center;
}

.status-legend h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 24px;
}

.legend-items {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.legend-bar {
    width: 16px;
    height: 16px;
    border-radius: 3px;
}

.legend-text {
    color: #d1d5db;
    font-size: 0.95rem;
}

/* Brand Header */
.brand-header {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.brand-header:hover {
    transform: translateX(5px);
}

.brand-logo {
    width: 32px;
    height: 32px;
}

.brand-name {
    font-size: 1.3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #FDB915 0%, #FF8C00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Responsive */
@media (max-width: 768px) {
    .status-page {
        padding: 20px 16px;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

    .status-cards {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 16px;
    }

    .incident-header {
        flex-direction: column;
    }

    .incident-meta {
        width: 100%;
    }

    .incident-timeline {
        flex-direction: column;
        gap: 12px;
    }

    .legend-items {
        gap: 16px;
    }

    .bars {
        height: 20px;
    }

    .uptime-stats {
        grid-template-columns: 1fr 1fr;
    }

    .contact-info {
        padding: 15px;
    }

    #footer {
        background: linear-gradient(180deg, #0d0a15 0%, #000000 100%);
        color: #fff;
        padding: 40px 0 0 0;
        border-top: 1px solid rgba(255, 140, 0, 0.2);
    }

    .footer-content {
        max-width: 100%;
        margin: 0 auto;
        padding: 0 20px 30px 20px;
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    .footer-section {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .footer-heading {
        font-size: 16px;
        font-weight: 600;
        color: #ffffff;
        margin: 0;
        background: linear-gradient(90deg, #FDB915 0%, #FF8C00 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .footer-description {
        font-size: 13px;
        color: #9ca3af;
        line-height: 1.6;
        margin: 0;
    }

    .footer-links {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .footer-link {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 13px;
        color: #d1d5db;
        text-decoration: none;
        transition: all 0.3s ease;
    }

    .footer-link:hover {
        color: #FF8C00;
    }

    .footer-link svg {
        flex-shrink: 0;
    }

    .footer-bottom {
        border-top: 1px solid rgba(255, 140, 0, 0.1);
        padding: 20px;
        text-align: center;
    }

    .footer-copyright {
        font-size: 12px;
        color: #6b7280;
        margin: 0;
    }
}
