* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: sans-serif, Arial, Helvetica;
    background-color: #1c1e21;
    color: #fefefe;
    line-height: 1.6;
    overflow-x: hidden;
}

.contenedor {
    width: 90%;
    max-width: 76rem;
    margin: 0 auto;
    position: relative;
}

.centrado {
    text-align: center;
}

/* Barra de navegación principal con borde blanco */
.barra-navegacion {
    background-color: #1c1e21;
    padding: 1.2rem 0;
    /* Cambiado a blanco puro con una leve transparencia para que se vea premium */
    border-bottom: 2px solid rgba(255, 255, 255, 0.9); 
}

.barra-navegacion .contenedor {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    color: #ffffff;
    font-weight: bold;
    font-style: italic;
    font-size: 1.5rem;
    text-transform: uppercase;
    text-decoration: none;
}

.logo i {
    color: #00f2fe; /* Mantenemos consistencia con tu paleta */
    font-style: italic;
}

.menu {
    display: flex;
}

.enlace-menu {
    color: #9aa1b0;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-left: 1.5rem;
    padding: 0.5rem 0.8rem;
    transition: color 0.2s ease;
}

.enlace-menu:hover, .enlace-menu.activo {
    color: #00f2fe;
}

/* ==========================================================
   DISEÑO HERO SECCIÓN VIDEO 
   ========================================================== */

.hero-envolvente {
    position: relative;
    width: 100%;
    min-height: 540px;
    background-color: #1c1e21;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 4rem 0;
}

.capa-video-fondo {
    position: absolute;
    top: 0;
    right: 0;
    width: 65%;
    height: 100%;
    z-index: 1;
}

.video-asset {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.degradado-fusion {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #1c1e21 0%, rgba(28, 30, 33, 0.7) 20%, transparent 60%),
                linear-gradient(to top, #1c1e21 0%, rgba(28, 30, 33, 0) 30%);
    pointer-events: none;
}

.contenedor-hero-contenido {
    z-index: 2;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 400px;
}

.info-bloque-juego {
    max-width: 32rem;
}

.titulo-juego-original {
    font-size: 2.2rem;
    font-weight: bold;
    color: #ffffff;
    line-height: 1.25;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02rem;
    text-shadow: 0 0.15rem 0.6rem rgba(0, 0, 0, 0.5);
}

.descripcion-juego-original {
    font-size: 0.95rem;
    color: #babcbf;
    line-height: 1.6;
    text-shadow: 0 0.1rem 0.4rem rgba(0, 0, 0, 0.5);
}

.boton-avances-posicionado {
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 3;
    background-color: rgba(30, 31, 34, 0.85);
    color: #ffffff;
    border: none;
    padding: 0.65rem 1.5rem;
    border-radius: 5rem;
    font-size: 0.85rem;
    font-weight: bold;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.boton-avances-posicionado:hover {
    background-color: #00f2fe;
    color: #1c1e21;
}

.seccion-blanca {
    background-color: #ffffff; /* Ajustado a blanco puro */
    padding: 4rem 0;
    color: #202226;
}

.fila-utilidades {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 3rem;
}

.tarjeta-clasificacion {
    display: flex;
    align-items: center;
    border: 0.0625rem solid #e0e4ec;
    padding: 0.8rem 1.4rem;
    border-radius: 0.5rem;
    background-color: #ffffff;
}

.icono-esrb {
    background-color: #000000;
    color: #ffffff;
    font-weight: bold;
    font-size: 1.1rem;
    padding: 0.4rem 0.7rem;
    border-radius: 0.25rem;
    margin-right: 1rem;
}

.info-esrb h3 {
    font-size: 0.9rem;
    font-weight: bold;
    color: #202226;
}

.info-esrb p {
    font-size: 0.75rem;
    color: #6c727a;
}


/* Bloque Introducción - Inicio */
.bloque-introduccion-hero {
    position: relative;
    width: 100%;
    min-height: 420px;
    display: flex;
    align-items: flex-end;
    padding: 3.5rem 2.5rem;
    background-image: url('imagenes/Un Referente del Automovilismo Arcade.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 0.6rem;
    overflow: hidden;
    margin-bottom: 4rem;
    box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.18);
}

.intro-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(28, 30, 33, 0.95) 0%, rgba(28, 30, 33, 0.5) 60%, rgba(28, 30, 33, 0.1) 100%);
    z-index: 1;
}

.intro-contenido {
    position: relative;
    z-index: 2;
    max-width: 50rem;
    color: #ffffff;
}

.intro-tag {
    display: inline-block;
    background-color: #00f2fe;
    color: #1c1e21;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.12rem;
    padding: 0.4rem 0.9rem;
    border-radius: 0.25rem;
    margin-bottom: 1.2rem;
    box-shadow: 0 0.25rem 0.75rem rgba(0, 242, 254, 0.25);
}

.intro-titulo {
    font-size: 2.2rem;
    font-weight: bold;
    line-height: 1.25;
    margin-bottom: 1.2rem;
    letter-spacing: -0.02rem;
    text-shadow: 0 0.15rem 0.6rem rgba(0, 0, 0, 0.6);
}

.intro-descripcion {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #e0e4ec;
    text-shadow: 0 0.1rem 0.4rem rgba(0, 0, 0, 0.5);
}

.intro-descripcion strong {
    color: #00f2fe;
    font-weight: bold;
}

.banner-nacimiento-juego {
    position: relative;
    flex: 2 1 30rem;
    min-height: 520px; /* Gran altura visual como la muestra de Gameloft */
    display: flex;
    align-items: center;
    padding: 4.5rem 3rem;
    background-image: url('imagenes/Nacimiento del juego.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 0.6rem;
    overflow: hidden;
    box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.25);
    box-sizing: border-box;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(28, 30, 33, 0.95) 0%, rgba(28, 30, 33, 0.75) 50%, rgba(28, 30, 33, 0.25) 100%);
    z-index: 1;
}

