/* COBAB Microsite — Phase 1 (Intro Video → Resolve Landing) */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
    /* min-height: 970px; */
}

body {
    background: #000;
    overflow-y: auto;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}



/* BG PAN LAYER (static image with heavy parallax)
   Only appears on LANDING after intro resolves (bg-reveal / ui-reveal). */
body.stage-black .bg-pan {
    opacity: 0;
}

body.intro .bg-pan,
body.resolving .bg-pan {
    opacity: 0;
}

/* Optional smoother cue: when bg-reveal is present we just ensure it's on. */
body.bg-reveal .bg-pan {
    opacity: 1;
}



/* ---------------------------
   INTRO LAYER (full cover)
--------------------------- */

.intro-layer {
    position: fixed;
    inset: 0;
    /* z-index: 9999; */
    z-index: 2;
    background: transparent;
    opacity: 1;
    transition: opacity 900ms ease;
}

.intro-layer.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.intro-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: transparent;
}

.intro-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.15);
}

.intro-vignette {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle, transparent 35%, rgba(0, 0, 0, 0.85) 100%);
}

/* Intro UI (tap-to-start + skip) */
.intro-ui {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.intro-btn {
    pointer-events: auto;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 400ms ease, transform 400ms ease;
    padding: 14px 18px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(0, 0, 0, 0.55);
    color: rgba(255, 255, 255, 0.92);
    font-size: 13px;
    letter-spacing: 0.9px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.intro-btn.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.intro-skip {
    pointer-events: auto;
    position: absolute;
    right: 18px;
    bottom: 18px;
    opacity: 0;
    transition: opacity 400ms ease;
    padding: 10px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(0, 0, 0, 0.35);
    color: rgba(255, 255, 255, 0.78);
    font-size: 12px;
    letter-spacing: 0.6px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.intro-skip.is-visible {
    opacity: 1;
}

/* ---------------------------
   LANDING BACKGROUND VIDEO (optional)
   We fade this OUT after the intro so bg.jpg becomes the background.
--------------------------- */

.bg-video {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0;
    transition: opacity 900ms ease;
}

/* If you ever want a subtle moving landing background later, you can enable this:
   body.landing-video .bg-video { opacity: 1; }
*/

/* LANDING OVERLAYS */
.overlay {

    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.40);
    z-index: 2;
}


/* CURSOR SPOTLIGHT (reveals texture in bg.jpg under cursor) */
/* CURSOR SPOTLIGHT (reveals texture in bg.jpg under cursor) */
.spotlight {
    position: fixed;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    opacity: 0;
    transition: opacity 300ms ease;
    /* Premium cursor-follow light: reveals wall texture + adds warm glow without blowing out the title. */
    background:
        radial-gradient(520px 420px at var(--sx, 50%) var(--sy, 50%),
            rgba(255, 252, 240, 0.18),
            rgba(255, 226, 160, 0.08) 36%,
            transparent 68%),
        radial-gradient(900px 720px at var(--sx, 50%) var(--sy, 50%),
            rgba(255, 246, 226, 0.23),
            rgba(255, 228, 175, 0.115) 28%,
            rgba(255, 215, 140, 0.058) 48%,
            transparent 78%);
    mix-blend-mode: normal;
    filter: blur(0.9px);
}

.spotlight::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(1200px 900px at var(--sx, 50%) var(--sy, 50%),
            rgba(255, 230, 170, 0.10),
            rgba(255, 220, 150, 0.04) 38%,
            transparent 78%);
    opacity: 0.06;
    animation: spotlightBreathe 6.8s ease-in-out infinite;
}

@keyframes spotlightBreathe {
    0% {
        opacity: 0.06;
    }

    50% {
        opacity: 0.16;
    }

    100% {
        opacity: 0.08;
    }
}

body.landing-bg .spotlight {
    opacity: 1;
}

body.intro .spotlight {
    opacity: 0;
}

body.spotlight-reveal .spotlight {
    animation: spotlightFlashIn 1.6s ease-out forwards;
}

@keyframes spotlightFlashIn {
    0%   { opacity: 0; filter: blur(0.9px) brightness(1);    }
    12%  { opacity: 1; filter: blur(0.9px) brightness(2.38);  }
    100% { opacity: 1; filter: blur(0.9px) brightness(0.85); }
}

@media (max-width: 820px) {
    .spotlight {
        position: absolute;
        background:
            radial-gradient(520px 420px at var(--sx, 50%) var(--sy, 50%),
                rgba(255, 252, 240, 0.136),
                rgba(255, 226, 160, 0.06) 36%,
                transparent 68%),
            radial-gradient(900px 720px at var(--sx, 50%) var(--sy, 50%),
                rgba(255, 246, 226, 0.17),
                rgba(255, 228, 175, 0.085) 28%,
                rgba(255, 215, 140, 0.043) 48%,
                transparent 78%);
    }

    body.spotlight-reveal .spotlight {
        animation: spotlightFlashInMobile 1.6s ease-out forwards;
    }

    @keyframes spotlightFlashInMobile {
        0%   { opacity: 0; filter: blur(0.9px) brightness(1);   }
        12%  { opacity: 1; filter: blur(0.9px) brightness(2.38); }
        100% { opacity: 1; filter: blur(0.9px) brightness(0.85);   }
    }
}


.vignette {
    position: fixed;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle, transparent 40%, rgba(0, 0, 0, 0.75) 100%);
    z-index: 3;
}

/* ATMOSPHERE (very light, code-based — can be upgraded later) */
.atmosphere {
    position: fixed;
    inset: -6%;
    z-index: 4;
    pointer-events: none;
    background:
        radial-gradient(circle at 55% 58%, rgba(255, 255, 255, 0.05), transparent 60%),
        radial-gradient(circle at 42% 52%, rgba(255, 255, 255, 0.03), transparent 62%);
    filter: blur(0.2px);
    animation: drift 12s ease-in-out infinite alternate;
    opacity: 0.45;
}

@keyframes drift {
    from {
        transform: translate3d(0px, 0px, 0);
    }

    to {
        transform: translate3d(0px, -18px, 0);
    }
}

/* ---------------------------
   LANDING CONTENT
--------------------------- */

.content {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 900px;
    margin-top: -100px;
}

/* parallax target wrappers */
.logo,
.footer {
    will-change: transform;
}

.logo {
    width: 492px;
    max-width: 72vw;
    margin-bottom: 18px;
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.15));
}

.coming {
    /* color: rgba(255, 255, 255, 0.78); */
    color: #fdca73;
    font-size: 13px;
    letter-spacing: 2.2px;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.footer {
    position: absolute;
    bottom: 38px;
    left: 0;
    right: 0;
}

.footer-popup {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.95);
    padding: 18px 18px calc(18px + var(--safeB));
    transform: translateY(110%);
    opacity: 0;
    pointer-events: none;
    transition: transform 650ms cubic-bezier(0.22, 1, 0.36, 1), opacity 650ms ease;
}

.footer-popup.is-visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.footer-popup__inner {
    max-width: 980px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding-top: 20px;
}

.footer-popup__close {
    position: absolute;
    right: 6px;
    top: 2px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    width: 28px;
    height: 28px;
    padding: 0;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: all 0.3s;
}

.footer-popup__close:hover,
.footer-popup__close:focus-visible {
    color: #fff;
}

.footer-popup__close::before,
.footer-popup__close::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    opacity: 0.9;
}

.footer-popup__close::before {
    transform: rotate(45deg);
}

.footer-popup__close::after {
    transform: rotate(-45deg);
}

.paramount {
    width: 106px;
    margin-bottom: 25px;
    opacity: 0.48;
}

.legal {
    color: rgba(255, 255, 255, 0.45);
    font-size: 11px;
    letter-spacing: 0.6px;
}

/* Fade system: landing should be visible by default (resolved).
   When intro is active, we hide landing UI for cinematic focus. */

.fade-in {
    opacity: 1;
    transform: translateY(0px);
    transition: opacity 1.1s ease, transform 1.1s ease;
}

body.intro .fade-in,
body.resolving .fade-in {
    opacity: 0;
    transform: translateY(10px);
}

/* Motion reduce */
@media (prefers-reduced-motion: reduce) {
    .atmosphere {
        animation: none;
    }

    .fade-in,
    .intro-layer {
        transition: none;
    }
}


/* ---------------------------
   REFINEMENT PASS (Landing UI)
   - Desktop: logo ~20% larger + nudged up
   - Coming Soon softened (placeholder until custom decal)
   - Paramount logo 15–20% smaller (avoid "stretched" look)
--------------------------- */

.coming {
    opacity: 0.55;
    /* softer presence */
    letter-spacing: 1.6px;
    /* less shouty */
}

