/* ==========================================================
   EROTICALINEA - AGE GATE + PRIVACY
   ========================================================== */

.privacy-lock {
    overflow: hidden !important;
}

/* ---------------- AGE GATE ---------------- */

.age-gate {
    position: fixed;
    z-index: 10000;
    inset: 0;

    display: none;
    align-items: center;
    justify-content: center;

    padding: 20px;

    background:
        radial-gradient(circle at 50% 25%, rgba(255,22,143,.16), transparent 35%),
        rgba(3,2,4,.96);

    backdrop-filter: blur(18px);
}

.age-gate.is-open {
    display: flex;
}

.age-gate-card {
    width: min(100%, 540px);

    padding: 34px;

    border: 1px solid rgba(255,22,143,.32);
    border-radius: 24px;

    background:
        linear-gradient(
            145deg,
            rgba(25,15,28,.99),
            rgba(8,6,10,.99)
        );

    box-shadow:
        0 30px 100px rgba(0,0,0,.65);

    text-align: center;
}

.age-brand {
    display: inline-flex;
    align-items: baseline;

    margin-bottom: 20px;

    font-size: clamp(2rem, 8vw, 3rem);
    font-weight: 950;

    letter-spacing: -.075em;
}

.age-brand-erotica {
    color: #ff168f;
}

.age-brand-linea {
    color: #12a8ff;
}

.age-brand-domain {
    margin-left: 2px;

    color: #fff;

    font-size: .55em;
}

.age-badge {
    display: inline-flex;

    margin-bottom: 14px;
    padding: 6px 10px;

    border: 1px solid rgba(255,22,143,.34);
    border-radius: 999px;

    color: #ff68b5;

    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .1em;
}

.age-gate-card h2 {
    margin: 0 0 12px;

    color: #fff;

    font-size: clamp(1.65rem, 5vw, 2.3rem);

    letter-spacing: -.04em;
}

.age-gate-card p {
    margin: 0 auto 24px;

    max-width: 420px;

    color: #c9becb;
}

.age-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.age-actions button {
    min-height: 50px;

    padding: 12px 16px;

    border: 0;
    border-radius: 12px;

    cursor: pointer;

    font: inherit;
    font-weight: 850;
}

.age-accept {
    background:
        linear-gradient(
            135deg,
            #ff168f,
            #d31acb
        );

    color: #fff;
}

.age-exit {
    border: 1px solid rgba(255,255,255,.12) !important;

    background: rgba(255,255,255,.04);

    color: #ddd2df;
}

.age-legal-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;

    margin-top: 20px;

    font-size: .74rem;
}

.age-legal-links a {
    color: #9e929f;
}

.age-legal-links a:hover {
    color: #fff;
}


/* ---------------- COOKIE BANNER ---------------- */

.cookie-banner {
    position: fixed;
    z-index: 9000;

    left: 18px;
    bottom: 18px;

    display: none;

    width: min(440px, calc(100% - 36px));

    padding: 22px;

    border: 1px solid rgba(255,255,255,.12);
    border-radius: 18px;

    background: rgba(13,9,15,.97);

    box-shadow:
        0 22px 70px rgba(0,0,0,.55);

    backdrop-filter: blur(20px);
}

.cookie-banner.is-open {
    display: block;
}

.cookie-banner h2 {
    margin: 0 0 9px;

    color: #fff;

    font-size: 1.15rem;
}

.cookie-banner p {
    margin: 0 0 18px;

    color: #bdb1bf;

    font-size: .83rem;
}

.cookie-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cookie-actions button,
.privacy-modal button {
    min-height: 40px;

    padding: 9px 13px;

    border: 1px solid rgba(255,255,255,.12);
    border-radius: 10px;

    background: rgba(255,255,255,.04);

    color: #fff;

    cursor: pointer;

    font: inherit;
    font-size: .79rem;
    font-weight: 800;
}

.cookie-actions .cookie-accept {
    border-color: transparent;

    background:
        linear-gradient(
            135deg,
            #ff168f,
            #d31acb
        );
}


/* ---------------- PRIVACY MODAL ---------------- */

.privacy-modal {
    position: fixed;
    z-index: 11000;
    inset: 0;

    display: none;
    align-items: center;
    justify-content: center;

    padding: 20px;

    background: rgba(0,0,0,.80);

    backdrop-filter: blur(12px);
}

.privacy-modal.is-open {
    display: flex;
}

.privacy-card {
    width: min(100%, 620px);
    max-height: min(760px, calc(100vh - 40px));

    overflow-y: auto;

    padding: 28px;

    border: 1px solid rgba(255,255,255,.12);
    border-radius: 22px;

    background: #100b12;

    box-shadow:
        0 30px 100px rgba(0,0,0,.65);
}

