/* Payment Success Popup - Elexbet Tasarımına Uygun */

.payment-success-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.payment-success-overlay.active {
    display: flex;
}

.payment-success-modal {
    background: linear-gradient(145deg, #1a1a2e 0%, #16213e 100%);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
                0 0 40px rgba(212, 175, 55, 0.1);
    animation: slideUp 0.4s ease;
    text-align: center;
}

/* Success Icon */
.payment-success-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: scaleIn 0.5s ease-out;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4);
}

.payment-success-icon::before {
    content: '✓';
    font-size: 60px;
    color: white;
    font-weight: bold;
}

/* Title */
.payment-success-title {
    font-size: 28px;
    font-weight: 700;
    color: #d4af37;
    margin-bottom: 16px;
    text-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
}

/* Message */
.payment-success-message {
    font-size: 16px;
    color: #e0e0e0;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Close Button */
.payment-success-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: #d4af37;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.payment-success-close:hover {
    background: rgba(212, 175, 55, 0.2);
    transform: rotate(90deg);
}

/* OK Button */
.payment-success-btn {
    background: linear-gradient(135deg, #d4af37 0%, #c4a03a 100%);
    color: #1a1a2e;
    border: none;
    padding: 16px 40px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.payment-success-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.6);
}

.payment-success-btn:active {
    transform: translateY(0);
}

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

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

@keyframes scaleIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 640px) {
    .payment-success-modal {
        padding: 30px 20px;
    }
    
    .payment-success-icon {
        width: 80px;
        height: 80px;
    }
    
    .payment-success-icon::before {
        font-size: 50px;
    }
    
    .payment-success-title {
        font-size: 22px;
    }
    
    .payment-success-message {
        font-size: 14px;
    }
}