.banner-contenido {
    position: relative;
    z-index: 2;
    max-width: 32rem; /* Limita el texto de forma elegante */
    color: #ffffff;
}

.banner-tag {
    display: inline-block;
    background-color: #00f2fe;
    color: #1c1e21;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    padding: 0.35rem 0.8rem;
    border-radius: 0.25rem;
    margin-bottom: 1.2rem;
    box-shadow: 0 0.2rem 0.6rem rgba(0, 242, 254, 0.3);
}

.banner-titulo {
    font-size: 2.2rem;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02rem;
    text-shadow: 0 0.15rem 0.6rem rgba(0, 0, 0, 0.6);
}

.banner-descripcion {
    font-size: 0.95rem;
    line-height: 1.65;
    color: #e0e4ec;
    margin-bottom: 1.2rem;
    text-shadow: 0 0.1rem 0.4rem rgba(0, 0, 0, 0.5);
}

.banner-descripcion strong {
    color: #00f2fe;
    font-weight: bold;
}

/* Tarjetas de Características */
.grilla-caracteristicas {
    display: flex;
    gap: 2rem;
    margin-bottom: 5rem;
    flex-wrap: wrap;
}

.tarjeta-caracteristica {
    flex: 1 1 18rem;
    background-color: #f8f9fa;
    border: 0.0625rem solid #e9ecef;
    padding: 2.2rem 1.8rem;
    border-radius: 0.4rem;
    position: relative;
    overflow: hidden;
}

.borde-decorativo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0.25rem;
    background-color: #00f2fe;
}

.tarjeta-caracteristica h3 {
    font-size: 1.2rem;
    color: #1c1e21;
    margin-bottom: 0.8rem;
}

.tarjeta-caracteristica p {
    font-size: 0.95rem;
    color: #5f646d;
    line-height: 1.6;
}

/* Estilos de la Tabla de Datos */
.contenedor-tabla {
    margin-top: 2rem;
}

.tabla-titulo {
    font-size: 1.3rem;
    font-weight: bold;
    color: #1c1e21;
    margin-bottom: 1.2rem;
}

.tabla-datos {
    width: 100%;
    border-collapse: collapse;
    background-color: #ffffff;
    font-size: 0.95rem;
}

