body {
    background: linear-gradient(135deg, #e8f5e9, #f5f7e8, #fffde7, #fefae0);
    background-size: 400% 400%;
    color: #1b5e20;
    font-family: 'Poppins', sans-serif;
    animation: gradientFlow 15s ease infinite;
    position: relative;
    overflow-x: hidden;
    min-height: 100vh;
}
@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Eid Decorative Elements */
body::before {
    content: "🌙✨";
    font-size: 150px;
    position: absolute;
    top: 10px;
    left: 10px;
    opacity: 0.2;
    color: #ffd700;
    animation: glow 3s ease-in-out infinite;
}
body::after {
    content: "🎉";
    font-size: 120px;
    position: absolute;
    bottom: 20px;
    right: 20px;
    opacity: 0.2;
    color: #ffd700;
    animation: bounce 2s ease-in-out infinite;
}
@keyframes glow {
    0%, 100% { opacity: 0.2; text-shadow: 0 0 15px #ffd700; }
    50% { opacity: 0.4; text-shadow: 0 0 30px #ffd700; }
}
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.eid-banner {
    background: linear-gradient(45deg, #ffd700, #ffca28, #1b5e20, #ffd700);
    background-size: 300% 300%;
    padding: 25px;
    border-radius: 15px;
    margin: 20px auto;
    font-family: 'Amiri Quran', serif;
    font-size: 2.5rem;
    font-weight: bold;
    color: #1b5e20;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.9);
    box-shadow: 0 8px 20px rgba(27, 94, 32, 0.3);
    animation: bannerShine 5s infinite;
    max-width: 90%;
}
@keyframes bannerShine {
    0% { background-position: 0% 50%; box-shadow: 0 8px 20px rgba(27, 94, 32, 0.3); }
    50% { background-position: 100% 50%; box-shadow: 0 12px 30px rgba(255, 215, 0, 0.5); }
    100% { background-position: 0% 50%; box-shadow: 0 8px 20px rgba(27, 94, 32, 0.3); }
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}

select {
    font-size: 1.2rem;
    padding: 12px;
    width: 100%;
    border-radius: 10px;
    border: 2px solid #ffd700;
    margin: 15px 0;
    background: rgba(255, 255, 255, 0.9);
    color: #1b5e20;
    transition: all 0.3s ease;
}
select:hover, select:focus {
    border-color: #1b5e20;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
    outline: none;
}

.audio-container, .translation-container {
    margin: 20px 0;
    padding: 25px;
    background: rgba(232, 245, 233, 0.9);
    border-radius: 15px;
    border: 2px solid #ffd700;
    box-shadow: 0 5px 15px rgba(27, 94, 32, 0.2);
    transition: all 0.3s ease;
}
.audio-container:hover, .translation-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.4);
}

audio {
    width: 100%;
    margin-top: 10px;
    border-radius: 10px;
}

.loading-spinner {
    display: none;
    margin: 15px auto;
    color: #ffd700;
    font-size: 1.2rem;
    animation: spin 1.5s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.translation-container h3 {
    font-family: 'Amiri Quran', serif;
    font-size: 1.8rem;
    color: #1b5e20;
    margin-bottom: 15px;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
}

.translation-text {
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: justify;
    color: #1b5e20;
    text-shadow: 0 0 3px rgba(255, 215, 0, 0.3);
}
.translation-text strong {
    color: #ffd700;
    font-weight: bold;
}

.footer {
    margin: 30px auto;
    padding: 15px;
    background: rgba(255, 215, 0, 0.2);
    border-radius: 10px;
    font-size: 1rem;
    color: #1b5e20;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
    max-width: 90%;
}

/* Responsive Design */
@media (max-width: 768px) {
    .eid-banner {
        font-size: 2rem;
        padding: 20px;
    }
    body::before, body::after {
        font-size: 100px;
    }
    select {
        font-size: 1rem;
        padding: 10px;
    }
    .audio-container, .translation-container {
        padding: 20px;
    }
    .translation-container h3 {
        font-size: 1.5rem;
    }
    .translation-text {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .eid-banner {
        font-size: 1.5rem;
        padding: 15px;
    }
    body::before, body::after {
        font-size: 80px;
    }
    select {
        font-size: 0.9rem;
        padding: 8px;
    }
    .audio-container, .translation-container {
        padding: 15px;
    }
    .translation-container h3 {
        font-size: 1.3rem;
    }
    .translation-text {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    .footer {
        font-size: 0.9rem;
    }
}