/* =========================================================
   EL TOCADOR
   Diario mágico · Carrusel de cuadernos · Luxury
========================================================= */

.tocador-page {
    --tocador-black: #090708;
    --tocador-deep: #150d12;
    --tocador-paper: #f4ece6;
    --tocador-pink: #ee5c9f;
    --tocador-pink-soft: #f5abc9;
    --tocador-gold: #d5b270;

    width: 100%;
    max-width: 100%;
    overflow-x: hidden;

    background: var(--tocador-black);
    color: #ffffff;
}

.tocador-page.tocador-reader-open {
    overflow: hidden;
}

.tocador-page .header--inner {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

/* =========================================================
   APERTURA + ENTRADAS
========================================================= */

.tocador-entries {
    position: relative;

    min-height: 100svh;

    overflow: hidden;
    isolation: isolate;

    padding: 126px 0 82px;

    background:
        radial-gradient(
            circle at 16% 24%,
            rgba(238, 92, 159, 0.18),
            transparent 29%
        ),
        radial-gradient(
            circle at 84% 72%,
            rgba(213, 178, 112, 0.09),
            transparent 30%
        ),
        linear-gradient(
            145deg,
            #190e16,
            #090708 68%
        );
}

.tocador-entries::before {
    content: "";

    position: absolute;
    inset: 0;
    z-index: -5;

    opacity: 0.12;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.018) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.014) 1px,
            transparent 1px
        );

    background-size: 38px 38px;
}

.tocador-entries__magic {
    position: relative;
    z-index: 2;

    width: min(90%, 1220px);

    margin: 0 auto 50px;
}

.tocador-entries__glow {
    position: absolute;
    inset: -32%;
    z-index: -3;

    background:
        radial-gradient(
            circle at 25% 38%,
            rgba(245, 171, 201, 0.15),
            transparent 24%
        ),
        radial-gradient(
            circle at 78% 58%,
            rgba(213, 178, 112, 0.08),
            transparent 27%
        );

    filter: blur(35px);

    animation: tocadorMagicGlow 9s ease-in-out infinite alternate;
}

@keyframes tocadorMagicGlow {
    to {
        transform:
            translate3d(3%, -2%, 0)
            scale(1.09);
    }
}

.tocador-entries__heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 38px;
}

.tocador-entries__copy {
    min-width: 0;
}