.tabla-datos th, .tabla-datos td {
    padding: 1.2rem;
    border: 0.0625rem solid #e9ecef;
    text-align: left;
}

.tabla-datos th {
    background-color: #f1f3f5;
    color: #1c1e21;
    font-weight: bold;
}

.tabla-datos td b {
    color: #1c1e21;
}


.seccion-datos-numericos {
    background-color: #121416;
    padding: 4.5rem 0;
    border-top: 0.0625rem solid #282b30;
}

.grilla-numeros {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.bloque-numero {
    flex: 1 1 12rem;
    text-align: center;
}

.cifra {
    display: block;
    font-size: 2.6rem;
    font-weight: bold;
    color: #00f2fe;
    line-height: 1.1;
    margin-bottom: 0.4rem;
    font-style: italic;
}

.etiqueta-cifra {
    font-size: 0.85rem;
    color: #838994;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
}

/* Pie de página */
.pie-pagina {
    background-color: #0a0b0d;
    color: #5c626e;
    padding: 3rem 0;
    font-size: 0.85rem;
    border-top: 0.0625rem solid #1c1e21;
}

.pie-pagina .texto-normal {
    color: #838994;
    margin-bottom: 0.5rem;
}

.pie-pagina .texto-pequeno {
    color: #5c626e;
}

@media (max-width: 992px) {
    .hero-envolvente {
        flex-direction: column;
        min-height: auto;
        padding-bottom: 5rem;
    }
    .capa-video-fondo {
        position: relative;
        width: 100%;
        height: 280px;
    }
    .degradado-fusion {
        background: linear-gradient(to top, #1c1e21 0%, transparent 100%);
    }
    .contenedor-hero-contenido {
        min-height: auto;
        padding-top: 2rem;
    }
    .info-bloque-juego {
        max-width: 100%;
    }
    .boton-avances-posicionado {
        bottom: auto;
        top: -3.5rem;
        right: 1rem;
    }
    .fila-utilidades {
        justify-content: center;
    }
    .grilla-numeros {
        text-align: center;
    }
    
    /* Ajustes específicos de la nueva introducción en celulares */
    .bloque-introduccion-hero {
        min-height: 380px;
        padding: 2rem 1.5rem;
    }
    .intro-titulo {
        font-size: 1.7rem;
    }
    .intro-descripcion {
        font-size: 0.95rem;
    }

    /* Ajustes específicos del banner de nacimiento en celulares */
    .banner-nacimiento-juego {
        min-height: 440px;
        padding: 3rem 1.5rem;
    }
    .banner-overlay {
        background: linear-gradient(to top, rgba(28, 30, 33, 0.95) 0%, rgba(28, 30, 33, 0.85) 70%, rgba(28, 30, 33, 0.4) 100%);
    }
    .banner-titulo {
        font-size: 1.8rem;
    }
}


/* Hace que el contenedor de modos sea gigante y de pantalla completa */
.hero-envolvente.hero-modos-grande {
    height: 55vh;               /* Altura panorámica estilo Gameloft */
    min-height: 380px;
    max-height: 550px;
    padding: 0;                 /* Elimina los rellenos */
}

/* Fuerza a que el área de video ocupe el 100% de la sección */
.hero-modos-grande .capa-video-fondo {
    width: 100% !important;     /* Sobrescribe el 65% del diseño de otras páginas */
    height: 100%;
}

/* Centra y expande el video a lo largo de toda la zona */
.hero-modos-grande .video-asset {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
}

/* Cambia la transición del degradado para fundirse hacia la zona blanca inferior */
.hero-modos-grande .degradado-fusion {
    background: linear-gradient(
        to bottom,
        rgba(28, 30, 33, 0) 0%,        /* Transparente arriba */
        rgba(28, 30, 33, 0.4) 50%,     /* Oscurecimiento sutil */
        rgba(28, 30, 33, 0.85) 85%,    /* Oscurecimiento mayor */
        rgba(255, 255, 255, 1) 100%    /* Se funde perfectamente a blanco puro en la zona blanca */
    ) !important;
}


.boton-sonido-flotante {
    position: absolute;
    bottom: 2rem;
    right: 5%;
    z-index: 10; /* Asegura estar por encima del degradado */
    background-color: rgba(18, 20, 22, 0.75);
    color: #ffffff;
    border: 1px dashed rgba(255, 255, 255, 0.3);
    padding: 0.65rem 1.2rem;
    border-radius: 5rem;
    font-size: 0.85rem;
    font-weight: bold;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.2s ease;
}

.boton-sonido-flotante:hover {
    background-color: #00f2fe;
    color: #121416;
    border-color: #00f2fe;
    box-shadow: 0 0.25rem 1.25rem rgba(0, 242, 254, 0.4);
    transform: translateY(-2px);
}

.boton-sonido-flotante span {
    font-size: 1rem;
}

.pantalla-inicio {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #0b0c0e;
    background-image: radial-gradient(circle, rgba(28, 30, 33, 0.9) 0%, rgba(11, 12, 14, 1) 100%);
    z-index: 99999; /* Por encima de todo */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: opacity 0.5s ease;
}

.contenido-inicio {
    max-width: 400px;
    padding: 2rem;
}

.logo-gigante {
    font-size: 3rem;
    font-weight: 900;
    color: #ffffff;
    font-style: italic;
    line-height: 0.9;
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
}

.logo-gigante i {
    color: #ff007f; /* Fucsia */
}

.sub-logo {
    font-size: 1.5rem;
    color: #00f2fe; /* Azul neón */
    letter-spacing: 5px;
}

.texto-pantalla {
    color: #babcbf;
    font-size: 1rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.boton-iniciar {
    background: linear-gradient(135deg, #00f2fe 0%, #ff007f 100%);
    color: #ffffff;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 5rem;
    cursor: pointer;
    box-shadow: 0 0.5rem 2rem rgba(0, 242, 254, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.boton-iniciar:hover {
    transform: scale(1.05);
    box-shadow: 0 0.5rem 2.5rem rgba(255, 0, 127, 0.6);
}


/* Hace que el contenedor de modos sea gigante y de pantalla completa */
.hero-envolvente.hero-modos-grande {
    height: 55vh;               /* Altura panorámica estilo Gameloft */
    min-height: 380px;
    max-height: 550px;
    padding: 0;                 /* Elimina los rellenos */
}

/* Fuerza a que el área de video ocupe el 100% de la sección */
.hero-modos-grande .capa-video-fondo {
    width: 100% !important;     /* Sobrescribe el 65% del diseño de otras páginas */
    height: 100%;
}

/* Centra y expande el video a lo largo de toda la zona */
.hero-modos-grande .video-asset {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
}

/* Cambia la transición del degradado para fundirse hacia la zona blanca inferior */
.hero-modos-grande .degradado-fusion {
    background: linear-gradient(
        to bottom,
        rgba(28, 30, 33, 0) 0%,        /* Transparente arriba */
        rgba(28, 30, 33, 0.4) 50%,     /* Oscurecimiento sutil */
        rgba(28, 30, 33, 0.85) 85%,    /* Oscurecimiento mayor */
        rgba(255, 255, 255, 1) 100%    /* Se funde perfectamente a blanco puro en la zona blanca */
    );
}

.boton-sonido-flotante {
    position: absolute;
    bottom: 2rem;
    right: 5%;
    z-index: 10; /* Asegura estar por encima del degradado */
    background-color: rgba(18, 20, 22, 0.75);
    color: #ffffff;
    border: 1px dashed rgba(255, 255, 255, 0.3);
    padding: 0.65rem 1.2rem;
    border-radius: 5rem;
    font-size: 0.85rem;
    font-weight: bold;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.2s ease;
}

.boton-sonido-flotante:hover {
    background-color: #00f2fe;
    color: #121416;
    border-color: #00f2fe;
    box-shadow: 0 0.25rem 1.25rem rgba(0, 242, 254, 0.4);
    transform: translateY(-2px);
}

.boton-sonido-flotante span {
    font-size: 1rem;
}