.privacy-card h2 {
    margin: 0 0 8px;

    color: #fff;
}

.privacy-intro {
    margin: 0 0 22px;

    color: #b9adb9;

    font-size: .87rem;
}

.consent-option {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px;

    padding: 17px 0;

    border-top: 1px solid rgba(255,255,255,.08);
}

.consent-option strong {
    display: block;

    color: #fff;
}

.consent-option p {
    margin: 4px 0 0;

    color: #998d9b;

    font-size: .78rem;
}

.consent-switch {
    width: 46px;
    height: 26px;

    accent-color: #ff168f;
}

.privacy-modal-actions {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px;

    margin-top: 22px;
}


/* ---------------- FLOATING BUTTON ---------------- */

.privacy-fab {
    position: fixed;
    z-index: 8000;

    left: 18px;
    bottom: 18px;

    display: none;

    width: 46px;
    height: 46px;

    border: 1px solid rgba(255,255,255,.13);
    border-radius: 50%;

    background: rgba(15,10,17,.94);

    color: #fff;

    cursor: pointer;

    box-shadow:
        0 10px 35px rgba(0,0,0,.45);

    font-size: 1.1rem;
}

.privacy-fab.is-visible {
    display: block;
}


@media (max-width: 600px) {

    .age-gate-card {
        padding: 27px 19px;
    }

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

    .cookie-banner {
        left: 10px;
        right: 10px;
        bottom: 78px;

        width: auto;
    }

    .privacy-fab {
        left: 12px;
        bottom: 78px;
    }

    .privacy-card {
        padding: 23px 17px;
    }

}

/* COOKIE WHITE CARD V2 START */

/* ==========================================================
   BANNER COMPACTO BLANCO - ESTILO SEGUNDA CAPTURA
   ========================================================== */

.cookie-banner {
    position: fixed !important;
    z-index: 9000 !important;

    left: auto !important;
    right: 18px !important;
    bottom: 18px !important;

    width: 460px !important;
    max-width: calc(100vw - 36px) !important;

    padding: 20px 20px 16px !important;

    border: 1px solid #dedede !important;
    border-radius: 12px !important;

    background: #ffffff !important;

    box-shadow:
        0 12px 38px rgba(0,0,0,.22) !important;

    backdrop-filter: none !important;
}

/* TÍTULO */
.cookie-banner h2 {
    margin: 0 0 10px !important;

    color: #202020 !important;

    font-size: 15px !important;
    line-height: 1.25 !important;
    font-weight: 800 !important;
}

/* TEXTO */
.cookie-banner p {
    margin: 0 0 16px !important;

    color: #555 !important;

    font-size: 11.5px !important;
    line-height: 1.55 !important;
}

/* BOTONES EN UNA SOLA FILA */
.cookie-actions {
    display: grid !important;

    grid-template-columns:
        1fr
        1fr
        1.18fr !important;

    gap: 8px !important;
}

/* TODOS LOS BOTONES */
.cookie-actions button {
    min-width: 0 !important;
    min-height: 39px !important;

    margin: 0 !important;
    padding: 8px 7px !important;

    border: 1px solid #dedede !important;
    border-radius: 6px !important;

    background: #f5f5f5 !important;
    color: #333 !important;

    box-shadow: none !important;

    font-size: 10.5px !important;
    line-height: 1.15 !important;
    font-weight: 750 !important;

    white-space: nowrap !important;
}

/*
 * El HTML actual está ordenado:
 *
 * 1 Rechazar
 * 2 Configurar
 * 3 Aceptar
 *
 * Visualmente lo ponemos como:
 *
 * Aceptar | Rechazar | Configurar
 */
.cookie-actions button:nth-child(1) {
    order: 2 !important;
}

.cookie-actions button:nth-child(2) {
    order: 3 !important;
}

.cookie-actions button:nth-child(3) {
    order: 1 !important;
}

/* ACEPTAR */
.cookie-actions .cookie-accept {
    border-color: transparent !important;

    background:
        linear-gradient(
            90deg,
            #ec159c,
            #ad27ef
        ) !important;

    color: #fff !important;
}

/* El tercer botón visual, preferencias */
.cookie-actions button:nth-child(2) {
    background: #f1f1f1 !important;
}

/* ==========================================================
   MÓVIL
   ========================================================== */

@media (max-width: 600px) {

    .cookie-banner {
        left: 10px !important;
        right: 10px !important;
        bottom: 10px !important;

        width: auto !important;
        max-width: none !important;

        padding: 17px 15px 14px !important;
    }

    .cookie-actions {
        grid-template-columns:
            1fr 1fr !important;
    }

    .cookie-actions button:nth-child(2) {
        grid-column: 1 / -1 !important;
    }

}

/* COOKIE WHITE CARD V2 END */
