:root {
    --primary: #0044ff;
    --accent: #97b3ff;
    --dark: #15161d;
    --dark2: #1e1f29;
    --text: #ffffff;
    --muted: #a8adbd;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    width: 100%;
    min-height: 100%;
}

body {
    width: 100%;
    min-height: 100vh;

    margin: 0;
    padding: 0;

    font-family: "YekanBakh", sans-serif;

    color: var(--text);

    background: var(--dark);

    overflow-x: hidden;
}

/* =========================
   MAIN
========================= */

.maintenance-page {
    position: relative;

    width: 100%;
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 40px 20px;

    background:
        radial-gradient(
            circle at 50% 40%,
            rgba(0, 68, 255, 0.16),
            transparent 38%
        ),
        radial-gradient(
            circle at 10% 90%,
            rgba(0, 68, 255, 0.08),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #101117 0%,
            #15161d 50%,
            #101117 100%
        );
}

/* background glow */

.maintenance-page::before {
    content: "";

    position: absolute;

    width: min(500px, 80vw);
    height: min(500px, 80vw);

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    background: rgba(0, 68, 255, 0.07);

    filter: blur(100px);

    border-radius: 50%;

    pointer-events: none;
}

/* =========================
   CARD
========================= */

.maintenance-card {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 620px;

    padding: 55px 45px 30px;

    text-align: center;

    background:
        linear-gradient(
            145deg,
            rgba(30, 31, 41, 0.97),
            rgba(21, 22, 29, 0.97)
        );

    border: 1px solid rgba(255, 255, 255, 0.07);

    border-radius: 28px;

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.45),
        0 0 80px rgba(0, 68, 255, 0.07);

    backdrop-filter: blur(20px);
}

/* top blue line */

.maintenance-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 50%;

    transform: translateX(-50%);

    width: 120px;
    height: 3px;

    background: var(--primary);

    border-radius: 0 0 10px 10px;

    box-shadow:
        0 0 20px rgba(0, 68, 255, 0.8),
        0 0 40px rgba(0, 68, 255, 0.35);
}

/* =========================
   ICON
========================= */

.maintenance-icon {
    width: 95px;
    height: 95px;

    margin: 0 auto 28px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        linear-gradient(
            145deg,
            rgba(0, 68, 255, 0.20),
            rgba(0, 68, 255, 0.05)
        );

    border: 1px solid rgba(0, 68, 255, 0.25);

    box-shadow:
        0 0 40px rgba(0, 68, 255, 0.12);

    flex-shrink: 0;
}

.maintenance-icon span {
    display: block;

    font-size: 43px;

    color: var(--accent);

    animation: rotateGear 5s linear infinite;

    text-shadow:
        0 0 20px rgba(0, 68, 255, 0.6);
}

