
:root {
    --bg: #08070b;
    --bg-soft: #0e0a12;
    --panel: #15101b;
    --panel2: #1b1022;
    --panel3: #25132d;

    --text: #faf7fb;
    --muted: #bcaebf;

    --pink: #ff2f78;
    --pink-light: #ff72a6;
    --violet: #a94cff;
    --red: #ff3d58;

    --border: rgba(255,255,255,.095);
    --border-hot: rgba(255,47,120,.35);

    --max: 1200px;
    --radius: 22px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;

    color: var(--text);

    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    line-height: 1.7;

    background:
        radial-gradient(
            circle at 12% 0%,
            rgba(169,76,255,.17),
            transparent 30rem
        ),

        radial-gradient(
            circle at 90% 12%,
            rgba(255,47,120,.14),
            transparent 34rem
        ),

        linear-gradient(
            180deg,
            #08070b,
            #0b080e 45%,
            #08070b
        );
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

.container {
    width: min(
        calc(100% - 34px),
        var(--max)
    );

    margin-inline: auto;
}


/* HEADER */

.topbar {
    position: sticky;
    top: 0;
    z-index: 50;

    background:
        rgba(8,7,11,.86);

    border-bottom:
        1px solid var(--border);

    backdrop-filter:
        blur(18px);
}

.nav {
    min-height: 72px;

    display: flex;
    align-items: center;
    gap: 30px;
}

.logo {
    flex: 0 0 auto;

    font-size: 1.35rem;
    font-weight: 950;

    letter-spacing: -.05em;
}

.logo span {
    color: var(--pink);
}

.navlinks {
    margin-left: auto;

    display: flex;
    align-items: center;
    gap: 24px;

    color: var(--muted);

    font-size: .94rem;
    font-weight: 650;
}

.navlinks a:hover {
    color: white;
}

.nav-enter {
    padding: 10px 16px;

    border-radius: 12px;

    color: white !important;

    background:
        linear-gradient(
            135deg,
            var(--pink),
            #bf28db
        );
}


/* HERO */

.hero {
    padding:
        92px 0 68px;

    text-align: center;
}

.hero-inner {
    max-width: 930px;
    margin: auto;
}

.eyebrow,
.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding:
        7px 12px;

    border:
        1px solid var(--border-hot);

    border-radius:
        999px;

    background:
        rgba(255,47,120,.075);

    color:
        #ffd5e4;

    font-size:
        .78rem;

    font-weight:
        850;

    letter-spacing:
        .075em;

    text-transform:
        uppercase;
}

.hero h1,
.room-hero h1 {

    margin:
        23px auto 19px;

    max-width:
        1000px;

    font-size:
        clamp(
            2.5rem,
            7vw,
            5.3rem
        );

    line-height:
        .98;

    letter-spacing:
        -.065em;
}

.hero-copy,
.room-intro {

    max-width:
        780px;

    margin:
        0 auto;

    color:
        var(--muted);

    font-size:
        1.08rem;
}

.actions {
    margin-top:
        30px;

    display:
        flex;

    justify-content:
        center;

    gap:
        12px;

    flex-wrap:
        wrap;
}

.btn {
    min-height:
        52px;

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    padding:
        0 21px;

    border:
        0;

    border-radius:
        14px;

    cursor:
        pointer;

    font-weight:
        900;

    transition:
        transform .18s ease,
        border-color .18s ease,
        background .18s ease;
}

.btn:hover {
    transform:
        translateY(-2px);
}

.btn-primary {
    background:
        linear-gradient(
            135deg,
            var(--pink),
            #c82ad5
        );

    box-shadow:
        0 16px 46px
        rgba(255,47,120,.20);
}

.btn-secondary {
    border:
        1px solid var(--border);

    background:
        rgba(255,255,255,.045);
}


/* TRUST STRIP */

.trust-grid {

    margin-top:
        50px;

    display:
        grid;

    grid-template-columns:
        repeat(4, 1fr);

    border:
        1px solid var(--border);

    border-radius:
        var(--radius);

    overflow:
        hidden;

    background:
        rgba(255,255,255,.025);
}

.trust-item {
    padding:
        22px 18px;

    border-right:
        1px solid var(--border);
}

.trust-item:last-child {
    border-right:
        0;
}

