@font-face {
    font-family: 'Vazir';
    src: url('https://fox-filme.ir/font.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

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

body {
    font-family: 'Vazir', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(145deg, #0a0f1e 0%, #0c1222 100%);
    color: #f0f3fa;
    line-height: 1.5;
    overflow-x: hidden;
}

/* ===== استایل‌های SVG ===== */
img[src$=".svg"] {
    border: none !important;
    outline: none !important;
    background: transparent !important;
    box-shadow: none !important;
    display: inline-block;
    vertical-align: middle;
}

.btn-download img[src$=".svg"] {
    filter: brightness(0) invert(1);
}

footer img[src$=".svg"] {
    filter: brightness(0) invert(1);
}

.testimonials h2 img[src$=".svg"] {
    filter: brightness(0) invert(1);
}

.version-badge img[src$=".svg"] {
    filter: brightness(0) invert(1);
}

.btn-copy img[src$=".svg"] {
    filter: brightness(0) invert(1);
}

.fake-qr img[src$=".svg"] {
    filter: none !important;
}

/* ===== استایل‌های پایه ===== */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.bg-animation::before {
    content: "";
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 20% 40%, rgba(45, 85, 255, 0.1) 0%, rgba(10, 15, 30, 0.9) 80%);
    animation: pulseBg 18s infinite alternate;
}

@keyframes pulseBg {
    0% { opacity: 0.6; transform: scale(1);}
    100% { opacity: 1; transform: scale(1.05);}
}

canvas#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 2rem 1.5rem 4rem;
    position: relative;
    z-index: 2;
}

/* ===== هدر و لوگو ===== */
.header {
    text-align: center;
    margin-bottom: 3rem;
    animation: fadeDown 0.9s ease-out;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(12px);
    padding: 0.8rem 2rem;
    border-radius: 100px;
    border: 1px solid rgba(255,255,255,0.15);
    margin-bottom: 1.5rem;
}

.logo img {
    width: 45px;
    height: 45px;
    filter: drop-shadow(0 0 8px #ffb34780);
}

.logo h1 {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #FFFFFF, #FFB347, #FF7E05);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.tagline {
    font-size: 1.1rem;
    color: #b9c7d9;
    max-width: 550px;
    margin: 0 auto;
}

/* ===== کارت اصلی دانلود ===== */
.download-card {
    background: rgba(20, 28, 44, 0.7);
    backdrop-filter: blur(16px);
    border-radius: 48px;
    padding: 2rem 2rem 3rem;
    margin-bottom: 3rem;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 25px 45px -12px rgba(0,0,0,0.5);
    transition: transform 0.2s;
}

.version-badge {
    display: inline-block;
    background: #ff8800cc;
    padding: 0.3rem 1.2rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    backdrop-filter: blur(4px);
}

.version-badge img {
    width: 16px;
    height: 16px;
    display: inline-block;
    vertical-align: middle;
    margin-left: 6px;
    filter: brightness(0) invert(1);
}

.download-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin: 1rem 0 0.5rem;
}

.download-desc {
    font-size: 1rem;
    color: #bfd0e5;
    max-width: 500px;
    margin: 0 auto 2rem;
}

.btn-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 1.8rem;
}

.btn-download {
    background: linear-gradient(105deg, #2b2f4b, #1e233b);
    border: none;
    padding: 1rem 2rem;
    border-radius: 60px;
    font-family: inherit;
    font-weight: 700;
    font-size: 1.1rem;
    color: white;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(255,255,255,0.2);
    text-decoration: none;
}

.btn-download img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
    vertical-align: middle;
    margin-left: 8px;
}