@keyframes rotateGear {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* =========================
   TEXT
========================= */

.maintenance-label {
    display: block;

    margin-bottom: 10px;

    color: var(--accent);

    font-size: 13px;

    font-weight: 800;

    letter-spacing: 4px;
}

.maintenance-content h1 {
    margin: 0 0 15px;

    color: #ffffff;

    font-size: clamp(25px, 4vw, 34px);

    font-weight: 800;

    line-height: 1.5;
}

.maintenance-content p {
    width: 100%;
    max-width: 480px;

    margin: 0 auto;

    color: var(--muted);

    font-size: 15px;

    font-weight: 400;

    line-height: 2;

    overflow-wrap: break-word;
}

/* =========================
   STATUS
========================= */

.maintenance-status {
    width: fit-content;
    max-width: 100%;

    margin: 27px auto 0;

    padding: 9px 17px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    border-radius: 50px;

    background: rgba(0, 68, 255, 0.08);

    border: 1px solid rgba(0, 68, 255, 0.16);

    color: #cbd5ff;

    font-size: 13px;

    font-weight: 600;

    white-space: nowrap;
}

.status-dot {
    width: 8px;
    height: 8px;

    flex: 0 0 8px;

    border-radius: 50%;

    background: var(--primary);

    box-shadow:
        0 0 0 4px rgba(0, 68, 255, 0.12),
        0 0 15px rgba(0, 68, 255, 0.8);

    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% {
        box-shadow:
            0 0 0 0 rgba(0, 68, 255, 0.5),
            0 0 15px rgba(0, 68, 255, 0.8);
    }

    70% {
        box-shadow:
            0 0 0 8px rgba(0, 68, 255, 0),
            0 0 15px rgba(0, 68, 255, 0.8);
    }

    100% {
        box-shadow:
            0 0 0 0 rgba(0, 68, 255, 0),
            0 0 15px rgba(0, 68, 255, 0.8);
    }
}

/* =========================
   FOOTER
========================= */

.maintenance-footer {
    margin-top: 35px;
    padding-top: 20px;

    border-top: 1px solid rgba(255, 255, 255, 0.06);

    color: #777c8c;

    font-size: 12px;

    font-weight: 500;
}

/* ==================================================
   TABLET
================================================== */

@media (max-width: 768px) {

    .maintenance-page {
        padding: 30px 18px;
    }

    .maintenance-card {
        max-width: 560px;

        padding: 45px 32px 27px;

        border-radius: 24px;
    }

    .maintenance-icon {
        width: 85px;
        height: 85px;

        margin-bottom: 24px;
    }

    .maintenance-icon span {
        font-size: 39px;
    }

    .maintenance-content h1 {
        font-size: 28px;
    }

    .maintenance-content p {
        font-size: 14px;
    }

    .maintenance-footer {
        margin-top: 30px;
    }
}

/* ==================================================
   MOBILE
================================================== */

@media (max-width: 480px) {

    .maintenance-page {
        min-height: 100svh;

        padding: 20px 14px;
    }

    .maintenance-page::before {
        width: 300px;
        height: 300px;

        filter: blur(75px);
    }

    .maintenance-card {
        width: 100%;

        padding: 38px 20px 22px;

        border-radius: 21px;

        box-shadow:
            0 20px 50px rgba(0, 0, 0, 0.4),
            0 0 50px rgba(0, 68, 255, 0.06);
    }

    .maintenance-card::before {
        width: 85px;
    }

    .maintenance-icon {
        width: 72px;
        height: 72px;

        margin-bottom: 20px;
    }

    .maintenance-icon span {
        font-size: 32px;
    }

    .maintenance-label {
        margin-bottom: 8px;

        font-size: 10px;

        letter-spacing: 3px;
    }

    .maintenance-content h1 {
        margin-bottom: 12px;

        font-size: 22px;

        line-height: 1.55;
    }

    .maintenance-content p {
        max-width: 330px;

        font-size: 13px;

        line-height: 2;
    }

    .maintenance-status {
        margin-top: 22px;

        padding: 8px 14px;

        font-size: 11px;
    }

    .maintenance-footer {
        margin-top: 25px;

        padding-top: 17px;

        font-size: 11px;
    }
}

/* ==================================================
   SMALL MOBILE
================================================== */

@media (max-width: 360px) {

    .maintenance-page {
        padding: 14px 10px;
    }

    .maintenance-card {
        padding: 30px 16px 19px;

        border-radius: 18px;
    }

    .maintenance-icon {
        width: 62px;
        height: 62px;

        margin-bottom: 17px;
    }

    .maintenance-icon span {
        font-size: 28px;
    }

    .maintenance-label {
        font-size: 9px;

        letter-spacing: 2.5px;
    }

    .maintenance-content h1 {
        font-size: 20px;
    }

    .maintenance-content p {
        font-size: 12px;
        line-height: 1.9;
    }

    .maintenance-status {
        margin-top: 19px;

        padding: 7px 12px;

        font-size: 10px;
    }

    .maintenance-footer {
        margin-top: 21px;

        padding-top: 15px;

        font-size: 10px;
    }
}

/* ==================================================
   SHORT SCREENS
   مثلا موبایل افقی یا لپ‌تاپ کوچک
================================================== */

@media (max-height: 650px) {

    .maintenance-page {
        padding-top: 20px;
        padding-bottom: 20px;

        align-items: flex-start;

        overflow-y: auto;
    }

    .maintenance-card {
        margin-top: 10px;

        padding-top: 30px;
    }

    .maintenance-icon {
        width: 65px;
        height: 65px;

        margin-bottom: 16px;
    }

    .maintenance-icon span {
        font-size: 29px;
    }

    .maintenance-content h1 {
        margin-bottom: 10px;

        font-size: 22px;
    }

    .maintenance-content p {
        line-height: 1.8;
    }

    .maintenance-status {
        margin-top: 18px;
    }

    .maintenance-footer {
        margin-top: 20px;

        padding-top: 15px;
    }
}