.status-section {
    padding: 40px 20px;
    margin: 0 auto;
    text-align: left;
    max-width: 1200px;
}

.status-hero {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: center;
    justify-content: center;
    background: transparent;
    border-radius: 18px;
    padding: 28px;
    border: 1px solid rgba(255, 252, 228, 0.08);
    box-shadow: none;
}

.status-hero-text {
    flex: 1;
    min-width: 240px;
    text-align: center;
}

.status-hero-text h1 {
    margin: 0 0 8px;
}

.status-subtitle {
    color: var(--small-text-color);
    margin: 0 0 12px;
    font-size: 1rem;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 8px;
    border: 1px solid rgba(255, 252, 228, 0.08);
    background-color: var(--second-color);
}

.status-updated {
    color: var(--very-small-text-color);
    margin: 0;
    font-size: 0.85rem;
}

.shard-status {
    margin-top: 28px;
}

.shard-status h2 {
    margin: 26px 0 12px;
    font-size: 1.25rem;
    text-transform: lowercase;
}

.node-section h2 {
    text-transform: capitalize;
}

.status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.cluster-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

.nodes-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.node-section {
    background-color: rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(255, 252, 228, 0.08);
    border-radius: 14px;
    padding: 14px;
}

.node-section h2 {
    margin: 0 0 6px;
}

.node-meta {
    margin: 0 0 14px;
    color: var(--very-small-text-color);
    font-size: 0.9rem;
}

.status-box {
    background-color: var(--second-color);
    border-radius: 12px;
    padding: 16px 18px;
    border: 1px solid rgba(255, 252, 228, 0.08);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.status-box:hover {
    background-color: var(--third-color);
    border-color: rgba(255, 252, 228, 0.16);
    transform: translateY(-2px);
}

.status-box h3 {
    color: var(--very-small-text-color);
    margin: 0 0 8px;
    font-size: 1rem;
    letter-spacing: 0.08em;
    text-transform: lowercase;
}

.status-box p {
    color: var(--heading-color);
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

.status-online {
    background-color: rgba(34, 197, 94, 0.2);
    color: #c8f7d5;
}

.status-offline {
    background-color: rgba(239, 68, 68, 0.2);
    color: #fecaca;
}

.shard {
    background-color: var(--second-color);
    border-radius: 12px;
    padding: 16px 18px;
    border: 1px solid rgba(255, 252, 228, 0.08);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.shard:hover {
    background-color: var(--third-color);
    border-color: rgba(255, 252, 228, 0.16);
    transform: translateY(-2px);
}

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

.shard-header h3 {
    color: var(--heading-color);
    font-size: 1rem;
    margin: 0;
}

.shard-pill {
    background-color: var(--third-color);
    color: var(--nav-text-color);
    border: 1px solid rgba(255, 252, 228, 0.08);
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    text-transform: lowercase;
}

.shard-details p {
    color: var(--small-text-color);
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 6px 0;
}

.shard-details {
    margin-top: 8px;
}

.shard-details strong {
    color: var(--heading-color);
    font-weight: 600;
}

.loading {
    border: 10px solid rgba(152, 153, 155, 0.2);
    border-top: 10px solid var(--main-color);
    border-radius: 50%;
    width: 96px;
    height: 96px;
    animation: spin 2s linear infinite;
    margin: 24px auto;
    display: none;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

footer {
    margin-top: auto;
}

@media (max-width: 900px) {
    .status-hero {
        flex-direction: column;
        align-items: stretch;
    }
}
