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

.container {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: black;
}

.background {
    position: relative;
    width: 550px;
    height: 100vh;
    overflow: hidden;
}

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

.main-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    position: absolute;
    top: 7%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 250px;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.text {
    position: absolute;
    top: 19%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
}

.text img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gate {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
}

.gate img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo2 {
    position: absolute;
    top: 32.5%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 150px;
}

.item1 {
    position: absolute;
    top: 46%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.item1 img {
    width: 100%;
    max-width: 90px;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

.item2 {
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.item2 img {
    width: 100%;
    max-width: 90px;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}



@keyframes borderGlow {
    0% {
        box-shadow: 0 6px 14px rgba(255, 170, 0, 0.18), 0 0 20px rgba(255, 193, 7, 0.22);
    }

    50% {
        box-shadow: 0 14px 34px rgba(255, 200, 0, 0.36), 0 0 54px rgba(255, 215, 0, 0.36);
    }

    100% {
        box-shadow: 0 6px 14px rgba(255, 170, 0, 0.18), 0 0 20px rgba(255, 193, 7, 0.22);
    }
}

.gold {
    position: absolute;
    top: 93%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 600px;
}

.gold img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.popout {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 550px;
    /* smaller card */
    z-index: 40;
    display: flex;
    justify-content: center;
    align-items: center;
    display: none;

}

.popout-content {
    width: 100%;
    max-width: 550px;
    height: 100vh;
    background-color: #20202081;
    /* red card */
    border-radius: 12px;
    padding: 12px 14px;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.42);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.popout-content img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.popout-content img:nth-child(1) {
    position: relative;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin-bottom: 6px;
}

.popout-content img:nth-child(2) {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin-top: 8px;
    max-width: 100%;
}

.popout-content img:nth-child(3) {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
}

.buttons {
    position: absolute;
    top: 85%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: max-content;
    /* size to content so gap is visible */
    max-width: none;
    /* display: flex; */
    gap: 35px;
    /* more space between buttons */
    justify-content: center;
    align-items: center;
}

.buttons a {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
}


.buttons img {
    display: block;
    flex: 0 0 auto;
    /* prevent shrinking/growing */
    width: 160px;
    /* default button width */
    height: auto;
    object-fit: contain;
    cursor: pointer;
    margin: 0;
    /* ensure no extra spacing from margins */
}

.buttons img:nth-child(1) {
    width: 300px;
}

.buttons img:nth-child(2) {
    width: 300px;
    margin-top: 80px;
}

@media (max-width: 768px) {
    .logo2 {
        top: 29%;
        max-width: 120px;
    }

    .buttons {
        top: 90%;
    }
}

@media (max-width:440px) {
    .logo2 {
        top: 35%;
        max-width: 100px;
    }

    .item1 {
        top: 48%;
    }

    .item1 img {
        gap: 12px;
        width: 100%;
        max-width: 70px;
    }

    .item2 {
        top: 64%;
    }

    .item2 img {
        gap: 12px;
        width: 100%;
        max-width: 70px;
    }

    .buttons {
        top: 83%;
    }
}

@media (max-width:430px) {
    .logo2 {
        top: 37.5%;
        max-width: 100px;
    }
}

@media (max-width:428px) {
    .logo2 {
        top: 36%;
        max-width: 100px;
    }

    .buttons {
        top: 88%;
    }
    .item1 {
        top: 46%;
    }
}

@media (max-width: 420px) {
    .logo2 {
        top: 36.5%;
        max-width: 90px;
    }
        .buttons {
        top: 85%;
    }
}

@media (max-width: 402px) {
    .logo2 {
        top: 34%;
        max-width: 90px;
    }
        .buttons {
        top: 84%;
    }
}

@media (max-width: 390px) {
    .logo2 {
        top: 36%;
    }
    .buttons {
        top: 91%;
    }
    .item1 {
        top: 47%;
    }
}

@media (max-width: 360px) {
    .logo{
        top: 6%;
        max-width: 200px;
    }
    .logo2 {
        top: 36%;
    }
    .item1 {
        top: 47%;
    }

    .item1 img {
        gap: 10px;
        width: 100%;
        max-width: 60px;
    }

    .item2 {
        top: 63%;
    }

    .item2 img {
        gap: 10px;
        width: 100%;
        max-width: 60px;
    }
    .buttons {
        top: 88%;
    }
}