/* ============================================
   PREMIUM GLASSMORPHISM POPUP STYLES
   ============================================ */

/* Main Popup Container */
.premium-popup .ylsoo-popup-content {
    padding: 24px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.4) inset;
    border: 1px solid rgba(255, 255, 255, 0.5);
    font-family: 'Inter', sans-serif;
    min-width: 280px;
}

/* Close Button */
.premium-popup .ylsoo-popup-close-button {
    font-size: 18px;
    color: var(--text-muted, #5f6368);
    padding: 8px;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(0, 0, 0, 0.03);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.premium-popup .ylsoo-popup-close-button:hover {
    color: var(--text-color, #202124);
    background: rgba(0, 0, 0, 0.08);
    transform: rotate(90deg);
}

/* Headers */
.premium-popup h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: var(--text-color, #202124);
    padding-right: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.01em;
}

/* Home Icon for Title */
.premium-popup h3::before {
    content: '';
    display: block;
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f57c00'%3E%3Cpath d='M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    filter: drop-shadow(0 2px 4px rgba(245, 124, 0, 0.2));
}

/* Text Content */
.premium-popup p {
    font-size: 14px;
    color: var(--text-secondary, #5f6368);
    line-height: 1.6;
    margin: 0;
    font-weight: 500;
}

/* Tip (Arrow) */
.premium-popup .ylsoo-popup-tip {
    border-top-color: rgba(255, 255, 255, 0.85);
    border-width: 12px;
    margin-top: -1px;
    /* seamless join */
}

/* Animation */
.premium-popup {
    animation: popupFadeIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-origin: bottom center;
}

@keyframes popupFadeIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(10px);
    }

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