/* Fuente base */
html{
  overflow-x: hidden;
}
body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    color: #fff;
    background-color: rgb(29, 30, 32);
    overflow: hidden;
  }
  .navbar.about-content{
    padding: 12px;
  }
  .center{
    text-align: center !important;
  }
  /* Navegación */
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: transparent;
  }
  
  .logo {
    font-size: 1.2rem;
    color: #fff;
    text-decoration: none;
  }
  
  .nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
  }
  
  .nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
  }
  

  
  /* Hero Section */
  .hero {
    background-color: rgb(29, 30, 32);
    padding: 3rem 0;
    overflow: hidden;
  }
  
  .hero-content {
    position: relative;
    z-index: 2;
  }
  
  .hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem); 
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 1.5rem;
  }
  
  .hero-content p {
    font-size: clamp(1rem, 2vw, 1.25rem);
  }
  
  .hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
  }
  
  .btn {
    text-decoration: none;
    padding: 0.8rem 2rem;
    border-radius: 2rem;
    font-size: 1rem;
    transition: all 0.3s ease;
  }
  /* Multi-line store buttons for ES home */
  .store-btn {
    line-height: 1.1;
    text-align: center;
    white-space: normal;
    display: inline-block;
  }
  @media (max-width: 575.98px) {
    .store-btn {
      padding: 0.7rem 1.2rem;
    }
  }
  
  .btn-descargar {
    background-color: #fff;
    color: #000;
    border: 1px solid #fff;
  }
  
  .btn-jugar {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
  }
  
  /* Imagen del hero */
  .hero-image {
    flex: 1;
    text-align: center;
    padding: 1rem;
    background: linear-gradient(45deg, #1a1a2e, #16213e);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
  }
  
  .hero-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.8) 100%);
    pointer-events: none;
  }
  
  .hero-image img {
    max-width: 400px;
    width: 100%;
    height: auto;
    transform-origin: left;
    transform: scale(1.8);
  }
  .hero-section h1{
    padding: 4px;
  }
  /* Sección About */
  .about {
    background-color: #1F2833;
    padding: 3rem 2rem;
  }
  
  .about h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: left;
  }
  
  .about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
    overflow-y: hidden;
  }

  .about:not(.galery) > .about-content {
    max-width: 1200px;
  }
  
  .about-text {
    flex: 1 1 300px;
  }
  
  .about-text p {
    line-height: 1.6;
  }
  
  .about-video {
    flex: 1 1 300px;
    text-align: center;
  }
  
  .game-screenshots {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    justify-content: center;
  }
  
  .screenshot {
    width: 240px;
    height: auto;
    border-radius: 25px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
  }
  
  .screenshot:hover {
    transform: scale(1.05);
  }
  
  .title-contact{
    margin-top: 12px;
  }
  /* Footer */
  .footer {
    text-align: center;
    background-color: #1F2833;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .game-image {
    padding: 0px !important;
  }