@media (min-width: 769px) {
    .content {
        transform: translateY(-18px);
    }

    .title-el {
        max-width: 78vw;
    }

    .logo {
        max-width: 78vw;
        margin-bottom: 16px;
        width: min(1141px, max(79vh, 760px));
    }

    .coming {
        font-family: "Times New Roman", Times, serif;
        /* subtle in-theme placeholder */
        font-size: 12px;
        letter-spacing: 1.4px;
        opacity: 0.5;
        margin-bottom: 44px;
    }

    .paramount {
        width: 106px;
        /* ~20% smaller than prior 98px */
        height: auto;
    }

    .footer {
        bottom: 30px;
    }
}





/* Disable gleam until masked asset is provided */
body.gleam-disabled .gleam {
    display: none !important;
}

body.gleam-disabled .logo-wrap {
    border-radius: 0;
    /* remove bounding hint */
}


/* STAGED LANDING REVEAL */
.title-el,
.coming-el,
.cta-el,
.footer-el {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 900ms ease, transform 900ms ease;
}

body.title-reveal .title-el {
    opacity: 1;
    transform: translateY(0);
}

body.ui-reveal .coming-el,
body.ui-reveal .footer-el {
    opacity: 1;
    transform: translateY(0);
}

body.cta-reveal .cta-el {
    opacity: 1;
    transform: translateY(0);
}

/* Keep landing UI hidden while intro is active */
body.intro .title-el,
body.intro .coming-el,
body.intro .cta-el,
body.intro .footer-el,
body.resolving .title-el,
body.resolving .coming-el,
body.resolving .cta-el,
body.resolving .footer-el {
    opacity: 0;
    transform: translateY(10px);
}


/* LANDING BACKGROUND (set via JS on resolve to avoid state/class bugs) */
/* body.landing-bg { */
body {
    background-image: url("../img/bg.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

/* Heavy parallax uses CSS vars set by JS */
/* body.landing-bg { */
body {
    background-position: var(--bgx, 50%) var(--bgy, 50%);
}



/* GLEAM DISABLED — intentionally removed for MVP focus */


/* ---------------------------
   CORNER FOOTER UI (gold icons)
   - Left: Share / iOS share
   - Right: X / FB / TikTok
--------------------------- */

.corner-ui {
    position: absolute;
    /* bottom: 34px; */
    display: flex;
    align-items: center;
    gap: 14px;
    z-index: 10;
    opacity: 0.9;
    top: 30px;
}

.corner-ui.left {
    left: 28px;
}

.corner-ui.right {
    right: 28px;
}

.icon-btn {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0.82;
    transition: opacity 240ms ease, transform 240ms ease, filter 240ms ease;
}

.icon-btn img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(1.05) sepia(0.55) saturate(1.6) hue-rotate(8deg);
}

.icon-btn:hover {
    opacity: 0.98;
    transform: translateY(-1px);
}

.icon-btn:active {
    transform: translateY(0px);
    opacity: 0.88;
}

/* Share popup */
.share-popup {
    position: fixed;
    left: calc(28px + var(--safeR));
    top: calc(22px + var(--safeB));
    width: 260px;
    background: #ffffff;
    color: #1a1a1a;
    border-radius: 12px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
    padding: 14px 14px 16px;
    z-index: 70;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity 220ms ease, transform 220ms ease;
}

.share-popup.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.share-popup__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.share-popup__title {
    font-size: 14px;
    font-weight: 500;
    color: #2a2a2a;
}

.share-popup__close {
    width: 28px;
    height: 28px;
    border: none;
    background: #f3f3f3;
    border-radius: 8px;
    cursor: pointer;
    position: relative;
}

.share-popup__close::before,
.share-popup__close::after {
    content: "";
    position: absolute;
    width: 12px;
    height: 2px;
    background: #5a5a5a;
    border-radius: 2px;
    top: 50%;
    left: 50%;
    transform-origin: center;
}

.share-popup__close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.share-popup__close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.share-popup__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.share-popup__btn {
    width: 40px;
    height: 40px;
    border: none;
    background: #f7f7f7;
    border-radius: 8px;
    display: grid;
    place-items: center;
    cursor: pointer;
}

.share-popup__btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    color: #222;
}

.share-popup__btn[data-share="facebook"] svg {
    color: #1877f2;
}

.share-popup__btn[data-share="x"] svg {
    color: #111;
}

.share-popup__btn[data-share="pinterest"] svg {
    color: #e60023;
}

.share-popup__btn:hover,
.share-popup__btn:focus-visible {
    background: #efefef;
}

@media (max-width: 768px) {
    .share-popup {
        right: calc(18px + var(--safeR));
        /* bottom: calc(84px + var(--safeB)); */
        width: 240px;
    }
}

/* Email signup popup */
.email-popup {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 240ms ease;
}

.email-popup.is-open {
    opacity: 1;
    pointer-events: auto;
}

.email-popup__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.email-popup__card {
    position: relative;
    width: min(520px, 92vw);
    background: #000;
    color: #fff;
    border-radius: 16px;
    padding: 22px 22px 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
    z-index: 1;
}

.email-popup__close {
    position: absolute;
    right: 16px;
    top: 14px;
    width: 28px;
    height: 28px;
    border: none;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    cursor: pointer;
}

.email-popup__close::before,
.email-popup__close::after {
    content: "";
    position: absolute;
    width: 14px;
    height: 2px;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 2px;
    top: 50%;
    left: 50%;
    transform-origin: center;
}

.email-popup__close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.email-popup__close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.email-popup__title {
    font-size: 18px;
    margin: 0 0 6px 0;
    font-weight: 600;
}

.email-popup__subtitle {
    margin: 0 0 16px 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
}

.email-popup__form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
}

.email-popup__input {
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    color: #fff;
    padding: 10px 12px;
    font-size: 14px;
}

.email-popup__input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.email-popup__submit {
    border: none;
    background: #f3f3f3;
    color: #111;
    border-radius: 10px;
    padding: 10px 16px;
    font-size: 13px;
    cursor: pointer;
    white-space: nowrap;
}

.email-popup__submit:disabled {
    opacity: 0.7;
    cursor: default;
}

.email-popup__status {
    margin-top: 10px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    min-height: 16px;
}

/* Insider form (inverted from form_ajax.html) */
.insider-form {
    font-family: sans-serif;
    color: #fff;
}

.insider-title {
    margin: 0 0 8px;
    font-size: 18px;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.insider-subtitle {
    margin: 0 0 16px;
    font-size: 13px;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.82);
}

#insiderWrapper {
    padding: 4px 0 0;
    position: relative;
}

.validationNotice {
    border: 1px solid #ff5c5c;
    color: #ff5c5c;
    box-shadow: 0 0 0 1px rgba(255, 92, 92, 0.15);
}

.validationLegalText {
    color: #ff5c5c;
}

.validationField {
    position: relative;
}

.validationBubble {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 10px;
    width: max-content;
    max-width: min(420px, calc(100vw - 48px));
    padding: 10px 12px 10px 8px;
    border: 1px solid rgba(28, 42, 56, 0.22);
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
    color: #1f2c36;
    font-size: 12px;
    line-height: 1.35;
}

.validationBubble::before,
.validationBubble::after {
    content: "";
    position: absolute;
    left: 18px;
    width: 0;
    height: 0;
    border-style: solid;
}

.validationBubble::before {
    top: -8px;
    border-width: 0 8px 8px 8px;
    border-color: transparent transparent rgba(28, 42, 56, 0.18) transparent;
}

.validationBubble::after {
    top: -7px;
    border-width: 0 7px 7px 7px;
    border-color: transparent transparent #fff transparent;
}

.validationBubble__icon {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    border-radius: 2px;
    background: linear-gradient(180deg, #ffad38 0%, #ff7f11 100%);
    color: #fff;
    font-weight: 800;
    font-size: 15px;
    line-height: 22px;
    text-align: center;
}

.validationBubble__text {
    display: block;
}

.validationBubble--centered {
    left: 50%;
    top: 58%;
    transform: translateX(-50%);
    width: min(520px, calc(100% - 40px));
    max-width: calc(100% - 40px);
    justify-content: center;
    text-align: center;
}

.validationBubble--centered::before,
.validationBubble--centered::after {
    left: 50%;
    transform: translateX(-50%);
}

.insiderDobItem {
    position: relative;
    width: 70px;
    text-align: center;
    display: inline-block;
    margin: 0 4px;
    font-size: 0.8em;
}

.insiderDobItem .input {
    width: 100%;
    text-align: center;
    padding: 6px;
}

.insiderDobItem select.input {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 26px;
    text-align: center;
    text-align-last: center;
    cursor: pointer;
    margin-top: 5px;
}

.insiderDobItem::after {
    content: "";
    position: absolute;
    right: 12px;
    top: calc(50% + 5px);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid rgba(255, 225, 175, 0.78);
    pointer-events: none;
}

.insiderDobDivider {
    display: inline-block;
    color: rgba(255, 255, 255, 0.5);
}

#insiderValidationEmail {
    padding: 5px 25px;
}

