.restriction-popup {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 10px;
    padding: 10px 20px;
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-size: 0.98rem;
    letter-spacing: 0.01em;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    z-index: 2000;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.restriction-popup.theme-gold {
    background: linear-gradient(180deg, rgba(43, 35, 14, 0.9) 0%, rgba(22, 19, 12, 0.96) 100%);
    border: 1px solid rgba(255, 215, 0, 0.28);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.34), 0 0 18px rgba(255, 215, 0, 0.08);
}

.restriction-popup.theme-white {
    background: linear-gradient(180deg, rgba(42, 42, 42, 0.92) 0%, rgba(24, 24, 24, 0.96) 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.34), 0 0 18px rgba(255, 255, 255, 0.05);
}

.restriction-popup p {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.restriction-popup-icon {
    width: 1.05rem;
    height: 1.05rem;
    flex: 0 0 auto;
    opacity: 0.9;
}

.restriction-popup-count {
    min-width: 1.55rem;
    height: 1.55rem;
    padding: 0 0.35rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 0.15rem;
    font-size: 0.82rem;
    line-height: 1;
    opacity: 0;
    transform: scale(0.88);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.restriction-popup.theme-gold .restriction-popup-icon,
.restriction-popup.theme-gold .restriction-popup-count {
    color: #ffd75a;
}

.restriction-popup.theme-gold .restriction-popup-count {
    background: rgba(255, 215, 0, 0.14);
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.restriction-popup.theme-white .restriction-popup-icon,
.restriction-popup.theme-white .restriction-popup-count {
    color: #ffffff;
}

.restriction-popup.theme-white .restriction-popup-count {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.restriction-popup-count.show {
    opacity: 1;
    transform: scale(1);
}

.restriction-popup.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.restriction-popup.bump {
    animation: popupPulse 0.22s ease;
}

@keyframes popupPulse {
    0% {
        transform: translateX(-50%) translateY(2px) scale(0.985);
    }

    100% {
        transform: translateX(-50%) translateY(0) scale(1);
    }
}

@media (max-width: 560px) {
    .restriction-popup {
        width: calc(100% - 32px);
        max-width: 420px;
        padding: 10px 14px;
        font-size: 0.92rem;
    }
}
