.glass-effect {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(60px) saturate(180%);
    -webkit-backdrop-filter: blur(60px) saturate(180%);
    box-shadow:
        0 8px 32px 0 rgba(31, 38, 135, 0.06),
        inset 0 0 0 0.5px rgba(255, 255, 255, 0.3);
    border: 0.5px solid rgba(255, 255, 255, 0.15);
}

.badge-label {
    background: linear-gradient(
        135deg,
        rgba(240, 248, 255, 0.98) 0%,
        rgba(245, 250, 255, 0.96) 100%
    );
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #0055b8;
    border: 1px solid rgba(0, 85, 184, 0.12);
    font-weight: 600;
    letter-spacing: 0.3px;
}

.help-badge {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.98) 0%,
        rgba(250, 250, 255, 0.96) 100%
    );
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #0055b8;
    border: 1px solid rgba(0, 85, 184, 0.15);
    font-weight: 600;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 12px rgba(0, 85, 184, 0.15);
    opacity: 1;
    transform: translateX(0);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    margin-right: 4px;
}

.help-badge-initial {
    opacity: 0;
    transform: translateX(30px);
}

@keyframes slideInBadge {
    0% {
        opacity: 0;
        transform: translateX(30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.close-btn-custom {
    background: #e8f4ff;
    box-shadow: 0 4px 12px rgba(0, 85, 184, 0.15);
    transition: all 0.3s ease;
}

.close-btn-custom:hover {
    background: #ffd700;
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.close-btn-custom i {
    color: #0055b8;
    transition: color 0.3s ease;
}

.close-btn-custom:hover i {
    color: #0055b8;
}

#multifunction-container {
    will-change: right, bottom, transform;
}

#multifunction-container #main-button {
    cursor: pointer;
    width: 68px;
    height: 68px;
}

#multifunction-container #main-button img {
    pointer-events: none;
    user-select: none;
}

#options-ring > div {
    animation: fadeInBounce 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    opacity: 0;
}

#options-ring.opacity-100 > div:nth-child(1) {
    animation-delay: 0.1s;
}

#options-ring.opacity-100 > div:nth-child(2) {
    animation-delay: 0.2s;
}

#options-ring.opacity-100 > div:nth-child(3) {
    animation-delay: 0.3s;
}

#options-ring.opacity-100 > div:nth-child(4) {
    animation-delay: 0.4s;
}

@keyframes fadeInBounce {
    0% {
        opacity: 0;
        transform: scale(0.2);
    }
    60% {
        opacity: 0.9;
        transform: scale(1.1);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

#multifunction-container #main-button {
    animation: pulse-mascot 3s ease-in-out infinite;
}

@keyframes pulse-mascot {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.06);
    }
}

#multifunction-container #main-button:hover {
    animation: none;
    transform: scale(1.12);
}

@media (max-width: 1024px) {
    #glass-backdrop {
        width: 360px !important;
        height: 360px !important;
    }

    #options-ring {
        width: 360px !important;
        height: 360px !important;
    }
}

@media (max-width: 768px) {
    #glass-backdrop {
        width: 340px !important;
        height: 340px !important;
    }

    #options-ring {
        width: 340px !important;
        height: 340px !important;
    }

    #options-ring button {
        width: 60px !important;
        height: 60px !important;
    }

    #options-ring button i {
        font-size: 26px !important;
    }

    .badge-label {
        font-size: 12px !important;
        padding: 6px 12px !important;
    }

    #help-badge {
        font-size: 11px !important;
        padding: 4px 10px !important;
        margin-right: 2px;
    }
}
