html.mp-age-gate-pending,
html.mp-age-gate-active {
    overflow: hidden !important;
}

html.mp-age-gate-pending body,
html.mp-age-gate-active body {
    overflow: hidden !important;
    touch-action: none;
}

.mp-age-gate[hidden] {
    display: none !important;
}

.mp-age-gate {
    position: fixed;
    inset: 0;
    z-index: 2147483647;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 320px;
    min-height: 100dvh;
    padding: max(18px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(18px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
    color: #fff;
    background: rgba(3, 2, 7, 0.94);
    box-sizing: border-box;
    overscroll-behavior: contain;
}

.mp-age-gate,
.mp-age-gate * {
    box-sizing: border-box;
}

.mp-age-gate__overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 26% 68%, rgba(142, 44, 202, 0.14), transparent 31%),
        radial-gradient(circle at 72% 58%, rgba(222, 52, 154, 0.16), transparent 28%),
        linear-gradient(180deg, rgba(15, 6, 21, 0.76), rgba(0, 0, 0, 0.96));
}

.mp-age-gate__card {
    position: relative;
    z-index: 1;
    width: min(100%, 430px);
    max-height: calc(100dvh - max(36px, env(safe-area-inset-top)) - max(36px, env(safe-area-inset-bottom)));
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: clamp(28px, 6vw, 36px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 22px;
    background: black;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.54), 0 0 80px rgba(188, 47, 171, 0.12);
    text-align: center;
    outline: none;
}

.mp-age-gate__logo {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 48px;
    margin-bottom: 22px;
}

.mp-age-gate__logo img,
.mp-age-gate__logo svg {
    display: block;
    max-width: min(220px, 76vw);
    max-height: 64px;
    width: auto;
    height: auto;
}

.mp-age-gate__brand-text {
    font-size: clamp(1.75rem, 7vw, 2.25rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    background: linear-gradient(90deg, #fff 0%, #ff5fbd 54%, #7a43ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.mp-age-gate__icon {
    display: grid;
    place-items: center;
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    border-radius: 999px;
    background: linear-gradient(135deg, #f04aa9, #8239d5);
    box-shadow: 0 12px 30px rgba(224, 56, 165, 0.3);
}

.mp-age-gate__icon svg {
    width: 30px;
    height: 30px;
    fill: #fff;
}

.mp-age-gate__eyebrow {
    margin: 0 0 24px;
    color: #ff78c8;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.2em;
}

.mp-age-gate__title {
    margin: 0 0 14px;
    color: #fff;
    font-size: clamp(1.55rem, 8vw, 2rem);
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.mp-age-gate__description {
    margin: 0 auto 14px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.55;
}

.mp-age-gate__terms {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    color: #ff8ed2;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.mp-age-gate__terms:hover,
.mp-age-gate__terms:focus-visible {
    color: #fff;
}

.mp-age-gate__actions {
    display: grid;
    gap: 10px;
}

.mp-age-gate__button {
    width: 100%;
    min-height: 44px;
    border-radius: 10px;
    padding: 12px 18px;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.mp-age-gate__button--primary {
    border: 0;
    color: #fff;
    background: linear-gradient(90deg, #ec3ba0, #bb2f95, #7d3fd4);
    box-shadow: 0 12px 26px rgba(222, 56, 162, 0.25);
}

.mp-age-gate__button--secondary {
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.82);
    background: rgba(8, 5, 13, 0.72);
}

.mp-age-gate__button:hover,
.mp-age-gate__button:focus-visible {
    transform: translateY(-1px);
    outline: 2px solid #ff8ed2;
    outline-offset: 3px;
}

.mp-age-gate__button--secondary:hover,
.mp-age-gate__button--secondary:focus-visible {
    border-color: rgba(255, 142, 210, 0.65);
}

@media (max-width: 360px) {
    .mp-age-gate {
        padding-left: 12px;
        padding-right: 12px;
    }

    .mp-age-gate__card {
        padding: 24px 18px;
        border-radius: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mp-age-gate__button {
        transition: none;
    }
}