
/* Trigger Button */
#wallet-helper-trigger {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #764ba2;
    color: white;
    border: none;
    padding: 16px 24px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 800;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

#wallet-helper-trigger:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.4);
}

/* Modal Overlay */
#wallet-helper-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1001;
    backdrop-filter: blur(5px);
}

/* Modal Content */
.wallet-modal-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 32px;
    width: 90%;
    max-width: 480px;
    color: #333;
    position: relative;
    animation: modalSlideIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Close Button */
.close-button {
    position: absolute;
    top: 16px;
    right: 20px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 18px;
}

.close-button:hover {
    background: rgba(0, 0, 0, 0.2);
    transform: scale(1.1);
}

.close-button::before {
    content: "×";
    font-weight: bold;
    color: #666;
}

/* Question Heading */
.wallet-modal-content h3 {
    font-size: 24px;
    margin-bottom: 24px;
    text-align: center;
    color: #2d3748;
    font-weight: 700;
    line-height: 1.3;
}

/* Options */
.wallet-helper-option {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    padding: 16px 20px;
    margin: 12px 0;
    border-radius: 16px;
    cursor: pointer;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.wallet-helper-option:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.wallet-helper-option:active {
    transform: translateY(0);
}

/* Progress Bar */
.wallet-progress {
    width: 100%;
    height: 8px;
    background: rgba(0, 0, 0, 0.1);
    margin-top: 24px;
    border-radius: 20px;
    overflow: hidden;
}

.wallet-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    width: 0%;
    border-radius: 20px;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.wallet-progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
}

/* Result Styles */
.result-container {
    text-align: center;
}

.result-container h3 {
    color: #2d3748;
    margin-bottom: 20px;
}

.wallet-link {
    display: inline-block;
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    margin: 10px 0;
    transition: all 0.3s ease;
}

.wallet-link:hover {
    background: linear-gradient(135deg, #38a169 0%, #2f855a 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(72, 187, 120, 0.4);
}

.restart-btn {
    background: linear-gradient(135deg, #ed8936 0%, #dd6b20 100%);
    color: white;
}

.restart-btn:hover {
    background: linear-gradient(135deg, #dd6b20 0%, #c05621 100%);
}

/* Utility Classes */
.hidden {
    display: none !important;
}

/* Animations */
@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Step indicator */
.step-indicator {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    gap: 8px;
}

.step-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.step-dot.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Responsive Design */
@media (max-width: 768px) {
    .wallet-modal-content {
        padding: 24px;
        margin: 20px;
    }
    
    #wallet-helper-trigger {
        bottom: 20px;
        right: 20px;
        padding: 14px 20px;
        font-size: 15px;
    }
}