* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Roboto", sans-serif;
}

.wrap {
    position: relative;
    width: 300px;
    height: 600px;
    margin: auto;
    overflow: hidden;
}

#ad-container {
    height: 600px;
    width: 300px;
    position: absolute;
    left: 0;
    top: 0;
}

#bg {
    position: absolute;
    top: 0;
    left: 0;
}

#timerpoin {
    position: absolute;
    left: 40px;
    top: 45px;
    font-size: 20px;
    font-weight: bold;
    display: none;
}

#front {
    position: absolute;
    left: 0;
    right: 0;
    top: 150px;
    margin: auto;
    width: 175px;
}

#frontimg {
    position: absolute;
    left: 0;
    right: 0;
    top: 175px;
    margin: auto;
    width: 300px;
}

#btn-start {
    position: absolute;
    left: 0;
    right: 0;
    top: 388px;
    margin: auto;
    z-index: 1;
    width: 235px;
    cursor: pointer;
}

#gamemekanisme {
    position: absolute;
    left: 10px;
    top: 10px;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

#gamemekanisme img {
    width: 30px;
}

#gameother {
    left: 0;
    right: 0;
    position: absolute;
    margin: 0 auto;
    top: 490px;
}

#item1 {
    position: absolute;
    right: 77px;
    top: 465px;
    width: 85px;
}

#item2 {
    position: absolute;
    left: 45px;
    top: 477px;
    width: 90px;
}

#item3 {
    position: absolute;
    left: 28px;
    top: 470px;
    width: 88px;
}

#item4 {
    position: absolute;
    right: -32px;
    top: 474px;
    width: 80px;
}

#bar {
    position: absolute;
    height: 70px;
    width: 277px;
    top: 480px;
    display: none;
    left: 0;
    right: 0;
    margin: auto;
    background-size: cover;
}

#hole1 {
    position: absolute;
    width: 69px;
    top: 480px;
    left: 13px;
    display: none;
}

#hole2 {
    position: absolute;
    width: 70px;
    top: 480px;
    left: 80px;
    display: none;
}

#hole3 {
    position: absolute;
    width: 68px;
    top: 480px;
    left: 151px;
    display: none;
}

#hole4 {
    position: absolute;
    width: 70px;
    top: 480px;
    left: 218px;
    display: none;
}

#track {
    position: absolute;
    left: 0;
    right: 0;
    top: 231px;
    margin: auto;
    display: none;
    width: 277px;
}

#hotspot1 {
    position: absolute;
    width: 60px;
    height: 60px;
    top: 487px;
    left: 18px;
    z-index: 9;
    display: none;
}

#hotspot2 {
    position: absolute;
    width: 60px;
    height: 60px;
    top: 487px;
    left: 85px;
    display: none;
    z-index: 9;
}

#hotspot3 {
    position: absolute;
    width: 60px;
    height: 60px;
    top: 487px;
    left: 155px;
    z-index: 9;
    display: none;
}

#hotspot4 {
    position: absolute;
    width: 60px;
    height: 60px;
    top: 487px;
    left: 224px;
    display: none;
    z-index: 9;
}

#splat1 {
    position: absolute;
    top: 475px;
    left: 8px;
    width: 75px;
    z-index: 10;
    display: none;
}

#splat2 {
    position: absolute;
    top: 475px;
    left: 75px;
    width: 75px;
    z-index: 10;
    display: none;
}

#splat3 {
    position: absolute;
    top: 475px;
    left: 150px;
    width: 75px;
    z-index: 10;
    display: none;
}

#splat4 {
    position: absolute;
    top: 475px;
    left: 220px;
    width: 75px;
    z-index: 10;
    display: none;
}

#tapped1 {
    position: absolute;
    width: 60px;
    top: 485px;
    left: 20px;
    z-index: 10;
    pointer-events: none;
    opacity: 0;
}

#tapped2 {
    position: absolute;
    width: 60px;
    top: 495px;
    left: 85px;
    z-index: 10;
    pointer-events: none;
    opacity: 0;
}

#tapped3 {
    position: absolute;
    width: 55px;
    top: 485px;
    left: 159px;
    z-index: 10;
    pointer-events: none;
    opacity: 0;
}

#tapped4 {
    position: absolute;
    width: 55px;
    top: 490px;
    left: 225px;
    z-index: 10;
    pointer-events: none;
    opacity: 0;
}

#pointcon {
    position: absolute;
    top: 10px;
    left: 12px;
    font-size: 20px;
    color: #fff;
    display: none;
}

#lastimg {
    position: absolute;
    left: 0;
    right: 0;
    top: 138px;
    bottom: 0;
    margin: 0 auto;
    width: 100px;
}

#timercon {
    right: 0;
    left: 0;
    width: 100px;
    text-align: center;
    margin: auto;
    top: 185px;
    font-size: 12px;
    color: #fff;
    position: absolute;
    background: #000;
    padding: 5px;
    border-radius: 20px;
    font-size: 20px;
    font-weight: bold;
}

#pointEnd {
    position: absolute;
    top: 0;
    bottom: 0;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    background: rgba(0, 0, 0, 0.8);
    margin: auto;
    right: 0;
    left: 0;
    border-radius: 10px;
    flex-flow: column;
    color: #fff;
    font-size: 16px;
    z-index: 9999 !important;
    gap: 6px;
}

#textend {
    position: absolute;
    font-size: 12px;
    width: 280px;
    text-align: center;
    margin: 0 auto;
    color: #000;
    top: 200px;
    left: 0;
    right: 0;
    font-weight: bold;
}

