/* ── Newsletter Modal ── */
.nl-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.nl-modal.active {
    opacity: 1;
    visibility: visible;
}

.nl-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.nl-modal__content {
    position: relative;
    background: #111;
    border: 1px solid rgba(255, 215, 0, 0.15);
    border-radius: 16px;
    padding: 48px 40px;
    max-width: 440px;
    width: 90%;
    text-align: center;
    transform: translateY(30px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nl-modal.active .nl-modal__content {
    transform: translateY(0) scale(1);
}

.nl-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s;
}

.nl-modal__close:hover {
    color: #fff;
}

.nl-modal__icon {
    margin-bottom: 16px;
    color: #FFD700;
}

.nl-modal__title {
    font-family: 'Bebas Neue', 'Oswald', sans-serif;
    font-size: 1.8rem;
    color: #fff;
    margin: 0 0 8px;
    letter-spacing: 0.5px;
}

.nl-modal__subtitle {
    color: #999;
    font-size: 0.9rem;
    margin: 0 0 28px;
    line-height: 1.5;
}

.nl-modal__form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.nl-modal__input {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 14px 16px;
    color: #fff;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.2s;
    outline: none;
}

.nl-modal__input:focus {
    border-color: #FFD700;
}

.nl-modal__input[readonly] {
    opacity: 0.6;
    cursor: not-allowed;
}

.nl-modal__input::placeholder {
    color: #666;
}

.nl-modal__submit {
    background: #FFD700;
    color: #0a0a0a;
    border: none;
    border-radius: 8px;
    padding: 14px 24px;
    font-family: 'Bebas Neue', 'Oswald', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    margin-top: 4px;
}

.nl-modal__submit:hover {
    background: #e6c200;
    transform: translateY(-1px);
}

.nl-modal__submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.nl-modal__error {
    color: #ff4444;
    font-size: 0.85rem;
    margin-top: 8px;
}

/* Success State */
.nl-modal__success-state {
    padding: 20px 0;
}

.nl-modal__success-icon {
    margin-bottom: 20px;
    animation: nlPulse 0.6s ease;
}

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

/* Mobile */
@media (max-width: 480px) {
    .nl-modal__content {
        padding: 36px 24px;
        border-radius: 12px;
    }

    .nl-modal__title {
        font-size: 1.5rem;
    }
}
