/* Estilos generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
}


/*Video*/
.video-container {
            background: rgb(27, 27, 27);
            border-radius: 20px;
            padding: 15px;
            box-shadow: 0 20px 40px rgba(0,0,0,0.1);
            margin-top: 20px;
        }

.video-container iframe{
border-radius: 15px;

}
/* Header */
.header {
    background-color: rgba(0, 0, 0, 0.8);
    padding: 20px 0;
    border-bottom: 3px solid #1e5799;
    width: 100%;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 15px;
}

.title {
    font-size: 2.5rem;
    font-weight: bold;
    color: white;
    margin: 0;
}

.buy-btn {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.buy-btn:hover {
    background-color: #45a049;
}

.movie-info {
    display: flex;
    gap: 20px;
    color: #ccc;
    font-size: 1.1rem;
    margin-left: 20px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.movie-info span {
    position: relative;
}

.movie-info span:not(:last-child)::after {
    content: "|";
    position: absolute;
    right: -12px;
    color: #999;
}

/* Contenido principal */
.main-content {
    padding: 40px 20px;
    min-height: calc(100vh - 200px);
}

.movie-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: start;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

/* Sección del poster */
.poster-section {
    display: flex;
    justify-content: center;
}

.poster-container {
    position: relative;
    max-width: 700px;
    width: 100%;
    background-color: #f5f5dc;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    padding: 18px;
}

.re-release {
    position: absolute;
    top: 15px;
    left: -5px;
    background-color: #e91e63;
    color: white;
    padding: 8px 20px;
    font-weight: bold;
    z-index: 3;
    font-size: 0.85rem;
    text-transform: uppercase;
    transform: rotate(-2deg);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.poster {
    width: 550px;
    height: auto;
    display: block;
    border-radius: 4px;
    margin-bottom: 20px;
}

.poster-overlay {
    position: static;
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 15px;
    text-align: center;
    border-radius: 4px;
    margin-top: 10px;
}

.poster-overlay h2 {
    font-size: 1.4rem;
    margin-bottom: 8px;
    font-weight: bold;
    letter-spacing: 2px;
}

.poster-overlay p {
    font-size: 0.8rem;
    opacity: 0.9;
    font-weight: 500;
}

/* Sección de información */
.info-section {
    padding-left: 20px;
}

.synopsis-card {
    background-color: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #1e5799;
}

.section-title {
    font-size: 2.2rem;
    color: #1e5799;
    margin-bottom: 20px;
    font-weight: bold;
}

.synopsis-text {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.8;
}

.subsection-title {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 15px;
    font-weight: bold;
}

/* Opciones de idioma */
.language-section {
    margin-bottom: 30px;
}

.language-options {
    display: flex;
    gap: 15px;
}

.lang-btn {
    padding: 10px 20px;
    border: 2px solid #1e5799;
    background-color: transparent;
    color: #1e5799;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;    
    
}

.lang-btn.active {
    background-color: #1e5799;
    
    color: white;
}

.lang-btn:hover {
    background-color: #1e5799;
    color: white;
    
}

/* Disponibilidad */
.availability-section {
    margin-bottom: 20px;
}

.availability-text {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .title {
        font-size: 2rem;
    }

    .movie-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .info-section {
        padding-left: 0;
    }

    .synopsis-card {
        padding: 20px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .language-options {
        flex-direction: column;
        gap: 10px;
    }

    .lang-btn {
        text-align: center;
    }
}