* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Poppins', sans-serif;
    text-align: center;
    background: linear-gradient(135deg, #1a3c34 0%, #ffd700 100%);
    background-size: 400% 400%;
    color: #fff;
    min-height: 100vh;
    padding: 15px;
    overflow-x: hidden;
    position: relative;
    animation: radiantFlow 18s ease-in-out infinite alternate;
}
@keyframes radiantFlow {
    0% { background-position: 0% 0%; }
    50% { background-position: 100% 100%; }
    100% { background-position: 0% 0%; }
}

h1 {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(2rem, 6vw, 4rem);
    margin-bottom: 10px;
    color: #ff9800;
    text-shadow: 0 0 15px #ffd700, 0 0 25px #ff9800, 0 0 35px #1a3c34;
    animation: glow 2s ease-in-out infinite;
    letter-spacing: 0.04em;
}
h1:last-of-type {
    color: #ffd700;
    font-size: 2.1rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 1.5rem #ff9800;
    font-family: 'Amiri Quran', serif;
    letter-spacing: 0.08em;
}
p {
    font-size: clamp(0.9rem, 2.5vw, 1.5rem);
    margin-bottom: 20px;
    color: #fffbe7;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
    font-family: 'Poppins', sans-serif;
}

.sky {
    position: relative;
    width: 100%;
    height: clamp(220px, 40vh, 400px);
    max-width: 1000px;
    margin: 0 auto 2rem auto;
    background: linear-gradient(180deg, #ffd700 0%, #fffbe7 100%);
    border-radius: 15px;
    overflow: hidden;
    border: 3px solid #ffd700;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.6), 0 0 60px rgba(216, 27, 96, 0.5);
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.crescent {
    width: 90px;
    height: 90px;
    background: url('../image/eid-adha-crescent.png') center/contain no-repeat;
    position: absolute;
    left: 12vw;
    top: 40px;
    opacity: 0.95;
    animation: moonGlow 3s infinite alternate;
}
.lantern {
    width: 70px;
    height: 120px;
    background: url('../image/lantern.png') center/contain no-repeat;
    position: absolute;
    right: 12vw;
    top: 60px;
    opacity: 0.95;
    animation: floatLantern 4s infinite alternate;
}
@keyframes moonGlow {
    0% { filter: drop-shadow(0 0 8px #ffd700); }
    100% { filter: drop-shadow(0 0 22px #ff9800); }
}
@keyframes floatLantern {
    0% { transform: translateY(0);}
    100% { transform: translateY(-18px);}
}

.star {
    position: absolute;
    width: clamp(15px, 2vw, 25px);
    height: clamp(15px, 2vw, 25px);
    background: radial-gradient(circle, #ffd700 60%, #ff9800 100%);
    border-radius: 50%;
    opacity: 0.8;
    animation: twinkle 2.5s infinite;
}
@keyframes twinkle {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.firework {
    position: absolute;
    width: clamp(8px, 1vw, 12px);
    height: clamp(8px, 1vw, 12px);
    background: linear-gradient(45deg, #ffd700, #ff9800, #fffbe7);
    border-radius: 50%;
    opacity: 0;
    animation: explode 2s ease-out infinite;
}
@keyframes explode {
    0% { transform: scale(0); opacity: 1; }
    50% { transform: scale(4); opacity: 0.9; }
    100% { transform: scale(0); opacity: 0; }
}

.message {
    margin-top: 20px;
    font-size: clamp(1rem, 2.5vw, 1.6rem);
    padding: 15px;
    background: rgba(255, 255, 255, 0.13);
    border-radius: 12px;
    color: #ff9800;
    text-shadow: 0 0 10px #ffd700, 0 0 20px #ff9800;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
    border: 2px dashed #ffd700;
    animation: fadeIn 1.5s ease-in-out;
    font-family: 'Great Vibes', cursive;
}
@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

.footer {
    margin-top: 25px;
    font-size: clamp(0.8rem, 2vw, 1.1rem);
    color: #1a3c34;
    text-shadow: 0 0 8px #ffd700;
    background: linear-gradient(90deg, #ffd700 0%, #ff9800 100%);
    padding: 1.2rem 0 1rem 0;
    border-radius: 2rem 2rem 0 0;
    font-family: 'Great Vibes', cursive;
    font-size: 1.3rem;
    box-shadow: 0 0 2rem #ffd70033;
    position: relative;
}
.footer::after {
    content: " | Eid ul-Adha Mubarak!";
    font-weight: bold;
}

/* Confetti overlay for celebration */
#confetti-canvas {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    pointer-events: none;
    z-index: 999;
}

/* Animations */
@keyframes glow {
    0%, 100% { text-shadow: 0 0 10px #ffd700, 0 0 20px #ff9800; }
    50% { text-shadow: 0 0 20px #ffd700, 0 0 35px #ff9800, 0 0 50px #1a3c34; }
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .sky { height: clamp(180px, 35vh, 300px); }
    .star { width: 20px; height: 20px; }
    .crescent, .lantern { width: 50px; height: 50px; }
    .firework { width: 10px; height: 10px; }
}
@media (max-width: 768px) {
    .sky { height: clamp(120px, 30vh, 200px); }
    .star { width: 18px; height: 18px; }
    .crescent, .lantern { width: 35px; height: 35px; }
    .firework { width: 8px; height: 8px; }
    .message { padding: 12px; }
}
@media (max-width: 480px) {
    .sky { height: clamp(90px, 20vh, 120px); }
    h1 { font-size: 1.2rem; }
    h1:last-of-type { font-size: 0.9rem; }
    p { margin-bottom: 12px; }
    .star { width: 12px; height: 12px; }
    .crescent, .lantern { width: 22px; height: 22px; }
    .firework { width: 6px; height: 6px; }
    .message { padding: 10px; }
    .footer { padding: 0.7rem 0 0.5rem 0; font-size: 1rem; }
}
@media (min-width: 1920px) {
    .sky { height: 600px; max-width: 1200px; }
    .star { width: 30px; height: 30px; }
    .crescent, .lantern { width: 70px; height: 70px; }
    .firework { width: 15px; height: 15px; }
}