:root {
    --bg: #0d1117;
    --card: #161b22;
    --border: #30363d;
    --text: #c9d1d9;
    --muted: #8b949e;
    --accent: #58a6ff;
    --green: #3fb950;
    --red: #f85149;
    --yellow: #d29922;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 640px;
    width: 100%;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 36px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
    padding-bottom: 20px;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 12px;
}

h1 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(210, 153, 34, 0.1);
    color: var(--yellow);
    border: 1px solid rgba(210, 153, 34, 0.4);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.badge.status-operational {
    background: rgba(63, 185, 80, 0.1);
    color: var(--green);
    border-color: rgba(63, 185, 80, 0.4);
}

.badge.status-degraded {
    background: rgba(248, 81, 73, 0.1);
    color: var(--red);
    border-color: rgba(248, 81, 73, 0.4);
}

.dot {
    position: relative;
    width: 8px;
    height: 8px;
    background-color: currentColor;
    border-radius: 50%;
    display: inline-block;
}

.dot::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background-color: currentColor;
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.75;
    }
    75%, 100% {
        transform: scale(2.4);
        opacity: 0;
    }
}

p {
    margin-bottom: 18px;
    color: var(--text);
    font-size: 0.95rem;
}

p.notice {
    color: var(--muted);
    font-size: 0.88rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin: 24px 0;
}

.box {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 16px;
}

.box h3 {
    font-size: 0.9rem;
    color: #ffffff;
    margin-bottom: 6px;
}

.box p {
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 0;
}

.links {
    display: flex;
    gap: 16px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    font-size: 0.9rem;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: opacity 0.2s;
}

a:hover {
    text-decoration: underline;
    opacity: 0.85;
}

footer {
    margin-top: 20px;
    font-size: 0.8rem;
    color: var(--muted);
    display: flex;
    justify-content: space-between;
}
