* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
   font-family: 'Nunito', sans-serif;
    background: url("img/fondo.png") no-repeat center/cover;
    background-attachment: fixed;
 
}

h1, h2 {
    font-family: 'Fredoka', sans-serif;
}

.color{
    color: white;
}
p{
    color: #8B0000;
}

h3{
    color: #240000;
}

/* NAVBAR PRO */
.navbar {
    position: sticky;
    top: 0;
    backdrop-filter: blur(12px);
    background: rgba(112, 56, 0, 0.8);
    display: flex;
    justify-content: space-between;
    padding: 15px 40px;
    z-index: 1000;
}

.logo {
    color: #fff;
    font-weight: 800;
    font-size: 20px;
}

.menu button {
    background: rgba(255,255,255,0.9);
    border: none;
    margin-left: 10px;
    padding: 10px 18px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}

.menu button:hover {
    transform: scale(1.1);
    background: #ffd9b3;
}

/* SECCIONES */
.seccion {
    display: none;
    padding: 60px 20px;
}

.activa {
    display: block;
}

/* HERO (WOW) */
.hero {
    text-align: center;
    padding: 100px 20px;
    color: white;
    animation: fadeUp 1s ease;
}

.hero h1 {
    font-size: 3rem;
    text-shadow: 0 5px 20px rgba(0,0,0,0.5);
}

.hero p {
    margin-top: 10px;
    font-size: 1.3rem;
}

/* TARJETAS GLASS */
.glass {
    backdrop-filter: blur(15px);
    background: rgba(255,255,255,0.7);
    border-radius: 20px;
    padding: 30px;
    max-width: 900px;
    margin: auto;
    margin-top: -40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    animation: fadeUp 1.2s ease;
}

/* FEATURES */
.features {
    margin-top: 60px;
    text-align: center;
}

.features h2 {
    margin-bottom: 30px;
    font-size: 2rem;
}

/* GRID PRO */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    padding: 0 20px;
}

/* TARJETAS */
.feature-card {
    background: rgba(255,255,255,0.8);
    padding: 30px 20px;
    border-radius: 20px;
    font-size: 2rem;
    transition: 0.4s;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-top: 10px;
}

.feature-card p {
    font-size: 0.9rem;
    margin-top: 5px;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.05);
    background: #fff;
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

.sombra {
    color: white;
    text-shadow: 2px 2px 5px rgba(36, 0, 0, 0.5);
}

.apartado {
    backdrop-filter: blur(15px);
    background: rgba(139,0,0,0.7);
    border-radius: 20px;
    padding: 40px;

    max-width: 1600px; /* MÁS ANCHO */
    width: 95%; /* ocupa más pantalla */

    margin: 40px auto;

    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    animation: fadeUp 1.2s ease;
}
.img{
    width: 50px;
    height: 50px;
}

.impacto{
    color: white;
}

/* ANIMACIONES */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.feature-slider {
    max-width: 500px;
    margin: auto;
    text-align: center;
    padding: 40px;
    border-radius: 20px;
    transition: 0.4s;
}

.feature-slider h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.feature-slider p {
    font-size: 1rem;
}

.game-card {
    background: rgba(255,255,255,0.85);
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    transition: 0.4s;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.game-card img {
    width: 100%;
    max-width: 180px;
    margin-bottom: 15px;
    border-radius: 15px;
}

.game-card h3 {
    margin: 10px 0;
    font-size: 1.2rem;
}

.game-card p {
    font-size: 0.9rem;
}

.game-card span {
    display: block;
    margin-top: 10px;
    font-size: 0.85rem;
    color: #5a0000;
    font-weight: bold;
}

.game-card:hover {
    transform: translateY(-10px) scale(1.05);
    background: #fff;
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}
.game-card img {
    transition: 0.4s;
}

.game-card:hover img {
    transform: scale(1.1);
}

.alertas-box {
    background: rgba(139, 0, 0, 0.85); /* rojo como el apartado */
    border-radius: 20px;
    padding: 40px;
    margin: 60px auto;
    width: 95%;
    max-width: 1200px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

/* Para que el texto se vea bien en fondo rojo */
.alertas-box .feature-card {
    background: rgba(255,255,255,0.9);
}

/* Título blanco */
.alertas-box h2 {
    text-align: center;
    margin-bottom: 30px;
}

.download-card {
    background: rgba(255,255,255,0.9);
    padding: 30px 20px;
    border-radius: 20px;
    text-align: center;
    transition: 0.4s;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.download-card h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.download-card p {
    font-size: 0.9rem;
    margin-bottom: 15px;
}

/* BOTÓN */
.btn-descarga {
    display: inline-block;
    padding: 10px 20px;
    background: #8B0000;
    color: white;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.btn-descarga:hover {
    background: #b30000;
    transform: scale(1.1);
}

/* HOVER TARJETA */
.download-card:hover {
    transform: translateY(-10px) scale(1.05);
    background: #fff;
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

.btn-contacto img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.icono-contacto img:hover {
    transform: scale(1.2);
}

/* 🔥 RESPONSIVE DESIGN */

/* 🖥️ Pantallas grandes (default ya lo tienes) */


/* 💻 Laptop */
@media (max-width: 1200px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .navbar {
        padding: 15px 20px;
    }
}


/* 📱 Tablet grande */
@media (max-width: 992px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }
}


/* 📱 Tablet */
@media (max-width: 768px) {

    .navbar {
        flex-direction: column;
        align-items: center;
    }

    .menu {
        margin-top: 10px;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .menu button {
        margin: 5px;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 60px 20px;
    }

    .hero h1 {
        font-size: 2rem;
    }
}


/* 📱 Celular grande */
@media (max-width: 576px) {

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .glass {
        padding: 20px;
    }

    .feature-card {
        padding: 20px;
    }

    .download-card {
        padding: 20px;
    }
}


/* 📱 Celular pequeño */
@media (max-width: 400px) {

    .hero h1 {
        font-size: 1.5rem;
    }

    .hero p {
        font-size: 0.9rem;
    }

    .btn-descarga,
    .btn-contacto {
        padding: 8px 15px;
        font-size: 0.8rem;
    }
}


/* 📱 Ajustes de imágenes */
@media (max-width: 768px) {
    .game-card img {
        max-width: 140px;
    }

    .img {
        width: 40px;
        height: 40px;
    }

    .btn-contacto img {
        width: 18px;
        height: 18px;
    }
}