.trust-item strong {
    display:
        block;

    font-size:
        1.05rem;
}

.trust-item span {
    color:
        var(--muted);

    font-size:
        .84rem;
}


/* SECTIONS */

.section {
    padding:
        58px 0;
}

.section-soft {

    border-top:
        1px solid var(--border);

    border-bottom:
        1px solid var(--border);

    background:
        rgba(255,255,255,.018);
}

.section-head {

    max-width:
        760px;

    margin-bottom:
        30px;
}

.section-kicker {

    margin-bottom:
        9px;

    color:
        var(--pink-light);

    font-size:
        .79rem;

    font-weight:
        850;

    letter-spacing:
        .075em;

    text-transform:
        uppercase;
}

.section h2,
.content h2 {

    margin:
        0 0 11px;

    font-size:
        clamp(
            1.75rem,
            4vw,
            2.75rem
        );

    line-height:
        1.12;

    letter-spacing:
        -.045em;
}

.section-head p,
.content p {

    color:
        var(--muted);
}


/* HUB BLOCKS */

.category-grid {

    display:
        grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap:
        16px;
}

.category-card {

    padding:
        27px;

    min-height:
        210px;

    border:
        1px solid var(--border);

    border-radius:
        var(--radius);

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.05),
            rgba(255,255,255,.012)
        );

    transition:
        .2s ease;
}

.category-card:hover {

    transform:
        translateY(-3px);

    border-color:
        var(--border-hot);

    background:
        var(--panel2);
}

.category-count {

    color:
        var(--pink-light);

    font-weight:
        900;

    font-size:
        .8rem;

    text-transform:
        uppercase;
}

.category-card h3 {

    margin:
        12px 0 6px;

    font-size:
        1.4rem;

    letter-spacing:
        -.03em;
}

.category-card p {

    margin:
        0;

    color:
        var(--muted);

    font-size:
        .92rem;
}


/* SALAS */

.room-grid {

    display:
        grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap:
        14px;
}

.room-card {

    min-height:
        164px;

    padding:
        21px;

    display:
        flex;

    flex-direction:
        column;

    border:
        1px solid var(--border);

    border-radius:
        18px;

    background:
        linear-gradient(
            150deg,
            rgba(255,255,255,.052),
            rgba(255,255,255,.018)
        );

    content-visibility:
        auto;

    transition:
        .2s ease;
}

.room-card:hover {

    transform:
        translateY(-3px);

    border-color:
        var(--border-hot);

    background:
        var(--panel2);
}

.room-tag {

    color:
        var(--pink-light);

    font-size:
        .73rem;

    font-weight:
        900;

    letter-spacing:
        .055em;

    text-transform:
        uppercase;
}

.room-card h3 {

    margin:
        9px 0 6px;

    font-size:
        1.1rem;

    letter-spacing:
        -.025em;
}

.room-card p {

    margin:
        0 0 12px;

    color:
        var(--muted);

    font-size:
        .88rem;
}

.room-card .arrow {

    margin-top:
        auto;

    color:
        white;

    font-weight:
        850;

    font-size:
        .86rem;
}


/* DIRECTORY */

.directory-tools {

    margin-bottom:
        26px;

    display:
        flex;

    gap:
        12px;
}

.directory-search {

    width:
        min(100%, 520px);

    padding:
        14px 16px;

    color:
        white;

    border:
        1px solid var(--border);

    border-radius:
        13px;

    outline:
        none;

    background:
        var(--panel);
}

.directory-search:focus {
    border-color:
        var(--pink);
}

.group {

    margin-top:
        42px;
}

.group-title {

    margin-bottom:
        18px;

    display:
        flex;

    align-items:
        center;

    gap:
        12px;
}

.group-title h2 {

    margin:
        0;

    font-size:
        1.65rem;
}

.group-count {

    color:
        var(--muted);

    font-size:
        .82rem;
}


/* BREADCRUMB */

.breadcrumb {

    padding:
        24px 0 0;

    color:
        #938797;

    font-size:
        .82rem;
}

.breadcrumb a:hover {
    color:
        white;
}

.breadcrumb span {
    margin:
        0 8px;
}


/* ROOM PAGE */

.room-hero {

    padding:
        52px 0 28px;
}

