*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Layout មេ */
.container{
    width: 100%;
    height: 100svh;
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.background{
    position: relative;
    width: 100%;
    max-width: 1000px;
    height: 100%;
}

.background img{
    width: 100%;
    height: 100%;
    object-fit: fill;
}

/* កែសម្រួលឱ្យ Container នេះនៅចំកណ្តាល Background ជានិច្ច */
.main-content{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 500px;
    height: 100%;
    pointer-events: none; /* ដើម្បីកុំឱ្យវាបាំងការ Click លើប៊ូតុង */
} 

/* Logo នៅចំកណ្តាលផ្នែកខាងលើ */
.main-content .logo{
    position: absolute;
    top: 10%; 
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: auto;
    max-width: 300px;
    pointer-events: auto;
}

/* Button នៅចំកណ្តាលផ្នែកខាងក្រោម */
.popup-button {
    position: absolute;
    top: 85%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: block;
    cursor: pointer;
    z-index: 10;
    width: 65%;
    max-width: 280px;
    pointer-events: auto;
}

.popup-button-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    /* បញ្ជាក់៖ ត្រូវដាក់ translate ក្នុង animation ដែរ ដើម្បីកុំឱ្យវាលោតខុសទីតាំង */
    animation: zoomInOut 2s ease-in-out infinite alternate;
}

/* Animation កែសម្រួលឱ្យនៅរក្សាទីតាំងកណ្តាល */
@keyframes zoomInOut {
    0% { transform: scale(1); }
    100% { transform: scale(1.08); }
}

/* Responsive សម្រាប់ទូរស័ព្ទ */
@media (max-width: 768px) {
    .main-content { 
        width: 100%; 
    }
    .main-content .logo {
        width: 70%;
        top: 12%;
    }
    .popup-button {
        width: 80%;
        top: 82%;
    }
}