#textend h3 {
    font-size: 20px;
}

#top {
    position: absolute;
    width: 150px;
    top: 90px;
    left: 0;
    right: 0;
    margin: auto;
}

#musiccredit {
    position: absolute;
    left: 5px;
    bottom: 5px;
    font-size: 10px;
}

#endform {
    position: absolute;
    top: 340px;
    width: 225px;
    left: 0;
    right: 0;
    margin: auto;
}

#endform input[type="text"] {
    width: 100%;
    margin: 5px 0;
    padding: 7px 12px;
    border: none;
    border-radius: 20px;
    background: #000;
    color: #fff;
}

#endform input[type="text"]::placeholder {
    color: #fff;
}

#endform input[type="submit"] {
    padding: 7px 20px;
    border: none;
    background: #e9262a;
    color: #fff;
    width: 100px;
    border-radius: 20px;
    margin: 10px auto 0;
    display: inherit;
    font-weight: bold;
}

#articles {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: #e9262a;
}

.articles__list {
    overflow-x: scroll;
    overflow-y: hidden;
    display: flex;
    gap: 10px;
    padding-bottom: 10px;
}

.articles__list::-webkit-scrollbar {
    height: 8px; /* height of horizontal scrollbar ← You're missing this */
    width: 3px; /* width of vertical scrollbar */
    border: 2px solid #000;
    border-radius: 10px;
    padding: 10px;
}

.articles__list::-webkit-scrollbar-track {
    background: #e9262a;
    border: 2px solid #000;
    border-radius: 10px;
}

.articles__list::-webkit-scrollbar-thumb {
    background: #fff;
    border: 2px solid #000;
    border-radius: 10px;
}

.articles__link {
    display: flex;
    gap: 10px;
    text-decoration: none;
    color: #fff;
    align-items: center;
}

.articles__img {
    width: 100px;
    height: 70px;
    overflow: hidden;
    flex-shrink: 0;
}

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

.articles__title {
    width: 130px;
    height: 63px;
    line-height: 1.3;
    font-weight: bold;
    font-size: 12px;
    overflow: hidden;
    -webkit-line-clamp: 4 !important;
    -webkit-box-orient: vertical;
    display: -webkit-box !important;
}

#muted,
#unmuted {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 30px;
    display: flex;
    cursor: pointer;
}

#muted img,
#unmuted img {
    width: 100%;
}

.hidden {
    display: none !important;
}

#endshare {
    width: 100%;
    position: absolute;
    top: 380px;
    left: 0;
    right: 0;
    margin: auto;
    text-align: center;
    font-weight: bold;
    color: #fff;
    z-index: 2;
}

#endshare p {
    text-transform: uppercase;
    font-size: 15px;
    color: #fff;
}

.game__share {
    margin-top: 7px;
    display: flex;
    justify-content: center;
}

.game__share a {
    text-decoration: none;
    margin: 0 5px;
}

.game__share a img {
    width: 25px;
}

#overlay-popup {
    z-index: 1;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.5);
    cursor: pointer;
}

#overlay-thanks {
    z-index: 1;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.5);
}

#popup {
    /* position: absolute;
    top: 0;
    left: 0;
    width: 275px;
    height: 550px;
    right: 0;
    bottom: 0;
    margin: auto;
    background: #fff;
    overflow-y: scroll;
    z-index: 9;
    padding: 15px; */

    position: absolute;
    top: 0;
    left: 0;
    width: 275px;
    height: fit-content;
    right: 0;
    bottom: 0;
    margin: auto;
    background: #fff;
    overflow-y: auto;
    z-index: 6;
    padding: 25px 15px;
    color: #000;
    /* transition: all 0.3s ease; */
    border-radius: 12px;
}

#popup h4 {
    text-align: center;
}

#popup ul {
    padding-left: 18px;
}

#popup li {
    display: list-item;
    list-style: disc;
    font-size: 14px;
    margin: 10px 0;
}

#popup__close {
    width: 15px;
    height: 15px;
    margin-left: auto;
    cursor: pointer;
}

#popup__close img {
    width: 100%;
}

#login-wrap {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    background: rgba(0,0,0, 0.5);
    z-index: 5;
    gap: 20px;
}

#login-wrap img {
    width: 250px;
}

#login-wrap #ctaplay {
    cursor: pointer;
}

#login-wrap .arr-login {
    position: absolute;
    width: 35px;
    bottom: 145px;
    animation: shake 1s infinite;
}

#pointEndSpan {
    color: #fff;
    position: absolute;
    left: 0;
    right: 0;
    top: 245px;
    font-size: 50px;
    font-weight: 700;
    text-align: center;
    z-index: 2;
    /* text-shadow: 0 0 5px #fff; */
    /* border: 2px solid; */
    /* margin: 0 auto; */
}

#thanks-text {
    position: absolute;
    width: 170px;
    left: 0;
    right: 0;
    margin: 0 auto;
    top: 180px;
    z-index: 2;
}

#gamereplay {
    left: 0;
    right: 0;
    position: absolute;
    margin: 0 auto;
    top: 330px;
    width: 145px;
    padding: 5px;
    border: none;
    border-radius: 20px;
    font-weight: bold;
    font-size: 16px;
    background: #e9262a;
    color: #fff;
    z-index: 2;
    cursor: pointer;
}

@keyframes shake {
    0% {
        transform: translateY(5px);
    }
    
    50% {
        transform: translateY(10px);
    }

    100% {
        transform: translateY(5px);

    }
}