/* ==========================================================
   LA TOXICA DIGITAL
   NUEVO DISEÑO DESKTOP BASADO EN DEMO
   No modifica la aplicación móvil.
========================================================== */

@media (min-width: 768px) {

    html,
    body {
        min-height: 100%;
        background: #FFFFFF !important;
    }

    body {
        margin: 0;
    }

    #desktop-app {
        min-height: 100vh;
        padding: 0 0 0 !important;
        display: flex;
        flex-direction: column;
        color: #f7f8fb;
        background: #FFFFFF;
        font-family: Arial, Helvetica, sans-serif;
        overflow: hidden;
    }

    #desktop-app *,
    #desktop-app *::before,
    #desktop-app *::after {
        box-sizing: border-box;
    }

    /* HEADER */

    #desktop-app .demo-header {
        width: 100%;
        height: 76px;
        min-height: 76px;
        padding: 0 clamp(28px, 6vw, 90px);
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-bottom: 1px solid rgba(255, 255, 255, 0.075);
    }

    #desktop-app .demo-brand {
        color: #f7f8fb;
        font-size: 18px;
        font-weight: 900;
        letter-spacing: 1.8px;
    }

    #desktop-app .demo-live-pill {
        display: inline-flex;
        align-items: center;
        gap: 9px;
        padding: 9px 15px;
        border: 1px solid rgba(255, 73, 73, 0.28);
        border-radius: 30px;
        background: rgba(255, 65, 65, 0.10);
        color: #ff7777;
        font-size: 11px;
        font-weight: 800;
        letter-spacing: 1.2px;
    }

    #desktop-app .demo-live-dot {
        width: 8px;
        height: 8px;
        flex: 0 0 8px;
        border-radius: 50%;
        background: #ff4545;
        box-shadow: 0 0 12px rgba(255, 69, 69, 0.75);
    }

    /* CONTENIDO PRINCIPAL */

    #desktop-app .demo-main {
        width: min(1180px, calc(100% - 64px));
        flex: 1;
        margin: 0 auto;
        padding: 58px 0;
        display: grid;
        grid-template-columns: 0.9fr 1.1fr;
        align-items: center;
        gap: clamp(36px, 4vw, 64px);
    }

    #desktop-app .demo-intro {
        min-width: 0;
    }

    #desktop-app .demo-eyebrow {
        margin-bottom: 22px;
        color: #ffd21a;
        font-size: 12px;
        font-weight: 800;
        letter-spacing: 3px;
    }

    #desktop-app .demo-title {
        margin: 0;
        color: #f7f8fb;
        font-size: clamp(64px, 7.5vw, 104px);
        font-weight: 1000;
        line-height: 0.88;
        letter-spacing: -5px;
    }

    #desktop-app .demo-title span {
        display: block;
        color: #ffd21a;
    }

    #desktop-app .demo-description {
        max-width: 460px;
        margin: 30px 0 25px;
        color: #aab0bc;
        font-size: 16px;
        line-height: 1.8;
    }

    #desktop-app .demo-url {
        color: #f7f8fb;
        font-size: 11px;
        font-weight: 800;
        letter-spacing: 2.2px;
    }

    /* TARJETA DEL REPRODUCTOR */

    #desktop-app .demo-player-area {
        width: 100%;
        min-width: 0;
    }

    #desktop-app .demo-player-card {
        width: 100%;
        padding: 25px;
        border: 1px solid rgba(255, 255, 255, 0.09);
        border-radius: 24px;
        background:
            linear-gradient(
                145deg,
                rgba(29, 36, 49, 0.98),
                rgba(13, 17, 25, 0.99)
            );
        box-shadow:
            0 28px 70px rgba(0, 0, 0, 0.42),
            inset 0 1px 0 rgba(255, 255, 255, 0.035);
    }

    #desktop-app .demo-player-host {
        display: block !important;
        width: 100%;
        min-width: 0;
        position: relative;
    }

    #desktop-app .demo-player-host .player-web {
        position: relative !important;
        inset: auto !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    #desktop-app .demo-player-host .player-web-container {
        position: relative !important;
        display: grid !important;
        grid-template-columns: 112px minmax(0, 1fr);
        grid-template-rows: auto auto auto;
        align-items: center;
        gap: 10px 22px;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        border: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

            /* REPRODUCTOR PREMIUM - DESKTOP */

    #desktop-app .demo-player-host .player-web-container {
        position: relative !important;
        display: grid !important;
        grid-template-columns: 84px minmax(0, 1fr) 58px;
        grid-template-rows: minmax(58px, auto) 22px;
        align-items: center;
        column-gap: 16px;
        row-gap: 2px;
        width: 100% !important;
        min-height: 112px !important;
        padding: 12px 18px !important;
        margin: 0 !important;
        border: 1px solid rgba(255,255,255,.10) !important;
        border-radius: 20px !important;
        background:
            radial-gradient(ellipse at 12% 0%, rgba(255,255,255,.09), transparent 45%),
            linear-gradient(135deg, #1c222c 0%, #111720 52%, #0b1018 100%) !important;
        box-shadow:
            0 18px 45px rgba(0,0,0,.35),
            inset 0 1px 0 rgba(255,255,255,.07) !important;
        overflow: hidden;
    }

    /* DETALLE SUPERIOR */

    #desktop-app .demo-player-host .player-web-container::after {
        content: "";
        position: absolute;
        top: 0;
        left: 22%;
        width: 56%;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent);
        pointer-events: none;
    }

    /* PORTADA */

    #desktop-app .demo-player-host .player-web-container::before {
        content: "";
        display: block;
        grid-column: 1;
        grid-row: 1;
        justify-self: center;
        align-self: center;
        width: 76px;
        height: 76px;
        border: 1px solid rgba(255,255,255,.18);
        border-radius: 13px;
        background-color: #171e29;
        background-image:
            url("../../assets/logos/logo_1.png"),
            linear-gradient(145deg, #293342, #10151e);
        background-repeat: no-repeat;
        background-position: center;
        background-size: 88% auto, cover;
        box-shadow:
            0 12px 25px rgba(0,0,0,.38),
            0 0 0 5px rgba(255,255,255,.025);
    }

    /* INFORMACION */

    #desktop-app .demo-player-host .player-web-info {
        display: flex !important;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        grid-column: 2;
        grid-row: 1;
        gap: 7px;
        width: 100% !important;
        min-width: 0;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* NOMBRE DE LA ESTACION */

    #desktop-app .demo-player-host .player-web-station {
        display: block;
        position: relative;
        width: 100%;
        min-width: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        color: #ffffff;
        font-family: "Montserrat", "Arial Black", sans-serif;
        font-size: 15px;
        line-height: 1.2;
        font-weight: 900;
        letter-spacing: .9px;
        text-transform: uppercase;
        text-shadow: 0 2px 12px rgba(0,0,0,.25);
    }

    #desktop-app .demo-player-host .player-web-station::after {
        content: none !important;
        display: none !important;
    }

    /* CANCION Y ARTISTA */

    #desktop-app .demo-player-host .player-web-song {
        display: block !important;
        width: 100%;
        min-width: 0;
        margin: 0 !important;
        padding: 0 !important;
        color: #dce1e9 !important;
        font-family: "Montserrat", Arial, sans-serif;
        font-size: 12px !important;
        line-height: 1.5;
        font-weight: 600 !important;
        letter-spacing: .15px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* TRANSMISION EN DIRECTO */

    #desktop-app .demo-player-host .player-web-transmission {
        display: inline-flex;
        align-items: center;
        gap: 7px;
        width: fit-content;
        margin-top: 3px;
        padding: 5px 9px;
        border: 1px solid rgba(32,237,131,.18);
        border-radius: 5px;
        background: rgba(32,237,131,.055);
        color: #b8c3c0;
        font-family: "Montserrat", Arial, sans-serif;
        font-size: 9px;
        line-height: 1.2;
        font-weight: 800;
        letter-spacing: 1.2px;
        text-transform: uppercase;
    }

    #desktop-app .demo-player-host .player-web-transmission::before {
        content: "";
        width: 6px;
        height: 6px;
        flex: 0 0 6px;
        border-radius: 50%;
        background: #20ed83;
        box-shadow: 0 0 9px rgba(32,237,131,.65);
    }

    #desktop-app .demo-player-host .player-web-live {
        display: none !important;
    }

    /* FAVORITO */

    #desktop-app .demo-player-host .player-web-favorite {
        display: inline-flex !important;
        position: static !important;
        grid-column: auto;
        grid-row: auto;
        align-items: center;
        justify-content: center;
        width: 13px;
        height: 13px;
        margin: 0 0 0 3px !important;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        color: #20ed83;
        font-size: 11px;
        line-height: 1;
        text-shadow: 0 0 9px rgba(32,237,131,.45);
    }

    /* CONTROL POWER */

    #desktop-app .demo-player-host .player-web-controls {
        display: flex !important;
        grid-column: 3;
        grid-row: 1 / span 2;
        align-items: center;
        justify-content: center;
        align-self: center;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
    }

    #desktop-app .demo-player-host .player-web-play {
        display: flex !important;
        position: relative !important;
        align-items: center;
        justify-content: center;
        width: 48px !important;
        height: 48px !important;
        min-width: 48px !important;
        min-height: 48px !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 1px solid rgba(255,255,255,.28) !important;
        border-radius: 50% !important;
        background: linear-gradient(145deg, #ffffff, #dce1e8) !important;
        color: #10151d !important;
        box-shadow:
            0 7px 20px rgba(0,0,0,.30),
            inset 0 1px 1px rgba(255,255,255,.9);
        cursor: pointer;
        transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
    }

    #desktop-app .demo-player-host .player-web-play.playing {
        border-color: rgba(32,237,131,.75) !important;
        background: linear-gradient(145deg, #30f59a, #16c978) !important;
        color: #07130d !important;
        box-shadow:
            0 0 0 5px rgba(32,237,131,.07),
            0 0 22px rgba(32,237,131,.24);
    }

    #desktop-app .demo-player-host .player-web-play:hover {
        transform: scale(1.06);
        box-shadow:
            0 9px 25px rgba(0,0,0,.38),
            0 0 18px rgba(255,255,255,.12);
    }

    #desktop-app .demo-player-host .player-web-play i {
        color: #10151d !important;
        font-size: 19px !important;
    }

    #desktop-app .demo-player-host .player-web-play.playing i {
        color: #07130d !important;
    }

    #desktop-app .demo-player-host #player-web-audio {
        display: none !important;
    }
