/* ===== فونت وزیرمتن (لوکال) ===== */
@font-face {
    font-family: "Vazirmatn";
    src: url("public/fonts/Vazirmatn-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Vazirmatn";
    src: url("public/fonts/Vazirmatn-Medium.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Vazirmatn";
    src: url("public/fonts/Vazirmatn-SemiBold.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Vazirmatn";
    src: url("public/fonts/Vazirmatn-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Vazirmatn";
    src: url("public/fonts/Vazirmatn-ExtraBold.woff2") format("woff2");
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Vazirmatn";
    src: url("public/fonts/Vazirmatn-Black.woff2") format("woff2");
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg: #0a0612;
    --bg-soft: #150c26;
    --purple: #8b5cf6;
    --purple-light: #a78bfa;
    --purple-deep: #6d28d9;
    --white: #f5f3ff;
    --white-dim: #cfc7e8;
}

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

html,
body {
    min-height: 100%;
}

body {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    background: radial-gradient(circle at 50% 0%, var(--bg-soft) 0%, var(--bg) 60%);
    font-family: "Vazirmatn", "Segoe UI", Tahoma, sans-serif;
    color: var(--white);
    overflow: hidden;
    position: relative;
    padding: 40px 24px 24px;
}

/* soft purple glows */
.glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
}

.glow-1 {
    width: 420px;
    height: 420px;
    top: -140px;
    right: -120px;
    background: rgba(139, 92, 246, 0.28);
}

.glow-2 {
    width: 380px;
    height: 380px;
    bottom: -150px;
    left: -130px;
    background: rgba(109, 40, 217, 0.25);
}

.screen {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 34px;
    width: 100%;
    max-width: 620px;
}

.logo {
    width: clamp(130px, 30vw, 220px);
    height: auto;
    user-select: none;
    filter: drop-shadow(0 0 32px rgba(139, 92, 246, 0.55));
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.message {
    font-size: clamp(16px, 4.3vw, 22px);
    line-height: 1.9;
    font-weight: 700;
    color: var(--white);
    max-width: 30ch;
    text-wrap: balance;
    text-shadow: 0 0 24px rgba(139, 92, 246, 0.35);
}

/* تکست بنفش: افزایش اعتبار کیف پول */
.message--accent {
    margin-top: -18px;
    font-size: clamp(15px, 4vw, 20px);
    font-weight: 600;
    line-height: 2.1;
    color: var(--purple-light);
    text-shadow: 0 0 26px rgba(167, 139, 250, 0.45);
}

.phones {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    width: 100%;
}

.phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    border-radius: 999px;
    text-decoration: none;
    font-size: clamp(16px, 4.2vw, 21px);
    font-weight: 700;
    letter-spacing: 1px;
    direction: ltr;
    color: var(--white);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.22), rgba(109, 40, 217, 0.12));
    border: 1px solid rgba(167, 139, 250, 0.55);
    box-shadow: 0 0 0 rgba(139, 92, 246, 0);
    transition: transform 0.2s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.phone:hover,
.phone:focus-visible {
    transform: translateY(-3px);
    border-color: var(--purple-light);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.45);
}

.phone:active {
    transform: translateY(0);
}

.phone-icon {
    color: var(--purple-light);
    font-size: 1.05em;
    display: inline-block;
    animation: ring 2.6s ease-in-out infinite;
}

@keyframes ring {
    0%,
    80%,
    100% {
        transform: rotate(0);
    }
    85% {
        transform: rotate(-12deg);
    }
    90% {
        transform: rotate(12deg);
    }
    95% {
        transform: rotate(-8deg);
    }
}

.phone-number {
    font-variant-numeric: tabular-nums;
}

.footer {
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex;
    justify-content: center;
    padding-top: 16px;
}

.footer span {
    font-family: "Vazirmatn", "Segoe UI", Tahoma, sans-serif;
    font-size: clamp(14px, 3.6vw, 17px);
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--white-dim);
    opacity: 0.85;
    position: relative;
}

.footer span::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    bottom: -6px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--purple), transparent);
}

@media (prefers-reduced-motion: reduce) {
    .logo,
    .phone-icon {
        animation: none;
    }
}