:root {
    --overlay-bg: rgba(0, 0, 0, 0.7);
    --overlay-bg-alt: rgba(0, 0, 0, 0.3);
    --popup-bounce-anim: popupBounce 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --login-width: 6.4rem;
    --login-input-top: 27%;
    --login-input-left: 32%;
    --login-input-width: 48%;
    --login-font-size: 0.21rem;
    --login-placeholder-size: 0.21rem;
    --login-submit-bottom: 23%;
    --login-submit-left: 36.5%;
    --login-submit-width: 27%;
    --login-width-dt: 6.4rem;
    --login-max-width-dt: 500px;
    --login-font-size-dt: 0.21rem;
    --verif-width: 6.8rem;
    --verif-label-font: 0.22rem;
    --verif-input-font: 0.25rem;
    --verif-q1-top: 29.5%;
    --verif-q2-top: 51.5%;
    --verif-ans1-top: 36.5%;
    --verif-ans2-top: 58.5%;
    --verif-content-left: 15%;
    --verif-submit-bottom: 12%;
    --verif-submit-left: 31%;
    --verif-width-dt: 6.8rem;
    --verif-max-width-dt: 550px;
    --verif-label-font-dt: 0.22rem;
    --verif-input-font-dt: 0.25rem;
    --success-bg: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    --success-width: 90%;
    --success-max-width: 600px;
    --success-font-title: 0.45rem;
    --success-font-text: 0.28rem;
    --success-padding: 0.4rem;
}

.tipFacebook {
    position: absolute;
    top: 3.4rem;
    right: 0.2rem;
    padding: .15rem;
    width: 2.08rem;
    height: .74rem;
    color: #fff;
    font-size: .18rem;
    line-height: 1.3;
    background-size: 100% 100%;
    box-sizing: border-box;
    word-wrap: break-word;
    text-align: center;
    animation: zoomInOut 1s ease-in-out infinite;
    transform-origin: center center;
}

@keyframes zoomInOut {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.itemTopTitle .text { color: #008a73; }

.btnDownload img, .btnDownloadS img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.okeden1 { text-align: center; }

.okeden3 {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: white;
    border: none;
    padding: 20px 60px;
    font-size: 24px;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    transition: transform 0.3s, box-shadow 0.3s;
    font-weight: bold;
}

.okeden3:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.4);
}

.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: var(--login-width);
    max-width: 90vw;
    height: auto;
    background: transparent;
    display: none;
    z-index: 5000;
    animation: var(--popup-bounce-anim);
}

@media (min-width: 768px) {
    .popup {
        width: var(--login-width-dt);
        max-width: var(--login-max-width-dt);
    }
}

.popup img { width: 100%; height: auto; display: block; }

.popup .input-container {
    position: absolute;
    top: var(--login-input-top);
    left: var(--login-input-left);
    width: var(--login-input-width);
    height: 29%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.popup .input-container input {
    width: 66%;
    height: 50%;
    padding: 0 12% 0 5%;
    font-size: var(--login-font-size);
    border: none;
    text-align: left;
    background: transparent;
    color: #ffb231;
    outline: none;
    -webkit-appearance: none;
    appearance: textfield;
}

#userID::-webkit-outer-spin-button,
#userID::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

#userID { -moz-appearance: textfield; }

@media (min-width: 768px) {
    .popup .input-container input { font-size: var(--login-font-size-dt); }
}

.popup .input-container input::placeholder {
    color: #8c4518;
    font-size: var(--login-placeholder-size);
    opacity: 0.7;
}

.popup .close {
    position: absolute;
    top: 7%;
    right: 5%;
    width: 9%;
    height: 13%;
    border-radius: 50%;
    background: transparent;
    border: none;
    z-index: 100;
    cursor: pointer;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--overlay-bg);
    z-index: 1500;
    display: none;
}

.overlay.active { display: block; }
#overlay2 { background: var(--overlay-bg-alt); z-index: 2500; }
#overlay3 { background: var(--overlay-bg-alt); z-index: 4000; }

#verificationSection {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3000;
    display: none;
    width: var(--verif-width);
    max-width: 95vw;
}

@media (min-width: 768px) {
    #verificationSection {
        width: var(--verif-width-dt);
        max-width: var(--verif-max-width-dt);
    }
}

#verificationSection .input-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

#verificationSection .input-container .question-label {
    position: absolute;
    color: #f2d0a7;
    font-size: var(--verif-label-font);
    white-space: nowrap;
    pointer-events: none;
}

@media (min-width: 768px) {
    #verificationSection .input-container .question-label { font-size: var(--verif-label-font-dt); }
}

#verificationSection .input-container input {
    position: absolute;
    width: 50% !important;
    height: 11%;
    background: transparent;
    border: none;
    outline: none;
    color: #ffb231;
    font-size: var(--verif-input-font);
    padding: 0 2%;
    pointer-events: auto;
}

@media (min-width: 768px) {
    #verificationSection .input-container input { font-size: var(--verif-input-font-dt); }
}

#labelQuestion1 { top: var(--verif-q1-top); left: var(--verif-content-left); }
#answer1 { top: var(--verif-ans1-top); left: var(--verif-content-left); width: 55% !important; }
#labelQuestion2 { top: var(--verif-q2-top); left: var(--verif-content-left); }
#answer2 { top: var(--verif-ans2-top); left: var(--verif-content-left); width: 55% !important; }

#verificationSection .submit-button {
    position: absolute;
    bottom: var(--verif-submit-bottom);
    left: var(--verif-submit-left);
    width: 36%;
    height: 14%;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 2101;
}

#verificationSection .close-verification {
    position: absolute;
    top: 5%;
    right: 0%;
    width: 9%;
    cursor: pointer;
    z-index: 2200;
}

.login-submit {
    position: absolute;
    bottom: var(--login-submit-bottom);
    left: var(--login-submit-left);
    width: var(--login-submit-width);
    height: 14%;
    background: transparent;
    border: none;
    z-index: 1000;
    cursor: pointer;
}

.id-empty-close {
    position: absolute;
    bottom: 12%;
    left: 31%;
    width: 38%;
    height: 17%;
    background: url('../images/buttontentukan.png') no-repeat center center/contain;
    border: none;
    cursor: pointer;
    z-index: 5000;
}

@keyframes popupBounce {
    0% { transform: translate(-50%, -50%) scale(0.5); opacity: 0; }
    100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}

.okeden20 {
    background: transparent;
    color: #008a73;
    padding: var(--success-padding);
    border-radius: 20px;
    text-align: center;
    width: var(--success-width);
    max-width: var(--success-max-width);
    margin: 0.2rem auto;
    box-sizing: border-box;
}

.success-container h2 {
    font-family: "NewEras";
    font-size: 0.38rem;
    color: #008a73;
    margin-bottom: 0.15rem;
}

.success-btn {
    display: inline-block !important;
    padding: 0.15rem 0.6rem !important;
    font-size: 0.28rem !important;
    margin-top: 0.1rem;
    line-height: normal;
}

.okeden20 p { 
    font-size: 0.24rem; 
    margin: 0.1rem 0; 
    line-height: 1.4; 
    color: #008a73;
}

@media (min-width: 768px) {
    .okeden20 {
        --success-font-title: 28px;
        --success-font-text: 18px;
        --success-padding: 40px;
    }
}
