body {
    margin: 0;
    font-family: 'Josefin Sans', sans-serif;
    background: linear-gradient(to right, #1e1f26, #4b0082);
    color: white;
}

header.hero {
    background-image: url('/img/DerryGirlsFondo.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 60vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.6);
}

.hero-content {
    text-align: center;
    max-width: 600px;
}

.hero h1 {
    font-size: 4em;
    margin: 0;
    text-transform: uppercase;
}

.hero p {
    font-size: 1.5em;
    margin-top: 10px;
}

section {
    padding: 40px 20px;
    max-width: 900px;
    margin: auto;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

h2 {
    color: #ff6f61;
    border-bottom: 2px solid #ff6f61;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.introduccion p{
    font-size: 1.2em;
    line-height: 1.6;
}

.elenco-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.actor {
    text-align: center;
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(10px);
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.actor:hover {
    transform: scale(1.05);
}

.actor img {
    width: 100%;
    max-width: 140px;
    height: auto;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
}

.actor h3 {
    margin: 10px 0 5px;
    color: #ff6f61;
}

.actor p {
    margin: 0;
    color: #ddd;
}

.galeria {
    max-width: 1000px;
}

.galeria-expandible {
    display: flex;
    width: 100%;
    max-width: 900px;
    height: 430px;
    margin: auto;
    border-radius: 10px;
    overflow: hidden;
}

.galeria-expandible img {
    width: 0;
    flex-grow: 1;
    object-fit: cover;
    opacity: 0.8;
    transition: 0.5s ease;
    height: 100%;
}

.galeria-expandible img:hover {
    cursor: zoom-in;
    width: 300px;
    opacity: 1;
    filter: contrast(120%);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}