/* NorthStar email-capture popup */
.ns-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.25s ease;
}
.ns-popup-overlay.active {
    display: flex;
    opacity: 1;
}
.ns-popup-modal {
    background: #1a1a1a;
    border-top: 4px solid #c3a66d;
    max-width: 460px;
    width: 100%;
    padding: 40px 32px 36px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    color: #fff;
    text-align: center;
    font-family: 'Source Sans Pro', sans-serif;
}
.ns-popup-close {
    position: absolute;
    top: 10px;
    right: 14px;
    background: none;
    border: none;
    color: #999;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    padding: 4px 8px;
    transition: color 0.2s;
}
.ns-popup-close:hover { color: #c3a66d; }
.ns-popup-modal h2 {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1.8rem;
    margin: 0 0 8px;
    color: #fff;
}
.ns-popup-modal h2 .gold { color: #c3a66d; }
.ns-popup-modal p { color: #ccc; font-size: 1rem; margin: 0 0 22px; line-height: 1.5; }
.ns-popup-form { display: flex; flex-direction: column; gap: 12px; }
.ns-popup-form input {
    width: 100%;
    box-sizing: border-box;
    background: #0a0a0a;
    border: 1px solid #333;
    color: #fff;
    padding: 14px 16px;
    font-size: 1rem;
    font-family: 'Source Sans Pro', sans-serif;
    outline: none;
    transition: border-color 0.2s;
}
.ns-popup-form input::placeholder { color: #777; }
.ns-popup-form input:focus { border-color: #c3a66d; }
.ns-popup-form button {
    background: #c3a66d;
    color: #0a0a0a;
    border: none;
    padding: 14px;
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 4px;
}
.ns-popup-form button:hover { background: #d9bd83; }
.ns-popup-form button:disabled { opacity: 0.6; cursor: not-allowed; }
.ns-popup-error {
    display: none;
    color: #ff7373;
    font-size: 0.9rem;
    margin-top: 4px;
}
.ns-popup-error.active { display: block; }
.ns-popup-success { display: none; }
.ns-popup-success.active { display: block; }
.ns-popup-success h3 {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1.5rem;
    margin: 0 0 14px;
    color: #c3a66d;
}
.ns-popup-code-box {
    background: #0a0a0a;
    border: 1px dashed #c3a66d;
    padding: 18px 14px;
    margin: 18px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.ns-popup-code {
    font-family: 'Oswald', sans-serif;
    font-size: 1.6rem;
    letter-spacing: 3px;
    color: #c3a66d;
    font-weight: 600;
}
.ns-popup-copy {
    background: transparent;
    border: 1px solid #c3a66d;
    color: #c3a66d;
    padding: 8px 14px;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
}
.ns-popup-copy:hover { background: #c3a66d; color: #0a0a0a; }
.ns-popup-copy.copied { background: #c3a66d; color: #0a0a0a; }
.ns-popup-fineprint { font-size: 0.78rem; color: #777; margin-top: 12px; }
@media (max-width: 480px) {
    .ns-popup-modal { padding: 32px 22px 28px; }
    .ns-popup-modal h2 { font-size: 1.4rem; }
    .ns-popup-code { font-size: 1.3rem; letter-spacing: 2px; }
}
