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

:root {
    --primary: #F08B80;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --bg: #fafafa;
    --surface: #ffffff;
    --text-primary: #1a1718;
    --text-secondary: #6b7280;
    --border: #e5e7eb;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: var(--bg);
    color: var(--text-primary);
    line-height: 1.6;
    padding: 20px;
}

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

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.emoji {
    font-size: 40px;
}

h1 {
    font-size: 28px;
    font-weight: 600;
    color: var(--text-primary);
}

.last-updated {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Status Banner */
.status-banner {
    background: var(--surface);
    border: 2px solid var(--success);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.status-banner.degraded {
    border-color: var(--warning);
}

.status-banner.outage {
    border-color: var(--error);
}

.status-icon {
    font-size: 48px;
    width: 60px;
    height: 60px;
    background: var(--success);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.status-banner.degraded .status-icon {
    background: var(--warning);
}

.status-banner.outage .status-icon {
    background: var(--error);
}

.status-text h2 {
    font-size: 24px;
    margin-bottom: 4px;
}

.status-text p {
    color: var(--text-secondary);
    font-size: 16px;
}

/* Services Grid */
.services {
    margin-bottom: 40px;
}

.services h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.service-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 16px;
    transition: all 0.2s ease;
}

.service-card:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

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

.service-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.service-icon {
    font-size: 24px;
}

.service-info h4 {
    font-size: 18px;
    font-weight: 600;
}

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

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.status-indicator.operational {
    background: var(--success);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
}

.status-indicator.degraded {
    background: var(--warning);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.2);
}

.status-indicator.outage {
    background: var(--error);
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.2);
}

.status-indicator.loading {
    background: var(--text-secondary);
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

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

.status-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
}

.status-label.operational {
    color: var(--success);
}

.status-label.degraded {
    color: var(--warning);
}

.status-label.outage {
    color: var(--error);
}

.service-description {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 8px;
}

.service-response {
    font-size: 13px;
    color: var(--text-secondary);
}

.response-time {
    font-weight: 600;
    color: var(--text-primary);
}

/* Incidents */
.incidents {
    margin-bottom: 40px;
}

.incidents h3 {
    font-size: 20px;
    margin-bottom: 20px;
}

.no-incidents {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 40px;
    text-align: center;
}

.checkmark {
    font-size: 48px;
    display: block;
    margin-bottom: 12px;
    color: var(--success);
}

.no-incidents p {
    color: var(--text-secondary);
    font-size: 16px;
}

/* Footer */
footer {
    text-align: center;
    padding: 40px 0 20px;
    color: var(--text-secondary);
    font-size: 14px;
}

footer p {
    margin-bottom: 8px;
}

footer a {
    color: var(--primary);
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: flex-start;
    }

    .status-banner {
        flex-direction: column;
        text-align: center;
    }

    .service-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    h1 {
        font-size: 24px;
    }

    .emoji {
        font-size: 32px;
    }
}