#insiderLegalText {
    cursor: pointer;
    font-size: 0.8em;
    display: block;
    padding: 6px 0;
    font-style: italic;
    margin: 10px 0 0;
    color: rgba(255, 255, 255, 0.75);
}

.insiderContractContainer,
.insiderBirthdayContainer,
.insiderEmailContainer,
.insiderSubmitContainer {
    padding: 10px 0;
}

.insiderEmailContainer {
    position: relative;
}

.insiderSubmitContainer {
    text-align: center;
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}



.insiderBirthdayHidden {
    display: none;
}

#insiderBirthdayText {
    display: inline-block;
    vertical-align: middle;
    margin-right: 12px;
}

@media (max-width: 768px) {
    #insiderBirthdayText {
        position: absolute;
        top: 181px;
        margin-right: 0px;
    }
}

.insiderDobItem .validationBubble {
    left: 50%;
    transform: translateX(-50%);
}

.insiderDobItem .validationBubble::before,
.insiderDobItem .validationBubble::after {
    left: 50%;
    transform: translateX(-50%);
}

@media (max-width: 640px) {
    .validationBubble {
        width: min(320px, calc(100vw - 48px));
        white-space: normal;
    }

    .validationBubble--centered {
        width: calc(100% - 24px);
        max-width: calc(100% - 24px);
    }

    .insiderDobItem .validationBubble {
        left: 0;
        transform: none;
    }

    .insiderDobItem .validationBubble::before,
    .insiderDobItem .validationBubble::after {
        left: 18px;
        transform: none;
    }
}

:root {
    --ctaLift: -2px;
    --ctaScale: 1.006;
    --ctaGlow: rgba(255, 215, 140, 0.16);
    --ctaGlowHot: rgba(255, 225, 175, 0.30);
}

.magic-cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    isolation: isolate;
    width: min(420px, 78vw);
    min-width: 0 !important;
    min-height: 62px;
    padding: 14px 26px !important;
    border-radius: 999px;
    background: radial-gradient(120% 180% at 50% 0%,
            rgba(255, 215, 140, 0.10) 0%,
            rgba(0, 0, 0, 0.78) 52%,
            rgba(0, 0, 0, 0.74) 100%) !important;
    border: 2px solid rgba(255, 235, 190, 0.14) !important;
    cursor: pointer;
    overflow: hidden;
    text-decoration: none;
    font: inherit;
    -webkit-appearance: none;
    appearance: none;
    will-change: transform, box-shadow, filter;
    transform: translateY(0) scale(1);
    transition:
        transform 320ms cubic-bezier(.22, 1, .36, 1),
        box-shadow 320ms cubic-bezier(.22, 1, .36, 1),
        filter 320ms cubic-bezier(.22, 1, .36, 1),
        background 320ms ease;
}

.magic-cta::before {
    z-index: 0;
}

.magic-cta::after {
    z-index: 1;
}

.magic-cta__label,
.magic-cta__sheen,
.magic-cta__ring {
    z-index: 2;
}

.magic-cta__label {
    position: relative;
    display: inline-block;
    font-size: clamp(13px, 1.25vw, 15px) !important;
    letter-spacing: 2.2px !important;
    line-height: 1;
    text-transform: uppercase;
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0.96) 0%,
            rgba(255, 245, 220, 0.92) 18%,
            rgba(255, 215, 140, 0.92) 55%,
            rgba(170, 110, 35, 0.86) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transition: transform 320ms cubic-bezier(.22, 1, .36, 1), text-shadow 320ms ease, filter 320ms ease;
}

.magic-cta__sheen {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 1;
    background:
        linear-gradient(106deg,
            transparent 18%,
            rgba(255, 255, 255, 0.00) 35%,
            rgba(255, 248, 225, 0.12) 49%,
            rgba(255, 225, 175, 0.22) 54%,
            rgba(255, 248, 225, 0.08) 60%,
            transparent 74%),
        radial-gradient(90% 110% at var(--mx, 50%) -10%, rgba(255, 255, 255, 0.10), transparent 46%);
    mix-blend-mode: normal;
    transform: translate3d(-28%, 0, 0) rotate(8deg);
    transition: transform 600ms cubic-bezier(.22, 1, .36, 1), opacity 280ms ease;
}

.magic-cta__fill {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    transform: scaleX(0);
    transform-origin: 0% 50%;
    /* "Vial fill" feel: burnished gold core + edge vignette + subtle internal highlight */
    background:
        linear-gradient(90deg,
            rgba(120, 80, 22, 0.78) 0%,
            rgba(165, 120, 38, 0.68) 22%,
            rgba(255, 215, 140, 0.42) 58%,
            rgba(255, 215, 140, 0.00) 100%),
        radial-gradient(120% 120% at 0% 50%, rgba(0, 0, 0, 0.44), transparent 56%),
        radial-gradient(120% 120% at 100% 50%, rgba(0, 0, 0, 0.40), transparent 58%),
        radial-gradient(70% 140% at var(--mx, 50%) 50%, rgba(255, 255, 255, 0.10), transparent 60%);
    mix-blend-mode: normal;
    filter: saturate(1.18) contrast(1.06);
    box-shadow:
        inset 0 0 0 1px rgba(255, 60, 50, 0.16),
        inset 0 16px 34px rgba(0, 0, 0, 0.44);
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.magic-cta__fill::before {
    content: '';
    position: absolute;
    inset: -25% -30%;
    background:
        radial-gradient(closest-side at 22% 50%, rgba(255, 255, 255, 0.18), transparent 62%),
        linear-gradient(90deg, rgba(255, 255, 255, 0.00), rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.00));
    opacity: 0;
    transform: translateX(-22%) rotate(7deg);
    mix-blend-mode: screen;
    pointer-events: none;
}

