/* HP Cairo age gate
   File: assets/css/age-gate.css
   Version: 0.1.53
*/

html.hpc-age-lock,
html.hpc-age-lock body,
body.hpc-age-lock {
    overflow: hidden;
}

html.hpc-age-verified .hpc-age-gate,
.hpc-age-gate.is-accepted {
    display: none !important;
}

.hpc-age-gate {
    position: fixed;
    z-index: 2147483000;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 24px;
    color: #fff6e5;
    background: #050303;
}

.hpc-age-gate__backdrop {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 36%, rgba(232, 190, 115, 0.16), transparent 34%),
        radial-gradient(circle at 18% 18%, rgba(232, 190, 115, 0.09), transparent 28%),
        radial-gradient(circle at 86% 76%, rgba(232, 190, 115, 0.075), transparent 32%),
        linear-gradient(180deg, rgba(5, 3, 3, 0.88), rgba(5, 3, 3, 0.96));
    backdrop-filter: blur(12px);
}

.hpc-age-gate__backdrop::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.18;
    background-image:
        linear-gradient(rgba(255, 226, 162, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 226, 162, 0.06) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(circle at 50% 42%, black, transparent 68%);
}

.hpc-age-gate__panel {
    position: relative;
    width: min(100%, 590px);
    min-height: 430px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(232, 190, 115, 0.28);
    border-radius: 6px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.012)),
        rgba(10, 6, 5, 0.94);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.052),
        0 42px 120px rgba(0, 0, 0, 0.72),
        0 0 54px rgba(232, 190, 115, 0.10);
}

.hpc-age-gate__panel::before {
    content: "";
    position: absolute;
    inset: 14px;
    border: 1px solid rgba(232, 190, 115, 0.12);
    border-radius: 4px;
    pointer-events: none;
}

.hpc-age-gate__panel::after {
    content: "CAIRO";
    position: absolute;
    right: -0.10em;
    bottom: -0.12em;
    color: rgba(255, 226, 162, 0.026);
    -webkit-text-stroke: 1px rgba(255, 226, 162, 0.05);
    font-family: "Montserrat", Arial, Helvetica, sans-serif;
    font-size: clamp(96px, 19vw, 180px);
    font-weight: 900;
    line-height: 0.82;
    letter-spacing: 0.06em;
    pointer-events: none;
}

.hpc-age-gate__halo {
    position: absolute;
    left: 50%;
    top: 0;
    width: min(520px, 90vw);
    height: 210px;
    transform: translateX(-50%);
    background: radial-gradient(circle at 50% 0%, rgba(232, 190, 115, 0.18), transparent 68%);
    filter: blur(2px);
    pointer-events: none;
}

.hpc-age-gate__mark {
    position: absolute;
    top: 28px;
    left: 50%;
    width: 82px;
    height: 82px;
    transform: translateX(-50%);
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 226, 162, 0.36);
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(255, 226, 162, 0.12), rgba(0, 0, 0, 0.14)),
        rgba(0, 0, 0, 0.24);
    color: #f1d39a;
    font-family: "Montserrat", Arial, Helvetica, sans-serif;
    font-size: 25px;
    font-weight: 800;
    letter-spacing: -0.04em;
    box-shadow: 0 0 28px rgba(232, 190, 115, 0.14);
}

.hpc-age-gate__content {
    position: relative;
    z-index: 1;
    width: min(100%, 460px);
    padding: 126px 30px 34px;
    text-align: center;
}

.hpc-age-gate__brand {
    color: #f1d39a;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.hpc-age-gate__title {
    margin: 16px 0 0;
    color: #fffaf0;
    font-family: "Montserrat", Arial, Helvetica, sans-serif;
    font-size: clamp(32px, 5vw, 46px);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -0.045em;
    text-wrap: balance;
    text-shadow:
        0 5px 28px rgba(0, 0, 0, 0.85),
        0 0 28px rgba(232, 190, 115, 0.10);
}

.hpc-age-gate__text {
    margin: 18px auto 0;
    color: rgba(255, 244, 223, 0.88);
    font-size: 16px;
    font-weight: 650;
    line-height: 1.55;
    text-wrap: balance;
}

.hpc-age-gate__note {
    margin: 14px auto 0;
    color: rgba(255, 244, 223, 0.66);
    font-size: 13px;
    font-weight: 650;
    line-height: 1.46;
}

.hpc-age-gate__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 26px;
}

.hpc-age-gate__button {
    min-height: 54px;
    border-radius: 4px;
    font-family: "Montserrat", Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.hpc-age-gate__button--primary {
    border: 1px solid rgba(255, 226, 162, 0.44);
    background:
        linear-gradient(180deg, rgba(255, 226, 162, 0.18), rgba(232, 190, 115, 0.08)),
        rgba(0, 0, 0, 0.24);
    color: #fff3da;
    box-shadow: 0 0 34px rgba(232, 190, 115, 0.10);
}

.hpc-age-gate__button--ghost {
    border: 1px solid rgba(232, 190, 115, 0.18);
    background: rgba(0, 0, 0, 0.20);
    color: rgba(255, 244, 223, 0.72);
}

.hpc-age-gate__button:hover,
.hpc-age-gate__button:focus-visible {
    transform: translateY(-2px);
    outline: none;
}

.hpc-age-gate__button--primary:hover,
.hpc-age-gate__button--primary:focus-visible {
    border-color: rgba(255, 226, 162, 0.66);
    background:
        linear-gradient(180deg, rgba(255, 226, 162, 0.24), rgba(232, 190, 115, 0.11)),
        rgba(0, 0, 0, 0.28);
    box-shadow: 0 0 44px rgba(232, 190, 115, 0.16);
}

.hpc-age-gate__button--ghost:hover,
.hpc-age-gate__button--ghost:focus-visible {
    color: #fff3da;
    border-color: rgba(255, 226, 162, 0.38);
    background: rgba(232, 190, 115, 0.07);
}

@media (max-width: 640px) {
    .hpc-age-gate {
        padding: 16px;
    }

    .hpc-age-gate__panel {
        min-height: auto;
    }

    .hpc-age-gate__mark {
        top: 24px;
        width: 74px;
        height: 74px;
        font-size: 23px;
    }

    .hpc-age-gate__content {
        padding: 114px 22px 28px;
    }

    .hpc-age-gate__brand {
        font-size: 10.5px;
        letter-spacing: 0.15em;
    }

    .hpc-age-gate__title {
        font-size: clamp(29px, 8.8vw, 38px);
    }

    .hpc-age-gate__text {
        font-size: 14.5px;
    }

    .hpc-age-gate__actions {
        grid-template-columns: 1fr;
    }

    .hpc-age-gate__button {
        min-height: 52px;
    }
}
