/* ============================================================
   ESTILOS ESPECÍFICOS PARA SINGLE DE PLAYSTATION 1
   ============================================================ */

/* ===== 1. TÍTULO ===== */
.sp-movie-title {
    text-align: left;
    font-size: 2.2em;
    color: #e6e6e6;
    margin: 0;
    line-height: 1.2;
}

/* ===== 2. POSTER + BOTÓN ===== */
.sp-movie-top-section {
    display: flex;
    gap: 30px;
    align-items: stretch;
}

.sp-movie-poster-section {
    flex: 0 0 319px !important;
    max-width: 319px !important;
    display: flex;
    flex-direction: column;
}

.sp-movie-poster-container {
    width: 319px !important;
    height: 311px !important;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
    flex-shrink: 0;
}

.sp-movie-poster-container img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.sp-download-button-poster {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    background: linear-gradient(135deg, #b80000, #d82323);
    color: #fff;
    text-decoration: none;
    border-radius: 0 0 12px 12px;
    font-weight: 600;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    width: 100%;
    text-align: center;
    height: 56px;
    flex-shrink: 0;
    box-sizing: border-box;
}

.sp-download-button-poster:hover {
    background: linear-gradient(135deg, #d82323, #b80000);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(184, 0, 0, 0.4);
}

/* ===== 3. TRAILER - CORREGIDO ===== */
.sp-trailer-section {
    position: relative !important;
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    background: #000;
    height: 367px !important;
    min-height: 367px !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sp-trailer-background {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: blur(8px) brightness(0.6);
    transform: scale(1.1);
    z-index: 1;
    pointer-events: none !important;
}

.sp-trailer-player {
    position: relative !important;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sp-trailer-play-button {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 80px !important;
    height: 80px !important;
    background: rgba(255, 44, 44, 0.9) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: 0.3s !important;
    z-index: 3 !important;
    border: none !important;
    box-shadow: 0 0 20px rgba(255, 44, 44, 0.5) !important;
    pointer-events: auto !important;
}

.sp-trailer-play-button:hover {
    transform: translate(-50%, -50%) scale(1.1) !important;
    background: #ff2c2c !important;
    box-shadow: 0 0 30px rgba(255, 44, 44, 0.7) !important;
}

.sp-trailer-play-button::before {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 15px 0 15px 25px;
    border-color: transparent transparent transparent #fff;
    margin-left: 5px;
}

.sp-trailer-inline-player {
    width: 100%;
    height: 100%;
    border: none;
    display: none;
}

.sp-trailer-placeholder {
    color: #fff;
    text-align: center;
    padding: 40px;
    z-index: 2;
    position: relative;
    pointer-events: none !important;
}

/* ===== 4. ETIQUETAS EN EL POSTER ===== */
.sp-post-type-label {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    z-index: 2;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.sp-post-year-label {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    z-index: 2;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== 5. FICHA TÉCNICA ===== */
.sp-technical-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin: 2px 0;
}

.sp-technical-label {
    font-weight: 600;
    color: #999;
    flex-shrink: 0;
    margin-right: 15px;
    font-size: 13px;
}

.sp-technical-value {
    color: #e6e6e6;
    text-align: right;
    flex: 1;
    font-size: 13px;
    padding-left: 10px;
}

/* ===== 6. RECOMENDADOS ===== */
.sp-recommended-thumbnail {
    height: 200px;
}

.sp-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.sp-recommended-item:hover .sp-overlay {
    opacity: 1;
}

.sp-overlay-logo {
    width: 60%;
    max-width: 120px;
}

.sp-overlay-logo-img {
    width: 100%;
    height: auto;
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

/* ===== 7. RESPONSIVE ===== */
@media (max-width: 1024px) {
    .sp-movie-top-section {
        flex-direction: column;
        align-items: center;
    }

    .sp-movie-poster-section {
        flex: 0 0 auto !important;
        max-width: 319px !important;
        width: 100% !important;
        margin: 0 auto;
    }

    .sp-movie-poster-container {
        width: 100% !important;
        max-width: 319px !important;
        height: 311px !important;
        margin: 0 auto;
    }

    .sp-trailer-section {
        width: 100%;
        height: 311px !important;
        min-height: 311px !important;
    }
}

@media (max-width: 768px) {
    .sp-movie-title {
        font-size: 1.8em;
    }

    .sp-movie-poster-section {
        max-width: 280px !important;
    }

    .sp-movie-poster-container {
        max-width: 280px !important;
        height: 273px !important;
    }

    .sp-trailer-section {
        height: 273px !important;
        min-height: 273px !important;
    }

    .sp-download-button-poster {
        height: 50px;
        font-size: 14px;
        padding: 10px 16px;
    }

    .sp-trailer-play-button {
        width: 60px !important;
        height: 60px !important;
    }

    .sp-trailer-play-button::before {
        border-width: 12px 0 12px 20px !important;
    }
}

@media (max-width: 480px) {
    .sp-movie-title {
        font-size: 1.5em;
    }

    .sp-movie-poster-section {
        max-width: 240px !important;
    }

    .sp-movie-poster-container {
        max-width: 240px !important;
        height: 234px !important;
    }

    .sp-trailer-section {
        height: 234px !important;
        min-height: 234px !important;
    }

    .sp-download-button-poster {
        height: 46px;
        font-size: 13px;
        padding: 8px 14px;
    }

    .sp-trailer-play-button {
        width: 50px !important;
        height: 50px !important;
    }

    .sp-trailer-play-button::before {
        border-width: 10px 0 10px 16px !important;
    }
}

/* ===== 8. BOTÓN PRÓXIMAMENTE ===== */
.sp-download-button-poster.sp-proximamente-btn {
    background: #656b71 !important;
    color: #ffffff !important;
    cursor: default !important;
    pointer-events: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 14px 20px !important;
    text-decoration: none !important;
    border-radius: 0 0 12px 12px !important;
    font-size: 16px !important;
    border: none !important;
    width: 100% !important;
    text-align: center !important;
    transition: none !important;
    box-shadow: none !important;
    height: 56px !important;
}

.sp-download-button-poster.sp-proximamente-btn i {
    color: #ffffff !important;
}

.sp-badge-proximamente {
    display: inline-block;
    background: #656b71;
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
    margin-left: 10px;
    font-weight: bold;
}