@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@300..700&family=Staatliches&family=Yanone+Kaffeesatz:wght@200..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
/* ==================== RESET Y BASE ==================== */
* {
    margin: 0;
    padding: 0;
}

body {
    background-color: #000000;
    color: #fff;
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-style: normal;
    padding-top: 90px;
}

a {
    text-decoration: none;
}

/* ==================== NAVEGACIÓN ==================== */
.navbar {
    background-color: #000000;
}

.nav-link {
    color: #fff;
    padding: 12px;
}

.nav-link:hover {
    color: #f43e49;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='white' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.nav-link-hover:hover {
    text-decoration: underline;
    color: #ffc107 !important;
    transition: color 0.3s ease;
}

/* ==================== COLORES DE TEXTO ==================== */
.red {
    color: #f43e49;
}

.yellow {
    color: #ffc300;
}

.yellow-mediano {
    color: #ffc300;
    font-size: 20px;
    font-weight: lighter;
}

.yellow-bold {
    color: #ffc300;
    font-weight: 600;
    font-size: 20px;
}

/* ==================== CONTENEDORES PRINCIPALES ==================== */
.contenedor {
    max-width: 1200px;
    width: 100%;
    margin: auto;
    padding: 4.5rem 1rem;
}

.contenedor-negro {
    background-color: #111111;
    width: 100%;
    margin: auto;
}

.contenedor-mediano {
    max-width: 1050px;
    width: 100%;
    margin: auto;
}

/* ==================== ENLACES EN CAJAS ==================== */
.caja-enlace a {
    position: relative;
    color: white;
    font-weight: bold;
    display: block;
    transition: color 0.3s;
}

.caja-enlace a:hover {
    color: #ff4655;
}

.caja-enlace a::after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 4px;
    background-color: #ff4655;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.caja-enlace a:active,
.caja-enlace a:focus {
    color: #ff4655;
}

.caja-enlace a:active::after,
.caja-enlace a:focus::after {
    opacity: 1;
}

/* ==================== IMÁGENES ==================== */
.contenedor-mediano img {
    max-width: 250px;
    width: 100%;
    margin: 2.5rem auto;
}

.juego-inicio p {
    text-align: center;
    margin-top: 2rem;
}

.juego-inicio img {
    max-width: 300px;
    transition: scale 0.3s;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.juego-inicio img:hover {
    scale: 1.1;
}

.img-fluid {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.img-promo {
    max-width: 150px;
    margin: 1.5rem auto;
}

/* ==================== SECCIONES DE JUEGOS ==================== */
.juegos-sede {
    padding-bottom: 2rem;
}

/* ==================== TABLAS ==================== */
table {
    margin: auto;
    width: 100%;
    margin-bottom: 1rem;
    border-collapse: collapse;
}

thead,
tr,
td {
    padding: 8px;
}

thead {
    background-color: #000000;
}

tbody>tr:nth-child(even) td {
    background-color: #111111;
}

tbody>tr:nth-child(odd) td {
    background-color: #222222;
}

tbody>tr:hover td {
    background-color: #444c54;
    font-weight: 500;
}

/* ==================== DESCRIPCIÓN ==================== */
.cuadro_descripcion {
    border: 1px solid #ff4655;
    max-width: 600px;
    width: 100%;
    padding: 2rem;
    margin: auto;
    text-align: justify;
}

/* ==================== TITULOS ==================== */


.yanone-kaffeesatz-text {
  font-family: "Yanone Kaffeesatz", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}


.fredoka-text {
  font-family: "Fredoka", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
}

.staatliches-regular {
  font-family: "Staatliches", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.inter-text {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

h1 {
    color: #ff4655;
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 3.1rem;
    font-family: "Staatliches", sans-serif;
}

h2 {
    font-size: 3rem;
    text-align: center;
    font-family: "Staatliches", sans-serif;
}

h3 {
    font-size: 2rem;
    text-align: center;
    font-family: "Staatliches", sans-serif;
}

/* ==================== FILAS (ROW) ==================== */
.row {
    justify-content: center;
}

/* ==================== CARTAS ==================== */
.carta {
    width: 100%;
    max-width: 550px;
    margin: auto;
    height: 100%;
    padding: 2rem 1.5rem;
    background-color: #111111;
    text-align: center;
    border-radius: 8px;
}

/* ==================== LISTAS ==================== */
ul {
    text-align: justify;
}

/* ==================== ESTRELLAS ==================== */
.star {
    color: #ffbf00;
    font-size: 1.2rem;
    margin-right: 2px;
    user-select: none;
}

/* ==================== FAQ ==================== */
.faq-item {
    margin: 1rem;
    border-radius: 8px;
    background-color: #1a1a1a;
}

.faq-question {
    text-align: center;
    padding: 15px;
    border-radius: 8px;
    background-color: #1a1a1a;
    color: #fff;
    transition: color 0.3s;
    font-weight: 600;
}

.faq-answer {
    padding: 15px 20px;
    text-align: justify;
}

.faq-item:hover {
    cursor: pointer;
}

.faq-question:hover {
    color: #ff4655;
}

.collapse {
    transition-duration: 0.1s !important;
}

/* ==================== CAJAS DE SEDE ==================== */
.caja-sede,
.caja-sede-activa {
    width: 100%;
    border-radius: 2px;
    padding: 3rem 0.5rem;
    text-align: center;
    color: #fff;
    transition: scale 0.3s;
    max-width: 400px;
    margin: 0 auto;
}

.caja-sede {
    border: 1.5px solid #fff;
}

.caja-sede p,
.caja-sede-activa p {
    margin-top: 2.5rem;
}

.caja-sede h2,
.caja-sede-activa h2 {
    font-size: 30px;
    font-weight: 600;
}

.caja-sede:hover {
    border: 1px solid #949494;
    scale: 0.92;
}

.caja-sede-activa {
    border: 4px solid #f43e49;
    scale: 1.1;
}

.caja-sede-activa h2 {
    color: #f43e49;
}

.caja-sede-activa:hover {
    border: 1px solid #949494;
    border: 4px solid #f43e49;
    scale: 0.92;
}

/* ==================== JUEGO WRAPPER ==================== */
.juego-wrapper {
    position: relative;
    max-width: 250px;
    margin-left: auto;
    margin-right: auto;
    cursor: pointer;
    transition: scale 0.3s;
}

.juego-wrapper:hover {
    scale: 0.88;
}

.overlay-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -45%);
    width: 100px;
    height: 250px;
    display: none;
    pointer-events: none;
    user-select: none;
    transition: opacity 0.3s ease;
    z-index: 10;
}

/* ==================== HORARIOS ==================== */
.horario {
    max-width: 500px;
    border: 1px solid #fff;
    border-radius: 2px;
    padding: 2rem 4rem;
    margin: auto;
    font-weight: bold;
}

.borde-derecho {
    border-right: 2px solid #fff;
}

.borde-inferior {
    border-bottom: 2px solid #fff;
}

.borde-superior {
    border-top: 3px solid #141414;
}

/* ==================== FORMULARIO RESERVA ==================== */
.caja-datos-reserva {
    max-width: 500px;
    width: 100%;
    margin: 1rem auto;
}

option:disabled {
    background-color: #ccc;
    color: #666;
}

/* ==================== ENLACES SOCIALES ==================== */
.social-link img {
    transition: transform 0.3s ease;
}

.social-link:hover img {
    transform: scale(1.15);
    filter: brightness(1.3);
}

/* ==================== MEDIA QUERIES ==================== */
@media (max-width: 992px) {

    .caja-sede,
    .caja-sede-activa {
        max-width: 400px;
        margin: 0 auto;
    }
}