.contact-section .contact-card h2{
  text-align: center;
}

  /* Responsivo (Breakpoint ejemplo) */
  @media (max-width: 991.98px) {
    .hero {
      padding: 2rem 0;
    }
  
    .hero-content {
      text-align: left;
      margin-bottom: 2rem;
    }
  
    .hero .btn-group {
      justify-content: center;
    }
  
    .image-container {
      width: min(500px, 90%);
    }
  }
  
  @media (max-width: 575.98px) {
    .image-container {
      width: 90%;
    }
  
    .hero-content h1 {
      font-size: 2.5rem;
    }
  }
  
  .image-container {
    height:290px;
    position: relative;
    width: min(700px, 100%);
    aspect-ratio: 1/1;
    margin: 0 auto auto100px;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" preserveAspectRatio="none" viewBox="0 0 200 200" fill="none"><path d="M100 0L120.706 22.7259L150 13.3975L156.569 43.4315L186.603 50L177.274 79.2945L200 100L177.274 120.706L186.603 150L156.569 156.569L150 186.603L120.706 177.274L100 200L79.2945 177.274L50 186.603L43.4315 156.569L13.3975 150L22.7259 120.706L0 100L22.7259 79.2945L13.3975 50L43.4315 43.4315L50 13.3975L79.2945 22.7259L100 0Z" fill="%23727586"/></svg>');
    mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" preserveAspectRatio="none" viewBox="0 0 200 200" fill="none"><path d="M100 0L120.706 22.7259L150 13.3975L156.569 43.4315L186.603 50L177.274 79.2945L200 100L177.274 120.706L186.603 150L156.569 156.569L150 186.603L120.706 177.274L100 200L79.2945 177.274L50 186.603L43.4315 156.569L13.3975 150L22.7259 120.706L0 100L22.7259 79.2945L13.3975 50L43.4315 43.4315L50 13.3975L79.2945 22.7259L100 0Z" fill="%23727586"/></svg>');
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
  }
  
  .effect-image {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
    transform: scale(1);
  }
  
  .image-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.41);
    pointer-events: none;
  }
  
  /* Estilos específicos solo para la sección de galería */
  .galery .game-screenshots {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
  }
  
  .galery .screenshot {
    width: 240px;
    height: auto; /* Esto permite que la altura se ajuste manteniendo la proporción */
    border-radius: 25px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
  }
  
  .galery .screenshot:hover {
    transform: scale(1.05);
  }

      /* Estilos para el banner de cookies */
      #cookie-banner {
        display: none;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background-color: #f5f5f5;
        color: #000;
        padding: 20px 20px 20px 20px;
        text-align: center;
        box-shadow: 0 -2px 5px rgba(0,0,0,0.3);
        z-index: 9999;
      }
      html[data-cookie-consent="pending"] #cookie-banner {
        display: block;
      }
      html[data-cookie-consent="accepted"] #cookie-banner {
        display: none;
      }
      #cookie-banner button {
        padding: 10px 20px;
        background-color: #4CAF50;
        color: #fff;
        border: none;
        cursor: pointer;
      }
      /* Estilos para el contenedor de YouTube */
      #youtube-container {
        position: relative;
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
        overflow: hidden;
      }
      .youtube-placeholder {
        position: relative;
        width: 100%;
        padding-bottom: 56.25%; /* Ratio 16:9 */
        cursor: pointer;
      }
      .youtube-placeholder img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 25px;
      }
  
  /* Ajustes para móvil */
  @media (max-width: 768px) {

    #home{
      margin-top: 18px;
    }
    .galery .game-screenshots {
        gap: 15px;
        padding: 15px;
    }
  
    .galery .screenshot {
        width: calc(50% - 15px); /* Dos imágenes por fila */
        max-width: 240px; /* Mantiene el tamaño máximo */
    }

    /* Centrado de imágenes en about section */
    .about .game-screenshots {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        margin: 0 auto;
        padding: 0;
        width: 100%;
    }

    .about .screenshot {
        width: 90%;
        max-width: 300px;
        height: auto;
        margin: 0 auto;
    }

    /* Centrado de imágenes en galería */
    .galery .game-screenshots {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        margin: 0 auto;
        padding: 0;
        width: 100%;
    }

    .galery .screenshot {
        width: 90%;
        max-width: 300px;
        height: auto;
        margin: 0 auto;
    }

    /* Asegura que el contenedor de video también esté centrado */
    .about-video {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        margin: 0 auto;
        padding: 0 15px;
    }

    /* Asegura que el contenedor padre también esté centrado */
    .about-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        margin: 0 auto;
        padding: 0;
    }

    /* Ocultar imágenes cover en móvil */
    .services-image {
        display: none;
    }

    /* Ocultar el contenedor about-video en las secciones específicas */
    .features .about-video,
    .how-to-play .about-video {
        display: none;
    }

    /* Ajustar el texto para ocupar todo el ancho cuando la imagen está oculta */
    .about-text {
        width: 100%;
        padding: 0;
    }

    /* Eliminar espacio extra cuando el contenedor está oculto */
    .about-video.aos-init.aos-animate:has(.services-image) {
        display: none;
        margin: 0;
        padding: 0;
    }

    /* Ajustar espaciado entre secciones específicas */
    .features + .how-to-play {
        margin-top: -2rem;
    }

    /* Reducir el padding general de las secciones */
    .about {
        padding: 1.5rem 1rem;
    }

    /* Ajustar el contenido cuando no hay imagen */
    .about-content {
        gap: 1rem;
    }

    .about-text {
        width: 100%;
        padding: 0;
        margin-bottom: 0;
    }

    /* Ajustar espaciado de la lista de servicios */
    .services-list {
        margin-top: 1rem;
        margin-bottom: 0;
    }

    /* Estilos para el contenedor de YouTube */
    #youtube-container {
        width: 100%;
        margin: 0 auto;
    }

    .youtube-placeholder {
        width: 100%;
        border-radius: 25px;
        overflow: hidden;
    }

    .youtube-placeholder img {
        width: 100%;
        height: 100%;
    }

    .revoke-cookies-btn {
        width: 80%;
        max-width: 300px;
    }

    .game-image {
        height: 160px;
    }

    .game-container {
        padding: 1rem 0; /* Eliminamos padding horizontal */
        width: 100%;
        overflow-x: hidden; /* Prevenir scroll horizontal */
        overflow-y: hidden;
    }

    .game-section {
        padding: 2rem 0;
        width: 100%;
    }

    .game-grid, .modes-grid {
        display: flex; /* Cambiamos a flexbox */
        flex-direction: column; /* Apilamos las tarjetas */
        gap: 1.5rem;
        width: 90%; /* Dejamos un pequeño margen a los lados */
        margin: 0 auto;
    }

    .game-card {
        width: 100%;
        margin: 0;
        padding: 1rem;
    }

    .game-image {
        width: 100%;
        height: auto;
        min-height: 160px;
        object-fit: contain;
    }

    .dark-section {
        padding: 2rem 1rem;
        border-radius: 0; /* Eliminamos el border-radius en móvil */
    }

    /* Ajustes para el título en game.html */
    .game-section h2 {
        font-size: 1.5rem;
        padding: 0 1.5rem;
        margin-bottom: 1.5rem;
        text-align: left;
        word-wrap: break-word;
        line-height: 1.3;
        width: 100%;
        box-sizing: border-box;
    }

    /* Contenedor principal */
    .game-container {
        width: 100%;
        max-width: 100%;
        padding: 0;
        overflow-x: hidden;
        overflow-y: hidden;
        box-sizing: border-box;
    }

    /* Sección hero */
    .hero-section {
        padding: 2rem 1.5rem;
        width: 100%;
        box-sizing: border-box;
    }

    .hero-description {
        padding: 0 1.5rem;
        margin-bottom: 1rem;
        font-size: 1rem;
        line-height: 1.4;
        text-align: left;
    }

    /* Ajuste para prevenir desbordamiento */
    body {
        overflow-x: hidden;
        width: 100%;
    }
  }
  
  /* Ajustes responsivos generales */
  @media (max-width: 768px) {
    /* Navegación */
    .navbar {
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        width: 100%;
    }

    /* Hero section */
    .hero-content {
        padding: 0 1rem;
        text-align: left;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .btn {
        width: 80%;
        text-align: center;
    }

    /* About section */
    .about {
        padding: 2rem 1rem;
    }

    .about-content {
        flex-direction: column;
        gap: 2rem;
    }

    .about h2 {
        text-align: center;
        font-size: 1.8rem;
    }

    .about-video iframe {
        width: 100%;
        height: 200px;
    }

    /* Image container */
    .image-container {
        width: 90%;
        height: auto;
        margin: 2rem auto;
    }

    .effect-image {
        width: 100%;
        height: 100%;
    }

    /* Game screenshots en about */
    .about .game-screenshots {
        flex-direction: column;
        align-items: center;
    }

    .about .screenshot {
        width: 100%;
        max-width: 300px;
    }

    /* Footer */
    .footer {
        padding: 1rem;
        font-size: 0.8rem;
    }
  }
  
  /* Ajustes específicos para pantallas muy pequeñas */
  @media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .btn {
        width: 90%;
        padding: 0.7rem 1.5rem;
    }
  }
  
  /* Ajustes para tablets */
  @media (min-width: 769px) and (max-width: 1024px) {
    .about-content {
        padding: 0 2rem;
    }

    .about-video iframe {
        width: 100%;
    }

    .hero-content {
        padding: 0 2rem;
    }
  }
  
  /* Estilos para el botón hamburguesa */
  .navbar-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 100;
  }
  
  .bar {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #fff;
    margin: 5px 0;
    transition: transform 0.3s ease-in-out;
  }
  
  /* Estilos para móvil */
  @media (max-width: 768px) {
    .navbar-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: rgb(29, 30, 32);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: right 0.3s ease-in-out;
        z-index: 99;
    }

    .nav-links.active {
        right: 0;
    }

    /* Animación del botón hamburguesa cuando está activo */
    .navbar-toggle.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(8px, 6px);
    }

    .navbar-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .navbar-toggle.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -6px);
    }
  }
  
  /* Estilos para la sección Explore */
  .explore-section {
    background-color: #1F2833;
    padding: 4rem 2rem;
  }

  .explore-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 4rem;
    align-items: flex-start;
  }

  .explore-left {
    flex: 1;
    min-width: 300px;
  }

  .explore-left h2 {
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 2rem;
    color: #fff;
    line-height: 1.2;
  }

  .explore-underline {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #7dd3fc, #a78bfa);
    margin-bottom: 2rem;
  }

  .explore-items {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }

  .explore-item h3 {
    font-size: 1.4rem;
    margin: 0 0 0.5rem 0;
    color: #fff;
    font-weight: 600;
  }

  .explore-item h3 a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
  }

  .explore-item h3 a:hover {
    color: #7dd3fc;
  }

  .explore-item p {
    color: #a0a0b0;
    margin: 0;
    line-height: 1.6;
    font-size: 1rem;
  }

  .explore-right {
    flex: 1;
    min-width: 300px;
  }

  .explore-card {
    background: rgba(16, 26, 40, 0.6);
    border: 2px solid rgba(122, 231, 255, 0.35);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.28);
    text-align: center;
  }

  .card-title {
    font-size: 2rem;
    color: #fff;
    margin: 0 0 2.5rem 0;
    font-weight: 400;
    text-align: center;
    letter-spacing: 0.5px;
  }

  .card-item {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(122, 231, 255, 0.25);
    text-align: center;
  }

  .card-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
  }

  .card-label {
    display: block;
    font-size: 0.8rem;
    color: #7dd3fc;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 0.75rem;
  }

  .card-item p {
    color: #fff;
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.6;
  }

  .card-item a {
    color: #7dd3fc;
    text-decoration: none;
    transition: color 0.3s ease;
  }

  .card-item a:hover {
    color: #38bdf8;
  }

  /* Estilos para la sección de características */
  .features-section {
    background-color: #1F2833;
    padding: 4rem 2rem;
  }

  .features-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
  }

  .features-section h2 {
    font-size: 2.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: #fff;
  }

  .features-underline {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #7dd3fc, #a78bfa);
    margin: 0 auto 2rem;
  }

  .features-description {
    font-size: 1.05rem;
    color: #a0a0b0;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
  }

  .features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .feature-card {
    background: rgba(16, 26, 40, 0.6);
    border: 1px solid rgba(122, 231, 255, 0.2);
    border-radius: 16px;
    padding: 2rem;
    text-align: left;
    transition: all 0.3s ease;
  }

  .feature-card:hover {
    border-color: rgba(122, 231, 255, 0.5);
    background: rgba(16, 26, 40, 0.8);
    transform: translateY(-4px);
  }

  .feature-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 0.75rem 0;
  }

  .feature-card p {
    color: #cbd5e0;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
  }

  /* Ajustes responsivos para features */
  @media (max-width: 1024px) {
    .features-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  @media (max-width: 768px) {
    .features-section {
      padding: 4rem 1rem;
    }

    .features-grid {
      grid-template-columns: 1fr;
      gap: 1.5rem;
    }

    .features-section h2 {
      font-size: 1.8rem;
    }

    .feature-card {
      padding: 1.5rem;
    }
  }

  /* Estilos para la sección de servicios (mantener para otros usos) */
  .services-list {
    margin-top: 2rem;
  }
  
  .service-item {
    margin-bottom: 1.5rem;
  }
  
  .service-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #fff;
  }
  
  .service-item p {
    color: #ccc;
    line-height: 1.5;
  }
  
  .services-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 25px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }
  
  /* Ajustes responsivos para la sección Explore */
  @media (max-width: 768px) {
    .explore-wrapper {
      flex-direction: column;
      gap: 2rem;
      align-items: center;
    }

    .explore-left h2 {
      font-size: 1.8rem;
    }

    .explore-left,
    .explore-right {
      min-width: auto;
      max-width: 100%;
      width: 100%;
    }

    .explore-right {
      max-width: 500px;
    }

    .explore-section {
      padding: 2.5rem 30px;
    }
  }
  
  /* Ajustes responsivos para la sección de servicios */
  @media (max-width: 768px) {
    .services-list {
        margin-top: 1.5rem;
    }
    
    .service-item {
        margin-bottom: 1.2rem;
    }
    
    .service-item h3 {
        font-size: 1.2rem;
    }
    
    .services-image {
        margin-top: 1.5rem;
    }
  }
  
  .nav-link {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    position: relative;
    padding-bottom: 5px;
  }
  
  .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #fff;
    transition: width 0.3s ease;
  }
  
  .nav-link:hover::after,
  .nav-link.active::after {
    width: 100%;
  }
  
  /* Para mantener el subrayado en móvil */
  @media (max-width: 768px) {
    .nav-link.active::after {
        width: 100%;
    }
  }
  
  /* Estilos para el banner de cookies */
  .cookie-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-top: 10px;
  }
  
  .cookies-button-info {
    color: #198754;
    text-decoration: underline;
    cursor: pointer;
    padding: 8px 16px;
    font-size: 0.9rem;
  }
  
  .cookies-button-info:hover {
    color: #5e5252;
  }

  /* Estilos para la sección FAQ */
  .faq-section {
    padding: 4rem 2rem;
    background-color: rgb(29, 30, 32);
  }

  .faq-wrapper {
    max-width: 1200px;
    margin: 0 auto;
  }

  .faq-section h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 3rem;
    color: #fff;
    font-weight: 600;
  }

  .faq-container {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
  }

  .faq-item {
    border: 1px solid rgba(122, 231, 255, 0.2);
    border-radius: 12px;
    background: rgba(16, 26, 40, 0.4);
    overflow: hidden;
    transition: all 0.3s ease;
  }

  .faq-item:hover {
    border-color: rgba(122, 231, 255, 0.4);
    background: rgba(16, 26, 40, 0.6);
  }

  .faq-question {
    width: 100%;
    padding: 1.5rem;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
  }

  .faq-question:hover {
    color: #7dd3fc;
  }

  .faq-question span:first-child {
    flex: 1;
  }

  .faq-icon {
    font-size: 1.5rem;
    font-weight: bold;
    color: #7dd3fc;
    transition: transform 0.3s ease;
    display: inline-block;
    min-width: 24px;
    text-align: center;
  }

  .faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
  }

  .faq-answer {
    padding: 0 1.5rem;
    max-height: 500px;
    overflow: hidden;
    animation: slideDown 0.3s ease forwards;
    padding-bottom: 1.5rem;
  }

  .faq-answer[hidden] {
    display: none;
  }

  .faq-answer p {
    color: #cbd5e0;
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
  }

  @keyframes slideDown {
    from {
      opacity: 0;
      max-height: 0;
      padding: 0 1.5rem;
    }
    to {
      opacity: 1;
      max-height: 500px;
      padding: 0 1.5rem 1.5rem 1.5rem;
    }
  }

  /* Responsive FAQ */
  @media (max-width: 768px) {
    .faq-section {
      padding: 3rem 1rem;
    }

    .faq-section h2 {
      font-size: 1.8rem;
      margin-bottom: 2rem;
    }

    .faq-question {
      padding: 1.2rem;
      font-size: 0.95rem;
    }

    .faq-answer {
      padding: 0 1.2rem 1.2rem 1.2rem;
    }

    .faq-answer p {
      font-size: 0.9rem;
    }

    .faq-icon {
      font-size: 1.3rem;
    }

    .faq-container {
      gap: 1rem;
    }
  }
  /* Ajustes para móvil */
  @media (max-width: 768px) {
    .cookie-buttons {
        flex-direction: column;
        gap: 10px;
    }

    #cookies-button-accept,
    .cookies-button-info {
        width: 100%;
        text-align: center;
    }
  }
  
  /* Estilos para el botón de revocar cookies */
  .revoke-cookies-btn {
    background: none;
    border: 1px solid #fff;
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.8rem;
    margin-top: 10px;
    transition: all 0.3s ease;
    display: none;
  }
  
  .revoke-cookies-btn:hover {
    background-color: #fff;
    color: #1F2833;
  }
  
  .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 48px;
    background-color: rgba(0,0,0,0.7);
    border-radius: 14px;
  }
  
  .play-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-style: solid;
    border-width: 12px 0 12px 20px;
    border-color: transparent transparent transparent white;
  }
  
  .youtube-placeholder:hover .play-button {
    background-color: red;
  }
  
  /* Estilos para el formulario de contacto */
  .contact-section {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    padding: 0;
  }
  
  .section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: #fff;
  }
  
  .contact-cards {
    display: flex;
    flex-direction: column;
    gap: 50px;
    width: 100%;
    margin: 0 auto;
    padding: 2rem 0;
    box-sizing: border-box;
  }
  
  .contact-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, background 0.3s ease;
    backdrop-filter: blur(10px);
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    box-sizing: border-box;
  }
  .show{
    display: block;
  }
  
  /* Desktop (≥1024px) */
  @media (min-width: 1024px) {
    .contact-cards {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }

    .contact-card {
        max-width: none;
    }
  }
  
  /* Tablet (≥768px y <1024px) */
  @media (min-width: 768px) and (max-width: 1023px) {
    .contact-cards {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .contact-card {
        max-width: none;
    }
  }
  
  /* Móvil (<768px) */
  @media (max-width: 767px) {
    .about-content {
        padding: 0 15px;
    }

    .contact-cards {
        padding: 1rem 0;
    }

    .contact-card {
        padding: 1.5rem;
        max-width: 100%;
    }
  }
  
  /* Estilos para los enlaces de las tarjetas de contacto */
  .contact-card .contact-link {
    color: #66FCF1; /* Color cyan brillante */
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border: 2px solid #66FCF1;
    border-radius: 25px;
    transition: all 0.3s ease;
    display: inline-block;
    margin-top: 1rem;
  }

  .contact-card .contact-link:hover {
    background: #66FCF1;
    color: #0B0C10; /* Color oscuro para mejor contraste */
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(102, 252, 241, 0.3); /* Brillo suave */
  }

  .contact-card .contact-link:active {
    transform: translateY(-1px);
  }
  /* Store buttons inline container */
  .store-buttons {
    display: inline-flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    width: 100%;
  }
  /* Ensure links shrink instead of wrapping to next line */
  .store-buttons .contact-link {
    white-space: nowrap;
    padding: 0.6rem 1rem;
    font-size: 0.95rem;
  }
  @media (max-width: 480px) {
    .store-buttons {
      gap: 10px;
    }
    .store-buttons .contact-link {
      padding: 0.55rem 0.9rem;
      font-size: 0.9rem;
    }
  }
  
  /* Story Page Styles */
  .story-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
  }

  .hero-section {
    text-align: center;
    padding: 4rem 0;
  }

  .hero-section h1 {
    font-size: 3rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
  }

  .story-timeline {
    position: relative;
    padding: 2rem 0;
  }

  .story-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--primary-color);
    opacity: 0.3;
  }

  .story-section {
    max-width: 800px;
    margin: 0 auto 4rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }

  .story-section h2 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 1.8rem;
  }

  .story-section p {
    line-height: 1.6;
    color: var(--text-color);
  }

