#presents-gift-container {
    position: fixed;
    z-index: 999999;
    pointer-events: none;
}

#presents-wallet-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    
    display: flex;
    align-items: center;
    gap: 10px;
    
    padding: 15px 30px 10px 10px;
    
    color: white;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    font-weight: bold;

    background: #6974dc url("data:image/svg+xml,%3Csvg width='21' height='21' viewBox='0 0 21 21' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg opacity='0.5'%3E%3Cpath d='M10.5 0.5C2.265 0.5 0.5 2.265 0.5 10.5C0.5 18.735 2.265 20.5 10.5 20.5C18.735 20.5 20.5 18.735 20.5 10.5' stroke='white' stroke-linecap='round' /%3E%3Cpath d='M19.9444 1.05554L13.8333 7.16665' stroke='white' stroke-linecap='round' stroke-linejoin='round' /%3E%3Cpath d='M14.9443 0.5H20.1351C20.3366 0.5 20.4999 0.663367 20.4999 0.864856V6.05556' stroke='white' stroke-linecap='round' stroke-linejoin='round' /%3E%3C/g%3E%3C/svg%3E") no-repeat calc(100% - 10px) 10px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    
    transition: transform 0.3s ease;
    cursor: pointer;
    z-index: 999998;
}

#presents-wallet-widget:hover {
    transform: scale(1.05);
}

#presents-wallet-widget:active {
    transform: scale(0.98);
}

#presents-wallet-widget div:has(svg) {
    height: 68px
}

#presents-wallet-points {
    margin-bottom: 5px;
    font-family: "Benzin", sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 1;
    color: #fff;
    transition: transform 0.3s ease;
}

.present-wallet-title {
    font-family: "Cera Pro", sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 1;
    color: #fff;
}

.presents-gift {
    position: absolute;
    width: 120px;
    height: 120px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
    pointer-events: all;
    animation: presents-appear 0.5s ease-out;
    z-index: 999999;
}

.presents-gift-common {
    filter: drop-shadow(0 0 20px rgba(0, 191, 255, 0.7));
}

.presents-gift-rare {
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.7));
    animation: presents-glow-gold 2s ease-in-out infinite;
}

.presents-gift-epic {
    filter: drop-shadow(0 0 20px rgba(147, 51, 234, 0.7));
    animation: presents-glow-purple 2s ease-in-out infinite;
}

.presents-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    color: white;
    padding: 15px 25px;
    border-radius: 10px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: bold;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    z-index: 9999999;
    animation: presents-notification 3s ease-in-out;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 400px;
}

.notification-success {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
}

.notification-warning {
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
}

.notification-error {
    background: linear-gradient(135deg, #f44336 0%, #d32f2f 100%);
}

.notification-info {
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
}

@keyframes presents-appear {
    0% { transform: scale(0) rotate(-180deg); opacity: 0; }
    100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

@keyframes presents-collect {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(0) translateY(-100px); opacity: 0; }
}

@keyframes presents-glow-gold {
    0%, 100% { filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.7)); }
    50% { filter: drop-shadow(0 0 40px rgba(255, 215, 0, 1)); }
}

@keyframes presents-glow-purple {
    0%, 100% { filter: drop-shadow(0 0 20px rgba(147, 51, 234, 0.7)); }
    50% { filter: drop-shadow(0 0 40px rgba(147, 51, 234, 1)); }
}

@keyframes presents-notification {
    0% { transform: translateX(100%); opacity: 0; }
    15% { transform: translateX(0); opacity: 1; }
    85% { transform: translateX(0); opacity: 1; }
    100% { transform: translateX(100%); opacity: 0; }
}


/* Контейнер для подарков */
#presents-gift-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 999999;
}

/* Стили подарков */
.presents-gift {
    position: absolute;
    cursor: pointer;
    pointer-events: all;
    transition: transform 0.2s ease;
    z-index: 999999;
}

.presents-gift:hover {
    transform: scale(1.1);
}

/* Анимации */
@keyframes presents-appear {
    0% {
        transform: scale(0) rotate(-180deg);
        opacity: 0;
    }
    70% {
        transform: scale(1.1) rotate(10deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

@keyframes presents-collect {
    0% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: scale(1.2) rotate(20deg);
        opacity: 0.8;
    }
    100% {
        transform: scale(0) translateY(-100px) rotate(-180deg);
        opacity: 0;
    }
}

@keyframes presents-float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}
