/* The main page's iPhone waitlist modal (style.css, the .waitlist-* rules, copied verbatim) for the palace landing, which does
   not load style.css (its own look). The main page's colour variables, scoped to the modal. kanban 1510e278 */
#ios-waitlist-modal { --border: rgba(100, 100, 200, 0.15); --cyan: #00e5ff; --gold: #ffd700; --text: #e8e8f8; --text2: #9898b8; --text3: #686888; font-family: Inter, system-ui, sans-serif; }
.waitlist-modal-backdrop {
    position: fixed !important;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(5, 5, 16, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 2000 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.waitlist-modal-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}
.waitlist-modal-card {
    background: #0d0f1e;
    border: 1px solid rgba(0, 229, 255, 0.3);
    border-radius: 24px;
    max-width: 480px;
    width: 100%;
    padding: 36px 32px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), 0 0 50px rgba(0, 229, 255, 0.12);
    transform: translateY(20px) scale(0.96);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.waitlist-modal-backdrop.active .waitlist-modal-card {
    transform: translateY(0) scale(1);
}
.waitlist-modal-close {
    position: absolute;
    top: 16px;
    right: 18px;
    background: none;
    border: none;
    color: var(--text2);
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 50%;
    transition: color 0.2s, background 0.2s;
}
.waitlist-modal-close:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.08);
}
.waitlist-icon-wrapper {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.15), rgba(0, 229, 255, 0.15));
    border: 1px solid rgba(251, 191, 36, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    color: var(--gold);
}
.waitlist-icon-wrapper svg {
    width: 28px;
    height: 28px;
}
.waitlist-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    background: rgba(251, 191, 36, 0.12);
    border: 1px solid rgba(251, 191, 36, 0.3);
    color: var(--gold);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}
.waitlist-modal-title {
    font-family: 'Outfit', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 10px;
    line-height: 1.25;
}
.waitlist-modal-desc {
    color: var(--text2);
    font-size: 14.5px;
    line-height: 1.6;
    margin: 0 0 22px;
}
.waitlist-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.waitlist-input-group {
    display: flex;
    gap: 10px;
}
@media (max-width: 520px) {
    .waitlist-input-group {
        flex-direction: column;
    }
    .waitlist-modal-card {
        padding: 28px 20px;
    }
}
.waitlist-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px 16px;
    color: var(--text);
    font-size: 15px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s, background 0.2s;
}
.waitlist-input:focus {
    border-color: var(--cyan);
    background: rgba(255, 255, 255, 0.08);
}
.waitlist-btn {
    background: linear-gradient(135deg, var(--cyan), #38bdf8);
    color: #050510;
    border: none;
    border-radius: 12px;
    padding: 14px 22px;
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.15s, box-shadow 0.2s;
}
.waitlist-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 229, 255, 0.35);
}
.waitlist-privacy {
    font-size: 12px;
    color: var(--text3);
    margin-top: 6px;
    text-align: center;
}
.waitlist-alt {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 13px;
    color: var(--text2);
    text-align: center;
}
.waitlist-alt a {
    color: var(--cyan);
    text-decoration: underline;
    font-weight: 500;
}
.waitlist-success {
    display: none;
    text-align: center;
    padding: 12px 0 6px;
}
.waitlist-success-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.4);
    color: #22c55e;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}
.waitlist-success-title {
    font-family: 'Outfit', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 8px;
}
.waitlist-success-desc {
    color: var(--text2);
    font-size: 14.5px;
    line-height: 1.6;
}
