body {
    font-family: Arial, sans-serif;
   /* background-color: #222;*/
    color: #fff;
    margin: 20px;
  }

/*ESTILOS DEL TITULO BUSCADOR-ORDENADOR DE ARMAAS*/

    .contenedor_titulo_buscador_ordenador {
    text-align: center;
    margin: 30px auto;
    padding: 15px 25px;
    border-radius: 12px;
    background: linear-gradient(135deg, #1a1a1a, #0d0d0d);
    border: 2px solid #FF3C00;
    box-shadow: 0 0 15px rgba(255,60,0,0.6), inset 0 0 10px rgba(255,60,0,0.3);
    position: relative;
    overflow: hidden;
}

.contenedor_titulo_buscador_ordenador h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    color: #FFD700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 0 8px rgba(255,200,0,0.9), 0 0 15px rgba(255,140,0,0.6);
    transition: color 0.3s, text-shadow 0.3s;
}

.contenedor_titulo_buscador_ordenador:hover h2 {
    color: #FF3C00;
    text-shadow: 0 0 12px rgba(255,60,0,1), 0 0 25px rgba(255,0,0,0.9);
}

/* Animación de borde pulsante */
@keyframes borderGlow {
    0% {
        box-shadow: 0 0 10px rgba(255,60,0,0.6), inset 0 0 5px rgba(255,60,0,0.3);
    }
    50% {
        box-shadow: 0 0 25px rgba(255,60,0,1), inset 0 0 15px rgba(255,60,0,0.5);
    }
    100% {
        box-shadow: 0 0 10px rgba(255,60,0,0.6), inset 0 0 5px rgba(255,60,0,0.3);
    }
}

.contenedor_titulo_buscador_ordenador {
    animation: borderGlow 2.5s infinite ease-in-out;
}

