
/* Islamic patterns background */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200" viewBox="0 0 200 200"><path fill="%232e7d32" fill-opacity="0.05" d="M20,100a80,80 0 1 1 160,0a80,80 0 1 1 -160,0"/><path fill="%234caf50" fill-opacity="0.05" d="M40,100a60,60 0 1 1 120,0a60,60 0 1 1 -120,0"/><path fill="%232e7d32" fill-opacity="0.05" d="M60,100a40,40 0 1 1 80,0a40,40 0 1 1 -80,0"/><path fill="%234caf50" fill-opacity="0.05" d="M80,100a20,20 0 1 1 40,0a20,20 0 1 1 -40,0"/></svg>'),
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200" viewBox="0 0 200 200"><path fill="none" stroke="%232e7d32" stroke-width="0.5" stroke-opacity="0.1" d="M0,0 L200,200 M200,0 L0,200"/><path fill="none" stroke="%234caf50" stroke-width="0.5" stroke-opacity="0.1" d="M100,0 L100,200 M0,100 L200,100"/></svg>');
background-size: 300px 300px, 200px 200px;
    background-position: center;
    z-index: -1;
}
/* Particles animation */
.particle {
    animation: float 15s infinite ease-in-out;
    width: 100px;
    height: 100px;
}

.particle:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    width: 120px;
    height: 120px;
}

.particle:nth-child(2) {
    top: 60%;
    left: 80%;
    animation-delay: 3s;
    width: 80px;
    height: 80px;
}

.particle:nth-child(3) {
    top: 70%;
    left: 20%;
    animation-delay: 6s;
    width: 90px;
    height: 90px;
}

.particle:nth-child(4) {
    top: 30%;
    left: 70%;
    animation-delay: 9s;
    width: 110px;
    height: 110px;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-50px) rotate(180deg);
    }
    100% {
        transform: translateY(0) rotate(360deg);
    }
}
/* Persian font face for better typography */
@font-face {
    font-family: 'Vazirmatn';
    src: url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/fonts/webfonts/Vazirmatn-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
/* Islamic calligraphy style */
.app-name {
    position: relative;
}

.app-name::after {
    content: "﷽";
    position: absolute;
    top: -30px;
    right: 50%;
    transform: translateX(50%);
    font-size: 32px;
    color: rgba(29, 161, 242, 0.15);
    font-family: 'Traditional Arabic', 'Arial', sans-serif;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

/* Islamic pattern borders */
.download-card {
    position: relative;
    overflow: hidden;
}
.download-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2e7d32, #4caf50);
background-size: 200% 100%;
    animation: gradientBorder 3s ease infinite;
}

@keyframes gradientBorder {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}
/* Animation for download buttons */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Custom styles for the download buttons */
.download-btn {
    animation: pulse 2s infinite;
}

.download-btn:hover {
    animation: none;
    transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .download-text {
        font-size: 1.5rem;
    }
}