.story-container{
overflow-x: hidden;
}

  /* Responsive Design */
  @media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }

    .story-section {
        padding: 1.5rem;
        margin: 0 auto 2rem;
    }

    .story-section h2 {
        font-size: 1.5rem;
    }

    .story-timeline::before {
        left: 2rem;
    }
  }

  @media (max-width: 480px) {
    .story-container {
        padding: 1rem;
    }

    .hero-section {
        padding: 2rem 0;
    }

    .story-section {
        padding: 1rem;
    }
  }
  
  /* Game Page Styles */
  .game-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
  }

  .game-section {
    padding: 4rem 0;
    margin: 2rem 0;
  }

  .dark-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 4rem 2rem;
  }

  .game-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
  }

  .game-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 1.5rem;
    transition: transform 0.3s ease;
  }

  .game-card:hover {
    transform: translateY(-10px);
  }

  .game-image {
    width: 100%;
    height: 200px;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 1rem;
    background: rgba(0, 0, 0, 0.2);
    padding: 10px;
  }

  .game-card h3 {
    color: var(--accent-color);
    margin: 1rem 0;
  }

  .feature-list {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
  }

  .feature-list li {
    padding: 0.5rem 0;
    color: #ccc;
  }

  .feature-list li::before {
    content: '→';
    margin-right: 0.5rem;
    color: var(--accent-color);
  }

  .modes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
  }

  .mode-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease;
  }

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

  /* Responsive Design for Game Page */
  @media (max-width: 1024px) {
    .game-grid, .modes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
  }

  @media (max-width: 768px) {


    .game-container {
        width: 100%;
        padding: 0;
        overflow-x: hidden;
        overflow-y: hidden;
    }

    .game-section {
        width: 100%;
        padding: 2rem 0;
    }

    .game-grid, .modes-grid {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        padding: 0 1rem;
        box-sizing: border-box;
    }

    .game-card {
        width: 100%;
        box-sizing: border-box;
        padding: 1rem;
        margin: 0;
    }

    .game-card h3 {
        font-size: 1.2rem;
        margin: 0.5rem 0;
    }

    .game-card p {
        font-size: 0.9rem;
        margin: 0.5rem 0;
        word-wrap: break-word;
    }

    .game-image {
        width: 100%;
        height: auto;
        max-height: 200px;
        object-fit: contain;
        margin: 0 auto;
        display: block;
    }

    .feature-list {
        padding-left: 0;
        margin: 0.5rem 0;
    }

    .feature-list li {
        font-size: 0.9rem;
        padding: 0.3rem 0;
    }

    .dark-section {
        padding: 2rem 0rem;
        border-radius: 0; /* Eliminamos el border-radius en móvil */
    }
  }

  @media (max-width: 480px) {
    .hero-section h1 {
        font-size: 2rem;
    }

    .game-section {
        padding: 1.5rem 0;
    }

    .dark-section {
        padding: 2rem 0rem;
    }
  }
  
