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

:root {
    --bg: #000000;
    --card-bg: #0a0a0a;
    --border: #1a1a1a;
    --text: #ededed;
    --text-muted: #888888;
    --success: #00e676;
    --warning: #ffab00;
    --danger: #ff5252;
    --glow-success: rgba(0, 230, 118, 0.15);
    --glow-warning: rgba(255, 171, 0, 0.15);
    --glow-danger: rgba(255, 82, 82, 0.15);
}

@media (prefers-color-scheme: light) {
    :root {
        --bg: #fafafa;
        --card-bg: #ffffff;
        --border: #e5e5e5;
        --text: #171717;
        --text-muted: #737373;
        --success: #16a34a;
        --warning: #ea580c;
        --danger: #dc2626;
        --glow-success: rgba(22, 163, 74, 0.1);
        --glow-warning: rgba(234, 88, 12, 0.1);
        --glow-danger: rgba(220, 38, 38, 0.1);
    }
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    transition: background 0.3s ease;
}

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

header {
    margin-bottom: 2.5rem;
}

h1 {
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.subtitle {
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 400;
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 0;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.status-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border);
    transition: background 0.2s ease;
}

.status-item:last-child {
    border-bottom: none;
}

.status-item:hover {
    background: rgba(255, 255, 255, 0.02);
}

.status-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.status-label {
    font-size: 0.9375rem;
    font-weight: 500;
}

.status-value {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 400;
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    position: relative;
    transition: all 0.3s ease;
}

.indicator.ok {
    background: var(--success);
    box-shadow: 0 0 12px var(--glow-success);
}

.indicator.warning {
    background: var(--warning);
    box-shadow: 0 0 12px var(--glow-warning);
}

.indicator.error {
    background: var(--danger);
    box-shadow: 0 0 12px var(--glow-danger);
}

.indicator.ok::before,
.indicator.warning::before,
.indicator.error::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.indicator.ok::before {
    background: var(--success);
}

.indicator.warning::before {
    background: var(--warning);
}

.indicator.error::before {
    background: var(--danger);
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(2);
    }
}

footer {
    margin-top: 2rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8125rem;
}

.skeleton {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.03), transparent);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

@media (max-width: 640px) {
    h1 {
        font-size: 1.5rem;
    }

    .status-item {
        padding: 1rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .status-value {
        padding-left: 1.5rem;
    }
}