.magic-cta__ring {
    position: absolute;
    inset: -7px;
    opacity: .9;
    background:
        conic-gradient(from 210deg,
            rgba(255, 225, 175, 0.00) 0deg,
            rgba(255, 225, 175, 0.18) 34deg,
            rgba(255, 225, 175, 0.00) 68deg,
            rgba(255, 225, 175, 0.00) 360deg);
    -webkit-mask: radial-gradient(circle, transparent 69%, #000 71%);
    mask: radial-gradient(circle, transparent 69%, #000 71%);
    transition: transform 700ms cubic-bezier(.22, 1, .36, 1), opacity 240ms ease, filter 240ms ease;
    filter: blur(.3px);
}

.magic-cta .magic-cta__pulse,
.magic-cta .magic-cta__glow {
    pointer-events: none;
}

.magic-cta>.magic-cta__aura,
.magic-cta>.magic-cta__pulse {
    position: absolute;
    inset: -18px;
    border-radius: inherit;
    pointer-events: none;
    z-index: -1;
}

.magic-cta>.magic-cta__aura {
    background: radial-gradient(70% 120% at var(--mx, 50%) var(--my, 50%), var(--ctaGlowHot), transparent 56%);
    opacity: 0;
    filter: blur(18px);
    transition: opacity 320ms ease;
}

.magic-cta>.magic-cta__pulse {
    inset: -10px;
    border: 1px solid rgba(255, 225, 175, 0.12);
    opacity: 0;
    transform: scale(.985);
}

@media (hover:hover) and (pointer:fine) {
    .magic-cta:hover {
        transform: translateY(var(--ctaLift)) scale(var(--ctaScale));
        filter: brightness(1.04);
        box-shadow:
            0 38px 110px rgba(0, 0, 0, 0.72),
            0 0 0 2px rgba(255, 235, 190, 0.10),
            0 0 34px var(--ctaGlow),
            inset 0 1px 0 rgba(255, 255, 255, 0.14),
            inset 0 -1px 0 rgba(0, 0, 0, 0.72) !important;
    }

    .magic-cta:hover>.magic-cta__aura {
        opacity: 1;
    }

    .magic-cta:hover .magic-cta__label {
        transform: translateY(-1px);
        text-shadow:
            0 12px 28px rgba(0, 0, 0, 0.76),
            0 0 18px rgba(255, 215, 140, 0.18);
        filter: drop-shadow(0 0 10px rgba(255, 215, 140, 0.18));
    }

    .magic-cta:hover .magic-cta__sheen {
        transform: translate3d(28%, 0, 0) rotate(8deg);
    }

    .magic-cta:hover .magic-cta__ring {
        transform: rotate(148deg) scale(1.01);
        opacity: 1;
        filter: blur(0px);
    }
}

.magic-cta:focus-visible {
    outline: none;
    box-shadow:
        0 0 0 1px rgba(255, 245, 220, 0.28),
        0 0 0 5px rgba(255, 215, 140, 0.12),
        0 28px 84px rgba(0, 0, 0, 0.68),
        inset 0 1px 0 rgba(255, 255, 255, 0.14),
        inset 0 -1px 0 rgba(0, 0, 0, 0.72) !important;
}

.magic-cta:active,
.magic-cta.is-pressed {
    transform: translateY(0) scale(.992);
    filter: brightness(1.08);
    box-shadow:
        0 16px 52px rgba(0, 0, 0, 0.64),
        0 0 26px rgba(255, 225, 175, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.16),
        inset 0 -1px 0 rgba(0, 0, 0, 0.74) !important;
}

.magic-cta:active .magic-cta__fill,
.magic-cta.is-pressed .magic-cta__fill {
    animation: ctaFillSweep 1120ms cubic-bezier(.22, 1, .36, 1) forwards;
}

.magic-cta:active .magic-cta__fill::before {
    animation: ctaFillShimmer 1120ms cubic-bezier(.22, 1, .36, 1) forwards;
}

@keyframes ctaFillSweep {
    0% {
        opacity: 0;
        transform: scaleX(0);
    }

    12% {
        opacity: 1;
        transform: scaleX(.14);
    }

    60% {
        opacity: 1;
        transform: scaleX(1);
    }

    92% {
        opacity: 1;
        transform: scaleX(1);
    }

    100% {
        opacity: 0;
        transform: scaleX(1);
    }
}

@keyframes ctaFillShimmer {
    0% {
        opacity: 0;
        transform: translateX(-34%) rotate(7deg);
    }

    16% {
        opacity: .92;
    }

    72% {
        opacity: .62;
        transform: translateX(22%) rotate(7deg);
    }

    100% {
        opacity: 0;
        transform: translateX(42%) rotate(7deg);
    }
}

@media (max-width: 768px) {
    .magic-cta {
        width: min(360px, 84vw);
        min-height: 58px;
        padding: 12px 20px !important;
    }

    .magic-cta__label {
        font-size: 15px !important;
        letter-spacing: 2.2px !important;
    }
}

.magic-cta:active .magic-cta__label,
.magic-cta.is-pressed .magic-cta__label {
    transform: translateY(1px) scale(.995);
}

.magic-cta:active .magic-cta__ring,
.magic-cta.is-pressed .magic-cta__ring {
    animation: ctaOrbitalHit 680ms cubic-bezier(.18, .89, .32, 1.12) forwards;
}

.magic-cta:active>.magic-cta__pulse,
.magic-cta.is-pressed>.magic-cta__pulse {
    animation: ctaPulse 760ms cubic-bezier(.22, 1, .36, 1) forwards;
}

@keyframes ctaOrbitalHit {
    0% {
        transform: rotate(0deg) scale(.985);
        opacity: .35;
    }

    50% {
        transform: rotate(118deg) scale(1.01);
        opacity: 1;
    }

    100% {
        transform: rotate(222deg) scale(1.02);
        opacity: 0;
    }
}

@keyframes ctaPulse {
    0% {
        opacity: .55;
        transform: scale(.98);
    }

    100% {
        opacity: 0;
        transform: scale(1.045);
    }
}

.magic-cta--submit {
    height: 56px;
    min-width: 176px !important;
    width: 176px;
    padding: 0 22px;
}

@media (max-width: 768px) {
    .magic-cta--submit {
        min-width: 170px !important;
    }
}

.magic-cta--submit .magic-cta__label {
    font-size: 12px;
    letter-spacing: 2px;
}

/* FX canvas (particles + cursor trails) */
.fx-canvas {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 4;
    opacity: 1;
    transition: opacity 900ms ease;
}

@media (max-width: 820px) {
    .fx-canvas {
        opacity: 0.55;
    }
}

@media (prefers-reduced-motion: reduce) {

    .magic-cta,
    .magic-cta__label,
    .magic-cta__sheen,
    .magic-cta__ring {
        transition: none !important;
        animation: none !important;
    }
}

#insiderFormUnavailable {
    color: #ff5c5c;
    font-style: italic;
    text-align: center;
}

#insiderFormComplete {
    font-style: italic;
    text-align: center;
}

#insiderLegalText a {
    font-weight: bold;
    text-decoration: underline;
    color: #fff;
}

.insider-form .input {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: #000;
    color: #fff;
    outline: none;
    border-radius: 6px;
}

@media (max-width: 768px) {
    .email-popup__card {
        width: min(520px, 94vw);
        padding: 18px;
    }

    .insiderDobItem {
        width: 62px;
        margin: 0 2px;
    }
}

@media (max-width: 768px) {
    .email-popup__form {
        grid-template-columns: 1fr;
    }
}

/* Hide iOS-only icon unless on iOS */
.ios-only {
    display: none;
}

body.ios .ios-only {
    display: inline-flex;
}

/* Mobile spacing */
@media (max-width: 768px) {
    .corner-ui {
        /* bottom: 20px; */
        gap: 12px;
    }

    .corner-ui.left {
        left: 16px;
    }

    .corner-ui.right {
        right: 16px;
    }

    .icon-btn {
        width: 20px;
        height: 20px;
    }
}


/* ===========================
   v30 UI REFINEMENTS (on top of v20 working BG)
   - Skip centered in bottom letterbox
   - Footer icons: more padding, bigger, refined hover ring (desktop only)
   - Coming Soon + Legal hierarchy (softer)
   =========================== */

:root {
    --safeB: env(safe-area-inset-bottom, 0px);
    --safeL: env(safe-area-inset-left, 0px);
    --safeR: env(safe-area-inset-right, 0px);
    --goldA: rgba(255, 215, 120, 0.14);
    --goldB: rgba(255, 215, 120, 0.34);
    --ctaLift: -2px;
    /* --ctaScale: 1.006; */
    --ctaScale: 0.806;
    --ctaGlow: rgba(255, 215, 140, 0.16);
    --ctaGlowHot: rgba(255, 225, 175, 0.30);
}

/* Skip → bottom-center (letterbox zone), distinct from Tap */
.intro-skip {
    right: auto !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    bottom: calc(28px + var(--safeB)) !important;
    background: rgba(0, 0, 0, 0.24) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    color: rgba(255, 255, 255, 0.70) !important;
}

/* Footer icon edge padding + safe-area */
.corner-ui {
    /* bottom: calc(44px + var(--safeB)) !important; */
    /* bottom: calc(4px + var(--safeB)) !important; */
    opacity: 0;
    /* hidden until landing */
    pointer-events: none;
    transition: opacity 700ms ease;
}

.corner-ui.left {
    left: calc(32px + var(--safeL)) !important;
}

.corner-ui.right {
    right: calc(32px + var(--safeR)) !important;
}

/* Show icons only after landing is live */
body.landing-bg .corner-ui {
    opacity: 0.96 !important;
    pointer-events: auto;
}

body.intro .corner-ui,
body.resolving .corner-ui {
    opacity: 0 !important;
    pointer-events: none;
}

/* Bigger icons (desktop) */
.icon-btn {
    width: 26px !important;
    height: 26px !important;
    opacity: 0.82 !important;
}

.icon-btn:hover {
    opacity: 0.96 !important;
}