.room-hero h1 {

    margin-left:
        0;

    margin-right:
        0;

    font-size:
        clamp(
            2.45rem,
            6vw,
            4.6rem
        );
}

.room-hero .room-intro {
    margin-left:
        0;
}

.room-layout {

    display:
        grid;

    grid-template-columns:
        minmax(0, 1fr) 310px;

    gap:
        40px;

    align-items:
        start;
}

.content {

    min-width:
        0;

    font-size:
        1.01rem;
}

.content p {

    margin:
        0 0 19px;
}

.content h2 {

    margin-top:
        46px;
}

.aside {

    position:
        sticky;

    top:
        95px;

    padding:
        23px;

    border:
        1px solid var(--border-hot);

    border-radius:
        var(--radius);

    background:
        linear-gradient(
            155deg,
            rgba(255,47,120,.10),
            rgba(169,76,255,.06)
        ),
        var(--panel);
}

.aside h3 {

    margin:
        0 0 8px;

    font-size:
        1.28rem;
}

.aside p {

    margin:
        0 0 18px;

    color:
        var(--muted);

    font-size:
        .91rem;
}

.aside .btn {
    width:
        100%;
}

.aside-list {

    margin:
        20px 0 0;

    padding:
        17px 0 0;

    border-top:
        1px solid var(--border);

    list-style:
        none;

    color:
        var(--muted);

    font-size:
        .86rem;
}

.aside-list li {
    margin:
        7px 0;
}


/* NOTICE */

.notice {

    margin:
        28px 0;

    padding:
        18px 20px;

    border:
        1px solid rgba(255,47,120,.18);

    border-left:
        3px solid var(--pink);

    border-radius:
        0 14px 14px 0;

    background:
        rgba(255,47,120,.055);

    color:
        #e9dee9;
}


/* FAQ */

.faq {

    margin-top:
        24px;
}

.faq-item {

    margin-bottom:
        10px;

    border:
        1px solid var(--border);

    border-radius:
        14px;

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

    overflow:
        hidden;
}

.faq-item summary {

    padding:
        17px 18px;

    cursor:
        pointer;

    font-weight:
        800;
}

.faq-item p {

    padding:
        0 18px 17px;

    margin:
        0;

    color:
        var(--muted);
}


/* CTA */

.big-cta {

    padding:
        36px;

    border:
        1px solid var(--border-hot);

    border-radius:
        26px;

    background:
        radial-gradient(
            circle at right top,
            rgba(169,76,255,.20),
            transparent 22rem
        ),

        linear-gradient(
            135deg,
            rgba(255,47,120,.10),
            rgba(255,255,255,.02)
        );
}

.big-cta h2 {

    margin:
        0 0 8px;
}


/* AGE GATE */

.agegate {

    display:
        none;

    position:
        fixed;

    inset:
        0;

    z-index:
        999;

    place-items:
        center;

    padding:
        20px;

    background:
        rgba(3,2,5,.93);

    backdrop-filter:
        blur(17px);
}

.agegate.active {
    display:
        grid;
}

.agebox {

    width:
        min(100%, 520px);

    padding:
        34px;

    text-align:
        center;

    border:
        1px solid var(--border-hot);

    border-radius:
        26px;

    background:
        #120d16;

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

.age18 {

    color:
        var(--pink);

    font-size:
        3.1rem;

    font-weight:
        950;
}

.agebox h2 {

    margin:
        0 0 9px;

    font-size:
        1.7rem;
}

.agebox p {
    color:
        var(--muted);
}


/* FOOTER */

.footer {

    margin-top:
        70px;

    padding:
        38px 0;

    border-top:
        1px solid var(--border);

    color:
        var(--muted);

    font-size:
        .88rem;
}

.footer-grid {

    display:
        grid;

    grid-template-columns:
        2fr 1fr 1fr;

    gap:
        30px;
}

.footer strong {

    display:
        block;

    margin-bottom:
        9px;

    color:
        white;
}

.footer-links {

    display:
        flex;

    flex-direction:
        column;

    gap:
        5px;
}


/* MOBILE */

@media (max-width: 1000px) {

    .room-grid {
        grid-template-columns:
            repeat(3, 1fr);
    }

    .room-layout {
        grid-template-columns:
            1fr;
    }

    .aside {
        position:
            static;
    }
}


@media (max-width: 760px) {

    .navlinks a:not(.nav-enter) {
        display:
            none;
    }

    .hero {
        padding-top:
            62px;
    }

    .trust-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .trust-item:nth-child(2) {
        border-right:
            0;
    }

    .trust-item:nth-child(-n+2) {
        border-bottom:
            1px solid var(--border);
    }

    .category-grid {
        grid-template-columns:
            1fr;
    }

    .room-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns:
            1fr;
    }
}


