/* Launch notify waitlist modal */

#campLaunchNotifyModal.is-open {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    z-index: 10080;
}

#campLaunchNotifyModal .camp-spotlight__panel--ln {
    width: min(440px, calc(100vw - 28px));
    max-width: 440px;
}

.ln-card {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: #fff;
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow:
        0 4px 8px rgba(22, 24, 29, 0.04),
        0 28px 64px rgba(22, 24, 29, 0.18);
}

.ln-card__close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 3;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.72);
    color: #64748b;
    backdrop-filter: blur(8px);
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.ln-card__close:hover,
.ln-card__close:focus-visible {
    background: #fff;
    color: #c24100;
    outline: none;
    transform: translateY(-1px);
}

.ln-card__hero {
    position: relative;
    padding: 36px 28px 28px;
    text-align: center;
    background:
        radial-gradient(ellipse 90% 70% at 50% 0%, rgba(255, 140, 51, 0.28) 0%, transparent 60%),
        linear-gradient(180deg, #1a120c 0%, #24160f 48%, #2c1810 100%);
    color: #fff;
    overflow: hidden;
}

.ln-card__glow {
    position: absolute;
    inset: auto;
    left: 50%;
    top: -40px;
    width: 220px;
    height: 220px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 140, 51, 0.55) 0%, transparent 70%);
    filter: blur(18px);
    pointer-events: none;
    animation: lnGlow 4.5s ease-in-out infinite alternate;
}

@keyframes lnGlow {
    from { opacity: 0.7; transform: translateX(-50%) scale(0.92); }
    to { opacity: 1; transform: translateX(-50%) scale(1.08); }
}