/* FOOTER */

    #desktop-app .demo-footer {
        width: 100%;
        padding: 22px 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.07);
        color: #727b89;
        font-size: 10px;
        font-weight: 700;
        letter-spacing: 1.5px;
        text-align: center;
    }

}

/* AJUSTE PARA VENTANAS DESKTOP MÁS ESTRECHAS */

@media (min-width: 768px) and (max-width: 1000px) {

    #desktop-app .demo-main {
        width: calc(100% - 48px);
        gap: 32px;
    }

    #desktop-app .demo-title {
        font-size: clamp(58px, 7vw, 76px);
        letter-spacing: -3px;
    }

    #desktop-app .demo-player-card {
        padding: 19px;
    }

}






/*==================================================
    MENU PRINCIPAL DESKTOP
    DEBAJO DE LA PORTADA PANORAMICA
==================================================*/

@media screen and (min-width: 768px) {

    #desktop-app .desktop-nav {
        position: relative;
        z-index: 10;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px 26px;
        width: 100%;
        min-height: 64px;
        margin: 0;
        padding: 12px clamp(20px, 4vw, 60px);
        box-sizing: border-box;
        background: #111720;
        border-top: 1px solid rgba(255,255,255,.08);
        border-bottom: 1px solid rgba(255,255,255,.10);
    }

    #desktop-app .desktop-nav a {
        display: inline-flex;
        align-items: center;
        min-height: 38px;
        padding: 0 5px;
        color: #f7f8fb;
        font-family: Montserrat, Arial, sans-serif;
        font-size: 11px;
        font-weight: 800;
        letter-spacing: .7px;
        text-decoration: none;
        white-space: nowrap;
        transition: color .2s ease;
    }

    #desktop-app .desktop-nav a:hover {
        color: #FFD400;
    }

    #desktop-app .desktop-nav #desktop-menu-acceso {
        color: #FFD400;
    }

}