/* Hata / uyarı sayfaları: tek ekran, scroll yok, ortalı kart */
:root {
    --status-nav-offset: 140px;
}

html:has(body.dmnknd-status-page) {
    overflow: hidden;
    height: 100%;
}

body.dmnknd-status-page {
    display: block !important;
    padding-top: 0 !important;
    margin: 0;
    width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    overflow: hidden;
    overscroll-behavior: none;
    background: #0a0b10;
}

body.dmnknd-status-page .modern-footer,
body.dmnknd-status-page [data-imp-footer] {
    display: none !important;
}

.status-page-shell {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    overflow: hidden;
}

.status-page-main {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    height: calc(100dvh - var(--status-nav-offset));
    max-height: calc(100dvh - var(--status-nav-offset));
    margin-top: var(--status-nav-offset);
    padding: 1rem 1.25rem;
    overflow: hidden;
}

body.dmnknd-status-page--no-nav .status-page-main {
    margin-top: 0;
    height: 100dvh;
    max-height: 100dvh;
}

.status-page-card {
    width: min(100%, 26rem);
    max-height: 100%;
    padding: 1.75rem 1.5rem 1.5rem;
    text-align: center;
    background: rgba(22, 26, 38, 0.94);
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 14px;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(12px);
    overflow: hidden;
    flex-shrink: 1;
}

.status-page-card__icon {
    font-size: 2.25rem;
    line-height: 1;
    margin-bottom: 0.65rem;
}

.status-page-card__title {
    margin: 0;
    font-size: clamp(0.95rem, 2.8vw, 1.15rem);
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff;
    word-break: break-word;
}

.status-page-card__desc {
    margin: 0.85rem 0 0;
    font-size: clamp(0.82rem, 2.4vw, 0.92rem);
    font-weight: 300;
    line-height: 1.5;
    color: rgba(235, 238, 245, 0.82);
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 8;
    line-clamp: 8;
}

.status-page-card__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.35rem;
}

.status-page-btn {
    padding: 0.55rem 1rem;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    text-decoration: none;
    border: 1px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.status-page-btn:hover {
    transform: translateY(-1px);
}

.status-page-btn--primary {
    background: linear-gradient(135deg, #5865f2 0%, #4752c4 100%);
    color: #fff;
    box-shadow: 0 8px 20px rgba(88, 101, 242, 0.35);
}

.status-page-btn--secondary {
    background: rgba(100, 116, 139, 0.28);
    color: #e2e8f0;
    border-color: rgba(148, 163, 184, 0.35);
}

.status-page-btn--secondary:hover {
    background: rgba(100, 116, 139, 0.42);
}

@media (max-height: 520px) {
    .status-page-card {
        padding: 1.1rem 1rem 1rem;
    }

    .status-page-card__icon {
        font-size: 1.75rem;
        margin-bottom: 0.4rem;
    }

    .status-page-card__actions {
        margin-top: 0.85rem;
    }
}