/* Desktop-only ring loader hover */
@media (hover:hover) and (pointer:fine) {
    .icon-btn {
        position: relative;
    }

    .icon-btn::before {
        content: "";
        position: absolute;
        inset: -7px;
        border-radius: 999px;
        border: 1px solid rgba(255, 255, 255, 0.10);
        opacity: 0.55;
        transition: opacity 240ms ease, border-color 240ms ease;
    }

    .icon-btn::after {
        content: "";
        position: absolute;
        inset: -7px;
        border-radius: 999px;
        opacity: 0;
        background: conic-gradient(rgba(255, 215, 120, 0.00) 0deg,
                var(--goldB) 78deg,
                rgba(255, 215, 120, 0.00) 150deg,
                rgba(255, 215, 120, 0.00) 360deg);
        -webkit-mask: radial-gradient(circle, transparent 62%, #000 63%);
        mask: radial-gradient(circle, transparent 62%, #000 63%);
        transform: rotate(-90deg);
        transition: opacity 240ms ease;
    }

    .icon-btn:hover::before {
        opacity: 0.9;
        border-color: var(--goldA);
    }

    .icon-btn:hover::after {
        opacity: 1;
        animation: ringSweep 900ms ease forwards;
    }

    @keyframes ringSweep {
        0% {
            transform: rotate(-90deg);
        }

        100% {
            transform: rotate(230deg);
        }
    }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .corner-ui {
        /* bottom: calc(90px + var(--safeB)) !important; */
        /* bottom: calc(56px + var(--safeB)) !important; */
    }

    .corner-ui.left {
        left: calc(22px + var(--safeL)) !important;
    }

    .corner-ui.right {
        right: calc(22px + var(--safeR)) !important;
    }

    .icon-btn {
        width: 22px !important;
        height: 22px !important;
    }
}

/* Hierarchy: Coming Soon + Legal */
.coming {
    /* color: rgba(255, 255, 255, 0.52) !important; */
    /* color: #fdca73 !important; */
    font-size: 20px !important;
    letter-spacing: 2.4px !important;

    text-transform: uppercase;
    color: transparent;
    text-shadow: rgba(0, 0, 0, 0.72) 0px 10px 26px, rgba(255, 215, 140, 0.1) 0px 0px 14px;
    font-weight: 600 !important;
    background: linear-gradient(rgba(255, 255, 255, 0.96) 0%, rgba(255, 245, 220, 0.92) 18%, rgba(255, 215, 140, 0.92) 55%, rgba(170, 110, 35, 0.86) 100%) text;
    transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1), text-shadow 320ms, filter 320ms;
}

/* Email updates CTA */
.updates-cta {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px auto 6px;
    width: min(92vw, 720px);
    position: relative;
    z-index: 8;
}

.magic-cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: min(420px, 78vw);
    min-height: 62px;
    padding: 14px 26px !important;
    border-radius: 999px;
    border: 2px solid rgba(255, 235, 190, 0.14) !important;
    background: radial-gradient(120% 180% at 50% 0%,
            rgba(255, 215, 140, 0.10) 0%,
            rgba(0, 0, 0, 0.78) 52%,
            rgba(0, 0, 0, 0.74) 100%) !important;
    box-shadow:
        0 26px 86px rgba(0, 0, 0, 0.62),
        inset 0 1px 0 rgba(255, 255, 255, 0.10),
        inset 0 -1px 0 rgba(0, 0, 0, 0.62) !important;
    text-decoration: none;
    overflow: hidden;
    cursor: pointer;
    isolation: isolate;
    transform: translateY(0) scale(0.8);
    transition:
        transform 320ms cubic-bezier(.22, 1, .36, 1),
        box-shadow 320ms cubic-bezier(.22, 1, .36, 1),
        filter 320ms cubic-bezier(.22, 1, .36, 1),
        background 320ms ease;
    clip-path: inset(0 round 999px);
    will-change: transform, box-shadow, filter;
}

.magic-cta::before {
    content: "";
    position: absolute;
    inset: -3px !important;
    border-radius: 999px;
    padding: 3px !important;
    background: linear-gradient(180deg,
            rgba(255, 245, 220, 0.62) 0%,
            rgba(255, 215, 140, 0.92) 22%,
            rgba(130, 85, 25, 0.78) 54%,
            rgba(255, 215, 140, 0.74) 78%,
            rgba(255, 245, 220, 0.34) 100%) !important;
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 1 !important;
    z-index: 0;
}

.magic-cta::after {
    content: "";
    position: absolute;
    inset: 3px;
    border-radius: 999px;
    background: radial-gradient(140% 140% at 50% 0%,
            rgba(255, 255, 255, 0.12) 0%,
            rgba(255, 255, 255, 0.00) 62%);
    pointer-events: none;
    opacity: 0.95;
    z-index: 1;
}

.magic-cta__label,
.magic-cta__sheen,
.magic-cta__ring {
    z-index: 2;
}

.magic-cta__label {
    position: relative;
    display: inline-block;
    /* font-size: clamp(11px, 0.95vw, 13px) !important; */
    font-size: clamp(13px, 1.25vw, 15px) !important;
    letter-spacing: 2.2px !important;
    line-height: 1;
    text-transform: uppercase;
    font-weight: 600 !important;
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0.96) 0%,
            rgba(255, 245, 220, 0.92) 18%,
            rgba(255, 215, 140, 0.92) 55%,
            rgba(170, 110, 35, 0.86) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow:
        0 10px 26px rgba(0, 0, 0, 0.72),
        0 0 14px rgba(255, 215, 140, 0.10);
    transition: transform 320ms cubic-bezier(.22, 1, .36, 1), text-shadow 320ms ease, filter 320ms ease;
}

.magic-cta__sheen {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 1;
    background:
        linear-gradient(106deg,
            transparent 18%,
            rgba(255, 255, 255, 0.00) 35%,
            rgba(255, 248, 225, 0.12) 49%,
            rgba(255, 225, 175, 0.22) 54%,
            rgba(255, 248, 225, 0.08) 60%,
            transparent 74%),
        radial-gradient(90% 110% at var(--mx, 50%) -10%, rgba(255, 255, 255, 0.10), transparent 46%);
    transform: translate3d(-28%, 0, 0) rotate(8deg);
    transition: transform 600ms cubic-bezier(.22, 1, .36, 1), opacity 280ms ease;
}

.magic-cta__fill {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    transform: scaleX(0);
    transform-origin: 0% 50%;
    /* "Vial fill" feel: burnished gold core + edge vignette + subtle internal highlight */
    background:
        linear-gradient(90deg,
            rgba(120, 80, 22, 0.78) 0%,
            rgba(165, 120, 38, 0.68) 22%,
            rgba(255, 215, 140, 0.42) 58%,
            rgba(255, 215, 140, 0.00) 100%),
        radial-gradient(120% 120% at 0% 50%, rgba(0, 0, 0, 0.44), transparent 56%),
        radial-gradient(120% 120% at 100% 50%, rgba(0, 0, 0, 0.40), transparent 58%),
        radial-gradient(70% 140% at var(--mx, 50%) 50%, rgba(255, 255, 255, 0.10), transparent 60%);
    mix-blend-mode: normal;
    filter: saturate(1.18) contrast(1.06);
    box-shadow:
        inset 0 0 0 1px rgba(255, 60, 50, 0.16),
        inset 0 16px 34px rgba(0, 0, 0, 0.44);
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.magic-cta__fill::before {
    content: '';
    position: absolute;
    inset: -25% -30%;
    background:
        radial-gradient(closest-side at 22% 50%, rgba(255, 255, 255, 0.18), transparent 62%),
        linear-gradient(90deg, rgba(255, 255, 255, 0.00), rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.00));
    opacity: 0;
    transform: translateX(-22%) rotate(7deg);
    mix-blend-mode: screen;
    pointer-events: none;
}

