@font-face {
    font-family: 'Vazir';
    src: url('https://cdn.jsdelivr.net/gh/rastikerdar/vazir-font@v30.1.0/dist/Vazir-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazir';
    src: url('https://cdn.jsdelivr.net/gh/rastikerdar/vazir-font@v30.1.0/dist/Vazir-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Vazir', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: linear-gradient(135deg, #1e1e1e, #3c3c3c);
    color: #fff;
    direction: rtl;
    text-align: right;
    overflow: hidden;
}

.background {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    position: relative;
}

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    animation: backgroundEffect 10s infinite alternate;
}

@keyframes backgroundEffect {
    0% {
        filter: brightness(1) contrast(1);
    }
    100% {
        filter: brightness(0.9) contrast(1.1);
    }
}

.notification-card {
    background: rgba(38, 38, 38, 0.5);
    border: 1px solid rgba(255, 87, 34, 0.8);
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    width: 350px;
    max-width: 90%;
    animation: fadeInUp 1s ease;
    text-align: center;
    backdrop-filter: blur(10px);
}

.header {
    background: linear-gradient(135deg, #9c27b0, #ff5722);
    padding: 20px;
    color: #fff;
    border-radius: 20px 20px 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header .logo {
    width: 150px;
    height: auto;
    margin-bottom: 10px;
    filter: drop-shadow(0 0 10px #ff5722);
}

.header h2 {
    margin: 0;
    font-size: 1.8em;
    font-weight: 700;
}

.content {
    padding: 30px;
}

.content h3 {
    margin: 0 0 15px;
    font-size: 1.0em;
    color: #ffcd3c;
}

.gta-sa-loader .loader-bar {
    width: 100%;
    height: 20px;
    background: #444;
    border-radius: 10px;
    overflow: hidden;
    margin: 20px auto;
}

.gta-sa-loader .loader-fill {
    height: 100%;
    width: 0;
    background: #ffcd3c;
    animation: fillLoader 10s linear forwards;
    box-shadow: 0 0 5px #ffcd3c;
}

@keyframes fillLoader {
    to {
        width: 100%;
    }
}

.countdown-text {
    margin: 20px 0;
    font-size: 1.1em;
    color: #ccc;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-50px); }
    to { opacity: 1; transform: translateY(0); }
}

.refresh-button {
    margin-top: 20px;
    animation: slideDown 0.5s ease;
    display: flex;
    justify-content: center;
}

.refresh-button button {
    padding: 10px 20px;
    font-size: 1em;
    font-family: 'Vazir', sans-serif;
    color: #fff;
    background-color: #ffcd3c;
    border: none;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
    box-shadow: 0 0 10px #ffcd3c, 0 0 20px #d32f2f;
}

.refresh-button button:hover {
    background-color: #d32f2f;
    transform: scale(1.05);
}

.refresh-button button img {
    margin-left: 8px;
    width: 20px;
    height: 20px;
}

.social-media {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: background 0.3s, transform 0.3s;
}

.icon:hover {
    transform: scale(1.2);
}

.icon img {
    width: 24px;
    height: 24px;
}

/* استایل اختصاصی برای تغییر رنگ هنگام هاور روی آیکون‌ها */
.icon.telegram:hover {
    background: #1a1d1f;
}

.icon.teamspeak:hover {
    background: #2580c3;
}

.icon.discord:hover {
    background: #7289da;
}

.icon.website:hover {
    background: #f44242;
}

/* افکت برف */
@keyframes snowFall {
    0% { transform: translateY(-10px); }
    100% { transform: translateY(100vh); }
}

.snowflake {
    position: absolute;
    top: -10px;
    background: url('https://img.icons8.com/ios-filled/50/ffffff/snowflake.png') no-repeat center center;
    background-size: contain;
    pointer-events: none;
    animation: snowFall linear infinite;
}

/* حالت ریسپانسیو برای تبلت */
@media (max-width: 768px) {
    .notification-card {
        width: 100%;
        max-width: 90%;
    }

    .header .logo {
        width: 120px;
    }

    .header h2 {
        font-size: 1.5em;
    }

    .content {
        padding: 20px;
    }

    .content h3 {
        font-size: 0.9em;
    }

    .refresh-button button {
        padding: 8px 16px;
        font-size: 0.9em;
    }
}

/* حالت ریسپانسیو برای گوشی */
@media (max-width: 480px) {
    .notification-card {
        width: 100%;
        max-width: 90%;
    }

    .header .logo {
        width: 100px;
    }

    .header h2 {
        font-size: 1.2em;
    }

    .content {
        padding: 15px;
    }

    .content h3 {
        font-size: 0.8em;
    }

    .refresh-button button {
        padding: 6px 12px;
        font-size: 0.8em;
    }

    .icon {
        width: 30px;
        height: 30px;
    }

    .icon img {
        width: 20px;
        height: 20px;
    }
}