@media (max-width: 500px) {

    .room-grid {
        grid-template-columns:
            1fr;
    }

    .trust-grid {
        grid-template-columns:
            1fr;
    }

    .trust-item {
        border-right:
            0 !important;

        border-bottom:
            1px solid var(--border);
    }

    .trust-item:last-child {
        border-bottom:
            0;
    }
}


/* ==========================================================
   CHAT INTEGRADO
   ========================================================== */

.chat-live-section {
    padding:
        20px 0 34px;
}

.chat-live-shell {
    position:
        relative;

    overflow:
        hidden;

    border:
        1px solid rgba(255,47,120,.32);

    border-radius:
        24px;

    background:
        #09070c;

    box-shadow:
        0 26px 90px
        rgba(0,0,0,.40),
        0 0 45px
        rgba(255,47,120,.07);
}

.chat-live-topbar {
    min-height:
        58px;

    padding:
        0 20px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        18px;

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

    background:
        linear-gradient(
            90deg,
            rgba(255,47,120,.11),
            rgba(169,76,255,.08),
            rgba(255,255,255,.018)
        );
}

.chat-live-title {
    display:
        flex;

    align-items:
        center;

    gap:
        10px;

    font-size:
        .95rem;

    font-weight:
        850;
}

.chat-live-dot {
    width:
        10px;

    height:
        10px;

    flex:
        0 0 auto;

    border-radius:
        50%;

    background:
        #32dc80;

    box-shadow:
        0 0 12px
        rgba(50,220,128,.85);
}

.chat-live-channel {
    color:
        #d4c5d8;

    font-size:
        .82rem;

    font-weight:
        700;
}

.chat-live-frame-wrap {
    position:
        relative;

    min-height:
        720px;

    background:
        #08070b;
}

.chat-live-frame {
    display:
        block;

    width:
        100%;

    height:
        720px;

    border:
        0;

    background:
        #08070b;
}

.chat-live-waiting {
    position:
        absolute;

    inset:
        0;

    z-index:
        2;

    display:
        flex;

    flex-direction:
        column;

    align-items:
        center;

    justify-content:
        center;

    gap:
        12px;

    padding:
        30px;

    text-align:
        center;

    background:
        radial-gradient(
            circle at center,
            rgba(255,47,120,.11),
            transparent 24rem
        ),
        #08070b;
}

.chat-live-waiting strong {
    font-size:
        1.3rem;
}

.chat-live-waiting span {
    max-width:
        520px;

    color:
        #bcaebf;
}

.chat-live-frame-wrap.chat-loaded
.chat-live-waiting {
    display:
        none;
}


@media (max-width: 760px) {

    .chat-live-section {
        padding-top:
            8px;
    }

    .chat-live-shell {
        border-radius:
            16px;
    }

    .chat-live-topbar {
        padding:
            0 14px;
    }

    .chat-live-channel {
        display:
            none;
    }

    .chat-live-frame,
    .chat-live-frame-wrap {
        height:
            78vh;

        min-height:
            620px;
    }
}



/* ==========================================================
   V8 - LANDING CENTRADA EN EL CHAT
   ========================================================== */


/* HERO SALA */

body.room-page-v8 .room-hero {
    padding:
        48px 0 34px;
}

body.room-page-v8 .room-hero .container {
    max-width:
        1040px;

    text-align:
        center;
}

body.room-page-v8 .room-hero h1 {
    max-width:
        920px;

    margin:
        18px auto 16px;

    font-size:
        clamp(
            2.2rem,
            5vw,
            4.3rem
        );

    line-height:
        1.02;
}

body.room-page-v8 .room-intro {
    max-width:
        760px;

    margin:
        0 auto;

    font-size:
        1.04rem;
}


/* METADATOS DE SALA */