.youtube-placeholder {
    position: relative;
}

.cookie-message {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 1rem 2rem;
    border-radius: 5px;
    text-align: center;
    z-index: 2;
    font-size: 0.9rem;
}

.cookie-message.show {
    display: block;
}

.cookie-message {  
    width: 100%;
    bottom: 0;
    position: absolute;
    text-align: center;
    left: 0;
    transform: none;
    top: auto;
    left: none;
}

.cookie-policy-link {
    display: block;
    margin-top: 8px;
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    opacity: 0.8;
}

.cookie-policy-link:hover {
    color: #fff;
    text-decoration: underline;
    opacity: 1;
}

.download-cta-section {
  padding: 0 2rem 4.5rem;
  background-color: rgb(29, 30, 32);
}

.download-cta-card {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 2.75rem 2.25rem;
  border-radius: 34px;
  border: 1px solid rgba(79, 198, 235, 0.35);
  background: rgba(16, 26, 40, 0.6);
  box-shadow:
    inset 0 0 0 1px rgba(125, 211, 252, 0.08),
    0 30px 70px rgba(0, 0, 0, 0.28);
  text-align: center;
}

.download-eyebrow {
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(235, 240, 255, 0.82);
}

.download-title {
  margin: 0 0 1.6rem;
  font-size: 2.2rem;
  font-weight: 600;
  line-height: 1.2;
  color: #fff;
}

