/* ===== COLOR BASE DE ESTA PÁGINA ===== */
body {
    background-color: var(--color-amarillo);
    color: #fff;
}

/* ===== TEXTO GIGANTE ===== */
.texto-fondo-fijo {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
    z-index: -1;
    pointer-events: none;
    line-height: 0.8;
}

.texto-fondo-fijo span {
    font-size: 3rem;
    opacity: 0.2;
    margin-right: 55%;
}

.texto-fondo-fijo h1 {
    font-size: 18vw;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.05);
    margin: 0;
    letter-spacing: -5px;
}

/* ===== CONTENEDOR PRINCIPAL ===== */
.contenedor-juegos {
    max-width: 1200px;
    margin: 0 auto;
    padding: 140px 40px 60px;
    position: relative;
    z-index: 1;
}

/* ===== HERO ===== */
.hero-juegos {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 100px;
}

.info-hero {
    flex: 1;
}

.titulo-principal {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.descripcion-hero {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 420px;
}

.imagen-hero-contenedor {
    flex: 0 0 450px;
}

.imagen-hero {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* ===== GALERÍA ===== */
.galeria-juegos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.item-juego {
    background: rgba(255,255,255,0.08);
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.2);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.item-juego:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.20);
}

.item-juego img {
    width: 100%;
    display: block;
    object-fit: cover;
}

.info-juego {
    padding: 20px 25px;
}

.info-juego h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {

    .hero-juegos {
        flex-direction: column;
        text-align: center;
    }

    .imagen-hero-contenedor {
        width: 80%;
        max-width: 300px;
        flex: none;
    }

    .titulo-principal {
        font-size: 2.6rem;
    }

    .texto-fondo-fijo h1 {
        font-size: 15vw;
    }
}