.room-meta-strip {
    max-width:
        760px;

    margin:
        26px auto 0;

    display:
        grid;

    grid-template-columns:
        repeat(4, 1fr);

    overflow:
        hidden;

    border:
        1px solid var(--border);

    border-radius:
        16px;

    background:
        rgba(255,255,255,.022);
}

.room-meta-item {
    padding:
        14px 12px;

    border-right:
        1px solid var(--border);

    text-align:
        center;
}

.room-meta-item:last-child {
    border-right:
        0;
}

.room-meta-item strong {
    display:
        block;

    color:
        #fff;

    font-size:
        .87rem;
}

.room-meta-item span {
    display:
        block;

    margin-top:
        2px;

    color:
        var(--muted);

    font-size:
        .72rem;
}


/* CHAT */

body.room-page-v8 .chat-live-section {
    padding:
        15px 0 52px;
}

body.room-page-v8
.chat-live-section > .container {

    width:
        min(
            calc(100% - 32px),
            1280px
        );
}

body.room-page-v8 .chat-live-shell {

    border:
        1px solid
        rgba(255,47,120,.35);

    border-radius:
        22px;

    box-shadow:
        0 34px 100px
        rgba(0,0,0,.38),
        0 0 80px
        rgba(255,47,120,.055);
}

body.room-page-v8 .chat-live-topbar {

    min-height:
        62px;

    padding:
        0 22px;
}

body.room-page-v8 .chat-live-title {
    font-size:
        .94rem;
}

.chat-live-subtitle {

    margin-left:
        8px;

    color:
        var(--muted);

    font-size:
        .76rem;

    font-weight:
        500;
}

body.room-page-v8 .chat-live-frame-wrap,
body.room-page-v8 .chat-live-frame {

    height:
        760px;

    min-height:
        760px;
}


/* CONTENIDO SEO */

body.room-page-v8
.room-content-single {

    width:
        min(
            calc(100% - 34px),
            980px
        );

    margin:
        0 auto;
}

body.room-page-v8
.room-content-single .content {

    width:
        100%;
}

body.room-page-v8
.room-content-single .content > p {

    font-size:
        1.02rem;

    line-height:
        1.82;
}

body.room-page-v8
.room-content-single .content > h2 {

    margin-top:
        54px;

    padding-top:
        5px;

    font-size:
        clamp(
            1.65rem,
            3vw,
            2.35rem
        );
}


/* AVISO */

body.room-page-v8 .notice {

    margin:
        34px 0;

    padding:
        21px 22px;
}


/* SALAS RELACIONADAS */

body.room-page-v8
.room-content-single .room-grid {

    margin-top:
        23px;

    grid-template-columns:
        repeat(3, minmax(0,1fr));
}

body.room-page-v8
.room-content-single .room-card {

    min-height:
        150px;
}


/* QUITAMOS CONCEPTOS ANTIGUOS */

body.room-page-v8 .aside {
    display:
        none !important;
}

body.room-page-v8 .big-cta {
    display:
        none !important;
}


/* SEPARADOR ENTRE CHAT Y SEO */

.room-content-intro {

    margin:
        0 auto 38px;

    padding:
        22px 25px;

    border:
        1px solid var(--border);

    border-radius:
        17px;

    background:
        linear-gradient(
            135deg,
            rgba(255,47,120,.055),
            rgba(169,76,255,.03)
        );
}

.room-content-intro strong {

    color:
        #fff;

    font-size:
        1rem;
}

.room-content-intro p {

    margin:
        5px 0 0;

    color:
        var(--muted);

    font-size:
        .91rem;
}


/* MOBILE */

@media (max-width: 760px) {

    .room-meta-strip {

        grid-template-columns:
            repeat(2, 1fr);
    }

    .room-meta-item:nth-child(2) {
        border-right:
            0;
    }

    .room-meta-item:nth-child(-n+2) {
        border-bottom:
            1px solid var(--border);
    }

    body.room-page-v8
    .chat-live-frame-wrap,

    body.room-page-v8
    .chat-live-frame {

        height:
            78vh;

        min-height:
            620px;
    }

    body.room-page-v8
    .room-content-single
    .room-grid {

        grid-template-columns:
            1fr;
    }

    .chat-live-subtitle {
        display:
            none;
    }
}

