/* ---------- Body Background with Overlay ---------- */
body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Arial', sans-serif;
    display: flex;
    justify-content: center;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url('image/BG.png') no-repeat center center/cover;
    background-attachment: fixed;
    backdrop-filter: blur(8px);
}

/* ---------- Container ---------- */
.container {
    width: 500px;
    height: fit-content;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5)),
        url('image/PH.jpg') no-repeat center center/cover;
    background-size: 30%;
    display: flex;
    background-attachment: fixed;
    /* Image ကို scroll မှာလှုပ်မပေး */
    background-position: cover;
    /* Image ကို fixed position မှာထားမယ် */
}

/* ---------- Logo ---------- */
.logo {
    display: block;
    width: 130px;
    margin: 30px auto 0px;
}

/* ---------- Header ---------- */
.header h3 {
    margin: 10px 0;
    font-size: 14px;
    color: #ffffff;
    text-align: center;
}

.header p {
    margin: 0.1px 0;
    font-size: 18px;
    color: #d6d6d6;
    text-align: center;
}

/* ---------- Buttons ---------- */
.button {
    display: flex;
    align-items: center;
    padding: 0 0 0 30px;
    gap: 8px;
    background: linear-gradient(to right, #ffffff, #f0f0f0);
    color: #000000;
    width: 100%;
    max-width: 350px;
    height: 60px;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    border: none;
    border-radius: 30px 2px 30px 2px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.button:hover {
    background-position: right center;
    transform: scale(1.05);
    border: solid 2px #0099ff;
    background-color: #e0e0e0;

}

/* ---------- Pulse animation ---------- */
.pulse {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* ---------- Icons ---------- */
.button i {
    font-size: 20px;
}

/* ---------- Promo Image ---------- */
.promo-video {
    align-items: center;
    justify-items: center;
    margin: 0 auto;
    width: 90%;
    margin-left: 5%;
    border-radius: 15px;
    margin-top: 20px;
    box-shadow: 0 6px 16px rgba(0, 0, 0.5, 0.5);
    transition: transform 0.3s ease;
}

/* ---------- Footer ---------- */
.footer-bar {
    background-color: rgba(0, 0, 0, 0.6);
    color: #ffffff;
    text-align: center;
    padding: 5px;
    margin-top: 1px;
    font-size: 14px;
    width: 98%;
    border-radius: 10px 10px 0 0;
}

/* Popup Overlay */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    /* Initially hidden */
    justify-content: center;
    z-index: 9999;
    animation: fadeIn 0.3s ease-in-out;
}

/* Popup Box */
.popup-box {
    background-color: none;
    border-radius: 20px;
    padding: 20px 20px;
    text-align: center;
    position: relative;
    max-width: 700px;
    width: 90%;
    animation: slideIn 0.4s ease;
}

/* Image inside popup */
.popup-image {
    margin-top: 10%;
    width: 100%;
    max-width: 70%;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Action Button */
.action-btn {
    display: block;
    margin: 0 auto;
    background: linear-gradient(135deg, #ff0000, #1d0000);
    border: none;
    color: rgb(255, 255, 255);
    padding: 12px 24px;
    font-size: 16px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.action-btn:hover {
    background: linear-gradient(135deg, #1d0000, #ff0000);
    transform: scale(1.05);
    border: 2px solid #ff8181;
}

body.noscroll {
    overflow: hidden;
}

/* Animations */
@keyframes fadeIn {
    from {
        background: rgba(0, 0, 0, 0);
    }

    to {
        background: rgba(0, 0, 0, 0.7);
    }
}

@keyframes slideIn {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0px);
        opacity: 1;
    }
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .container {
        padding: 0px 30px;
        width: 100%;
        background-size: cover;
    }

    .button {
        font-size: 15px;
        height: 55px;
    }

    .logo {
        width: 100px;
    }

    .header h3 {
        font-size: 14px;
    }

    .header p {
        font-size: 18px;
    }

    .promo-video {
        border-radius: 12px;
        width: 100%;
        margin-left: 0;
    }

    .footer-bar {
        width: 115%;
        bottom: 0;
        font-size: 13px;
    }

    .popup-image {
        margin-top: 40%;
        max-width: 90%;
    }
}