/* =========================================
   ENHANCED SUCCESS MODAL STYLES
   ========================================= */

/* Success Modal */
#success-modal .modal-content {
    max-width: 600px;
    padding: 0;
    background: linear-gradient(135deg, rgba(10, 10, 25, 0.98) 0%, rgba(20, 10, 40, 0.98) 100%);
    border: 3px solid var(--neon-blue);
    box-shadow: 0 0 80px rgba(0, 243, 255, 0.4);
    clip-path: polygon(30px 0, 100% 0, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0 100%, 0 30px);
    overflow: hidden;
    position: relative;
}

/* Animated background effect */
#success-modal .modal-content::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(0, 243, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(188, 19, 254, 0.15) 0%, transparent 50%);
    animation: successGlow 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes successGlow {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

.success-content {
    padding: 3rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* Success Icon */
.success-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: successPop 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 0 40px rgba(0, 243, 255, 0.6);
}

@keyframes successPop {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.success-icon::before {
    content: '';
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    border: 3px solid var(--neon-blue);
    animation: successRing 2s ease-in-out infinite;
}

@keyframes successRing {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.2);
        opacity: 0;
    }
}

.success-icon i {
    font-size: 4rem;
    color: #fff;
    animation: checkBounce 0.8s ease-in-out 0.3s;
}

@keyframes checkBounce {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

/* Success Title */
.success-content h2 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple), var(--neon-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: titleSlide 0.8s ease-out 0.4s backwards;
    text-shadow: 0 0 30px rgba(0, 243, 255, 0.3);
}

@keyframes titleSlide {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.success-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    animation: fadeIn 0.8s ease-out 0.6s backwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Contact Buttons - Listed Vertically */
.contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
    animation: buttonsSlide 0.8s ease-out 0.8s backwards;
}

@keyframes buttonsSlide {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-btn {
    padding: 1.2rem 2rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid;
    text-decoration: none;
}

.contact-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.contact-btn:hover::before {
    transform: translateX(100%);
}

.contact-btn i {
    font-size: 1.5rem;
}

/* WhatsApp Button */
.whatsapp-btn {
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-color: #25D366;
    color: #fff;
}

.whatsapp-btn:hover {
    background: linear-gradient(135deg, #128C7E, #075E54);
    box-shadow: 0 0 30px rgba(37, 211, 102, 0.6);
    transform: translateY(-3px);
}

/* Telegram Button */
.telegram-btn {
    background: linear-gradient(135deg, #0088cc, #005f8c);
    border-color: #0088cc;
    color: #fff;
}

.telegram-btn:hover {
    background: linear-gradient(135deg, #005f8c, #004466);
    box-shadow: 0 0 30px rgba(0, 136, 204, 0.6);
    transform: translateY(-3px);
}

/* Call Button */
.call-btn {
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-pink));
    border-color: var(--neon-purple);
    color: #fff;
}

.call-btn:hover {
    background: linear-gradient(135deg, var(--neon-pink), #cc0044);
    box-shadow: 0 0 30px rgba(188, 19, 254, 0.6);
    transform: translateY(-3px);
}

/* Continue Shopping Button - VIBRANT */
.btn-close-success {
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple), var(--neon-pink));
    background-size: 200% 200%;
    color: #fff;
    border: none;
    border-radius: 15px;
    font-weight: 900;
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    animation: buttonPulse 2s ease-in-out infinite, buttonsSlide 0.8s ease-out 1s backwards;
    box-shadow: 0 0 40px rgba(0, 243, 255, 0.5);
    clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
}

@keyframes buttonPulse {

    0%,
    100% {
        background-position: 0% 50%;
        box-shadow: 0 0 40px rgba(0, 243, 255, 0.5);
    }

    50% {
        background-position: 100% 50%;
        box-shadow: 0 0 60px rgba(188, 19, 254, 0.7);
    }
}

.btn-close-success::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.3) 50%, transparent 60%);
    background-size: 200% 200%;
    animation: shimmerButton 3s ease-in-out infinite;
}

@keyframes shimmerButton {

    0%,
    100% {
        background-position: 0% 0%;
    }

    50% {
        background-position: 100% 100%;
    }
}

.btn-close-success:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 50px rgba(0, 243, 255, 0.8);
}

.btn-close-success:active {
    transform: translateY(-2px) scale(0.98);
}

/* Responsive */
@media (max-width: 768px) {
    .success-content {
        padding: 2rem;
    }

    .success-icon {
        width: 100px;
        height: 100px;
    }

    .success-icon i {
        font-size: 3rem;
    }

    .success-content h2 {
        font-size: 1.8rem;
    }

    .contact-btn {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    .btn-close-success {
        padding: 1.2rem;
        font-size: 1.1rem;
    }
}