/* =========================================================
   MiCreams — Age Gate
   ========================================================= */

.age-gate {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.age-gate__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.96);
}

.age-gate__content {
    position: relative;
    z-index: 1;
    width: min(100%, 520px);
    padding: 40px 32px;
    text-align: center;
    background: #111111;
    border: 1px solid rgba(232, 183, 176, 0.25);
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.age-gate__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    border: 1px solid rgba(191, 221, 226, 0.4);
    border-radius: 50%;
    color: #bfdde2;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.age-gate__title {
    margin: 0 0 16px;
    color: #ffffff;
    font-size: 26px;
    line-height: 1.25;
}

.age-gate__text {
    max-width: 420px;
    margin: 0 auto 24px;
    color: #b8b8b8;
    font-size: 15px;
    line-height: 1.6;
}

.age-gate__question {
    margin: 0 0 20px;
    color: #e8b7b0;
    font-size: 17px;
    font-weight: 600;
}

.age-gate__actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 340px;
    margin: 0 auto;
}

.age-gate__actions form {
    margin: 0;
}

.age-gate__button {
    width: 100%;
    min-height: 48px;
    padding: 12px 20px;
    border: 1px solid transparent;
    border-radius: 8px;
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.age-gate__button:hover {
    transform: translateY(-1px);
}

.age-gate__button--confirm {
    background: #e8b7b0;
    border-color: #e8b7b0;
    color: #111111;
}

.age-gate__button--confirm:hover {
    background: #f0c9c3;
    border-color: #f0c9c3;
}

.age-gate__button--exit {
    background: transparent;
    border-color: rgba(191, 221, 226, 0.35);
    color: #bfdde2;
}

.age-gate__button--exit:hover {
    background: rgba(191, 221, 226, 0.08);
    border-color: #bfdde2;
}

.age-gate__legal {
    max-width: 420px;
    margin: 24px auto 0;
    color: #777777;
    font-size: 12px;
    line-height: 1.5;
}


/* ---------------------------------------------------------
   Mobile
   --------------------------------------------------------- */

@media (max-width: 600px) {

    .age-gate {
        padding: 16px;
    }

    .age-gate__content {
        padding: 32px 20px;
        border-radius: 12px;
    }

    .age-gate__logo {
        width: 56px;
        height: 56px;
        margin-bottom: 20px;
        font-size: 18px;
    }

    .age-gate__title {
        font-size: 22px;
    }

    .age-gate__text {
        font-size: 14px;
    }

    .age-gate__question {
        font-size: 16px;
    }

    .age-gate__button {
        min-height: 46px;
        font-size: 14px;
    }
}