body {
    margin: 0;
    padding: 0;
    background: #0f172a;
    /* Dark Elegant Look */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: white;
    overflow: hidden;
}

#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 100%);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    text-align: center;
}

.gift-text {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.main-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    position: relative;
    z-index: 10;
}

/* Slideshow Styles */
.slideshow-container {
    max-width: 400px;
    position: relative;
    border: 8px solid white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.mySlides {
    display: none;
}

.mySlides img {
    border-radius: 12px;
    object-fit: cover;
    height: 500px;
}

.fade {
    animation: fadeEffect 1.5s;
}

@keyframes fadeEffect {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

.caption {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
    background: rgba(255, 154, 158, 0.7);
    /* နုညံ့တဲ့ ပန်းရောင် အကြည်လေး */
    color: white;
    padding: 12px 0;
    font-style: normal;
    font-weight: 500;
    font-size: 1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Rain Effect */
.rain {
    position: absolute;
    background: white;
    width: 1px;
    height: 15px;
    top: -20px;
    opacity: 0.3;
    animation: fall linear infinite;
}

@keyframes fall {
    to {
        transform: translateY(110vh);
    }
}

/* ဖုန်း Screen များအတွက် (Mobile Responsive) */
@media only screen and (max-width: 600px) {
    .slideshow-container {
        max-width: 85%;
        /* ဖုန်း screen ရဲ့ ၈၅ ရာခိုင်နှုန်းပဲ ယူမယ် */
        border-width: 4px;
        /* ဘောင်ကို နည်းနည်းသေးလိုက်မယ် */
    }

    .mySlides img {
        height: 400px;
        /* ဖုန်းမှာ ပုံအရမ်းမရှည်အောင် အမြင့်လျှော့မယ် */
        object-fit: cover;
    }

    .gift-text {
        font-size: 1.8rem;
        /* စာသားကို ဖုန်းနဲ့တော်အောင် သေးလိုက်မယ် */
    }

    #wish-message {
        font-size: 1rem;
        padding: 0 15px;
    }
}

/* နှင်းပေါက်ပုံစံ */
.snow {
    position: absolute;
    background: white;
    border-radius: 50%;
    /* ဝိုင်းဝိုင်းလေးဖြစ်အောင် */
    top: -20px;
    opacity: 0.8;
    filter: blur(1px);
    /* နှင်းပုံစံ ဝါးဝါးလေးဖြစ်အောင် */
    animation: fall linear infinite;
}