/* ===== FONT (OFFLINE - NET MELLI SAFE) ===== */
@font-face {
    font-family: 'Vazir';
    src: url('https://download.qmarsdev.com/Maintenance/Vazir-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: 'Vazir', Tahoma, sans-serif;
}


/* ===== RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== BODY ===== */
body {
    height: 100vh;
    background:linear-gradient(135deg, #020024, #090979, #00d4ff);
    overflow: hidden;
}


/* ===== NOISE TEXTURE ===== */
.noise {
    position: fixed;
    inset: 0;
    background-image:
        repeating-radial-gradient(circle at 20% 20%,
            rgba(255,255,255,0.04) 0,
            rgba(255,255,255,0.02) 1px,
            transparent 2px,
            transparent 6px);
    mix-blend-mode: overlay;
    pointer-events: none;
}

/* ===== CENTER ===== */
.wrapper {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ===== CARD ===== */
.card {
    background: rgba(0, 0, 0, 0.65);
    padding: 55px 45px;
    border-radius: 22px;
    text-align: center;
    max-width: 520px;
    box-shadow:
        0 0 25px rgba(0,255,255,0.4),
        0 0 60px rgba(0,255,255,0.3),
        inset 0 0 30px rgba(0,255,255,0.15);
    animation: glow 3s infinite alternate;
}

/* ===== TITLE ===== */
.card h1 {
    color: #00ffff;
    font-size: 36px;
    margin-bottom: 22px;
    text-shadow:
        0 0 10px #00ffff,
        0 0 25px #00ffff;
}

/* ===== TEXT ===== */
.card p {
    font-size: 18px;
    line-height: 2;
    color: #e0fefe;
    margin-bottom: 35px;
}

/* ===== LOADER ===== */
/* ===== LOADER WITH FIXED LOGO ===== */
.loader-wrap {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 10px;
}

/* LOGO */
.logo {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80px;
    height: 80px;
    transform: translate(-50%, -50%);
    z-index: 2;
    filter: drop-shadow(0 0 10px rgba(0,255,255,0.6));
}

/* ROTATING RING */
.loader-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 4px solid rgba(0,255,255,0.15);
    border-top-color: #00ffff;
    border-right-color: #00ffff;
    box-shadow: 0 0 20px #00ffff;
    animation: spin 1.2s linear infinite;
}


/* ===== STATUS ===== */
.status {
    font-size: 14px;
    color: #aaffff;
    opacity: 0.85;
}

/* ===== ANIMATIONS ===== */
@keyframes spin {
    to { transform: rotate(360deg); }
}


@keyframes glow {
    from {
        box-shadow:
            0 0 20px rgba(0,255,255,0.4),
            0 0 40px rgba(0,255,255,0.3);
    }
    to {
        box-shadow:
            0 0 35px rgba(0,255,255,0.8),
            0 0 80px rgba(0,255,255,0.6);
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
    .card {
        padding: 40px 28px;
    }
    .card h1 {
        font-size: 28px;
    }
    .card p {
        font-size: 16px;
    }
}
