.ph-hero {
    --ph-acento: #E4E6EE;
    --ph-texto: #FFFFFF;
    --ph-texto-suave: rgba(255, 255, 255, 0.66);
    --ph-superficie: rgba(255, 255, 255, 0.08);
    --ph-borde: rgba(255, 255, 255, 0.14);
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 120px 0 48px;
    color: var(--ph-texto);
    font-family: Montserrat, sans-serif;
}

.ph-hero__fondo {
    position: absolute;
    inset: -8%;
    z-index: -2;
    background-size: cover;
    background-position: center;
    filter: blur(36px) saturate(1.4);
    transform: scale(1.12);
}

.ph-hero__velo {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(120% 90% at 30% 0%, rgba(255, 255, 255, 0.07), transparent 62%),
        linear-gradient(180deg, rgba(6, 6, 14, 0.74) 0%, rgba(6, 6, 14, 0.89) 55%, #06060e 100%);
}

.ph-hero__contenido {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 40px;
    align-items: start;
}

.ph-portada {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
    background: #10101c;
    animation: ph-entrada 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.ph-portada__fondo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.55) saturate(1.15);
}

.ph-portada__logo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12%;
}

.ph-portada::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid rgba(255, 255, 255, 0.16);
    pointer-events: none;
}

.ph-info {
    min-width: 0;
    animation: ph-entrada 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.08s both;
}

.ph-etiqueta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ph-texto-suave);
    margin-bottom: 14px;
}

.ph-etiqueta::before {
    content: "";
    width: 26px;
    height: 2px;
    background: var(--ph-acento);
}

.ph-titulo {
    font-size: clamp(28px, 4vw, 52px);
    font-weight: 800;
    line-height: 1.08;
    margin: 0 0 14px;
    letter-spacing: -0.02em;
}

.ph-sinopsis {
    font-size: 15px;
    line-height: 1.6;
    color: var(--ph-texto-suave);
    max-width: 68ch;
    margin: 0 0 18px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ph-sinopsis.esta-abierta {
    -webkit-line-clamp: unset;
    overflow: visible;
}

.ph-sinopsis p {
    margin: 0 0 8px;
}

.ph-vermas {
    background: none;
    border: 0;
    padding: 0;
    font-size: 13px;
    font-weight: 700;
    color: var(--ph-acento);
    cursor: pointer;
    margin-bottom: 18px;
}

.ph-metadatos {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 26px;
}

.ph-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--ph-superficie);
    border: 1px solid var(--ph-borde);
    font-size: 12.5px;
    font-weight: 600;
    color: var(--ph-texto-suave);
    backdrop-filter: blur(8px);
}

.ph-reproductor {
    padding: 20px 24px;
    border-radius: 24px;
    background: rgba(10, 10, 20, 0.55);
    border: 1px solid var(--ph-borde);
    backdrop-filter: blur(18px);
}

.ph-ahora {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    min-width: 0;
}

.ph-ahora__texto {
    min-width: 0;
}

.ph-ahora__rotulo {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ph-acento);
    margin-bottom: 3px;
}

.ph-ahora__titulo {
    display: block;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ph-eq {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 20px;
    flex-shrink: 0;
}

.ph-eq span {
    width: 3px;
    height: 30%;
    border-radius: 2px;
    background: var(--ph-acento);
}

.ph-eq.esta-sonando span {
    animation: ph-eq 0.9s ease-in-out infinite;
}

.ph-eq.esta-sonando span:nth-child(2) { animation-delay: 0.18s; }
.ph-eq.esta-sonando span:nth-child(3) { animation-delay: 0.36s; }
.ph-eq.esta-sonando span:nth-child(4) { animation-delay: 0.54s; }

.ph-barra {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.ph-tiempo {
    font-size: 12px;
    font-variant-numeric: tabular-nums;
    color: var(--ph-texto-suave);
    flex-shrink: 0;
    min-width: 42px;
}

.ph-tiempo--fin {
    text-align: right;
}

.ph-progreso {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    cursor: pointer;
    outline: none;
}

.ph-progreso::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2);
    transition: transform 0.15s ease;
}

.ph-progreso::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2);
}

.ph-progreso:hover::-webkit-slider-thumb {
    transform: scale(1.18);
}

.ph-controles {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.ph-boton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 42px;
    min-width: 42px;
    padding: 0 14px;
    border: 1px solid var(--ph-borde);
    border-radius: 999px;
    background: var(--ph-superficie);
    color: var(--ph-texto);
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.ph-boton svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.ph-boton:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.ph-boton--play {
    height: 56px;
    min-width: 56px;
    padding: 0 26px;
    background: #fff;
    color: #000;
    border-color: transparent;
    font-size: 14px;
}

.ph-boton--play svg {
    width: 22px;
    height: 22px;
}

.ph-girando {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid rgba(0, 0, 0, 0.2);
    border-top-color: #000;
    animation: ph-girar 0.7s linear infinite;
}

.ph-boton--activo {
    border-color: var(--ph-acento);
    color: var(--ph-acento);
}

.ph-boton svg text {
    fill: currentColor;
    font-family: inherit;
}

.ph-separador {
    flex: 1;
}

.ph-volumen {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ph-volumen input {
    -webkit-appearance: none;
    appearance: none;
    width: 84px;
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    outline: none;
}

.ph-volumen input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #fff;
}

.ph-volumen input::-moz-range-thumb {
    width: 11px;
    height: 11px;
    border: 0;
    border-radius: 50%;
    background: #fff;
}

.ph-aviso {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
    padding: 10px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.22);
    font-size: 13px;
}

.ph-aviso button {
    background: none;
    border: 0;
    padding: 0;
    color: var(--ph-acento);
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    text-decoration: underline;
}

.ph-aviso__cerrar {
    margin-left: auto;
    color: var(--ph-texto-suave) !important;
    text-decoration: none !important;
}

@media (hover: hover) {
    .ph-boton:hover {
        background: rgba(255, 255, 255, 0.16);
        border-color: rgba(255, 255, 255, 0.3);
    }

    .ph-boton--play:hover {
        background: #fff;
        box-shadow: 0 8px 26px rgba(255, 255, 255, 0.22);
        transform: scale(1.03);
    }

    .ph-vermas:hover {
        text-decoration: underline;
    }
}

@keyframes ph-eq {
    0%, 100% { height: 25%; }
    50% { height: 100%; }
}

@keyframes ph-girar {
    to { transform: rotate(360deg); }
}

@keyframes ph-entrada {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: none; }
}

@media (max-width: 991px) {
    .ph-hero {
        padding: 92px 0 36px;
    }

    .ph-hero__contenido {
        grid-template-columns: 180px minmax(0, 1fr);
        gap: 26px;
    }
}

@media (max-width: 767px) {
    .ph-hero__contenido {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .ph-portada {
        max-width: 320px;
    }

    .ph-metadatos,
    .ph-etiqueta {
        justify-content: center;
    }

    .ph-metadatos {
        justify-content: center;
    }

    .ph-reproductor {
        padding: 18px 16px;
    }

    .ph-controles {
        justify-content: center;
    }

    .ph-separador {
        display: none;
    }

    .ph-volumen {
        display: none;
    }

    .ph-ahora {
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ph-portada,
    .ph-info {
        animation: none;
    }

    .ph-eq.esta-sonando span {
        animation: none;
        height: 60%;
    }
}
