:root {
    --vh: 100%;
}


html.age-gate-lock,
body.age-gate-lock {
    overflow: hidden !important;
    height: 100% !important;
}

#age-gate-overlay {
    opacity: 1;
    transition: opacity 0.35s ease;
    will-change: opacity;
    position: fixed;
    inset: 0;
    height: calc(var(--vh) * 100);
    background-size: cover;
    background-position: center;
    backdrop-filter: blur(6px);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
    font-family: var(--default-font-family);
}

#age-gate-overlay.fade-out {
    opacity: 0;
    pointer-events: none;
}


.age-gate-box {
    position: relative;
    width: 100%;
    max-width: 980px;
    padding: 50px 40px;
    background: rgba(0,0,0,0.15);
    border-radius: 24px;
    z-index: 1;
    overflow: hidden;
}

.age-gate-box::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 1px;
    border-radius: 24px;
    background: linear-gradient(41deg, #ED6A3B, #A1725B);
    z-index: -1;
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
}

.age-gate-logo {
    width: 180px;
    margin-bottom: 40px;
}

.age-gate-info {
    color: #ffffff;
    font-size: 20px;
    line-height: 28px;
    margin-bottom: 45px;
}

.age-gate-question {
    color: #ffffff;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
}

.age-gate-warning {
    color: #ffffff;
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 40px;
}

.age-gate-buttons {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.age-btn {
    padding: 18px 40px;
    font-size: 20px;
    border-radius: 12px;
    cursor: pointer;
    font-family: var(--default-font-family);
    border: none;
    min-width: 270px;
}

.age-btn.yes {
    background: #f47c45;
    color: white;
}

.age-btn.no {
    background: #f47c45;
    color: white;
}

.age-gate-footer {
    margin-top: 30px;
    color: white;
    font-size: 14px;
}

@media (max-width: 900px) {
    #age-gate-overlay {
        padding: 20px 0;
    }

    .age-gate-box {
        width: 80vw;
        max-width: 80vw;
        margin: 0 auto;
        padding: 35px 25px;
        border-radius: 20px;
    }

    .age-gate-info {
        color: #ffffff;
        font-size: 16px;
        line-height: 19px;
        margin-bottom: 25px;
    }

    .age-gate-question {
        color: #ffffff;
        font-size: 31px;
        font-weight: 600;
        margin-bottom: 40px;
        line-height: 33px;
    }

    .age-gate-buttons {
        flex-direction: column;
        gap: 20px;
        width: 100%;
    }

    .age-btn {
        width: 100%;
        padding: 16px 20px;
        font-size: 18px;
    }

    .age-gate-footer {
        font-size: 12px;
        margin-top: 20px;
        padding: 0 20px;
        max-width: 80%;
        line-height: 16px;
    }
}