/* Floating Buttons Container */
#floating-buttons-container {
    position: fixed;
    z-index: 9999;
    pointer-events: none;
}

/* Floating Button */
.floating-btn {
    position: fixed;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), 0 2px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: move;
    transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1), right 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s ease;
    pointer-events: auto;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    z-index: 9998;
    animation: floatSubtle 4s ease-in-out infinite;
}

@keyframes floatSubtle {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-6px);
    }
}

.floating-btn:hover:not(:active) {
    transform: scale(1.1) translateY(-6px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2), 0 3px 8px rgba(0, 0, 0, 0.15);
    animation-play-state: paused;
}

.floating-btn:active {
    transform: scale(0.95);
}

.floating-btn svg {
    pointer-events: none;
}

/* Check-in Button Specific Style */
#checkin-btn {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    animation-delay: 0s;
}

/* Support Button Specific Style */
#support-btn {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    animation-delay: 1s;
}

/* Tooltip */
.floating-btn-tooltip {
    position: absolute;
    right: 70px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.floating-btn:hover .floating-btn-tooltip {
    opacity: 1;
}

/* Support Popup */
.support-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.support-popup-content {
    background: linear-gradient(135deg, #1e1e2e 0%, #2d2d44 100%);
    padding: 32px;
    border-radius: 16px;
    max-width: 400px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.support-popup-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 32px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.support-popup-close:hover {
    color: white;
}

.support-popup-content h3 {
    margin: 0 0 12px 0;
    color: white;
    font-size: 24px;
    font-weight: 600;
}

.support-popup-content p {
    margin: 0 0 24px 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.support-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.support-option {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border-radius: 12px;
    text-decoration: none;
    color: white;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.support-option:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.support-option.whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.support-option.telegram {
    background: linear-gradient(135deg, #0088cc 0%, #005885 100%);
}

.support-option svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

/* Notification Toast */
.notification-toast {
    position: fixed;
    top: 20px;
    right: -400px;
    background: white;
    color: #1e1e2e;
    padding: 12px 16px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    font-size: 14px;
    font-weight: 500;
    z-index: 10001;
    transition: right 0.3s ease;
    max-width: 320px;
}

.notification-toast.show {
    right: 20px;
}

.notification-toast.success {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: white;
}

.notification-toast.warning {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.notification-toast.error {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    color: white;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .floating-btn {
        width: 44px;
        height: 44px;
    }

    .floating-btn-tooltip {
        display: none;
    }

    .support-popup-content {
        padding: 24px;
    }

    .support-popup-content h3 {
        font-size: 20px;
    }

    .support-option {
        padding: 14px 18px;
        font-size: 15px;
    }

    .notification-toast {
        padding: 10px 12px;
        font-size: 13px;
        max-width: 280px;
    }

    .notification-toast svg {
        width: 18px;
        height: 18px;
    }
}