.magic-cta__ring {
    position: absolute;
    inset: -7px;
    opacity: .9;
    background:
        conic-gradient(from 210deg,
            rgba(255, 225, 175, 0.00) 0deg,
            rgba(255, 225, 175, 0.18) 34deg,
            rgba(255, 225, 175, 0.00) 68deg,
            rgba(255, 225, 175, 0.00) 360deg);
    -webkit-mask: radial-gradient(circle, transparent 69%, #000 71%);
    mask: radial-gradient(circle, transparent 69%, #000 71%);
    transition: transform 700ms cubic-bezier(.22, 1, .36, 1), opacity 240ms ease, filter 240ms ease;
    filter: blur(.3px);
}

.magic-cta>.magic-cta__aura,
.magic-cta>.magic-cta__pulse {
    position: absolute;
    inset: -18px;
    border-radius: inherit;
    pointer-events: none;
    z-index: -1;
}

.magic-cta>.magic-cta__aura {
    background: radial-gradient(70% 120% at var(--mx, 50%) var(--my, 50%), var(--ctaGlowHot), transparent 56%);
    opacity: 0;
    filter: blur(18px);
    transition: opacity 320ms ease;
}

.magic-cta>.magic-cta__pulse {
    inset: -10px;
    border: 1px solid rgba(255, 225, 175, 0.12);
    opacity: 0;
    transform: scale(.985);
}

@media (hover:hover) and (pointer:fine) {
    .magic-cta:hover {
        transform: translateY(var(--ctaLift)) scale(var(--ctaScale));
        filter: brightness(1.04);
        box-shadow:
            0 38px 110px rgba(0, 0, 0, 0.72),
            0 0 0 2px rgba(255, 235, 190, 0.10),
            0 0 34px var(--ctaGlow),
            inset 0 1px 0 rgba(255, 255, 255, 0.14),
            inset 0 -1px 0 rgba(0, 0, 0, 0.72) !important;
    }

    .magic-cta:hover>.magic-cta__aura {
        opacity: 1;
    }

    .magic-cta:hover .magic-cta__label {
        transform: translateY(-1px);
        text-shadow:
            0 12px 28px rgba(0, 0, 0, 0.76),
            0 0 18px rgba(255, 215, 140, 0.18);
        filter: drop-shadow(0 0 10px rgba(255, 215, 140, 0.18));
    }

    .magic-cta:hover .magic-cta__sheen {
        transform: translate3d(28%, 0, 0) rotate(8deg);
    }

    .magic-cta:hover .magic-cta__ring {
        transform: rotate(148deg) scale(1.01);
        opacity: 1;
        filter: blur(0px);
    }
}

@media (hover:hover) and (pointer:fine) {

    body:not(.cta-ready) .magic-cta:hover .magic-cta__sheen,
    body:not(.cta-ready) .magic-cta:hover .magic-cta__ring {
        opacity: 0 !important;
        animation: none !important;
    }
}

.magic-cta:focus-visible {
    outline: none;
    box-shadow:
        0 0 0 1px rgba(255, 245, 220, 0.28),
        0 0 0 5px rgba(255, 215, 140, 0.12),
        0 28px 84px rgba(0, 0, 0, 0.68),
        inset 0 1px 0 rgba(255, 255, 255, 0.14),
        inset 0 -1px 0 rgba(0, 0, 0, 0.72) !important;
}

.magic-cta:active,
.magic-cta.is-pressed,
.magic-cta.is-opening {
    transform: translateY(0) scale(.792);
    filter: brightness(1.08);
    box-shadow:
        0 16px 52px rgba(0, 0, 0, 0.64),
        0 0 26px rgba(255, 225, 175, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.16),
        inset 0 -1px 0 rgba(0, 0, 0, 0.74) !important;
}

.magic-cta:active .magic-cta__fill,
.magic-cta.is-pressed .magic-cta__fill,
.magic-cta.is-opening .magic-cta__fill {
    animation: ctaFillSweep 1120ms cubic-bezier(.22, 1, .36, 1) forwards;
}

.magic-cta.is-opening .magic-cta__fill::before,
.magic-cta:active .magic-cta__fill::before {
    animation: ctaFillShimmer 1120ms cubic-bezier(.22, 1, .36, 1) forwards;
}

.magic-cta:active .magic-cta__label,
.magic-cta.is-pressed .magic-cta__label,
.magic-cta.is-opening .magic-cta__label {
    transform: translateY(1px) scale(.995);
}

.magic-cta:active .magic-cta__ring,
.magic-cta.is-pressed .magic-cta__ring,
.magic-cta.is-opening .magic-cta__ring {
    animation: ctaOrbitalHit 680ms cubic-bezier(.18, .89, .32, 1.12) forwards;
}

.magic-cta:active>.magic-cta__pulse,
.magic-cta.is-pressed>.magic-cta__pulse,
.magic-cta.is-opening>.magic-cta__pulse {
    animation: ctaPulse 760ms cubic-bezier(.22, 1, .36, 1) forwards;
}

@keyframes ctaFillSweep {
    0% {
        opacity: 0;
        transform: scaleX(0);
    }

    12% {
        opacity: 1;
        transform: scaleX(.14);
    }

    60% {
        opacity: 1;
        transform: scaleX(1);
    }

    92% {
        opacity: 1;
        transform: scaleX(1);
    }

    100% {
        opacity: 0;
        transform: scaleX(1);
    }
}

@keyframes ctaFillShimmer {
    0% {
        opacity: 0;
        transform: translateX(-34%) rotate(7deg);
    }

    16% {
        opacity: .92;
    }

    72% {
        opacity: .62;
        transform: translateX(22%) rotate(7deg);
    }

    100% {
        opacity: 0;
        transform: translateX(42%) rotate(7deg);
    }
}

@keyframes ctaOrbitalHit {
    0% {
        transform: rotate(0deg) scale(.985);
        opacity: .35;
    }

    50% {
        transform: rotate(118deg) scale(1.01);
        opacity: 1;
    }

    100% {
        transform: rotate(222deg) scale(1.02);
        opacity: 0;
    }
}

@keyframes ctaPulse {
    0% {
        opacity: .55;
        transform: scale(.98);
    }

    100% {
        opacity: 0;
        transform: scale(1.045);
    }
}

/* CTA spacing + mobile tune */
.coming {
    margin-top: 4px !important;
    margin-bottom: 26px !important;
}

@media (max-width: 768px) {
    .updates-cta {
        margin: 8px auto 4px;
    }

    .magic-cta {
        width: min(360px, 84vw);
        min-height: 58px;
        padding: 12px 20px !important;
    }

    .magic-cta__label {
        font-size: 15px !important;
        letter-spacing: 2.2px !important;
    }

    .coming {
        margin-top: 4px !important;
        margin-bottom: 40px !important;
    }
}

.legal {
    color: rgba(255, 215, 150, 0.22) !important;
    /* warm + softer */
    font-size: 10px !important;
}


/* ===========================
   v31 MOBILE REFINEMENTS
   - Better vertical balance
   - Title scales down slightly
   - Coming Soon + footer spacing
   - Icon size + safe-area
   =========================== */
@media (max-width: 768px) {

    /* overall stage breathing room */
    .content {
        padding-top: 0vh !important;
        padding-bottom: 150px;
        min-height: 200px;
        margin-top: 0px;
    }

    /* logo sizing + spacing */
    .logo,
    .logo-wrap,
    .logo-wrap picture,
    .logo-wrap .logo,
    .title-el {
        max-width: 78vw !important;
    }

    /* keep title a touch higher to avoid footer crowding */
    .hero {
        transform: translateY(-2vh) !important;
    }

    .coming {
        margin-top: 18px !important;
        font-size: 14px !important;
        letter-spacing: 2.6px !important;
        opacity: 0.62 !important;
    }

    /* Paramount lockup: smaller + more separation from bottom UI */
    .paramount {
        width: 90px !important;
        margin-top: 18px !important;
        /* opacity: 0.92 !important; */
        opacity: 0.48;
    }

    .legal {
        margin-top: 10px !important;
        opacity: 0.55 !important;
    }

    /* Bottom icon UI */
    .corner-ui {
        /* bottom: calc(56px + var(--safeB)) !important; */
    }

    .icon-btn {
        width: 24px !important;
        height: 24px !important;
    }

    /* extra edge padding to feel intentional on mobile */
    .corner-ui.left {
        left: calc(18px + var(--safeL)) !important;
    }

    .corner-ui.right {
        right: calc(18px + var(--safeR)) !important;
    }
}


@media (max-width: 768px) {
    .paramount {
        width: 90px !important;
        margin-bottom: 10px;
    }
}

/* v33: Coming Soon font consistency */
.coming {
    font-family: "Times New Roman", Times, serif !important;
    font-weight: 400 !important;
    text-transform: uppercase;
}

/* v33: Mobile lockup spacing (Paramount + Legal closer) */
@media (max-width: 768px) {
    .paramount {
        width: 90px !important;
        margin-top: 12px !important;
        /* closer to legal */
    }

    .legal {
        margin-top: 6px !important;
        line-height: 1.2;
    }
}


/* v35: Coming Soon timing hard-lock (prevents early flash/disappear across browsers) */
body:not(.ui-reveal) .coming-el {
    opacity: 0 !important;
    transform: translateY(10px) !important;
}

body.ui-reveal .coming-el {
    opacity: 1 !important;
    /* transform: translateY(0) !important; */
}


.small {
    position: relative;
    font-family: futura-pt, sans-serif;
    font-size: 11px;
    font-style: normal;
    line-height: 14px;
    letter-spacing: 0.2px;


    color: rgba(255, 255, 255, 0.48);
    text-decoration: none;
    opacity: 0.92;
    transition: color 240ms ease, opacity 240ms ease;
    -webkit-tap-highlight-color: transparent;
}

a.small::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -3px;
    height: 1px;
    background: rgba(255, 215, 120, 0.60);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 360ms ease, opacity 240ms ease;
    /* opacity: 0.0; */
}

@media (hover:hover) and (pointer:fine) {
    a.small::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: -4px;
        height: 1px;
        background: rgba(255, 215, 120, 0.0);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 260ms ease, background 260ms ease;
    }

    a.small:hover {
        color: rgba(255, 235, 190, 0.88);
    }

    a.small:hover::after {
        background: rgba(255, 215, 120, 0.55);
        transform: scaleX(1);
    }
}

@media (max-width: 768px) {
    .small {
        font-size: 9px;
    }
}

.legalLinks {
    margin-top: 6px;
    text-align: center;
}

.footer__links__IaLFx {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0;
    margin: 0;
    row-gap: 6px;
}

.footer__links__IaLFx .legal-link {
    position: relative;
    padding: 0 12px;
    color: rgba(255, 255, 255, 0.86);
}

.footer__links__IaLFx .legal-link+.legal-link::before {
    content: "•";
    position: absolute;
    left: -2px;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s;
}

.updates-cta {
    transition: opacity 900ms ease, transform 900ms ease;
}

/* ===========================
   Email Popup — site-v2 styling
   =========================== */
.email-popup {
    display: grid;
    place-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 360ms ease;
}

.email-popup.is-open {
    opacity: 1;
    pointer-events: auto;
}

