* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    background: linear-gradient(145deg, #0a2f1f 0%, #064e2b 40%, #022c17 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Noto Sans Arabic', 'Amiri', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding: 20px;
    position: relative;
    overflow-x: hidden;
}

/* کانفێتی و ئەنیمەیشنی پاشبنەما */
.bg-decoration {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.star {
    position: absolute;
    background: rgba(255, 215, 0, 0.6);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    opacity: 0;
    animation: twinkle 4s infinite;
}

@keyframes twinkle {
    0% { opacity: 0; transform: scale(0.8);}
    50% { opacity: 0.9; transform: scale(1.2); background: #ffd966;}
    100% { opacity: 0; transform: scale(0.6);}
}

/* کارتی سەرەکی */
.greeting-card {
    position: relative;
    z-index: 10;
    max-width: 800px;
    width: 100%;
    background: rgba(255, 248, 225, 0.96);
    backdrop-filter: blur(2px);
    border-radius: 68px 68px 80px 80px;
    box-shadow: 0 40px 60px rgba(0, 0, 0, 0.4), 0 10px 25px rgba(0,0,0,0.2), inset 0 1px 3px rgba(255,255,200,0.6);
    overflow: hidden;
    transition: all 0.3s ease;
    animation: floatCard 3s ease-in-out infinite;
}

@keyframes floatCard {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0px); }
}

/* بەشی هێڵکاری سەرەوە بە گەورەیی */
.eid-header {
    background: radial-gradient(circle at 20% 30%, #e9b741, #b46f1a);
    padding: 1.8rem 1rem 2rem;
    text-align: center;
    color: #fff;
    text-shadow: 0 5px 12px rgba(0,0,0,0.3);
    border-bottom: 6px solid #ffd966;
    position: relative;
}

.eid-header::before {
    content: "☾";
    font-size: 4rem;
    position: absolute;
    left: 20px;
    top: 15px;
    opacity: 0.2;
    font-weight: bold;
    transform: rotate(-15deg);
}

.eid-header::after {
    content: "★";
    font-size: 4rem;
    position: absolute;
    right: 25px;
    bottom: 5px;
    opacity: 0.2;
}

.main-greeting {
    font-size: 3.2rem;
    font-weight: 800;
    letter-spacing: 2px;
    word-break: keep-all;
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: center;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 10px;
}

.main-greeting span {
    background: rgba(255,255,200,0.2);
    padding: 0 0.6rem;
    border-radius: 60px;
    backdrop-filter: blur(2px);
}

.sub-eid {
    font-size: 1.7rem;
    font-weight: 500;
    background: rgba(0,0,0,0.25);
    display: inline-block;
    padding: 0.3rem 1.5rem;
    border-radius: 40px;
    margin-top: 12px;
    font-style: italic;
}

/* ناوەڕۆکی سەرەکی */
.card-body {
    padding: 2rem 2rem 1.8rem;
    text-align: center;
}

.blessing-text {
    font-size: 1.5rem;
    line-height: 1.65;
    color: #2c3a1f;
    font-weight: 600;
    margin-bottom: 30px;
    background: #fff4e0;
    padding: 1rem 1.2rem;
    border-radius: 50px;
    box-shadow: inset 0 1px 4px rgba(0,0,0,0.02), 0 8px 15px rgba(0,0,0,0.05);
}

.dua-text {
    font-size: 1.3rem;
    font-weight: 500;
    background: #fef0cf;
    padding: 1.2rem;
    border-radius: 50px;
    color: #8b5a2b;
    border-right: 6px solid #e9b741;
    border-left: 6px solid #e9b741;
    margin: 20px 0;
}

.footer-greeting {
    font-size: 1.6rem;
    font-weight: 800;
    background: linear-gradient(135deg, #c98a1e, #f5bc70);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: none;
    margin: 20px 0 10px;
}

.second-footer {
    font-size: 1.2rem;
    color: #3e6b3a;
    background: #e9f0db;
    display: inline-block;
    padding: 0.4rem 1.5rem;
    border-radius: 40px;
    margin-top: 12px;
}

.btn-lantern {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.lantern {
    background: #d49b3a;
    width: 50px;
    height: 70px;
    border-radius: 50% 50% 30% 30%;
    position: relative;
    box-shadow: 0 0 15px #ffbf69;
    animation: swing 2.5s infinite ease-in-out;
    transform-origin: top center;
    cursor: pointer;
    transition: all 0.2s;
}

.lantern:before {
    content: "🪔";
    position: absolute;
    top: -22px;
    left: 12px;
    font-size: 22px;
    color: #f1c40f;
}

@keyframes swing {
    0% { transform: rotate(4deg);}
    50% { transform: rotate(-4deg);}
    100% { transform: rotate(4deg);}
}

.lantern:hover {
    filter: brightness(1.2);
    transform: scale(1.05);
}

/* وەڵامدانەوە بۆ مۆبایل */
@media (max-width: 620px) {
    .main-greeting {
        font-size: 2.2rem;
    }
    .sub-eid {
        font-size: 1.2rem;
    }
    .blessing-text {
        font-size: 1.2rem;
    }
    .dua-text {
        font-size: 1rem;
    }
    .card-body {
        padding: 1.5rem;
    }
}

/* ئەنیمەیشنی درەوشانەوە بۆ پەیامەکان */
.glow-animation {
    animation: gentleGlow 2s infinite;
}

@keyframes gentleGlow {
    0% { text-shadow: 0 0 0px #ffc107;}
    50% { text-shadow: 0 0 8px #ffb347, 0 0 2px #ff9800;}
    100% { text-shadow: 0 0 0px #ffc107;}
}

/* شێوازی ئیکۆنی هەنگوێن */
.sheep-icon {
    font-size: 3rem;
    margin: 10px 0;
    letter-spacing: 10px;
}

hr {
    width: 70%;
    margin: 16px auto;
    border: 1px solid #e9c891;
}