/* =============================================
   PGBET888 – Blue Space Theme (matching landing page)
   Primary:   #2563eb
   Highlight: #3b82f6
   Dark:      #020617 / #1e3a8a
   ============================================= */

/* ── Popup Overlay ── */
.popup-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(2, 6, 23, 0.72);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 99999;
}

/* ── Popup Card ── */
.popup-content {
    width: min(100%, 420px);
    margin: 0 20px;
    padding: 32px 28px;
    border-radius: 28px;
    background: linear-gradient(160deg, #0f172a 0%, #1e3a8a 60%, #020617 100%);
    box-shadow: 0 30px 80px rgba(37, 99, 235, 0.25), 0 0 0 1px rgba(59, 130, 246, 0.2);
    text-align: center;
}

/* ── Popup Image ── */
.popup-image {
    width: 100%;
    max-width: 320px;
    height: auto;
    margin: 0 auto 22px;
    display: block;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.3);
}

/* ── CTA Buttons Container ── */
.cta-button-container-modern {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 18px;
}

/* ── CTA Button ── */
.cta-btn-modern {
    min-width: 146px;
    padding: 14px 20px;
    border-radius: 999px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #f0f9ff;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4);
    border: 1px solid rgba(96, 165, 250, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.cta-btn-modern:hover {
    transform: translateY(-2px);
    filter: brightness(1.12);
    box-shadow: 0 12px 30px rgba(59, 130, 246, 0.55);
    color: #fff;
    text-shadow: 0 0 8px rgba(59, 130, 246, 0.6);
}

/* ── Popup Title ── */
.popup-title {
    font-size: clamp(1.1rem, 2.2vw, 1.5rem);
    line-height: 1.4;
    color: #f0f9ff;
    margin: 0 0 14px;
}

/* ── Popup Footer Text ── */
.popup-footer-text {
    font-size: 0.88rem;
    color: rgba(147, 197, 253, 0.75);
    letter-spacing: 0.02em;
}

/* =============================================
   FIXED BOTTOM NAVIGATION FOOTER
   – logo centered on top, text label below –
   ============================================= */

.pgbet888-fixed-footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99998;
    display: flex;
    justify-content: space-around;
    align-items: stretch;
    padding: 8px 4px 10px;
    background: linear-gradient(180deg, #0f172a 0%, #020617 100%);
    border-top: 1px solid rgba(59, 130, 246, 0.3);
    box-shadow: 0 -4px 24px rgba(37, 99, 235, 0.2);
}

/* Each nav item: icon on top, label below */
.pgbet888-fixed-footer a {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 6px 4px;
    color: rgba(147, 197, 253, 0.8);
    text-decoration: none;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    border-radius: 12px;
    text-align: center;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
    position: relative;
}

.pgbet888-fixed-footer a:hover,
.pgbet888-fixed-footer a:focus {
    color: #60a5fa;
    background: rgba(37, 99, 235, 0.12);
    transform: translateY(-2px);
    text-shadow: 0 0 8px rgba(96, 165, 250, 0.5);
}

/* Icon image: circular, centered, larger */
.pgbet888-fixed-footer img {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid rgba(59, 130, 246, 0.4);
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.3);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.pgbet888-fixed-footer a:hover img {
    border-color: #3b82f6;
    box-shadow: 0 0 14px rgba(59, 130, 246, 0.6);
}

/* Pulse animation for highlighted item (e.g. register) */
.pgbet888-fixed-footer .tada {
    color: #60a5fa;
}

.pgbet888-fixed-footer .tada img {
    border-color: #2563eb;
    box-shadow: 0 0 12px rgba(37, 99, 235, 0.5);
    animation: pgbet888MegaPulse 2.4s ease-in-out infinite;
}

@keyframes pgbet888MegaPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 12px rgba(37, 99, 235, 0.5);
    }
    50% {
        transform: scale(1.08);
        box-shadow: 0 0 20px rgba(59, 130, 246, 0.75);
    }
}

