/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-modal {
    background-color: #111111;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    width: 90%;
    max-width: 500px;
    padding: 0;
    position: relative;
    border: 1px solid rgba(128, 0, 255, 0.2);
}

.modal-content {
    padding: 40px;
    text-align: center;
}

.checkmark {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
}

.checkmark svg {
    width: 100%;
    height: 100%;
}

.checkmark svg circle {
    stroke: #8000ff;
    stroke-width: 2;
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark svg path {
    stroke: #00d4ff;
    stroke-width: 4;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    fill: none;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

.success-modal h3 {
    font-size: 2.4rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.success-modal p {
    font-size: 1.6rem;
    line-height: 1.6;
    color: #cccccc;
    margin-bottom: 2.5rem;
}

.modal-close-btn {
    background: linear-gradient(to right, #00d4ff, #8000ff, #ec008c);
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 12px 40px;
    font-size: 1.8rem;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 10px;
}

.modal-close-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(128, 0, 255, 0.5), 0 0 30px rgba(0, 212, 255, 0.3);
    background: linear-gradient(to right, #00d4ff, #8000ff, #ec008c);
    background-size: 200% auto;
    animation: gradient 1.5s ease infinite;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Form message styling */
.subscribe-message {
    margin-top: 1rem;
    padding: 10px;
    border-radius: 4px;
    text-align: center;
    font-size: 1.4rem;
}

.subscribe-message.error {
    background-color: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.3);
    color: #ff6b81;
}

.subscribe-message.success {
    background-color: rgba(40, 167, 69, 0.1);
    border: 1px solid rgba(40, 167, 69, 0.3);
    color: #7bed9f;
}
