/* Floating Support Widget - KEY-STONE */
/* Updated for Large Premium Vector SVGs with Arc Animation */

.support-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Main question mark button - Increased Size 72px */
.support-widget .support-main-btn {
    width: 72px;
    height: 72px;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10;
}

.support-widget .support-main-btn img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.2));
    transition: filter 0.3s ease;
}

.support-widget .support-main-btn:hover {
    transform: scale(1.1) rotate(10deg);
}

.support-widget .support-main-btn:hover img {
    filter: drop-shadow(0 8px 25px rgba(37, 99, 235, 0.5));
    /* Blue glow on hover */
}

.support-widget .support-main-btn:active {
    transform: scale(0.95);
}

.support-widget.active .support-main-btn {
    transform: rotate(15deg);
    /* Slight rotation when open */
}

/* Options container */
.support-widget .support-options {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.support-widget.active .support-options {
    pointer-events: auto;
}

/* Individual support items */
.support-widget .support-item {
    position: absolute;
    bottom: 10px;
    right: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    opacity: 0;
    transform: scale(0.5) rotate(-180deg);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Icon container - Increased Size 60px */
.support-widget .support-item-icon {
    width: 60px;
    height: 60px;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.support-widget .support-item-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
    transition: filter 0.3s ease;
}

.support-widget .support-item:hover .support-item-icon {
    transform: scale(1.15);
}

.support-widget .support-item:hover .support-item-icon img {
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.3));
}

/* Telegram: Arc position 1 (Top Left) */
/* Further out since buttons are bigger */
.support-widget.active .support-item:nth-child(2) {
    opacity: 1;
    transform: translate(-20px, -110px) scale(1) rotate(0deg);
    transition-delay: 0.05s;
}

/* MAX: Arc position 2 (Left) */
.support-widget.active .support-item:nth-child(1) {
    opacity: 1;
    transform: translate(-100px, -40px) scale(1) rotate(0deg);
    transition-delay: 0.1s;
}

/* Tooltips */
.support-widget .support-label {
    position: absolute;
    right: 70px;
    /* Adjusted for bigger icon */
    top: 50%;
    transform: translateY(-50%) translateX(20px);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 6px 14px;
    border-radius: 8px;
    font-weight: 600;
    color: #1a202c;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transition: all 0.2s ease;
    white-space: nowrap;
    pointer-events: none;
}

.support-widget .support-item:hover .support-label {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .support-widget .support-main-btn {
        width: 64px;
        height: 64px;
    }

    .support-widget .support-item-icon {
        width: 52px;
        height: 52px;
    }

    .support-widget.active .support-item:nth-child(2) {
        transform: translate(-10px, -95px) scale(1) rotate(0deg);
    }

    .support-widget.active .support-item:nth-child(1) {
        transform: translate(-85px, -30px) scale(1) rotate(0deg);
    }

    .support-widget .support-label {
        display: none;
        /* Hide labels on mobile to keep it clean */
    }
}