.ln-card__bell {
    position: relative;
    z-index: 1;
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    border-radius: 20px;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, #ff8c33 0%, #ff6b00 55%, #c24100 100%);
    color: #fff;
    font-size: 1.55rem;
    box-shadow:
        0 14px 32px rgba(255, 107, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
    animation: lnBellIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.ln-card__bell-ring {
    position: absolute;
    inset: -6px;
    border-radius: 24px;
    border: 1.5px solid rgba(255, 179, 102, 0.45);
    animation: lnRing 2.4s ease-out infinite;
    pointer-events: none;
}

.ln-card.is-complete .ln-card__bell {
    background: linear-gradient(145deg, #22c55e, #15803d);
    box-shadow: 0 14px 32px rgba(22, 163, 74, 0.35);
}

.ln-card.is-complete .ln-card__bell-ring {
    border-color: rgba(134, 239, 172, 0.5);
    animation: none;
    opacity: 0.55;
}

@keyframes lnBellIn {
    from { opacity: 0; transform: scale(0.7) translateY(8px); }
    to { opacity: 1; transform: none; }
}

@keyframes lnRing {
    0% { opacity: 0.65; transform: scale(0.92); }
    70% { opacity: 0; transform: scale(1.18); }
    100% { opacity: 0; transform: scale(1.18); }
}

.ln-card__kicker {
    position: relative;
    z-index: 1;
    margin: 0 0 8px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(253, 186, 116, 0.92);
}

.ln-card__title {
    position: relative;
    z-index: 1;
    margin: 0 0 10px;
    font-size: clamp(1.55rem, 4vw, 1.85rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: #fff;
}

.ln-card__lead {
    position: relative;
    z-index: 1;
    margin: 0 auto;
    max-width: 28rem;
    font-size: 0.94rem;
    font-weight: 550;
    line-height: 1.55;
    color: rgba(255, 237, 213, 0.82);
}

.ln-card__body {
    padding: 22px 22px 24px;
}

.ln-form {
    display: grid;
    gap: 14px;
}

.ln-field {
    display: grid;
    gap: 7px;
    margin: 0;
}

.ln-field__label {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #64748b;
}

.ln-field__control {
    position: relative;
    display: block;
}

.ln-field__control > i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.95rem;
    pointer-events: none;
}

.ln-field__control input {
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 14px 14px 14px 42px;
    border: 1.5px solid #e2e8e2;
    border-radius: 14px;
    background: #fbfcfb;
    color: #16181d;
    font: inherit;
    font-size: 0.98rem;
    font-weight: 600;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.ln-field__control input::placeholder {
    color: #94a3b8;
    font-weight: 500;
}

.ln-field__control input:hover {
    border-color: #cfd8cf;
}

.ln-field__control input:focus {
    outline: none;
    background: #fff;
    border-color: #ff6b00;
    box-shadow: 0 0 0 4px rgba(255, 107, 0, 0.14);
}

.ln-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    margin: 0;
    padding: 14px 18px;
    border-radius: 14px;
    border: 0;
    font: inherit;
    font-size: 0.95rem;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, opacity 0.15s ease;
}

.ln-btn:disabled {
    opacity: 0.65;
    cursor: wait;
}

.ln-btn--primary {
    color: #fff;
    background: linear-gradient(135deg, #ff8c33 0%, #ff6b00 45%, #c24100 100%);
    box-shadow: 0 12px 28px rgba(255, 107, 0, 0.28);
}

.ln-btn--primary:hover:not(:disabled),
.ln-btn--primary:focus-visible:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 16px 32px rgba(255, 107, 0, 0.34);
    outline: none;
}

.ln-btn--ghost {
    width: auto;
    margin-top: 16px;
    padding: 10px 16px;
    background: #fff7ed;
    color: #c24100;
    border: 1px solid #fed7aa;
}

.ln-btn--ghost:hover,
.ln-btn--ghost:focus-visible {
    background: #ffedd5;
    outline: none;
}

.ln-perks {
    list-style: none;
    margin: 2px 0 0;
    padding: 12px 0 0;
    border-top: 1px dashed #e8ece8;
    display: grid;
    gap: 8px;
}

.ln-perks li {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 0.8rem;
    font-weight: 650;
    color: #64748b;
    line-height: 1.35;
}

.ln-perks i {
    color: #ff6b00;
    font-size: 0.92rem;
    flex-shrink: 0;
}

.ln-error {
    display: none;
    margin: 0;
    padding: 10px 12px;
    border-radius: 12px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    font-size: 0.84rem;
    font-weight: 700;
    line-height: 1.4;
}

.ln-error.is-visible {
    display: block;
}

.ln-done {
    display: none;
    text-align: center;
    padding: 8px 4px 4px;
    animation: lnDoneIn 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.ln-done.is-visible,
.ln-done:not([hidden]) {
    display: block;
}

.ln-done[hidden] {
    display: none !important;
}

#lnForm[hidden] {
    display: none !important;
}

@keyframes lnDoneIn {
    from { opacity: 0; transform: translateY(10px) scale(0.97); }
    to { opacity: 1; transform: none; }
}

.ln-done__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 14px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, #22c55e, #15803d);
    color: #fff;
    font-size: 1.7rem;
    box-shadow: 0 12px 28px rgba(22, 163, 74, 0.28);
}

.ln-done h3 {
    margin: 0 0 8px;
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: #16181d;
}

.ln-done p {
    margin: 0 auto;
    max-width: 26rem;
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.55;
    color: #64748b;
}

@media (max-width: 480px) {
    .ln-card__hero {
        padding: 30px 22px 24px;
    }

    .ln-card__body {
        padding: 18px 16px 20px;
    }

    .ln-card__bell {
        width: 56px;
        height: 56px;
        border-radius: 18px;
        font-size: 1.35rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ln-card__glow,
    .ln-card__bell,
    .ln-card__bell-ring,
    .ln-done {
        animation: none;
    }
}

html[data-theme="dark"] .ln-card {
    background: var(--camp-surface, #1a1d24);
    border-color: var(--camp-border, rgba(255, 255, 255, 0.08));
}

html[data-theme="dark"] .ln-card__close {
    background: rgba(255, 255, 255, 0.08);
    color: var(--camp-text-muted, #94a3b8);
}

html[data-theme="dark"] .ln-card__close:hover,
html[data-theme="dark"] .ln-card__close:focus-visible {
    background: rgba(255, 107, 0, 0.18);
    color: #fdba74;
}

html[data-theme="dark"] .ln-field__label,
html[data-theme="dark"] .ln-perks li,
html[data-theme="dark"] .ln-done p {
    color: var(--camp-text-muted, #94a3b8);
}

html[data-theme="dark"] .ln-field__control input {
    background: var(--camp-bg-muted, #12151a);
    border-color: var(--camp-border, #2a2f3a);
    color: var(--camp-text, #e8eaed);
}

html[data-theme="dark"] .ln-field__control input:focus {
    background: var(--camp-surface, #1a1d24);
}

html[data-theme="dark"] .ln-perks {
    border-top-color: var(--camp-border, #2a2f3a);
}

html[data-theme="dark"] .ln-done h3 {
    color: var(--camp-text, #e8eaed);
}

html[data-theme="dark"] .ln-btn--ghost {
    background: rgba(255, 107, 0, 0.12);
    border-color: rgba(255, 107, 0, 0.28);
    color: #fdba74;
}

html[data-theme="dark"] .ln-error {
    background: rgba(239, 68, 68, 0.12);
    border-color: rgba(248, 113, 113, 0.28);
    color: #fca5a5;
}