.download-description {
  max-width: 820px;
  margin: 0 auto 2.1rem;
  color: #aeb8c9;
  font-size: clamp(1rem, 1.2vw, 1.14rem);
  line-height: 1.7;
}

.download-store-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.35rem;
}

.download-store-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 240px;
  height: 72px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.download-store-links a:hover {
  transform: translateY(-2px);
}

.download-store-links img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 62px;
}

.download-badge-google {
  height: 58px;
}

.download-badge-apple {
  height: 62px;
}

@media (max-width: 1024px) {
  .download-cta-card {
    padding: 2.2rem 1.8rem 2rem;
  }
}

@media (max-width: 768px) {
  .download-cta-section {
    padding: 0 1rem 3.5rem;
  }

  .download-cta-card {
    padding: 2.2rem 1.25rem 2rem;
    border-radius: 26px;
  }

  .download-eyebrow {
    font-size: 0.82rem;
    letter-spacing: 0.22em;
  }

  .download-description {
    margin-bottom: 2rem;
    font-size: 1rem;
  }

  .download-title {
    font-size: 1.8rem;
  }

  .download-store-links {
    justify-content: center;
    gap: 1rem;
  }

  .download-store-links a {
    width: min(240px, 100%);
    height: 68px;
  }

  .download-store-links img {
    width: auto;
    height: 56px;
  }

  .download-badge-google {
    height: 48px;
    transform: scale(0.88);
    transform-origin: center;
  }

  .download-badge-apple {
    height: 56px;
    transform: scale(1);
  }
}

.galery > .about-content {
  max-width: 1200px;
}

.galery .about-video {
  flex: 1 1 100%;
  width: 100%;
  padding: 0;
}

.galery .game-screenshots {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.galery .screenshot {
  width: 100%;
  max-width: none;
  height: auto;
  margin: 0;
}

@media (max-width: 1024px) {
  .galery .game-screenshots {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .galery .game-screenshots {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
    width: 100%;
    padding: 0;
  }

  .galery .screenshot {
    width: 100%;
    max-width: none;
  }
}

@media (max-width: 480px) {
  .galery .game-screenshots {
    grid-template-columns: 1fr;
  }
}