.email-popup__backdrop {
    background:
        radial-gradient(circle at 50% 34%, rgba(255, 215, 140, 0.14), transparent 44%),
        radial-gradient(circle at 50% 70%, rgba(0, 0, 0, 0.18), transparent 58%),
        rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(22px) saturate(1.06);
    -webkit-backdrop-filter: blur(22px) saturate(1.06);
}

.email-popup__card {
    width: min(560px, calc(100vw - 40px));
    border-radius: 28px;
    border: 1px solid rgba(255, 225, 175, 0.16);
    background:
        radial-gradient(120% 140% at 50% 0%, rgba(255, 215, 140, 0.12), transparent 56%),
        radial-gradient(90% 120% at 20% 10%, rgba(255, 255, 255, 0.06), transparent 55%),
        linear-gradient(180deg, rgba(26, 26, 26, 0.46), rgba(12, 12, 12, 0.38));
    backdrop-filter: blur(18px) saturate(1.06);
    -webkit-backdrop-filter: blur(18px) saturate(1.06);
    box-shadow:
        0 42px 120px rgba(0, 0, 0, 0.72),
        0 0 0 1px rgba(255, 245, 220, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.10),
        inset 0 -1px 0 rgba(0, 0, 0, 0.55);
    overflow: hidden;
    max-height: min(640px, 82vh);
    transform: translate3d(var(--em-tx, 0px), calc(20px + var(--em-ty, 0px)), 0) rotateX(var(--em-rx, 0deg)) rotateY(var(--em-ry, 0deg)) scale(.975);
    opacity: 0;
    transition: transform 420ms cubic-bezier(.22, 1, .36, 1), opacity 320ms ease;
    text-align: center;
    padding: 40px 42px 30px;
}

.email-popup.is-open .email-popup__card {
    transform: translate3d(var(--em-tx, 0px), var(--em-ty, 0px), 0) rotateX(var(--em-rx, 0deg)) rotateY(var(--em-ry, 0deg)) scale(1);
    opacity: 1;
}

@media (max-height: 700px) {
    .email-popup.email-modal .insiderSubmitContainer {
        padding-bottom: 50px;
    }
}

@media (max-height: 780px) {
    .content {
        min-height: 122vh;
    }
}

@media (max-height: 630px) {
    .content {
        min-height: 760px;
    }
}

/* Email signup modal refresh from site-v3, adapted to keep FE form logic intact */
.email-popup.email-modal {
    position: fixed;
    inset: 0;
    z-index: 40;
    display: grid;
    place-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 360ms ease;
}

.email-popup.email-modal.is-open {
    opacity: 1;
    pointer-events: auto;
}

.email-popup.email-modal .email-popup__backdrop {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 34%, rgba(255, 215, 140, 0.12), transparent 44%),
        radial-gradient(circle at 50% 72%, rgba(0, 0, 0, 0.12), transparent 60%),
        rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(18px) saturate(1.06);
    -webkit-backdrop-filter: blur(18px) saturate(1.06);
}

.email-popup.email-modal .email-popup__card {
    position: relative;
    width: min(560px, calc(100vw - 40px));
    max-height: min(680px, 88vh);
    overflow: hidden;
    border-radius: 28px;
    border: 1px solid rgba(255, 225, 175, 0.16);
    background:
        radial-gradient(120% 140% at 50% 0%, rgba(255, 215, 140, 0.12), transparent 56%),
        radial-gradient(90% 120% at 20% 10%, rgba(255, 255, 255, 0.06), transparent 55%),
        linear-gradient(180deg, rgba(26, 26, 26, 0.46), rgba(12, 12, 12, 0.38));
    backdrop-filter: blur(18px) saturate(1.06);
    -webkit-backdrop-filter: blur(18px) saturate(1.06);
    box-shadow:
        0 42px 120px rgba(0, 0, 0, 0.72),
        0 0 0 1px rgba(255, 245, 220, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.10),
        inset 0 -1px 0 rgba(0, 0, 0, 0.55);
    transform: translate3d(var(--em-tx, 0px), calc(20px + var(--em-ty, 0px)), 0) rotateX(var(--em-rx, 0deg)) rotateY(var(--em-ry, 0deg)) scale(.975);
    opacity: 0;
    transition: transform 420ms cubic-bezier(.22, 1, .36, 1), opacity 320ms ease;
}

.email-popup.email-modal.is-open .email-popup__card {
    transform: translate3d(var(--em-tx, 0px), var(--em-ty, 0px), 0) rotateX(var(--em-rx, 0deg)) rotateY(var(--em-ry, 0deg)) scale(1);
    opacity: 1;
}

.email-popup.email-modal.is-open,
.email-popup.email-modal.is-open .email-modal__backdrop {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cline x1='9' y1='9' x2='23' y2='23' stroke='%23ffd78c' stroke-width='2.4' stroke-linecap='round'/%3E%3Cline x1='23' y1='9' x2='9' y2='23' stroke='%23ffd78c' stroke-width='2.4' stroke-linecap='round'/%3E%3Ccircle cx='16' cy='16' r='7.8' fill='none' stroke='%23ffd78c' stroke-opacity='0.18' stroke-width='1'/%3E%3C/svg%3E") 16 16, auto;
}

.email-popup.email-modal .email-popup__card,
.email-popup.email-modal .email-popup__card * {
    cursor: auto;
}

.email-popup.email-modal .email-popup__card::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    background:
        radial-gradient(110% 140% at 50% 10%, rgba(255, 255, 255, 0.06), transparent 52%),
        radial-gradient(120% 160% at 50% 120%, rgba(0, 0, 0, 0.42), transparent 58%);
    opacity: 0.42;
    mix-blend-mode: soft-light;
}

.email-popup.email-modal .email-popup__card::before {
    content: "";
    position: absolute;
    inset: -30% -30%;
    pointer-events: none;
    border-radius: inherit;
    background: linear-gradient(110deg,
            transparent 38%,
            rgba(255, 248, 225, 0.00) 46%,
            rgba(255, 248, 225, 0.10) 50%,
            rgba(255, 215, 140, 0.16) 54%,
            rgba(255, 248, 225, 0.06) 58%,
            transparent 68%);
    transform: translateX(-120%) rotate(10deg);
    opacity: 0;
    mix-blend-mode: screen;
    animation: emailDialogGleam 5s linear infinite;
}

@keyframes emailDialogGleam {

    0%,
    74% {
        opacity: 0;
        transform: translateX(-120%) rotate(10deg);
    }

    76% {
        opacity: 0.35;
    }

    100% {
        opacity: 0;
        transform: translateX(120%) rotate(10deg);
    }
}

.email-popup.email-modal .email-modal__ornament,
.email-popup.email-modal .email-modal__glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.email-popup.email-modal .email-modal__ornament {
    background:
        radial-gradient(100% 80% at 50% -10%, rgba(255, 255, 255, 0.08), transparent 44%),
        linear-gradient(125deg, transparent 0%, rgba(255, 215, 140, 0.03) 44%, transparent 70%);
}

.email-popup.email-modal .email-modal__glow {
    inset: auto 8% -28% 8%;
    height: 44%;
    background: radial-gradient(circle at 50% 0%, rgba(255, 215, 140, 0.16), transparent 70%);
    filter: blur(36px);
    opacity: 0.8;
}

.email-popup.email-modal .email-modal__inner {
    position: relative;
    /* padding: 38px 40px 32px; */
    text-align: center;
    overflow-y: auto;
    max-height: inherit;
}

.email-popup.email-modal .email-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid rgba(255, 225, 175, 0.18);
    background: rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: grid;
    place-items: center;
    color: rgba(255, 240, 210, 0.88);
    cursor: pointer;
    transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
    z-index: 2;
}

.email-popup.email-modal .email-modal__close:hover {
    transform: scale(1.05);
    background: rgba(0, 0, 0, 0.26);
    border-color: rgba(255, 225, 175, 0.26);
}

.email-popup.email-modal .email-modal__close span {
    font-size: 13px;
    line-height: 1;
    transform: translateY(-1px);
}

.email-popup.email-modal .email-modal__headline {
    margin: 0 0 12px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.25;
    color: rgba(255, 225, 175, 0.92);
    text-shadow: 0 6px 18px rgba(0, 0, 0, 0.55);
}

.email-popup.email-modal .email-modal__logo-wrap {
    display: grid;
    place-items: center;
    margin: 0 0 12px;
}

.email-popup.email-modal .email-modal__logo {
    width: min(260px, 70%);
    max-height: 140px;
    height: auto;
    object-fit: contain;
    /* opacity: 0.92; */
    opacity: 1;
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.55));
    
}

.email-popup.email-modal #insiderSignupForm {
    display: block;
}