/* Versión modo claro */
body:not(.dark-mode) .contenedor_titulo_buscador_ordenador {
    background: linear-gradient(135deg, #fdfdfd, #eaeaea);
    border: 2px solid #d4af37;
    box-shadow: 0 0 12px rgba(212,175,55,0.7), inset 0 0 6px rgba(212,175,55,0.4);
}

body:not(.dark-mode) .contenedor_titulo_buscador_ordenador h2 {
    color: #222;
    text-shadow: 0 0 8px rgba(212,175,55,0.8);
}

body:not(.dark-mode) .contenedor_titulo_buscador_ordenador:hover h2 {
    color: #B8860B;
    text-shadow: 0 0 12px rgba(212,175,55,1), 0 0 25px rgba(255,215,0,0.8);
}


/*---------------------------------------------*/

.contenedor_armas {
    width: 70%;
    margin: auto;
}

/*ESTILOS DEL BUSCADOR/ORDENADOR*/

/* Contenedor de filtros */
.filtros {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    align-items: center;
    margin: 25px auto;
    padding: 15px 20px;
    border-radius: 12px;
    background: rgba(20,20,20,0.85);
    box-shadow: 0 0 15px rgba(255,60,0,0.3), inset 0 0 12px rgba(255,60,0,0.2);
}

/* Buscador */
.filtros input[type="text"] {
    padding: 12px 18px;
    font-size: 1rem;
    border: 2px solid #ff3c00;
    border-radius: 8px;
    background: rgba(0,0,0,0.7);
    color: #FFD700;
    font-family: 'Orbitron', sans-serif;
    outline: none;
    width: 280px;
    box-shadow: 0 0 8px rgba(255,60,0,0.4);
    transition: all 0.3s ease;
}
.filtros input[type="text"]::placeholder {
    color: rgba(255,215,0,0.9);
}
body.dark-mode .filtros input[type="text"]::placeholder {
    color: rgba(255,215,0,0.5);
}
.filtros input[type="text"]:focus {
    border-color: #FFD700;
    box-shadow: 0 0 16px rgba(255,215,0,0.8), inset 0 0 10px rgba(255,140,0,0.5);
}

/* Selector */
.filtros select {
    padding: 12px 18px;
    font-size: 1rem;
    border: 2px solid #ff3c00;
    border-radius: 8px;
    background: rgba(0,0,0,0.7);
    color: #FFD700;
    font-family: 'Orbitron', sans-serif;
    cursor: pointer;
    box-shadow: 0 0 8px rgba(255,60,0,0.4);
    transition: all 0.3s ease;
}
.filtros select:hover,
.filtros select:focus {
    border-color: #FFD700;
    box-shadow: 0 0 16px rgba(255,215,0,0.8), inset 0 0 10px rgba(255,140,0,0.5);
    transform: scale(1.05);
}

/* Opciones del select */
.filtros select option {
    background: #1a1a1a;
    color: #FFD700;
}

/* ====== Modo Claro ====== */
body:not(.dark-mode) .filtros {
    background: rgba(255,255,255,0.8);
    border: 2px solid #d4af37;
    box-shadow: 0 0 10px rgba(212,175,55,0.5);
}
body:not(.dark-mode) .filtros input[type="text"],
body:not(.dark-mode) .filtros select {
    background: #fff;
    color: #333;
    border: 2px solid #d4af37;
    box-shadow: 0 0 8px rgba(212,175,55,0.3);
}
body:not(.dark-mode) .filtros input[type="text"]:focus,
body:not(.dark-mode) .filtros select:hover {
    border-color: #ffa500;
    box-shadow: 0 0 12px rgba(255,165,0,0.8);
}
body:not(.dark-mode) .filtros select option {
    background: #fff;
    color: #000;
}


/*-------------------------------*/


/*-------------ESTILOS DE LOS TAB------------*/

/* Contenedor general */
.main-nav {
    margin: 20px auto;
    text-align: center;
}

/* Lista de tabs */
.container-tabheader {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    padding: 0;
    margin: 0;
    list-style: none;
}

/* Estilos base de cada tab */
.tabheader {
    padding: 12px 22px;
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    text-transform: uppercase;
    font-weight: bold;
    border-radius: 8px;
    border: 2px solid #ff3c00;
    background: rgba(20,20,20,0.9);
    color: #FFD700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 12px rgba(255,60,0,0.4), inset 0 0 8px rgba(255,60,0,0.2);
}

/* Hover */
.tabheader:hover {
    color: #ff3c00;
    background: rgba(255,60,0,0.15);
    box-shadow: 0 0 16px rgba(255,60,0,0.7), inset 0 0 12px rgba(255,60,0,0.4);
    transform: translateY(-2px);
}

/* Tab activo */
.tabheader.active {
    background: linear-gradient(135deg, #ff3c00, #ff6b3d);
    color: #fff;
    border-color: #ff6b3d;
    box-shadow: 0 0 20px rgba(255,60,0,1), inset 0 0 10px rgba(255,200,0,0.5);
    transform: scale(1.05);
}

/* Versión modo claro */
body:not(.dark-mode) .tabheader {
    background: #fefefe;
    color: #333;
    border-color: #d4af37;
    box-shadow: 0 0 8px rgba(212,175,55,0.5), inset 0 0 5px rgba(212,175,55,0.3);
}

body:not(.dark-mode) .tabheader:hover {
    color: #b8860b;
    background: #fff5d1;
    box-shadow: 0 0 14px rgba(212,175,55,0.8);
}

body:not(.dark-mode) .tabheader.active {
    background: linear-gradient(135deg, #ffd700, #ffa500);
    color: #000;
    border-color: #ffa500;
    box-shadow: 0 0 20px rgba(255,215,0,1), inset 0 0 8px rgba(255,140,0,0.4);
}


/*--------------------------------------------*/

/*---------ESTILOS DE LOS CUADROS------------*/

.col-md-4 {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    margin-bottom: 20px;
}

.contenedor-cuadro {
    height: 270px;
    width: 500px;
    margin: auto;
    background: rgba(192,192,192,0.7);
    box-shadow:1px 1px 5px 1px rgba(0,0,0,0.5);
    margin-bottom: 35px;
    position: relative;
}
body.dark-mode .contenedor-cuadro {
    box-shadow:1px 1px 5px 1px rgba(0,0,0,0.9);
}
.contenedor-boton_titulo, .contenedor-subtitulo {
    display: flex;
    border-bottom: 1px solid #C8C8C8;
}

.contenedor-boton button {
    background: #DC0101;
    cursor: pointer;
    padding: .25rem .5rem;
    font-size: 1.3rem;
    line-height: 1.5;
    border-radius: .2rem;
    color: #f8f9fa;
    border-color: #f8f9fa;
    box-shadow: inset 1px -2px 5px 1px rgba(0,0,0,0.5);
    margin: 2px;
}

.contenedor-titulo, .contenedor-subtitulo{
    width: 100%;
    margin: auto;
    display: flex;
    justify-content: center;
    font-size: 20px;
}

.contenedor-titulo span {
    color: #000;
    font-weight: bold;
    font-family: 'FjallaOne', sans-serif;
    margin-left: -35px;
}
body.dark-mode .contenedor-titulo span{
    color: #fff;
}

.contenedor-subtitulo span {
    color: #000;
    font-family: 'FjallaOne', sans-serif;
}
body.dark-mode .contenedor-subtitulo span {
    color: #fff;
}

.contenedor-img {
    height: 200px;
    width: 100%;
    display: flex;
    background: #C8C8C8;
    position: absolute;
}

.contenedor-img img {
    width: 100%;
}

/*ESTILOS DE LAS BARRITAS (BARS) Y LAS IMG HABILITY*/
.contenedor-stats {
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 200px;
}

.contenedor-hability {
   position: relative;
    width: 100%;
    height: 200px;
    display: none;
    background: rgba(0,0,0,0.9);
}
.contenedor-stats:hover .contenedor-hability {
    display: block;
}

.contenedor-stats .contenedor-hability  .contenedor_img_ability img{
    width: 90%;
    }

.contenedor-bars1,.contenedor-bars1,.contenedor-bars2,.contenedor-bars3,.contenedor-bars4,.contenedor-bars5{
  position: absolute;
    opacity: 0.8;
}
.contenedor-bars1 {
     top: 3%;
    left: 32%;
}
.contenedor-bars2 {
     top: 30%;
    left: 32%;
}
.contenedor-bars3 {
     top: 46%;
    left: 32%;
}
.contenedor-bars4 {
     top: 61%;
    left: 32%;
}
.contenedor-bars5 {
     top: 77%;
    left: 32%;
}
.contenedor-bars {
    margin-top: -32%;
    margin-left: 13%;
    display: flex;
    width: 100%;
}
.contenedor-bars p {
    font-size: 25px;
    color: #fff;
    width: 21%;
}
.contenedor-bars1 img, .contenedor-bars2 img,.contenedor-bars3 img,.contenedor-bars4 img,.contenedor-bars5 img {
    height: 15px; 
}

/*---------------- Estilos base para el modal -------------*/
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
    
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 800px;
}
body.dark-mode .modal-content {
    background-color: #000;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

iframe {
   width: 100%;
    height: 500px;
}
/*----------------------------------------*/
@media screen and (min-width: 480px){
    
    .contenedor_armas {
    width: 100%;
    }
    
    .contenedor-img img {
    width: 90%;
    margin: auto;
    }
}

@media screen and (min-width: 768px){
    
    .contenedor_armas {
    width: 90%;
    }
    .contenedor-cuadro {
       /* flex:1 1 250px; /*esta propiedad permite que a partir de 150px los cuadros vayan creciendo a medida que se estira la pantalla */
        /*margin: 5px;*/
    }
    .contenedor-img img {
    width: 100%;
    }
}

@media screen and (min-width: 1024px){
       input[type="text"] {
    padding: 18px;
    width: 450px;
    font-size: 20px;
  }

  select {
    font-size: 20px;  
    border-radius: 4px;
  }
    .container-tabheader .tabheader {
        font-size: 24px;
    }
    .modal-content {
    max-width: 1000px;
}
    iframe {
    height: 660px;
}
}
/*-------------------------------------------*/

