@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

body {
    font-family: Arial, sans-serif; /* Fuente más clara solo para el texto */
    background: linear-gradient(to bottom right, #feecff, #c2afff) no-repeat;
    /*background: linear-gradient(to bottom right, #ffffff, #999999) no-repeat;*/
    color: #333;
    text-align: center;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

header {
    text-align: center;
    padding: 2px;
}

header h1 {
    font-family: 'Press Start 2P', cursive;
    font-size: 2.5em;
    color: #0088ff;
    text-shadow: 3px 3px 0px #0055aa, 6px 6px 5px rgba(0, 0, 0, 0.3);
    margin-bottom: 3px;
}

header h4 {
    font-family: 'Press Start 2P', cursive;
    font-size: 0.8em;
    color: #ff6600;
    margin-bottom: 1px;
}

footer {
    font-family: 'Press Start 2P', cursive;
    font-size: 2.2em;
    color: #0088ff;
    text-shadow: 3px 3px 0px #0055aa, 6px 6px 5px rgba(0, 0, 0, 0.3);
    margin-bottom: 10px;
}

footer h3{
	font-size: 0.9em;
}


.logo {
    width: 400px; /* Tamaño ajustado para mejor proporción */
    height: auto;
    display: block;
    margin: 0 auto; /* Centrado */
}

/* Contenedor de tarjetas */
.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 10px auto;	/* Más margen externo */
	padding: 0px; /* Espacio extra dentro del contenedor */
	max-width: 1500px;
}

/* Estilos de las tarjetas */
.game-card {
    background: linear-gradient(to bottom right, #fff5c4, #ff9955); /* Gradiente diagonal */
    /*background: linear-gradient(to bottom right, #ffffff, #cccccc); /* Gradiente diagonal */
    border: 2px solid #ff6600;
    padding: 8px;
    width: 460px;
    min-height: 120px; /* Altura mínima para evitar tarjetas desiguales */
    display: flex;
    align-items: center;
    box-shadow: 0px 0px 10px #ffcc66;
    transition: transform 0.3s;
    text-decoration: none; /* Evita subrayado de enlace */
    color: inherit; /* Mantiene los colores originales */
    border-radius: 15px; /* Redondea los bordes */
    overflow: hidden; /* Evita que el contenido sobresalga */
}

.game-card:hover {
    transform: scale(1.05);
}

.game-card-img {
    width: 120px;
    height: auto;
    margin-right: 10px;
}

.game-info {
    text-align: justify;
    max-width: 80%;
}

.game-card h2 {
    font-family: 'Press Start 2P', cursive;
    font-size: 1.2em;
    word-wrap: break-word;
    max-width: 100%;
    margin: auto;
    color: #0088ff; /* Azul eléctrico */
    text-shadow: 2px 2px 0px #0055aa, 4px 4px 3px rgba(0, 0, 0, 0.3); /* Sombra más ligera */
}

.game-card p {
    font-size: 0.9em;
}

.game-platforms {
    display: flex;
    justify-content: space-between; /* Espacia los iconos uniformemente */
    align-items: center;
    width: 95%; /* Asegura que ocupen el ancho de la tarjeta */
    padding: 5px;
}

.game-platforms-img-off {
    width: 19%; /* Hace que cada icono ocupe aproximadamente el 19% del ancho total */
    max-width: 60px; /* Limita el tamaño máximo */
    height: auto;
	opacity: 0.4; /* Hace el icono 50% transparente */
}

.game-platforms-img-on {
    width: 19%; /* Hace que cada icono ocupe aproximadamente el 19% del ancho total */
    max-width: 60px; /* Limita el tamaño máximo */
    height: auto;
	opacity: 1; 
}


/* Diseño móviles */
@media (max-width: 768px) {
    header h1 {
        font-size: 1.7em; /* Reducir tamaño para pantallas pequeñas */
        word-wrap: break-word;
    }

    header h4 {
        font-size: 0.6em;
    }

	footer {
		font-size: 1.1em;
	}

	footer h3{
		font-size: 0.8em;
	}

    .logo {
        width: 360px; /* Reducir el logo para móviles */
    }	

    .game-card {
        flex-direction: column;
        align-items: center;
        width: 98%;
		margin-left: 10px;
		margin-right: 10px;
    }

    .game-card-img {
        margin-bottom: 10px;
        margin-right: 0;
        width: 200px;
    }

    .game-info {
        text-align: center;
		max-width: 95%;
    }
	
	.game-card h2 {
		font-size: 1.1em;
	}

    .container {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Máximo 1 tarjeta por fila en móvil */
    }	
	
}
