/* ═══════════════════════════════════════════════════════
   Age Gate — blur page content behind the modal
   ═══════════════════════════════════════════════════════ */
body.has-age-gate > *:not(#xb-age-gate):not(header) {
    filter: blur(25px) brightness(0.95);
    pointer-events: none;
    user-select: none;
}

/* Header ostaje vidljiv i klikabilan iznad age gate-a */
body.has-age-gate > header {
    position: relative;
    z-index: 100000;
}

/* ═══════════════════════════════════════════════════════
   Full-screen backdrop (semi-transparent)
   ═══════════════════════════════════════════════════════ */
#xb-age-gate {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    font-family: 'Inter', Arial, sans-serif;
}

#xb-age-gate.xb-age-gate--leaving {
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

/* ═══════════════════════════════════════════════════════
   Centered modal card
   ═══════════════════════════════════════════════════════ */
.xb-ag-modal {
    background: rgb(15 15 15 / 83%);
    border-radius: 10px;
    padding: 28px 26px 22px;
    max-width: 600px;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.85);
}

/* ─── Logo ─── */
.xb-ag-logo {
    max-height: 44px;
    width: auto;
    display: block;
    margin-bottom: 14px;
}

/* ─── Heading ─── */
.xb-ag-heading {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff;
    margin: 0 0 8px;
    line-height: 1.3;
}

/* ─── Subheading ─── */
.xb-ag-sub {
    font-size: 12.5px;
    color: #888;
    line-height: 1.55;
    margin: 0 0 18px;
}

/* ─── ENTER button ─── */
#xb-age-gate-enter {
    display: block;
    width: 100%;
    max-width: 300px;
    background: #cc0000;
    color: #fff;
    border: none;
    border-radius: 55px;
    padding: 13px 24px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    font-family: 'Inter', Arial, sans-serif;
    transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
    box-shadow: 0 4px 16px rgba(204, 0, 0, 0.4);
    margin-bottom: 10px;
    line-height: 1;
}

#xb-age-gate-enter:hover:not(:disabled) {
    background: #e60000;
    box-shadow: 0 6px 24px rgba(204, 0, 0, 0.55);
    transform: translateY(-1px);
}

#xb-age-gate-enter:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

/* ─── Exit link ─── */
#xb-age-gate-exit {
    display: block;
    color: #dadada;
    font-size: 12px;
    font-family: 'Inter', Arial, sans-serif;
    text-decoration: none;
    cursor: pointer;
    margin-bottom: 18px;
    transition: color 0.2s;
}

#xb-age-gate-exit:hover {
    color: #fff;
    text-decoration: underline;
}

/* ─── Legal text ─── */
.xb-ag-legal {
    text-align: left;
    width: 100%;
}

.xb-ag-legal p {
    font-size: 14px;
  line-height: 16px;
    color: #c7cfdc;
    margin: 0 0 10px;
}

.xb-ag-legal p:last-child {
    margin-bottom: 0;
}

.xb-ag-legal a {
    color: #cc0000;
    text-decoration: none;
  font-weight: 900;
}

.xb-ag-legal a:hover {
    text-decoration: underline;
}


/* ─── Mobile ─── */
@media (max-width: 500px) {
    .xb-ag-modal {
        padding: 22px 18px 18px;
    }

    .xb-ag-logo {
        max-height: 38px;
    }
}
