/* Share Reward Floating Button */
.share-reward-floating {
    position: fixed;
    bottom: 32px;
    right: 32px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.4);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 999;
    animation: float 3s ease-in-out infinite;
}

.share-reward-floating:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 48px rgba(102, 126, 234, 0.6);
}

.share-reward-floating:active {
    transform: translateY(-2px) scale(1.02);
}

.share-reward-floating .share-icon {
    font-size: 1.5rem;
    animation: pulse 2s ease-in-out infinite;
}

.share-reward-floating .share-text {
    font-family: 'Inter', sans-serif;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

/* Disable rotation animation for share popup close button */
#shareRewardPopup .wizard-close {
    transition: opacity 0.2s ease !important;
}

#shareRewardPopup .wizard-close:hover {
    transform: none !important;
    opacity: 0.7;
}

/* Reward Showcase */
.reward-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.reward-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.reward-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(102, 126, 234, 0.5);
    transform: translateY(-4px);
}

.reward-card .reward-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.reward-card h3 {
    font-size: 1rem;
    color: var(--text);
    margin: 0 0 8px 0;
}

.reward-card p {
    font-size: 0.85rem;
    color: var(--muted);
    margin: 0;
    line-height: 1.4;
}

/* Share Options */
.share-options {
    margin-top: 24px;
}

.share-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.share-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.share-btn.discord:hover {
    background: rgba(88, 101, 242, 0.2);
    border-color: rgba(88, 101, 242, 0.5);
}

.share-btn.twitter:hover {
    background: rgba(29, 161, 242, 0.2);
    border-color: rgba(29, 161, 242, 0.5);
}

.share-btn.tiktok:hover {
    background: rgba(254, 44, 85, 0.2);
    border-color: rgba(254, 44, 85, 0.5);
}

.share-btn.copy:hover {
    background: rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.5);
}

.share-btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.share-btn-icon svg {
    width: 100%;
    height: 100%;
}

/* Share Link Container */
.share-link-container {
    margin-top: 24px;
}

.share-link-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 14px 16px;
    color: var(--text);
    font-size: 0.95rem;
    font-family: 'Inter', monospace;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.share-link-input:hover,
.share-link-input:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(102, 126, 234, 0.5);
    outline: none;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .share-reward-floating {
        bottom: 20px;
        right: 20px;
        padding: 14px 20px;
        font-size: 0.9rem;
    }

    .share-reward-floating .share-text {
        display: none;
    }

    .share-reward-floating .share-icon {
        font-size: 1.8rem;
    }

    .reward-showcase {
        grid-template-columns: 1fr;
    }

    .share-buttons {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .share-reward-floating {
        bottom: 16px;
        right: 16px;
        padding: 12px 16px;
    }
}