/* PGBET888 Custom Popup & Footer Styles */
body {
    padding-bottom: 70px !important;
}

.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    overflow-y: auto;
    justify-content: center;
    align-items: center;
    z-index: 2147483647;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    font-family: 'Noto Sans Thai', Tahoma, sans-serif;
}

.popup-overlay.popup-overlay--on {
    display: flex;
}

.popup-content {
    background: linear-gradient(165deg, rgba(30, 19, 16, 0.98) 0%, rgba(15, 10, 8, 0.98) 100%);
    border: 2px solid #c9a24d;
    border-radius: 16px;
    padding: 25px 20px;
    max-width: 380px;
    width: 90%;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), inset 0 0 15px rgba(201, 162, 77, 0.15);
    animation: pgxPopupSlideUp 0.4s ease-out forwards;
    position: relative;
}

@keyframes pgxPopupSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }

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

.popup-image {
    width: 100%;
    max-width: 280px;
    height: auto;
    margin-bottom: 20px;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.5));
}

.cta-button-container-modern {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 20px;
}

.cta-btn-modern {
    flex: 1;
    padding: 12px 5px;
    border-radius: 10px;
    font-weight: bold;
    font-size: 16px;
    text-decoration: none;
    text-align: center;
    transition: all 0.2s ease;
}

.login-btn {
    background: linear-gradient(180deg, #2c1c17, #150d0a);
    border: 1px solid #c9a24d;
    color: #e8c992;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.login-btn:hover {
    background: linear-gradient(180deg, #3a261f, #1e1310);
    transform: translateY(-2px);
}

.register-btn {
    background: linear-gradient(180deg, #d1ab66, #a68444);
    border: 1px solid #ffe3a8;
    color: #1e1310;
    box-shadow: 0 4px 15px rgba(201, 162, 77, 0.4);
}

.register-btn:hover {
    background: linear-gradient(180deg, #e8c992, #c9a24d);
    transform: translateY(-2px);
}

.popup-title {
    font-size: 15px;
    color: #e8c992;
    margin: 0 0 15px;
    line-height: 1.5;
    font-weight: 600;
}

.popup-footer-text {
    font-size: 11px;
    color: #8c7a6b;
    border-top: 1px solid rgba(201, 162, 77, 0.2);
    padding-top: 12px;
}

/* Fixed Footer */
.pgbet888-fixed-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, #0a0604, #1e1310);
    border-top: 1px solid #c9a24d;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 8px 5px;
    z-index: 2147483647;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.8);
    font-family: 'Noto Sans Thai', Tahoma, sans-serif;
}

.pgbet888-fixed-footer a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #e8c992;
    font-size: 11px;
    transition: color 0.2s, transform 0.2s;
    flex: 1;
}

.pgbet888-fixed-footer a:hover {
    color: #fff;
    transform: translateY(-2px);
}

.pgbet888-fixed-footer img {
    width: 28px;
    height: 28px;
    margin-bottom: 4px;
}

.pgbet888-fixed-footer .tada img {
    animation: pgxTada 1.5s infinite;
}

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

    10%,
    20% {
        transform: scale(0.9) rotate(-3deg);
    }

    30%,
    50%,
    70%,
    90% {
        transform: scale(1.15) rotate(5deg);
    }

    40%,
    60%,
    80% {
        transform: scale(1.15) rotate(-5deg);
    }

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