/* ======================================================
   PREMIUM MAINTENANCE MODE
====================================================== */

.maintenance-screen {
    position: fixed;
    inset: 0;

    width: 100%;
    height: 100vh;

    overflow: hidden;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 20px;

    z-index: 999999999;

    background:
        linear-gradient(
            135deg,
            rgba(1,98,136,0.97),
            rgba(1,98,136,0.90)
        );
}

.maintenance-bg {
    position: absolute;
    inset: 0;

    background:
        radial-gradient(circle at top left,
            rgba(255,215,0,0.18),
            transparent 35%),

        radial-gradient(circle at bottom right,
            rgba(255,255,255,0.08),
            transparent 30%);

    animation: floatingGlow 8s ease-in-out infinite;
}

@keyframes floatingGlow {
    0% {
        transform: scale(1) rotate(0deg);
    }

    50% {
        transform: scale(1.1) rotate(2deg);
    }

    100% {
        transform: scale(1) rotate(0deg);
    }
}

.maintenance-container {
    position: relative;

    width: 100%;
    max-width: 600px;

    padding: 50px 35px;

    border-radius: 30px;

    text-align: center;

    background: rgba(255,255,255,0.08);

    border: 1px solid rgba(255,255,255,0.12);

    backdrop-filter: blur(16px);

    box-shadow:
        0 20px 60px rgba(0,0,0,0.35),
        0 0 40px rgba(255,215,0,0.12);

    animation: fadeUp 1s ease;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.maintenance-logo img {
    width: 110px;
    margin-bottom: 25px;

    filter:
        drop-shadow(0 0 15px rgba(255,215,0,0.25));
}

.maintenance-container h1 {
    color: white;

    font-size: 2.5rem;
    font-weight: 800;

    margin-bottom: 20px;

    line-height: 1.2;
}

.maintenance-container p {
    color: rgba(255,255,255,0.92);

    font-size: 1.08rem;

    line-height: 1.8;

    margin-bottom: 35px;
}

/* ================= LOADER ================= */

.maintenance-loader {
    display: flex;
    justify-content: center;
    align-items: center;

    gap: 12px;

    margin-bottom: 35px;
}

.maintenance-loader span {
    width: 14px;
    height: 14px;

    border-radius: 50%;

    background: gold;

    animation: pulse 1.2s infinite ease-in-out;
}

.maintenance-loader span:nth-child(2) {
    animation-delay: 0.2s;
}

.maintenance-loader span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.5);
        opacity: 1;
    }
}

/* ================= BUTTONS ================= */

.maintenance-actions {
    display: flex;
    justify-content: center;
    align-items: center;

    flex-wrap: wrap;

    gap: 15px;
}

.maintenance-btn,
.admin-access-btn {
    border: none;
    outline: none;

    padding: 15px 28px;

    border-radius: 14px;

    font-size: 1rem;
    font-weight: 700;

    cursor: pointer;

    transition: 0.35s ease;
}

.maintenance-btn {
    background: gold;
    color: #000;

    text-decoration: none;
}

.admin-access-btn {
    background: rgba(255,255,255,0.12);
    color: white;

    border: 1px solid rgba(255,255,255,0.15);
}

.maintenance-btn:hover,
.admin-access-btn:hover {
    transform: translateY(-4px);

    box-shadow:
        0 10px 25px rgba(0,0,0,0.25);
}

/* ================= MOBILE ================= */

@media (max-width: 768px) {

    .maintenance-container {
        padding: 40px 25px;
    }

    .maintenance-container h1 {
        font-size: 2rem;
    }

    .maintenance-container p {
        font-size: 1rem;
    }

    .maintenance-actions {
        flex-direction: column;
    }

    .maintenance-btn,
    .admin-access-btn {
        width: 100%;
    }
}