.btn-download.android {
    background: linear-gradient(105deg, #3bce4a, #2a9d32);
    box-shadow: 0 8px 20px rgba(59, 206, 74, 0.3);
}

.btn-download.ios {
    background: linear-gradient(105deg, #42475f, #2c314a);
}

.btn-download.windows {
    background: linear-gradient(105deg, #0078d7, #005a9e);
}

.btn-download:hover {
    transform: translateY(-5px);
    filter: brightness(1.05);
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
}

.btn-download:active {
    transform: translateY(2px);
}

.btn-download:focus,
.btn-download:focus-visible {
    outline: none;
    box-shadow: none;
}

.qr-section {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.qr-item {
    text-align: center;
    background: rgba(0,0,0,0.3);
    padding: 12px 18px;
    border-radius: 36px;
    backdrop-filter: blur(8px);
}

.qr-item span {
    font-size: 0.85rem;
    display: block;
    margin-top: 8px;
    color: #ccddf8;
}

.fake-qr {
    background: white;
    width: 70px;
    height: 70px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.fake-qr img {
    width: 40px;
    height: 40px;
    filter: none !important;
}

/* ===== ویژگی‌ها ===== */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
}

.feature-card {
    background: rgba(30, 38, 58, 0.6);
    backdrop-filter: blur(8px);
    padding: 1.5rem;
    border-radius: 32px;
    transition: all 0.2s;
    border: 1px solid rgba(255,255,255,0.05);
    text-align: center;
}

.feature-card:hover {
    background: rgba(45, 55, 85, 0.8);
    transform: scale(1.02);
    border-color: #ffb34760;
}

.feature-icon {
    margin-bottom: 1rem;
}

.feature-icon img {
    width: 50px;
    height: 50px;
    filter: brightness(0) saturate(100%) invert(68%) sepia(91%) saturate(1312%) hue-rotate(0deg) brightness(102%) contrast(106%);
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.6rem;
}

.feature-card p {
    color: #bdc6dc;
    font-size: 0.9rem;
}

/* ===== نظرات کاربران ===== */
.testimonials {
    margin: 3rem 0;
    text-align: center;
}

.testimonials h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.testimonials h2 img {
    width: 28px;
    height: 28px;
    filter: brightness(0) invert(1);
    display: inline-block;
    vertical-align: middle;
}

.comments-grid {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    max-width: 850px;
    margin: 0 auto;
}

.comment-item {
    background: rgba(18, 25, 45, 0.7);
    backdrop-filter: blur(12px);
    border-radius: 28px;
    padding: 1rem 1.5rem;
    text-align: right;
    border-right: 4px solid #ffb347;
    transition: all 0.2s ease;
    box-shadow: 0 5px 12px rgba(0,0,0,0.2);
}

.comment-item:hover {
    background: rgba(30, 42, 70, 0.85);
    transform: translateX(-5px);
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.comment-rating {
    color: #ffc107;
    font-size: 0.85rem;
    letter-spacing: 2px;
}

.comment-date {
    font-size: 0.7rem;
    color: #9aa9c2;
    background: #0f1422a0;
    padding: 2px 10px;
    border-radius: 30px;
}

.comment-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #e9effa;
    margin-bottom: 8px;
}

.comment-verification {
    font-size: 0.7rem;
    color: #4caf50;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #2e3b4e70;
    padding: 2px 12px;
    border-radius: 40px;
    width: fit-content;
}

.comment-verification img {
    width: 14px;
    height: 14px;
    display: inline-block;
    vertical-align: middle;
    margin-left: 4px;
}

.no-profile-badge {
    background: #ffb34720;
    border-radius: 50px;
    padding: 4px 12px;
    font-size: 0.7rem;
    color: #ffd966;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.no-profile-badge img {
    width: 12px;
    height: 12px;
    display: inline-block;
    vertical-align: middle;
    margin-left: 4px;
}

/* ===== لینک مستقیم و کپی ===== */
.direct-link-box {
    background: rgba(0,0,0,0.45);
    border-radius: 60px;
    padding: 0.8rem 1.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 2rem;
    border: 1px solid rgba(255,215,100,0.3);
}

.link-text {
    font-family: monospace;
    font-size: 0.9rem;
    background: #0f1422;
    padding: 0.5rem 1rem;
    border-radius: 40px;
    flex: 1;
    word-break: break-all;
    color: #ffde9e;
}

.btn-copy {
    background: #ff9800;
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 40px;
    font-family: inherit;
    font-weight: bold;
    cursor: pointer;
    transition: 0.1s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
}

.btn-copy img {
    width: 16px;
    height: 16px;
    filter: brightness(0) invert(1);
    display: inline-block;
    vertical-align: middle;
    margin-left: 6px;
}

.btn-copy:hover {
    background: #ffb347;
    transform: scale(0.97);
}

/* ===== نوتیفیکیشن ===== */
.toast-msg {
    visibility: hidden;
    min-width: 200px;
    background-color: #2e7d32;
    color: #fff;
    text-align: center;
    border-radius: 40px;
    padding: 10px;
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    font-size: 0.9rem;
    opacity: 0;
    transition: opacity 0.3s;
}

.toast-msg.show {
    visibility: visible;
    opacity: 1;
}

/* ===== فوتر ===== */
footer {
    text-align: center;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.85rem;
    color: #8f9bb3;
}

footer img {
    width: 16px;
    height: 16px;
    filter: brightness(0) invert(1);
    display: inline-block;
    vertical-align: middle;
    margin-left: 6px;
}

/* ===== انیمیشن‌ها ===== */
@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== ریسپانسیو ===== */
@media (max-width: 640px) {
    .container {
        padding: 1rem;
    }
    .download-title {
        font-size: 1.5rem;
    }
    .btn-download {
        padding: 0.7rem 1.3rem;
        font-size: 0.9rem;
    }
    .btn-download img {
        width: 20px;
        height: 20px;
    }
    .direct-link-box {
        flex-direction: column;
        align-items: stretch;
    }
    .btn-copy {
        justify-content: center;
    }
    .comment-item {
        padding: 0.8rem 1rem;
    }
    .logo img {
        width: 35px;
        height: 35px;
    }
    .feature-icon img {
        width: 40px;
        height: 40px;
    }
}