.tocador-kicker {
    margin-bottom: 13px;

    color: var(--tocador-gold);

    font-size: 0.58rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.tocador-entries__title {
    max-width: 1040px;

    font-family: var(--font-title);
    font-size: clamp(4.3rem, 8vw, 8.5rem);
    font-weight: 400;
    line-height: 0.88;
    letter-spacing: -0.06em;
}

.tocador-entries__title em {
    position: relative;

    color: var(--tocador-pink-soft);

    font-weight: 400;
    font-style: italic;
}

.tocador-entries__title em::after {
    content: "";

    position: absolute;
    right: -0.04em;
    bottom: -0.03em;
    left: -0.04em;

    height: 2px;

    background:
        linear-gradient(
            90deg,
            transparent,
            var(--tocador-gold),
            transparent
        );

    transform: rotate(-1deg);
}

.tocador-entries__description {
    max-width: 560px;

    margin-top: 24px;

    color: rgba(255, 255, 255, 0.62);

    font-size: 0.86rem;
    line-height: 1.75;
}

.tocador-entries__count {
    flex: 0 0 auto;

    padding-bottom: 7px;

    border-bottom: 1px solid rgba(213, 178, 112, 0.4);

    color: rgba(255, 255, 255, 0.46);

    font-size: 0.47rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.tocador-entries__button {
    width: fit-content;

    display: inline-flex;
    align-items: center;
    gap: 20px;

    margin-top: 31px;
    padding: 12px 18px;

    border: 1px solid rgba(238, 92, 159, 0.48);
    border-radius: 999px;

    background: rgba(238, 92, 159, 0.075);
    color: #ffffff;

    font-size: 0.5rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;

    cursor: pointer;

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    transition:
        transform 0.35s ease,
        border-color 0.35s ease,
        background 0.35s ease;
}

.tocador-entries__button:hover {
    transform: translateY(-3px);

    border-color: var(--tocador-pink-soft);

    background: rgba(238, 92, 159, 0.14);
}

.tocador-entries__button i {
    color: var(--tocador-gold);

    font-size: 1.2rem;
    font-style: normal;

    animation: tocadorArrow 1.4s ease-in-out infinite;
}

@keyframes tocadorArrow {
    0%,
    100% {
        opacity: 0.55;
        transform: translateX(0);
    }

    50% {
        opacity: 1;
        transform: translateX(8px);
    }
}

.tocador-entries__signature {
    width: fit-content;

    margin-top: 31px;

    color: rgba(245, 171, 201, 0.78);

    font-family: "Caveat", cursive;
    font-size: 1.7rem;

    transform: rotate(-3deg);
}

/* Destellos */

.tocador-entries__sparkles {
    position: absolute;
    inset: 0;
    z-index: -1;

    pointer-events: none;
}

.tocador-entries__sparkles span {
    position: absolute;

    width: 4px;
    height: 4px;

    border-radius: 50%;

    background: var(--tocador-pink-soft);

    box-shadow:
        0 0 15px rgba(245, 171, 201, 0.9);

    opacity: 0;

    animation: tocadorSparkle 6s ease-in-out infinite;
}

.tocador-entries__sparkles span:nth-child(1) {
    top: 12%;
    left: 8%;
}

.tocador-entries__sparkles span:nth-child(2) {
    top: 31%;
    right: 13%;
    animation-delay: 1.2s;
}

.tocador-entries__sparkles span:nth-child(3) {
    bottom: 20%;
    left: 35%;
    animation-delay: 2.3s;
}

.tocador-entries__sparkles span:nth-child(4) {
    top: 16%;
    right: 32%;
    animation-delay: 3.4s;
}

.tocador-entries__sparkles span:nth-child(5) {
    bottom: 24%;
    right: 8%;
    animation-delay: 4.5s;
}

@keyframes tocadorSparkle {
    0%,
    100% {
        opacity: 0;
        transform: translateY(10px) scale(0.6);
    }

    45% {
        opacity: 0.9;
    }

    70% {
        opacity: 0.2;
        transform: translateY(-22px) scale(1.15);
    }
}

/* =========================================================
   CARRUSEL DE CUADERNOS
========================================================= */

.tocador-list {
    width: 100%;
    max-width: none;
    max-height: 0;

    display: flex;
    align-items: flex-start;
    gap: 23px;

    overflow-x: auto;
    overflow-y: hidden;

    margin: 0;
    padding:
        0
        max(5%, calc((100vw - 1220px) / 2))
        0;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translateY(30px);

    scroll-snap-type: x mandatory;
    scroll-padding-left: max(5%, calc((100vw - 1220px) / 2));

    scrollbar-width: none;

    -webkit-overflow-scrolling: touch;

    transition:
        max-height 1s ease,
        padding 0.75s ease,
        opacity 0.6s ease,
        visibility 0.6s ease,
        transform 0.7s ease;
}

.tocador-list::-webkit-scrollbar {
    display: none;
}

.tocador-list.is-visible {
    max-height: 760px;

    padding-top: 10px;
    padding-bottom: 32px;

    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    transform: translateY(0);
}

.tocador-card {
    position: relative;

    flex: 0 0 clamp(285px, 27vw, 365px);

    width: clamp(285px, 27vw, 365px);
    min-width: 0;

    display: flex;
    flex-direction: column;

    padding: 13px 13px 24px;

    border: 1px solid rgba(213, 178, 112, 0.23);
    border-radius: 8px 18px 18px 8px;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.33) 0,
            transparent 18px
        ),
        linear-gradient(
            145deg,
            #1b1217,
            #0e0a0c
        );

    box-shadow:
        0 30px 72px rgba(0, 0, 0, 0.36),
        inset 7px 0 0 rgba(213, 178, 112, 0.07);

    cursor: pointer;

    scroll-snap-align: center;

    transition:
        transform 0.45s ease,
        border-color 0.45s ease,
        box-shadow 0.45s ease;
}

.tocador-card::before {
    content: "";

    position: absolute;
    top: 13px;
    bottom: 13px;
    left: 21px;

    width: 1px;

    background: rgba(238, 92, 159, 0.18);

    pointer-events: none;
}

.tocador-card:hover {
    transform: translateY(-7px);

    border-color: rgba(245, 171, 201, 0.4);

    box-shadow:
        0 38px 88px rgba(0, 0, 0, 0.42),
        0 0 35px rgba(238, 92, 159, 0.05),
        inset 7px 0 0 rgba(213, 178, 112, 0.08);
}

.tocador-card__image {
    position: relative;

    width: 100%;
    height: 330px;

    overflow: hidden;

    border-radius: 7px 13px 13px 7px;

    background: #140f12;
}

.tocador-card__image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.9s ease,
        filter 0.9s ease;
}

.tocador-card:hover .tocador-card__image img {
    transform: scale(1.045);
    filter: brightness(1.05);
}

.tocador-card__content {
    min-height: 300px;

    display: flex;
    flex-direction: column;

    padding: 22px 10px 0 22px;
}

