/* Status page — Vertex-like layout, R25 gold theme */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600&display=swap');

:root {
    --st-up: #3DD68C;
    --st-degraded: #ffb84d;
    --st-down: #FF5A5F;
    --st-panel: rgba(255, 255, 255, 0.03);
    --st-panel-2: rgba(12, 12, 16, 0.85);
    --st-line: rgba(255, 255, 255, 0.07);
    --st-soft: #8b8b9a;
    --st-text: #f4f4f7;
    --st-warn: #ffb84d;
    --st-gold: #e8b923;
}

body.status-page {
    background: #030304;
    min-height: 100vh;
}

body.status-page::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 40% at 50% -8%, rgba(232, 185, 35, 0.09), transparent 55%),
        radial-gradient(circle 400px at 90% 20%, rgba(61, 214, 140, 0.04), transparent);
    pointer-events: none;
    z-index: 0;
}

.status-wrap {
    position: relative;
    z-index: 1;
    max-width: 920px;
    margin: 0 auto;
    padding: calc(var(--header-h, 72px) + 36px) 20px 60px;
}

.status-hero {
    margin-bottom: 22px;
}

.status-hero .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--st-gold);
    margin-bottom: 10px;
}

.status-hero .eyebrow span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--st-gold);
    box-shadow: 0 0 12px rgba(232, 185, 35, 0.55);
}

.status-hero h1 {
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    font-weight: 800;
    color: var(--st-text);
    margin: 0 0 8px;
}

.status-hero p {
    margin: 0;
    color: var(--st-soft);
    font-size: 14.5px;
    max-width: 540px;
    line-height: 1.7;
}

.status-card {
    border: 1px solid var(--st-line);
    border-radius: 16px;
    background: var(--st-panel-2);
    backdrop-filter: blur(12px);
    padding: 20px 22px;
    margin-bottom: 16px;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
}

.status-card > h2 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--st-text);
}

.status-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.status-banner-main {
    display: flex;
    align-items: center;
    gap: 16px;
}

.status-banner-main h2 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 800;
}

.status-banner-main p {
    margin: 4px 0 0;
    color: var(--st-soft);
    font-size: 13.5px;
}

.status-banner-time {
    text-align: start;
    font-size: 12.5px;
    color: var(--st-soft);
    line-height: 1.8;
}

[dir="rtl"] .status-banner-time {
    text-align: left;
}

.status-banner-time strong {
    color: var(--st-text);
    font-size: 14px;
}

.status-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.04);
    animation: st-pulse 2.4s ease-in-out infinite;
}

.status-dot.sm {
    width: 9px;
    height: 9px;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.04);
}

@keyframes st-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.45; }
}

.status-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 18px;
}

.status-item {
    border: 1px solid var(--st-line);
    border-radius: 12px;
    background: var(--st-panel);
    padding: 16px 18px;
    transition: border-color 0.2s ease, transform 0.25s ease;
}

.status-item:hover {
    border-color: rgba(232, 185, 35, 0.22);
}

.status-item-head {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.status-item-name {
    flex: 1;
    min-width: 180px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.status-item-name strong {
    font-size: 14.5px;
    color: var(--st-text);
}

.status-item-name span {
    font-size: 12.5px;
    color: var(--st-soft);
}

.status-item-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.status-ms {
    font-family: 'IBM Plex Mono', ui-monospace, monospace;
    font-size: 12px;
    color: var(--st-soft);
}

.status-tag {
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.status-note {
    margin-top: 10px;
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(255, 184, 77, 0.07);
    border: 1px solid rgba(255, 184, 77, 0.22);
    color: var(--st-warn);
    font-size: 12.5px;
}

.status-bars {
    display: flex;
    gap: 2px;
    align-items: stretch;
    height: 30px;
    margin-top: 14px;
}

.status-bars i {
    flex: 1;
    border-radius: 2px;
    opacity: 0.85;
    transition: opacity 0.15s;
    display: block;
    min-width: 0;
}

.status-bars i:hover {
    opacity: 1;
}

.status-bars i.none {
    background: rgba(255, 255, 255, 0.05);
}

.status-foot {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 8px;
    font-size: 11.5px;
    color: var(--st-soft);
    flex-wrap: wrap;
}

.status-refresh {
    text-align: center;
    font-size: 12px;
    color: var(--st-soft);
    margin-top: 20px;
}

.status-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.5, 0, 0, 1), transform 0.7s cubic-bezier(0.5, 0, 0, 1);
}

.status-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 720px) {
    .status-wrap {
        padding-top: calc(var(--header-h, 72px) + 24px);
    }

    .status-banner {
        flex-direction: column;
        align-items: flex-start;
    }

    .status-banner-time {
        text-align: start !important;
    }

    .status-foot span:nth-child(1),
    .status-foot span:nth-child(4) {
        display: none;
    }
}
