.age-gate {
    position: fixed;
    inset: 0;
    z-index: 1000000;
    display: grid;
    place-items: center;
    box-sizing: border-box;
    min-height: 100dvh;
    padding: 24px;
    color: #25212a;
    font-family: "Noto Sans JP", "Zen Kaku Gothic New", sans-serif;
}

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

.age-gate[hidden],
.age-gate-verified .age-gate {
    display: none;
}

.age-gate__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(18, 13, 22, 0.82);
    backdrop-filter: blur(10px);
}

.age-gate__panel {
    position: relative;
    width: min(100%, 520px);
    max-height: calc(100dvh - 48px);
    overflow-y: auto;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.36);
    text-align: center;
}

.age-gate__logo {
    display: block;
    width: min(100%, 250px);
    height: auto;
    margin: 0 auto 24px;
}

.age-gate__eyebrow {
    margin: 0 0 8px;
    color: #b52362;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.age-gate__title {
    margin: 0;
    color: #25212a;
    font-size: clamp(25px, 5vw, 34px);
    line-height: 1.35;
}

.age-gate__description {
    margin: 18px 0 0;
    color: #5f5964;
    font-size: 15px;
    line-height: 1.8;
}

.age-gate__actions {
    display: grid;
    gap: 12px;
    margin-top: 28px;
}

.age-gate__accept,
.age-gate__leave {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 12px 20px;
    border-radius: 999px;
    font: inherit;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
    cursor: pointer;
}

.age-gate__accept {
    border: 1px solid #b52362;
    background: linear-gradient(135deg, #d83278, #a91d5a);
    color: #fff;
    box-shadow: 0 10px 28px rgba(181, 35, 98, 0.28);
}

.age-gate__accept:hover,
.age-gate__accept:focus-visible {
    background: linear-gradient(135deg, #c72b6d, #92174c);
}

.age-gate__leave {
    border: 1px solid #d8d3da;
    background: #fff;
    color: #514b55;
}

.age-gate__leave:hover,
.age-gate__leave:focus-visible {
    border-color: #918994;
    background: #f7f5f7;
}

.age-gate__accept:focus-visible,
.age-gate__leave:focus-visible {
    outline: 3px solid rgba(181, 35, 98, 0.24);
    outline-offset: 3px;
}

.age-gate__note,
.age-gate__noscript {
    margin: 18px 0 0;
    color: #827a85;
    font-size: 12px;
    line-height: 1.6;
}

body.age-gate-open {
    overflow: hidden;
}

@media (max-width: 600px) {
    .age-gate {
        align-items: end;
        padding: 12px;
    }

    .age-gate__panel {
        max-height: calc(100dvh - 24px);
        padding: 30px 22px 24px;
        border-radius: 18px;
    }

    .age-gate__logo {
        width: min(82%, 220px);
        margin-bottom: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .age-gate *,
    .age-gate *::before,
    .age-gate *::after {
        scroll-behavior: auto !important;
    }
}