.email-popup.email-modal .email-modal__form {
    display: block;
    text-align: left;
    margin-top: 4px;
}

.email-popup.email-modal #insiderWrapper {
    width: min(478px, 100%);
    margin: 0 auto;
}

.email-popup.email-modal .insiderEmailContainer,
.email-popup.email-modal .insiderDobItem {
    position: relative;
}

.email-popup.email-modal .email-modal__label {
    display: block;
    margin: 0 0 8px;
    font-family: "Times New Roman", Times, serif;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 12px;
    color: rgba(255, 225, 175, 0.72);
}

.email-popup.email-modal .insiderEmailContainer label,
.email-popup.email-modal #insiderBirthdayText {
    margin-bottom: 8px;
}

/* Shared base — border + transition only */
.email-popup.email-modal .email-modal__input,
.email-popup.email-modal .email-modal__select {
    width: 100%;
    min-width: 0;
    border: 1px solid rgba(255, 225, 175, 0.18);
    border-radius: 999px;
    transition: border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

/* Email input — site-v3: lighter frosted glass */
.email-popup.email-modal .email-modal__input {
    height: 56px;
    padding: 0 18px;
    font-size: 15px;
    outline: none;
    color: rgba(255, 255, 255, 0.92);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0.10));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        inset 0 -1px 0 rgba(0, 0, 0, 0.55);
}

.email-popup.email-modal .email-modal__input::placeholder {
    color: rgba(255, 255, 255, 0.34);
}

.email-popup.email-modal .email-modal__input:focus {
    border-color: rgba(255, 225, 175, 0.34);
    box-shadow: 0 0 0 4px rgba(255, 215, 140, 0.08);
    background: rgba(255, 255, 255, 0.06);
    outline: none;
}

/* DOB selects — site-v3: darker opaque, warm color, pill */
.email-popup.email-modal .email-modal__select {
    height: 46px;
    /* Extra right padding to clear the custom arrow */
    padding: 0 36px 0 16px;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    color: rgba(255, 245, 225, 0.90);
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.20), rgba(0, 0, 0, 0.08));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        inset 0 -1px 0 rgba(0, 0, 0, 0.30);
    outline: none;
}

/* Option rows — force dark bg so text stays readable in all browsers */
.email-popup.email-modal .email-modal__select option {
    background: #1a1a1a;
    color: rgba(255, 245, 225, 0.90);
}

.email-popup.email-modal .email-modal__select:focus {
    border-color: rgba(255, 225, 175, 0.34);
    box-shadow: 0 0 0 3px rgba(255, 215, 140, 0.10);
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.14));
    outline: none;
}

.email-popup.email-modal .email-modal__dob {
    margin-top: 20px;
}

.email-popup.email-modal .email-modal__dob-head {
    /* display: grid;
    grid-template-columns: 110px 1fr 1fr 1fr;
    gap: 10px;
    align-items: end;
    margin-bottom: 8px; */
    display: flex;
    grid-template-columns: 110px 1fr 1fr 1fr;
    gap: 10px;
    align-items: end;
    margin-bottom: 8px;
    width: 100%;
    justify-content: space-around;
    padding-top: 20px;
}

.email-popup.email-modal .email-modal__dob-sub {
    text-align: center;
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 225, 175, 0.58);
}

.email-popup.email-modal .email-modal__dob-fields {
    display: grid;
    grid-template-columns: 1fr 16px 1fr 16px 1.3fr;
    align-items: center;
    gap: 10px;
    margin-top: 2px;
}

/* site-v3 structure: thin wrapper gives position:relative for the arrow */
.email-popup.email-modal .email-modal__select-wrap {
    position: relative;
    display: block;
    /* width: 100%; */
    width: 134px;
}

@media (max-width: 768px) {
    .email-popup.email-modal .email-modal__select-wrap {
        width: 100%;
    }
}

/* Chevron arrow — sits inside the 36px right-padding zone of the pill */
.email-popup.email-modal .email-modal__select-wrap::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid rgba(255, 225, 175, 0.65);
    pointer-events: none;
}

.email-popup.email-modal #insiderLegalText {
    width: min(520px, 100%);
    margin: 10px 0 0;
    padding: 0;
    font-size: 11px;
    line-height: 1.42;
    color: rgba(235, 235, 235, 0.66);
    font-style: normal;
    cursor: default;
}

.email-popup.email-modal #insiderLegalText p {
    margin: 0 0 10px;
}

.email-popup.email-modal #insiderLegalText p:last-child {
    margin-bottom: 0;
}

.email-popup.email-modal #insiderLegalText a {
    color: rgba(255, 225, 175, 0.86);
    text-decoration: underline;
}

.email-popup.email-modal .insiderSubmitContainer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-top: 14px;
    width: 100%;
}

.email-popup.email-modal .insiderSubmitContainer .magic-cta {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 68px;
    padding: 18px 24px !important;
}

.email-popup.email-modal .insiderSubmitContainer .magic-cta__label {
    font-size: 16px !important;
    letter-spacing: 2px !important;
}

.email-popup.email-modal .magic-cta.magic-cta--cancel {
    filter: saturate(0.90) brightness(0.96);
}

.email-popup.email-modal #insiderFormComplete,
.email-popup.email-modal #insiderFormUnavailable {
    width: min(520px, 100%);
    margin: 12px auto 0;
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 245, 225, 0.88);
    text-align: center;
}

.email-popup.email-modal .validationBubble--centered {
    margin-top: 16px;
}

/* Reset old .insiderDobItem/container padding that bleeds through */
.email-popup.email-modal .insiderContractContainer,
.email-popup.email-modal .insiderBirthdayContainer,
.email-popup.email-modal .insiderEmailContainer {
    padding: 0;
}

/* Fix: ID rule (#insiderValidationEmail) has higher specificity than class rules — override explicitly */
.email-popup.email-modal #insiderValidationEmail {
    padding: 0 18px;
    height: 56px;
    font-size: 15px;
    outline: none;
}

/* Ensure the select fills its wrapper */
.email-popup.email-modal .email-modal__select-wrap .email-modal__select {
    width: 100%;
}

@media (max-width: 520px) {
    .email-popup.email-modal {
        align-items: center;
    }

    .email-popup.email-modal .email-popup__card {
        width: calc(100vw - 20px);
        border-radius: 28px 28px 24px 24px;
        /* max-height: min(700px, 88vh); */
        max-height: min(670px, 88vh);
    }

    .email-popup.email-modal .email-modal__inner {
        padding: 28px 20px 22px;
    }

    .email-popup.email-modal .email-modal__headline {
        margin-bottom: 12px;
    }

    .email-popup.email-modal .email-modal__logo {
        width: min(220px, 68%);
        max-height: 110px;
    }

    .email-popup.email-modal .email-modal__logo-wrap {
        margin-top: 2px;
        margin-bottom: 8px;
    }

    .email-popup.email-modal .email-modal__dob-head {
        /* grid-template-columns: 92px 1fr 1fr 1fr; */
        gap: 10px;
        display: flex !important;

        align-items: center;
        justify-content: space-around;
        width: 97%;
        left: -3%;
        position: relative;
    }

    .email-popup.email-modal .email-modal__dob-fields {
        grid-template-columns: 1fr 12px 1fr 12px 1.15fr;
        gap: 8px;
    }

    .email-popup.email-modal .insiderSubmitContainer {
        grid-template-columns: 1fr;
    }
}

/* When viewport height < 750px, scroll the whole overlay instead of clipping the card */
@media (max-height: 750px) {
    .email-popup.email-modal {
        overflow-y: auto;
        align-items: start;
        padding-block: 24px;
    }

    .email-popup.email-modal .email-popup__card {
        max-height: none;
    }

    .email-popup.email-modal .email-modal__inner {
        overflow-y: visible;
        max-height: none;
    }

    /* Remove the old padding-bottom hack that pushed content above the clipped edge */
    .email-popup.email-modal .insiderSubmitContainer {
        padding-bottom: 0;
    }
}

@media (max-width: 768px) {
    .insiderSubmitContainer {
        gap: 0px;

        display: flex !important;
        grid-template-columns: 1fr 1fr;
        gap: 0px;
        margin-top: 14px;
        width: 100%;
    }

    .email-popup.email-modal .insiderSubmitContainer .magic-cta {
        width: 48.8% !important;
        min-width: 0 !important;
        min-height: 68px;
        padding: 18px 24px !important;
    }


    span#insiderBirthdayText {
        position: absolute !important;
        top: -7px !important;
        left: 8px !important;
        transform: translateY(0px);
    }

    .email-popup.email-modal .email-modal__dob {
        margin-top: 20px;
    }
}

#insiderBirthdayText {
    position: absolute;
    left: 0;
    transform: translateY(-10px);
}



button#ot-sdk-btn {
    display: none !important;
}