:root {
    --vl-age-accent: #e5005a;
}

html.vl-age-locked,
html.vl-age-locked body {
    overflow: hidden !important;
}

html.vl-age-verified #vl-age-gate {
    display: none !important;
}

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

.vl-age-gate {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #fff;
}

.vl-age-backdrop {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 18%, color-mix(in srgb, var(--vl-age-accent) 25%, transparent), transparent 34%),
        rgba(7, 7, 10, 0.94);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
}

.vl-age-dialog {
    position: relative;
    z-index: 2;
    width: min(100%, 520px);
    padding: 38px 36px 30px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 20px;
    background:
        linear-gradient(180deg, rgba(30, 30, 36, 0.97), rgba(14, 14, 18, 0.98));
    box-shadow:
        0 30px 90px rgba(0, 0, 0, 0.58),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    text-align: center;
    outline: none;
}

.vl-age-dialog::before {
    content: "";
    position: absolute;
    top: 0;
    left: 18%;
    right: 18%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--vl-age-accent), transparent);
}

.vl-age-badge {
    width: 88px;
    height: 88px;
    margin: -4px auto 18px;
    border: 3px solid var(--vl-age-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 0 0 7px color-mix(in srgb, var(--vl-age-accent) 10%, transparent),
        0 0 34px color-mix(in srgb, var(--vl-age-accent) 18%, transparent);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.05em;
}

.vl-age-badge span {
    font-size: 38px;
}

.vl-age-badge sup {
    margin: -22px 0 0 2px;
    font-size: 17px;
    letter-spacing: 0;
}

.vl-age-brand {
    margin-bottom: 10px;
    color: var(--vl-age-accent);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.24em;
}

.vl-age-dialog h2 {
    margin: 0 auto 13px;
    max-width: 440px;
    color: #fff;
    font-size: clamp(27px, 5vw, 36px);
    line-height: 1.1;
    letter-spacing: -0.035em;
    font-weight: 800;
}

.vl-age-description {
    margin: 0 auto 26px;
    max-width: 420px;
    color: rgba(255, 255, 255, 0.67);
    font-size: 15px;
    line-height: 1.6;
}

.vl-age-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.vl-age-btn {
    width: 100%;
    min-height: 52px;
    border: 0;
    border-radius: 10px;
    padding: 13px 18px;
    font: inherit;
    font-size: 15px;
    font-weight: 750;
    cursor: pointer;
    transition: transform .16s ease, background .16s ease, border-color .16s ease, opacity .16s ease;
}

.vl-age-btn:hover {
    transform: translateY(-1px);
}

.vl-age-btn:active {
    transform: translateY(0);
}

.vl-age-btn:focus-visible,
.vl-age-legal a:focus-visible {
    outline: 3px solid rgba(255, 255, 255, .85);
    outline-offset: 3px;
}

.vl-age-btn-primary {
    background: var(--vl-age-accent);
    color: #fff;
    box-shadow: 0 10px 28px color-mix(in srgb, var(--vl-age-accent) 24%, transparent);
}

.vl-age-btn-primary:hover {
    filter: brightness(1.07);
}

.vl-age-btn-secondary {
    border: 1px solid rgba(255, 255, 255, .11);
    background: rgba(255, 255, 255, .055);
    color: rgba(255, 255, 255, .76);
}

.vl-age-btn-secondary:hover {
    background: rgba(255, 255, 255, .09);
    color: #fff;
}

.vl-age-note {
    margin: 18px auto 0;
    color: rgba(255, 255, 255, .39);
    font-size: 11px;
    line-height: 1.5;
}

.vl-age-legal {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 18px;
}

.vl-age-legal a {
    color: rgba(255, 255, 255, .47);
    font-size: 11px;
    text-decoration: none;
}

.vl-age-legal a:hover {
    color: #fff;
    text-decoration: underline;
}

@media (max-width: 560px) {
    .vl-age-gate {
        padding: 14px;
    }

    .vl-age-dialog {
        padding: 30px 20px 24px;
        border-radius: 16px;
    }

    .vl-age-badge {
        width: 76px;
        height: 76px;
        margin-bottom: 16px;
    }

    .vl-age-badge span {
        font-size: 33px;
    }

    .vl-age-description {
        font-size: 14px;
        margin-bottom: 22px;
    }
}

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