﻿body {
    margin: 0;
    background: #0d0d0d;
    color: #fff;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

/* مرکز صفحه */
.cv-container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    position: relative;
}

    /* نوار بنفش پشت PDF */
    .cv-container::before {
        content: "";
        position: absolute;
        width: 70%;
        height: 100%;
        background: linear-gradient(135deg, #6a2bff33, #b084ff22);
        filter: blur(80px);
        border-radius: 200px;
        z-index: 0;
    }

/* کادر شیشه‌ای مدرن */
.cv-card {
    position: relative;
    z-index: 2;
    background: rgba(20, 20, 20, 0.75);
    backdrop-filter: blur(14px);
    border-radius: 22px;
    padding: 35px;
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.06);
    max-width: 900px;
    width: 100%;
    animation: fadeInUp 0.7s ease;
}

    /* افکت فید اطراف PDF */
    .cv-card::after {
        content: "";
        position: absolute;
        inset: -20px;
        background: radial-gradient(circle, rgba(255,255,255,0.05), transparent 70%);
        border-radius: inherit;
        z-index: -1;
    }

#viewer {
    width: 100%;
    height: auto;
}

/* دکمه دانلود مدرن */
.download-btn {
    display: inline-flex;
    align-items: center;
    margin-top: 25px;
    background: linear-gradient(135deg, #7a3cff, #b084ff);
    color: #fff;
    padding: 14px 28px;
    border-radius: 14px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 0 25px rgba(122, 60, 255, 0.45);
    transition: 0.3s ease;
}

    .download-btn:hover {
        transform: translateY(-4px);
        box-shadow: 0 0 40px rgba(155, 92, 255, 0.75);
    }

/* انیمیشن ورود */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .cv-card {
        padding: 22px;
    }

    .download-btn {
        font-size: 16px;
        padding: 12px 22px;
    }
}
.cv-card::before {
    content: "";
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, #7a3cff, #b084ff);
    filter: blur(6px);
    border-radius: 50px;
}
.cv-container::after {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #7a3cff33, transparent 70%);
    filter: blur(80px);
}
.cv-card::before {
    content: "";
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 1px;
    background: rgba(255,255,255,0.08);
}
.cv-title {
    text-align: center;
    font-size: 32px;
    font-weight: 300;
    letter-spacing: 1px;
    color: #e6e6e6;
    margin-bottom: 45px;
    margin-top: 20px;
    opacity: 0.95;
}
.cv-container {
    padding-top: 20px;
}


.cv-card::after {
    content: "";
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
    height: 1px;
    background: rgba(255,255,255,0.05);
}

.cv-card.fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    padding: 0;
    border-radius: 0;
    z-index: 9999;
    background: #000;
}
.cv-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

    .cv-card:hover {
        transform: scale(1.06);
        box-shadow: 0 0 55px rgba(122, 60, 255, 0.35);
    }