.tocador-card__entry {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    margin-bottom: 12px;

    color: rgba(255, 255, 255, 0.42);

    font-size: 0.4rem;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.tocador-card__entry strong {
    color: var(--tocador-gold);
}

.tocador-card__mood {
    width: fit-content;

    margin-bottom: 10px;
    padding: 6px 9px;

    border: 1px solid rgba(238, 92, 159, 0.3);
    border-radius: 999px;

    color: var(--tocador-pink-soft);

    font-size: 0.39rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.tocador-card h3 {
    font-family: var(--font-title);
    font-size: clamp(1.85rem, 2.55vw, 2.55rem);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.03em;
}

.tocador-card__excerpt {
    margin-top: 13px;

    color: rgba(255, 255, 255, 0.59);

    font-size: 0.73rem;
    line-height: 1.58;
}

.tocador-card__read {
    width: fit-content;

    display: inline-flex;
    align-items: center;
    gap: 10px;

    margin-top: auto;
    padding-top: 18px;

    color: rgba(255, 255, 255, 0.76);

    font-size: 0.43rem;
    font-weight: 600;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.tocador-card__read span {
    color: var(--tocador-gold);
}

.tocador-swipe-hint {
    display: none;
}

.tocador-swipe-hint.is-visible {
    width: min(90%, 1220px);

    display: flex;
    align-items: center;
    justify-content: space-between;

    margin: 4px auto 0;
    padding-top: 10px;

    border-top: 1px solid rgba(255, 255, 255, 0.1);

    color: rgba(255, 255, 255, 0.5);

    font-size: 0.42rem;
    font-weight: 600;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.tocador-swipe-hint i {
    color: var(--tocador-gold);

    font-size: 1.15rem;
    font-style: normal;

    animation: tocadorArrow 1.4s ease-in-out infinite;
}

.tocador-empty {
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
}

/* =========================================================
   LECTOR COMPLETO
========================================================= */

.tocador-reader {
    position: fixed;
    inset: 0;
    z-index: 9000;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity 0.35s ease,
        visibility 0.35s ease;
}

.tocador-reader.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.tocador-reader__backdrop {
    position: absolute;
    inset: 0;

    background: rgba(3, 3, 3, 0.94);

    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.tocador-reader__page {
    position: relative;
    z-index: 2;

    width: min(100%, 1100px);
    max-height: 94svh;

    overflow-y: auto;

    border: 1px solid rgba(213, 178, 112, 0.24);
    border-radius: 20px;

    background:
        radial-gradient(
            circle at 86% 10%,
            rgba(238, 92, 159, 0.07),
            transparent 28%
        ),
        linear-gradient(
            180deg,
            #171114,
            #0d090b 72%
        );

    box-shadow: 0 45px 130px rgba(0, 0, 0, 0.7);

    transform: translateY(28px) scale(0.975);

    transition: transform 0.42s ease;
}

.tocador-reader.is-open .tocador-reader__page {
    transform: translateY(0) scale(1);
}

.tocador-reader__close {
    position: sticky;
    top: 14px;
    z-index: 10;

    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    margin: 14px 14px -56px auto;

    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;

    background: rgba(9, 7, 8, 0.8);
    color: #ffffff;

    font-size: 1.7rem;

    cursor: pointer;
}

.tocador-reader__cover {
    position: relative;

    min-height: 610px;

    display: flex;
    align-items: flex-end;

    overflow: hidden;
}

.tocador-reader__cover img {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

.tocador-reader__cover-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            0deg,
            rgba(13, 9, 11, 0.99),
            rgba(13, 9, 11, 0.18) 62%,
            rgba(13, 9, 11, 0.35)
        );
}

.tocador-reader__cover-content {
    position: relative;
    z-index: 2;

    width: min(88%, 850px);

    margin: 0 auto;
    padding: 100px 0 52px;
}

.tocador-reader__entry-number {
    margin-bottom: 18px;

    color: rgba(255, 255, 255, 0.48);

    font-size: 0.46rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.tocador-reader__entry-number span {
    color: var(--tocador-gold);
}

.tocador-reader__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;

    margin-bottom: 17px;

    color: rgba(255, 255, 255, 0.54);

    font-size: 0.44rem;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.tocador-reader__meta span:first-child {
    color: var(--tocador-pink-soft);
}

.tocador-reader__cover-content h2 {
    max-width: 900px;

    font-family: var(--font-title);
    font-size: clamp(3.3rem, 6vw, 6.6rem);
    font-weight: 400;
    line-height: 0.91;
    letter-spacing: -0.055em;
}

.tocador-reader__cover-content > p {
    margin-top: 22px;

    color: rgba(255, 255, 255, 0.58);

    font-family: "Caveat", cursive;
    font-size: 1.4rem;
}

.tocador-reader__body {
    width: min(86%, 760px);

    margin: 0 auto;
    padding: 62px 0 24px;

    color: rgba(255, 255, 255, 0.74);

    font-size: 0.9rem;
    line-height: 1.88;
}

.tocador-reader__body p + p {
    margin-top: 19px;
}

.tocador-reader__body h3 {
    margin: 43px 0 14px;

    color: var(--tocador-paper);

    font-family: var(--font-title);
    font-size: clamp(1.9rem, 3.1vw, 2.9rem);
    font-weight: 400;
    line-height: 1.04;
}

.tocador-reader__body ul {
    display: grid;
    gap: 9px;

    margin-top: 19px;
    padding: 0;

    list-style: none;
}

.tocador-reader__body li {
    position: relative;

    padding-left: 19px;
}

.tocador-reader__body li::before {
    content: "✦";

    position: absolute;
    top: 0.13em;
    left: 0;

    color: var(--tocador-gold);

    font-size: 0.65em;
}

.tocador-reader__body blockquote {
    margin: 40px 0;
    padding: 22px 26px;

    border-top: 1px solid rgba(238, 92, 159, 0.35);
    border-bottom: 1px solid rgba(213, 178, 112, 0.25);

    color: var(--tocador-paper);

    font-family: var(--font-title);
    font-size: clamp(1.45rem, 2.5vw, 2.1rem);
    font-style: italic;
    line-height: 1.38;
}

.tocador-reader__ending {
    width: min(86%, 760px);

    margin: 20px auto 0;
    padding: 35px 0 58px;

    border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.tocador-reader__ending p,
.tocador-reader__ending strong {
    font-family: "Caveat", cursive;
}

.tocador-reader__ending p {
    color: rgba(255, 255, 255, 0.46);

    font-size: 1.35rem;
}

.tocador-reader__ending strong {
    display: block;

    margin-top: 4px;

    color: var(--tocador-pink-soft);

    font-size: 2.15rem;
    font-weight: 500;
}

/* =========================================================
   MÓVIL
========================================================= */

@media (max-width: 720px) {

    .tocador-entries {
        padding: 102px 0 66px;
    }

    .tocador-entries__magic {
        width: calc(100% - 40px);

        margin-bottom: 34px;
    }

    .tocador-entries__heading {
        display: block;
    }

    .tocador-kicker {
        margin-bottom: 10px;

        font-size: 0.47rem;
        letter-spacing: 0.17em;
    }

    .tocador-entries__title {
        max-width: 350px;

        font-size: clamp(3.1rem, 13vw, 4.7rem);
        line-height: 0.92;
    }

    .tocador-entries__description {
        max-width: 315px;

        margin-top: 18px;

        font-size: 0.78rem;
        line-height: 1.62;
    }

    .tocador-entries__count {
        display: inline-block;

        margin-top: 18px;
    }

    .tocador-entries__button {
        gap: 15px;

        margin-top: 22px;
        padding: 10px 14px;

        font-size: 0.43rem;
    }

    .tocador-entries__signature {
        margin-top: 24px;

        font-size: 1.45rem;
    }

    .tocador-list {
        gap: 13px;

        padding-right: 18px;
        padding-left: 18px;

        scroll-padding-left: 18px;
    }

    .tocador-list.is-visible {
        max-height: 690px;

        padding-top: 5px;
        padding-bottom: 18px;
    }

    .tocador-card {
        flex: 0 0 min(70vw, 265px);

        width: min(70vw, 265px);

        padding: 11px 11px 20px;
    }

    .tocador-card__image {
        height: 285px;
    }

    .tocador-card__content {
        min-height: 270px;

        padding: 19px 8px 0 18px;
    }

    .tocador-card__entry {
        font-size: 0.37rem;
    }

    .tocador-card__mood {
        font-size: 0.37rem;
    }

    .tocador-card h3 {
        font-size: clamp(1.6rem, 6.7vw, 2.05rem);
    }

    .tocador-card__excerpt {
        font-size: 0.69rem;
        line-height: 1.55;
    }

    .tocador-card__read {
        font-size: 0.4rem;
    }

    .tocador-swipe-hint.is-visible {
        width: calc(100% - 36px);

        margin-top: 4px;
        padding-top: 8px;

        font-size: 0.39rem;
    }

    .tocador-reader {
        padding: 9px;
    }

    .tocador-reader__page {
        max-height: 96svh;

        border-radius: 15px;
    }

    .tocador-reader__cover {
        min-height: 480px;
    }

    .tocador-reader__cover-content {
        width: calc(100% - 38px);

        padding: 90px 0 34px;
    }

    .tocador-reader__meta {
        font-size: 0.39rem;
    }

    .tocador-reader__cover-content h2 {
        font-size: clamp(2.5rem, 10.5vw, 4rem);
        line-height: 0.94;
    }

    .tocador-reader__cover-content > p {
        margin-top: 16px;

        font-size: 1.15rem;
    }

    .tocador-reader__body {
        width: calc(100% - 40px);

        padding-top: 38px;

        font-size: 0.8rem;
        line-height: 1.72;
    }

    .tocador-reader__body h3 {
        margin-top: 33px;

        font-size: clamp(1.65rem, 7vw, 2.25rem);
    }

    .tocador-reader__ending {
        width: calc(100% - 40px);

        padding-bottom: 40px;
    }
}

@media (max-width: 390px) {

    .tocador-entries__magic {
        width: calc(100% - 36px);
    }

    .tocador-card {
        flex-basis: min(72vw, 248px);

        width: min(72vw, 248px);
    }

    .tocador-card__image {
        height: 265px;
    }

    .tocador-reader__cover {
        min-height: 440px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .tocador-entries__glow,
    .tocador-entries__sparkles span,
    .tocador-entries__button i,
    .tocador-swipe-hint i {
        animation: none !important;
    }
}


/* =========================================================
   EL TOCADOR — TARJETAS MÁS PEQUEÑAS EN MÓVIL
========================================================= */

@media (max-width: 720px) {

    .tocador-list {
        gap: 11px;

        padding-right: 18px;
        padding-left: 18px;

        scroll-padding-left: 18px;
    }

    .tocador-card {
        flex: 0 0 min(62vw, 235px);

        width: min(62vw, 235px);

        padding: 9px 9px 17px;

        border-radius: 7px 15px 15px 7px;
    }

    .tocador-card::before {
        top: 10px;
        bottom: 10px;
        left: 17px;
    }

    .tocador-card__image {
        height: 245px;

        border-radius: 6px 11px 11px 6px;
    }

    .tocador-card__content {
        min-height: 245px;

        padding:
            16px
            7px
            0
            16px;
    }

    .tocador-card__entry {
        gap: 8px;

        margin-bottom: 9px;

        font-size: 0.32rem;
        letter-spacing: 0.1em;
    }

    .tocador-card__mood {
        margin-bottom: 8px;
        padding: 5px 7px;

        font-size: 0.32rem;
        letter-spacing: 0.1em;
    }

    .tocador-card h3 {
        font-size: clamp(1.3rem, 5.4vw, 1.68rem);
        line-height: 1.02;
        letter-spacing: -0.025em;
    }

    .tocador-card__excerpt {
        margin-top: 10px;

        font-size: 0.62rem;
        line-height: 1.5;
    }

    .tocador-card__read {
        padding-top: 14px;

        font-size: 0.34rem;
        letter-spacing: 0.1em;
    }
}

@media (max-width: 390px) {

    .tocador-card {
        flex-basis: min(60vw, 218px);
        width: min(60vw, 218px);
    }

    .tocador-card__image {
        height: 225px;
    }

    .tocador-card__content {
        min-height: 232px;
    }

    .tocador-card h3 {
        font-size: clamp(1.2rem, 5.2vw, 1.55rem);
    }
}

@media (max-width:720px){

    .tocador-card{

        flex:0 0 210px;
        width:210px;

        padding:8px;

        border-radius:8px 14px 14px 8px;
    }

    .tocador-card__image{

        height:220px;
    }

    .tocador-card__content{

        min-height:auto;
        padding:14px;
    }

    .tocador-card__entry{

        font-size:.31rem;
        margin-bottom:8px;
    }

    .tocador-card__mood{

        font-size:.31rem;
        padding:4px 7px;
        margin-bottom:8px;
    }

    .tocador-card h3{

        font-size:1.45rem;
        line-height:.98;
        margin-bottom:10px;
    }

    .tocador-card__excerpt{

        font-size:.60rem;
        line-height:1.45;

        display:-webkit-box;
        -webkit-line-clamp:4;
        -webkit-box-orient:vertical;
        overflow:hidden;
    }

    .tocador-card__read{

        margin-top:14px;
        padding-top:0;

        font-size:.33rem;
    }

}

/* =========================================================
   EL TOCADOR — CARRUSEL FUNCIONAL EN PC
========================================================= */

@media (min-width: 721px) {

    .tocador-list {
        cursor: grab;

        overflow-x: auto;
        overflow-y: hidden;

        scroll-behavior: smooth;
        scroll-snap-type: x proximity;

        overscroll-behavior-inline: contain;

        padding-right: 7vw;
        padding-left: 7vw;
    }

    .tocador-list:active {
        cursor: grabbing;
    }

    .tocador-card {
        flex: 0 0 340px;
        width: 340px;

        scroll-snap-align: start;
    }
}

.tocador-list.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
    user-select: none;
}

.tocador-list.is-dragging img {
    pointer-events: none;
}

.tocador-carousel-controls{

    width:min(90%,1220px);

    display:none;

    justify-content:flex-end;
    gap:10px;

    margin:18px auto 0;
}

.tocador-carousel-controls.is-visible{

    display:flex;
}

.tocador-carousel-controls button {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(213, 178, 112, 0.28);
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.025);
    color: #ffffff;

    cursor: pointer;
}

.tocador-carousel-controls button:hover {
    border-color: var(--tocador-pink-soft);
    color: var(--tocador-pink-soft);
}

@media (max-width: 720px) {
    .tocador-carousel-controls {
        display: none;
    }
}


.tocador-carousel-controls{

    display:flex;

    opacity:0;
    visibility:hidden;

    transform:translateY(15px);

    pointer-events:none;

    transition:.45s;
}

.tocador-carousel-controls.is-visible{

    opacity:1;
    visibility:visible;

    transform:translateY(0);

    pointer-events:auto;
}

/* =========================================================
   INTRO DEFINITIVA · EL TOCADOR
========================================================= */

body.tocador-intro-open {
    overflow: hidden;
}

body.tocador-intro-open .loader {
    display: none !important;
}

.tocador-intro {
    position: fixed;
    inset: 0;
    z-index: 999999;

    min-height: 100svh;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
    isolation: isolate;

    padding: 74px 5% 42px;

    background:
        radial-gradient(
            circle at 73% 42%,
            rgba(237, 83, 151, 0.19),
            transparent 31%
        ),
        radial-gradient(
            circle at 19% 52%,
            rgba(109, 35, 69, 0.25),
            transparent 38%
        ),
        linear-gradient(
            135deg,
            #050405,
            #180b12 52%,
            #070506
        );

    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    transition:
        opacity 0.8s ease,
        visibility 0.8s ease,
        transform 0.85s cubic-bezier(0.7, 0, 0.2, 1);
}

.tocador-intro[hidden] {
    display: none !important;
}

.tocador-intro.is-leaving {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translateY(-28px) scale(1.015);
}

.tocador-intro__texture {
    position: absolute;
    inset: 0;
    z-index: -5;

    opacity: 0.13;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.018) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.013) 1px,
            transparent 1px
        );

    background-size: 42px 42px;
}

.tocador-intro__light {
    position: absolute;
    inset: -28%;
    z-index: -4;

    background:
        radial-gradient(
            circle at 65% 44%,
            rgba(245, 171, 201, 0.17),
            transparent 27%
        );

    filter: blur(46px);

    animation: tocadorIntroLight 8s ease-in-out infinite alternate;
}

@keyframes tocadorIntroLight {
    to {
        transform: translate3d(5%, -3%, 0) scale(1.11);
    }
}

.tocador-intro__content {
    position: relative;
    z-index: 3;

    width: min(100%, 1480px);
    min-height: min(820px, calc(100svh - 110px));

    display: grid;
    grid-template-columns:
        minmax(420px, 0.88fr)
        minmax(480px, 1.12fr);

    align-items: center;
    gap: clamp(24px, 4.5vw, 78px);

    margin: 0 auto;
}

.tocador-intro__copy {
    position: relative;
    z-index: 6;

    max-width: 660px;
}

.tocador-intro__logo {
    width: clamp(90px, 8vw, 132px);
    height: auto;

    display: block;

    margin-bottom: 25px;

    filter:
        drop-shadow(0 0 18px rgba(238, 92, 159, 0.2));

    opacity: 0;
    transform: translateY(18px);

    animation:
        tocadorIntroText 0.7s ease 0.1s forwards;
}

.tocador-intro__kicker {
    margin-bottom: 15px;

    color: #f06aa6;

    font-size: 0.58rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;

    opacity: 0;
    transform: translateY(18px);

    animation:
        tocadorIntroText 0.75s ease 0.25s forwards;
}

.tocador-intro__title {
    max-width: 650px;

    color: #f5d7b5;

    font-family: "Bodoni Moda", serif;
    font-size: clamp(4.4rem, 7.15vw, 8.1rem);
    font-weight: 400;
    line-height: 0.82;
    letter-spacing: -0.065em;

    text-shadow:
        0 0 24px rgba(245, 171, 201, 0.08);

    opacity: 0;
    transform: translateY(24px);

    animation:
        tocadorIntroText 0.9s ease 0.42s forwards;
}

.tocador-intro__title span {
    display: block;

    margin-top: 17px;

    color: #ef77a9;

    font-size: 0.49em;
    line-height: 1;
    letter-spacing: -0.035em;
}

.tocador-intro__title em {
    display: block;

    margin-top: -4px;

    color: #ff92bf;

    font-family: "Caveat", cursive;
    font-size: 0.78em;
    font-weight: 500;
    font-style: normal;
    line-height: 0.9;
    letter-spacing: -0.02em;

    text-shadow:
        0 0 8px rgba(255, 105, 170, 0.72),
        0 0 23px rgba(255, 76, 150, 0.34);
}

.tocador-intro__ornament {
    width: min(100%, 310px);

    display: flex;
    align-items: center;
    gap: 15px;

    margin: 27px 0 22px;

    opacity: 0;

    animation:
        tocadorIntroText 0.75s ease 0.67s forwards;
}

.tocador-intro__ornament span {
    flex: 1;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(213, 178, 112, 0.76)
        );
}

.tocador-intro__ornament span:last-child {
    background:
        linear-gradient(
            90deg,
            rgba(213, 178, 112, 0.76),
            transparent
        );
}

.tocador-intro__ornament i {
    color: #e3bd77;

    font-size: 0.76rem;
    font-style: normal;

    animation:
        tocadorIntroStar 2.4s ease-in-out infinite;
}

.tocador-intro__description {
    max-width: 430px;

    color: #e8c99f;

    font-family: "Bodoni Moda", serif;
    font-size: clamp(1.03rem, 1.5vw, 1.34rem);
    line-height: 1.55;

    opacity: 0;
    transform: translateY(17px);

    animation:
        tocadorIntroText 0.75s ease 0.78s forwards;
}

.tocador-intro__button {
    min-width: 220px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 13px;

    margin-top: 29px;
    padding: 15px 32px;

    border: 1px solid rgba(255, 169, 205, 0.77);
    border-radius: 999px;

    background:
        linear-gradient(
            135deg,
            rgba(219, 74, 136, 0.92),
            rgba(139, 47, 89, 0.93)
        );

    color: #ffffff;

    box-shadow:
        0 13px 39px rgba(219, 74, 136, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);

    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;

    cursor: pointer;

    opacity: 0;
    transform: translateY(18px);

    animation:
        tocadorIntroText 0.75s ease 0.92s forwards,
        tocadorIntroButton 2.8s ease-in-out 1.9s infinite;

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        background 0.35s ease;
}

.tocador-intro__button:hover {
    transform: translateY(-4px) scale(1.025);

    background:
        linear-gradient(
            135deg,
            #ef6da8,
            #a43a6b
        );

    box-shadow:
        0 18px 48px rgba(219, 74, 136, 0.42),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.tocador-intro__button i {
    color: #ffe2ee;

    font-style: normal;
}

@keyframes tocadorIntroText {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes tocadorIntroStar {
    0%,
    100% {
        opacity: 0.45;
        transform: rotate(0deg) scale(0.8);
    }

    50% {
        opacity: 1;
        transform: rotate(90deg) scale(1.18);
    }
}

@keyframes tocadorIntroButton {
    50% {
        box-shadow:
            0 18px 49px rgba(219, 74, 136, 0.42),
            0 0 0 7px rgba(245, 171, 201, 0.035);
    }
}

/* Escena */

.tocador-intro__scene {
    position: relative;

    min-width: 0;
    height: min(850px, calc(100svh - 90px));

    display: flex;
    align-items: flex-end;
    justify-content: center;

    opacity: 0;
    transform: translateX(38px);

    animation:
        tocadorSceneEnter 1.05s ease 0.35s forwards;
}

.tocador-intro__halo {
    position: absolute;
    top: 17%;
    right: 4%;

    width: 76%;
    height: 67%;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(238, 92, 159, 0.18),
            transparent 67%
        );

    filter: blur(20px);

    animation:
        tocadorHalo 5s ease-in-out infinite alternate;
}

.tocador-intro__character {
    position: relative;
    z-index: 3;

    width: auto;
    max-width: 100%;
    height: 100%;

    display: block;

    object-fit: contain;
    object-position: center bottom;

    filter:
        drop-shadow(0 35px 55px rgba(0, 0, 0, 0.48));

    transform-origin: center bottom;

    animation:
        tocadorCharacterRelax 4.2s ease-in-out 1.2s infinite;

    -webkit-user-drag: none;
    user-select: none;
}

@keyframes tocadorSceneEnter {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes tocadorCharacterRelax {
    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-6px) rotate(0.22deg);
    }
}

@keyframes tocadorHalo {
    to {
        transform: scale(1.1) translateY(-2%);
        opacity: 0.72;
    }
}

/* Vapor superpuesto sobre la taza de la ilustración */

.tocador-intro__steam {
    position: absolute;
    top: 28%;
    left: 30%;
    z-index: 5;

    width: 78px;
    height: 115px;

    pointer-events: none;
}

.tocador-intro__steam span {
    position: absolute;
    bottom: 0;

    width: 3px;
    height: 66px;

    border-radius: 50%;

    background:
        linear-gradient(
            0deg,
            transparent,
            rgba(255, 238, 230, 0.68),
            transparent
        );

    filter: blur(2px);

    opacity: 0;

    animation:
        tocadorSteam 3.2s ease-in-out infinite;
}

.tocador-intro__steam span:nth-child(1) {
    left: 10px;
}

.tocador-intro__steam span:nth-child(2) {
    left: 34px;

    height: 83px;

    animation-delay: 0.85s;
}

.tocador-intro__steam span:nth-child(3) {
    left: 58px;

    animation-delay: 1.6s;
}

@keyframes tocadorSteam {
    0% {
        opacity: 0;

        transform:
            translateY(12px)
            translateX(0)
            scaleY(0.68);
    }

    31% {
        opacity: 0.68;
    }

    72% {
        opacity: 0.2;
    }

    100% {
        opacity: 0;

        transform:
            translateY(-48px)
            translateX(11px)
            scaleY(1.18);
    }
}

/* Destellos */

.tocador-intro__sparkles {
    position: absolute;
    inset: 0;
    z-index: 2;

    pointer-events: none;
}

.tocador-intro__sparkles span {
    position: absolute;

    width: 4px;
    height: 4px;

    border-radius: 50%;

    background: #f8acd0;

    box-shadow:
        0 0 13px rgba(248, 172, 208, 0.98);

    opacity: 0;

    animation:
        tocadorIntroSparkle 5.5s ease-in-out infinite;
}

.tocador-intro__sparkles span:nth-child(1) {
    top: 17%;
    left: 9%;
}

.tocador-intro__sparkles span:nth-child(2) {
    top: 32%;
    left: 42%;

    animation-delay: 0.9s;
}

.tocador-intro__sparkles span:nth-child(3) {
    bottom: 18%;
    left: 28%;

    animation-delay: 1.8s;
}

.tocador-intro__sparkles span:nth-child(4) {
    top: 15%;
    right: 22%;

    animation-delay: 2.7s;
}

.tocador-intro__sparkles span:nth-child(5) {
    bottom: 22%;
    right: 9%;

    animation-delay: 3.6s;
}

.tocador-intro__sparkles span:nth-child(6) {
    top: 54%;
    right: 45%;

    animation-delay: 4.45s;
}

@keyframes tocadorIntroSparkle {
    0%,
    100% {
        opacity: 0;
        transform: translateY(10px) scale(0.55);
    }

    43% {
        opacity: 0.9;
    }

    72% {
        opacity: 0.16;
        transform: translateY(-25px) scale(1.18);
    }
}

/* Tablet */

@media (max-width: 1080px) {

    .tocador-intro {
        padding-inline: 4%;
    }

    .tocador-intro__content {
        grid-template-columns:
            minmax(360px, 0.86fr)
            minmax(410px, 1.14fr);

        gap: 18px;
    }

    .tocador-intro__scene {
        height: min(760px, calc(100svh - 95px));
    }

    .tocador-intro__steam {
        top: 29%;
        left: 28%;
    }
}

/* Móvil */

@media (max-width: 720px) {

    .tocador-intro {
        align-items: flex-start;

        overflow-y: auto;

        padding: 84px 18px 28px;
    }

    .tocador-intro__content {
        min-height: 0;

        display: flex;
        flex-direction: column;
        gap: 21px;
    }

    .tocador-intro__copy {
        width: 100%;
    }

    .tocador-intro__logo {
        width: 84px;

        margin-bottom: 17px;
    }

    .tocador-intro__kicker {
        margin-bottom: 9px;

        font-size: 0.43rem;
    }

    .tocador-intro__title {
        max-width: 350px;

        font-size: clamp(3.25rem, 14vw, 4.75rem);
        line-height: 0.84;
    }

    .tocador-intro__title span {
        margin-top: 12px;
    }

    .tocador-intro__ornament {
        width: 200px;

        margin: 18px 0 15px;
    }

    .tocador-intro__description {
        max-width: 310px;

        font-size: 0.92rem;
        line-height: 1.48;
    }

    .tocador-intro__button {
        min-width: 165px;

        margin-top: 20px;
        padding: 12px 24px;

        font-size: 0.56rem;
    }

    .tocador-intro__scene {
        width: 100%;
        height: min(610px, 118vw);

        margin-top: -3px;
    }

    .tocador-intro__character {
        max-width: 520px;
        height: 100%;
    }

    .tocador-intro__steam {
        top: 27%;
        left: 28%;

        transform: scale(0.72);
        transform-origin: bottom center;
    }
}

@media (max-width: 390px) {

    .tocador-intro {
        padding-inline: 16px;
    }

    .tocador-intro__title {
        font-size: clamp(3rem, 13.4vw, 4.15rem);
    }

    .tocador-intro__scene {
        height: min(560px, 125vw);
    }
}

@media (prefers-reduced-motion: reduce) {

    .tocador-intro *,
    .tocador-intro *::before,
    .tocador-intro *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}




@media (max-width: 720px) {

    .tocador-intro {
        position: fixed;
        inset: 0;
        overflow: hidden;
        padding: 70px 22px 30px;
    }

    .tocador-intro__content {
        position: relative;
        display: block;
        width: 100%;
        height: 100%;
    }

    .tocador-intro__copy {
        position: relative;
        z-index: 20;
        width: 62%;
        padding-top: 10px;
    }

    .tocador-intro__logo {
        width: 78px;
        margin-bottom: 15px;
    }

    .tocador-intro__title {
        font-size: 3.6rem;
        line-height: 0.82;
    }

    .tocador-intro__description {
        width: 240px;
        margin-top: 18px;
        font-size: 0.82rem;
    }

    .tocador-intro__button {
        margin-top: 18px;
    }

    /* MUÑECA */

    .tocador-intro__scene {
        position: absolute;
        right: -5%;
        bottom: 1%;

        width: 100%;
        height: 92%;

        display: flex;
        align-items: flex-end;
        justify-content: flex-end;

        pointer-events: none;
        z-index: 5;
    }

    .tocador-intro__character {
        width: auto;
        height: 68%;
        max-width: none;

        object-fit: contain;
        object-position: right bottom;
    }

    .tocador-intro__steam {
        top: 31%;
        left: 36%;

        transform: scale(0.62);
    }
}


@media (max-width: 390px) {

    .tocador-intro__scene {
        right: -17%;
        bottom: 1%;
        width: 104%;
    }

    .tocador-intro__character {
        height: 65%;
    }
}
