.maintenance-header,
.maintenance-footer {
    display: block;
    width: 100%;
    height: 0;
    overflow: hidden;
}

.maintenance-page {
    position: relative;
    min-height: 100vh;
    padding: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(255, 90, 31, 0.16), transparent 34%),
        radial-gradient(circle at bottom right, rgba(24, 24, 27, 0.12), transparent 38%),
        linear-gradient(135deg, #f8fafc 0%, #f4f4f5 45%, #ffffff 100%);
}

.maintenance-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.maintenance-orb {
    position: absolute;
    display: block;
    border-radius: 999px;
    filter: blur(4px);
    opacity: 0.45;
    animation: floatOrb 9s ease-in-out infinite;
}

.orb-one {
    width: 220px;
    height: 220px;
    top: 12%;
    left: 8%;
    background: rgba(255, 90, 31, 0.18);
}

.orb-two {
    width: 280px;
    height: 280px;
    right: -80px;
    bottom: 10%;
    background: rgba(24, 24, 27, 0.10);
    animation-delay: 1.5s;
}

.orb-three {
    width: 140px;
    height: 140px;
    right: 24%;
    top: 18%;
    background: rgba(255, 152, 92, 0.20);
    animation-delay: 3s;
}

.maintenance-card {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 620px;
    padding: 46px 38px;
    text-align: center;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(228, 228, 231, 0.9);
    border-radius: 30px;
    box-shadow:
        0 26px 70px rgba(24, 24, 27, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(18px);
    transform: translateY(18px);
    opacity: 0;
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.maintenance-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.maintenance-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 90, 31, 0.10);
    color: #c2410c;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.maintenance-icon {
    width: 74px;
    height: 74px;
    margin: 0 auto 24px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(135deg, #18181b 0%, #3f3f46 100%);
    box-shadow: 0 18px 34px rgba(24, 24, 27, 0.18);
}

.maintenance-icon span {
    width: 32px;
    height: 32px;
    border: 3px solid #ffffff;
    border-top-color: rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    animation: spinIcon 1.5s linear infinite;
}

.maintenance-card h1 {
    margin: 0 0 16px;
    color: #18181b;
    font-size: clamp(32px, 5vw, 48px);
    line-height: 1.05;
    letter-spacing: -0.04em;
    font-weight: 800;
}

.maintenance-card p {
    max-width: 490px;
    margin: 0 auto;
    color: #52525b;
    font-size: 17px;
    line-height: 1.7;
}

.maintenance-actions {
    margin-top: 32px;
}

.maintenance-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 999px;
    background: #18181b;
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    box-shadow: 0 14px 30px rgba(24, 24, 27, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.maintenance-button:hover {
    transform: translateY(-2px);
    background: #27272a;
    box-shadow: 0 18px 38px rgba(24, 24, 27, 0.22);
}

.maintenance-status {
    margin-top: 26px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #71717a;
    font-size: 13px;
    font-weight: 600;
}

.status-dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.12);
    animation: pulseDot 1.8s ease-in-out infinite;
}

@keyframes floatOrb {
    0%, 100% {
        transform: translate3d(0, 0, 0) scale(1);
    }

    50% {
        transform: translate3d(18px, -22px, 0) scale(1.04);
    }
}

@keyframes spinIcon {
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulseDot {
    0%, 100% {
        box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.12);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(34, 197, 94, 0.04);
    }
}

@media (max-width: 640px) {
    .maintenance-page {
        padding: 20px;
    }

    .maintenance-card {
        padding: 34px 24px;
        border-radius: 24px;
    }

    .maintenance-card p {
        font-size: 15px;
    }

    .maintenance-button {
        width: 100%;
    }
}