/* ===== ESTILOS GENERALES ===== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'Poppins', sans-serif;
    background:#0f172a;
    color:white;
}

/* ===== BARRA DE NAVEGACIÓN ===== */

nav{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 60px;
    background:rgba(17,24,39,.92);
    backdrop-filter:blur(12px);
    border-bottom:1px solid rgba(255,255,255,.08);
    position:sticky;
    top:0;
    z-index:1000;
}

.logo{
    width:200px;
    height:50px;
    display:flex;
    align-items:center;
}

.logo img{
    width:100%;
    height:100%;
    object-fit:contain;
    display:block;
}

nav ul{
    display:flex;
    list-style:none;
    gap:30px;
}

nav a{
    text-decoration:none;
    color:white;
    font-weight:500;

    transition:.3s;
}
nav a{
    position:relative;
}

nav a::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-6px;
    width:0;
    height:2px;
    background:#38bdf8;
    transition:.3s;
}

nav a:hover{
    color:#38bdf8;
}

nav a:hover::after{
    width:100%;
    
}

/* ===== CATEGORÍAS ===== */

.categorias{

    padding:80px 60px;

}

.categorias h2{

    text-align:center;

    font-size:40px;

    margin-bottom:50px;

}

.cards{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:30px;
}

.card{
    background:#1e293b;
    padding:30px;
    border-radius:15px;
    transition:.3s;
}

.card:hover{
    transform:translateY(-8px);
    box-shadow:0 0 25px rgba(56,189,248,.25);
}

.card img{
    width:100%;
    height:220px;
    object-fit:cover;
    border-radius:10px;
    display:block;
    margin-bottom:20px;
}

.card h3{
    margin-bottom:15px;
}

.card p{
    color:#cbd5e1;
}
/* ===== HERO V2 ===== */

.hero{
    height:700px;
    background:
        linear-gradient(rgba(15,23,42,.75), rgba(15,23,42,.85)),
        url("../img/hero.jpg") center center/cover no-repeat;
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
    position:relative;
}

.hero-overlay{

    max-width:900px;

    padding:20px;

}

.hero h1{
    font-size:72px;
    font-weight:700;
    line-height:1.1;
    margin-bottom:25px;
    text-shadow:0 5px 20px rgba(0,0,0,.6);
}


.hero p{
    font-size:24px;
    color:#e2e8f0;
    margin-bottom:40px;
    text-shadow:0 3px 10px rgba(0,0,0,.5);
}
.hero p::after{
    content:"";
    display:block;
    width:220px;
    height:4px;
    margin:20px auto 0;
    border-radius:10px;
    background:linear-gradient(90deg,#ffffff,#55ebff,#ffffff);
}

.hero-buttons{

    display:flex;

    justify-content:center;

    gap:20px;

    flex-wrap:wrap;

}

.btn-primary,
.btn-secondary{

    padding:16px 35px;

    border:none;

    border-radius:12px;

    cursor:pointer;

    font-size:18px;

    transition:.3s;

}

.btn-primary{

    background:#3b82f6;

    color:white;

}
.btn-primary:hover{
    transform:translateY(-4px) scale(1.05);
    box-shadow:0 10px 25px rgba(59,130,246,.4);
}

.btn-secondary{
    background:#3b82f6;
    color:white;
}
.btn-secondary:hover{
    transform:translateY(-4px) scale(1.05);
    box-shadow:0 10px 25px rgba(255,255,255,.25);
}
/* ================================================= */
/* LO MÁS POPULAR */
/* ================================================= */

.populares{

    padding:80px 60px;

}

.populares h2{

    text-align:center;

    font-size:40px;

    margin-bottom:50px;

}

.populares img{
width:100%;
    aspect-ratio:16 / 9;
    height:auto;
    object-fit:cover;
    border-radius:10px;
    margin-bottom:20px;
}

.populares button{

    margin-top:20px;

    width:100%;

    padding:12px;

    border:none;

    border-radius:10px;

    background:#3b82f6;

    color:white;

    cursor:pointer;

    transition:.3s;

}
.populares button:hover{
    background:#2563eb;
}

/* ========================= */
/* ARTÍCULO */
/* ========================= */

.articulos{
    max-width: 1000px;
    margin: 60px auto;
    padding: 0 20px;
    text-align: center;
}

.articulo-img{
    width: 100%;
    max-width: 900px;
    border-radius: 15px;
    display: block;
    margin: 0 auto 40px;
}

.articulos h2{
    font-size: 48px;
    margin-bottom: 20px;
}

.articulos p{
    max-width: 800px;
    margin: auto;
    font-size: 20px;
    line-height: 1.8;
    color: #c9d2e3;
}
.page-header{
    background: linear-gradient(135deg,#1e293b,#0f172a);
    padding: 100px 20px 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-header h1{
    font-size: 56px;
    margin-bottom: 15px;
    width: 100%;
}

.page-header p{
    font-size: 22px;
    color: #cbd5e1;
    max-width: 800px;
    margin: 0 auto;
}
/* ========================= */
/* BUSCADOR */
/* ========================= */

.buscador{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:15px;
    padding:30px 20px;
    background:transparent;
}

.buscador input{
    width:500px;
    max-width:80%;
    padding:15px;

    border:none;
    border-radius:10px;

    font-size:17px;
}
.buscador button{
    padding:16px 30px;
    border:none;
    border-radius:12px;
    background:#3b82f6;
    color:#fff;
    cursor:pointer;
    transition:.3s;

    font-family:'Poppins', sans-serif;
    font-size:18px;
    font-weight:600;
    letter-spacing:.5px;
}

.buscador button:hover{
    background:#2563eb;
}
/* ========================= */
/* BUSCADOR DEL MENÚ */
/* ========================= */

.nav-search{
    flex: 1;
    display: flex;
    justify-content: flex-end; /* lo mueve a la derecha */
    margin-left: 40px;
    margin-right: 20px;
}

.nav-search input{
    width: 280px;
    padding: 10px 16px;
    border: none;
    border-radius: 25px;
    background: #1e293b;
    color: white;
    font-size: 15px;
    outline: none;
}

.nav-search input::placeholder{
    color: #94a3b8;
}

.nav-search input:focus{
    border: 2px solid #3b82f6;
}
.ultimos-articulos img{
    width:100%;
    aspect-ratio:16 / 9;
    height:auto;
    object-fit:cover;
    border-radius:10px;
    margin-bottom:20px;
}
/* ========================= */
/* BOTÓN LEER MÁS */
/* ========================= */

.btn-articulo{
    display:block;
    margin:20px;
    padding:14px;
    text-align:center;
    background:linear-gradient(90deg,#3b82f6,#2563eb);
    color:#fff;
    text-decoration:none;
    border-radius:10px;
    font-weight:600;
    transition:.3s;
}

.btn-articulo:hover{
    transform:translateY(-2px);
    box-shadow:0 8px 20px rgba(59,130,246,.35);
}

.btn-articulo:visited{
    color:white;
}
.footer a{
    color:#cbd5e1;
    text-decoration:none;
    transition:.3s;
}

.footer a:visited{
    color:#cbd5e1;
}

.footer a:hover{
    color:#3b82f6;
}

.footer li{
    margin:8px 0;
}
.footer-container{
    max-width:1200px;
    margin:0 auto;
    display:flex;
    justify-content:center;
    gap:100px;
}
.footer{
    padding:40px 20px;
}
@media(max-width:768px){
    .footer-container{
        flex-direction:column;
        text-align:center;
        gap:20px;
    }
}
.footer{
    background:#111827;
    color:#cbd5e1;
    padding:40px 20px 20px;
    border-top:1px solid #334155;
}

.footer h3{
    color:white;
    margin-bottom:15px;
    font-size:18px;
}

.footer p{
    margin:0;
    line-height:1.6;
}

.copy{
    text-align:center;
    margin-top:30px !important;
    padding-top:20px;
    border-top:1px solid #334155;
    font-size:14px;
    color:#94a3b8;
}
.articulos-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
    margin-top:40px;
}

.articulo-card{
    background:linear-gradient(180deg,#1e293b,#172033);
    border:1px solid rgba(255,255,255,.05);
    border-radius:18px;
    overflow:hidden;
    transition:.35s;
    display:flex;
    flex-direction:column;
    height:100%;
}

.articulo-card:hover{
    transform:translateY(-8px);
    box-shadow:0 0 25px rgba(56,189,248,.25);
}

.articulo-card img{
    width:100%;
    height:220px;
    object-fit:cover;
    display:block;
}

.articulo-card h3{
    padding:20px 20px 10px;
    font-size:28px;
    font-weight:700;
}

.articulo-card p{
    padding:0 20px;
    color:#94a3b8;
    line-height:1.7;
    flex-grow:1;
}
.ultimos-articulos{
    padding:80px 60px;
}

.ultimos-articulos h2{
    text-align:center;
    font-size:40px;
    margin-bottom:50px;
}
/* ========================= */
/* JUEGOS DESTACADOS */
/* ========================= */

.destacados{
    padding:80px 60px;
}

.destacados h2{
    text-align:center;
    font-size:40px;
    margin-bottom:50px;
}

.destacados img{
    width:100%;
    aspect-ratio:16 / 9;
    height:auto;
    object-fit:cover;
    border-radius:10px;
    margin-bottom:20px;
}
/* ========================= */
/* NOTICIAS HOME */
/* ========================= */

.noticias-home{
    padding:80px 60px;
}

.noticias-home h2{
    text-align:center;
    font-size:40px;
    margin-bottom:50px;
}

.noticias-home img{
    width:100%;
    height:180px;
    object-fit:cover;
    border-radius:10px;
    margin-bottom:20px;
}
/* ========================= */
/* FUENTE DE TÍTULOS */
/* ========================= */

h1,
h2,
.logo{
    font-family:'Bebas Neue', sans-serif;
    letter-spacing:1px;
}
/* ========================= */
/* ANIMACIONES HERO */
/* ========================= */

.hero h1{
    animation: aparecerTitulo 1s ease;
}

.hero p{
    animation: aparecerTexto 1.3s ease;
}

.hero-buttons{
    animation: aparecerBotones 1.6s ease;
}

@keyframes aparecerTitulo{
    from{
        opacity:0;
        transform:translateY(-40px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

@keyframes aparecerTexto{
    from{
        opacity:0;
        transform:translateY(30px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

@keyframes aparecerBotones{
    from{
        opacity:0;
        transform:translateY(40px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

.indice{
    max-width:900px;
    margin:50px auto;
    padding:30px;
    background:#1e293b;
    border-radius:15px;
}

.indice h2{
    margin-bottom:20px;
    font-size:30px;
}

.indice ul{
    list-style:none;
    padding:0;
}

.indice li{
    margin:15px 0;
}

.indice a{
    color:#38bdf8;
    text-decoration:none;
    font-size:18px;
    transition:.3s;
}

.indice a:hover{
    color:white;
    padding-left:10px;
}
.page-header{
    background:linear-gradient(135deg,#1e293b,#0f172a);
    padding:100px 20px 60px;
    display:flex;
    flex-direction:column;
    align-items:center;
    text-align:center;
}

.page-header h1{
    font-size:56px;
    margin-bottom:15px;
    width:100%;
}

.page-header p{
    font-size:22px;
    color:#cbd5e1;
    max-width:800px;
    margin:0 auto;
}
#resultados.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

#resultados .card {
    width: auto;
}

#resultados .card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}
.btn-primary,
.btn-secondary {
    text-decoration: none;
    display: inline-block;
}
#ultimos-articulos {
    scroll-margin-top: 0;
}
html {
    scroll-behavior: smooth;
}
/* ===== UTILIDADES ===== */

.utilidades .cards {
    grid-template-columns: repeat(2, 380px);
    justify-content: center;
    gap: 30px;
}

.utilidades .card {
    width: 380px;
    min-height: 280px;
    box-sizing: border-box;
}
/* =========================================================
   CONVERSORES DE SENSIBILIDAD
   ========================================================= */

.conversor-card {
    width: 92%;
    max-width: 1100px;
    margin: 50px auto;
    padding: 30px;

    background: #111c30;

    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;

    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);

    position: relative;
    overflow: hidden;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


/* Brillo superior */

.conversor-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 2px;

    background: linear-gradient(
        90deg,
        transparent,
        #3b82f6,
        #8b5cf6,
        transparent
    );
}


/* Hover del cuadro */

.conversor-card:hover {
    transform: translateY(-3px);

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.45),
        0 0 30px rgba(59, 130, 246, 0.08);
}


/* =========================================================
   ENCABEZADO
   ========================================================= */

.conversor-header {
    display: flex;
    align-items: center;

    gap: 16px;

    margin-bottom: 28px;
}


.conversor-icon {
    width: 55px;
    height: 55px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    font-size: 28px;

    background: rgba(59, 130, 246, 0.12);

    border: 1px solid rgba(59, 130, 246, 0.25);

    border-radius: 14px;

    box-shadow:
        0 0 20px rgba(59, 130, 246, 0.12);
}


.conversor-header h2 {
    margin: 0;

    color: #f8fafc;

    font-size: 27px;

    text-shadow:
        0 2px 8px rgba(0, 0, 0, 0.35);
}


.conversor-header p {
    margin: 5px 0 0;

    color: #94a3b8;

    font-size: 14px;
}


/* =========================================================
   CONTENEDOR DEL CONVERSOR
   ========================================================= */

.conversor-card .convertidor-sensibilidad {
    width: 100%;

    padding: 0;

    background: transparent;

    box-shadow: none;
}


/* =========================================================
   JUEGO ORIGEN / DESTINO
   ========================================================= */

.conversor-card .select-juego {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 20px;

    margin-bottom: 25px;
}


/* =========================================================
   CAMPOS
   ========================================================= */

.conversor-card .campo-conversor {
    margin-bottom: 18px;
}


.conversor-card .campo-conversor label {
    display: block;

    margin-bottom: 8px;

    color: #e2e8f0;

    font-size: 14px;

    font-weight: 600;
}


/* =========================================================
   INPUTS Y SELECTS
   ========================================================= */

.conversor-card input,
.conversor-card select {

    width: 100%;

    height: 48px;

    padding: 0 14px;

    background: #0f172a;

    color: #f8fafc;

    border: 1px solid #334155;

    border-radius: 10px;

    outline: none;

    font-family: inherit;

    font-size: 14px;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease;
}


/* Hover */

.conversor-card input:hover,
.conversor-card select:hover {

    border-color: #475569;

    background: #111c30;
}


/* Focus */

.conversor-card input:focus,
.conversor-card select:focus {

    border-color: #3b82f6;

    background: #13223a;

    box-shadow:
        0 0 0 3px rgba(59, 130, 246, 0.12),
        0 0 18px rgba(59, 130, 246, 0.08);

    transform: translateY(-1px);
}


/* Placeholder */

.conversor-card input::placeholder {
    color: #64748b;
}


/* =========================================================
   CAMPOS DINÁMICOS
   ========================================================= */

.conversor-card #camposOrigen,
.conversor-card #camposDestino,
.conversor-card #camposOrigenMoba,
.conversor-card #camposDestinoMoba {

    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 18px;
}


/* =========================================================
   BOTONES
   ========================================================= */

.conversor-card .btn-articulo {

    width: 100%;

    min-height: 50px;

    margin: 8px 0 0 0;

    border: none;

    border-radius: 10px;

    background:
        linear-gradient(
            90deg,
            #2563eb,
            #3b82f6
        );

    color: white;

    font-family: inherit;

    font-size: 15px;

    font-weight: 700;

    cursor: pointer;

    box-shadow:
        0 8px 22px rgba(37, 99, 235, 0.25);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        filter 0.2s ease;
}


.conversor-card .btn-articulo:hover {

    transform: translateY(-2px);

    filter: brightness(1.08);

    box-shadow:
        0 12px 30px rgba(37, 99, 235, 0.4);
}


.conversor-card .btn-articulo:active {

    transform: translateY(0);

    box-shadow:
        0 5px 15px rgba(37, 99, 235, 0.25);
}


/* =========================================================
   MOBA — COLOR DIFERENTE
   ========================================================= */

.conversor-moba::before {

    background:
        linear-gradient(
            90deg,
            transparent,
            #8b5cf6,
            #a855f7,
            transparent
        );
}


.conversor-moba .conversor-icon {

    background:
        rgba(139, 92, 246, 0.12);

    border-color:
        rgba(139, 92, 246, 0.25);

    box-shadow:
        0 0 20px rgba(139, 92, 246, 0.12);
}


.conversor-moba .btn-articulo {

    background:
        linear-gradient(
            90deg,
            #7c3aed,
            #8b5cf6
        );

    box-shadow:
        0 8px 22px rgba(139, 92, 246, 0.25);
}


.conversor-moba .btn-articulo:hover {

    box-shadow:
        0 12px 30px rgba(139, 92, 246, 0.4);
}


/* =========================================================
   RESULTADO
   ========================================================= */

.conversor-card .resultado-conversion {

    margin-top: 25px;

    padding: 22px;

    background: rgba(15, 23, 42, 0.7);

    border: 1px solid rgba(71, 85, 105, 0.45);

    border-radius: 12px;

    color: #cbd5e1;

    line-height: 1.6;
}


/* Resultado aproximado */

.conversor-card .conversion-aproximada {

    padding: 20px;

    border-radius: 10px;

    border: 1px solid rgba(234, 179, 8, 0.35);

    background:
        rgba(30, 30, 20, 0.35);
}


/* Resultado exacto */

.conversor-card .conversion-exacta {

    padding: 20px;

    border-radius: 10px;

    border: 1px solid rgba(34, 197, 94, 0.35);

    background:
        rgba(20, 35, 25, 0.35);
}


/* Información */

.conversor-card .info-conversion {

    margin-top: 18px;

    padding: 14px 16px;

    border-left: 3px solid #3b82f6;

    border-radius: 8px;

    background:
        rgba(30, 41, 59, 0.6);
}


/* =========================================================
   ERROR
   ========================================================= */

.conversor-card .error-conversion {

    padding: 14px;

    border-radius: 9px;

    border: 1px solid rgba(248, 113, 113, 0.35);

    background:
        rgba(127, 29, 29, 0.25);

    color: #fca5a5;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 800px) {

    .conversor-card {
        width: 94%;

        padding: 24px;
    }


    .conversor-card .select-juego {
        grid-template-columns: 1fr;
    }


    .conversor-card #camposOrigen,
    .conversor-card #camposDestino,
    .conversor-card #camposOrigenMoba,
    .conversor-card #camposDestinoMoba {

        grid-template-columns: 1fr;
    }

}


@media (max-width: 500px) {

    .conversor-card {
        width: 96%;

        padding: 18px;
    }


    .conversor-header {
        align-items: flex-start;
    }


    .conversor-icon {
        width: 46px;
        height: 46px;

        font-size: 23px;
    }


    .conversor-header h2 {
        font-size: 21px;
    }


    .conversor-header p {
        font-size: 13px;
    }

}
/* ==================================================
   CALCULADORA DPI / eDPI
   ================================================== */

.edpi-configuraciones {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px;
    width: 100%;
    margin-top: 25px;
}

.edpi-box {
    background: #111827;
    border: 1px solid #334155;
    border-radius: 14px;
    padding: 25px;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.edpi-box:hover {
    transform: translateY(-4px);
    border-color: #3b82f6;
    box-shadow: 0 12px 30px rgba(59, 130, 246, 0.18);
}

.edpi-box h3 {
    text-align: center;
    margin-bottom: 25px;
}

.edpi-box .campo-conversor {
    margin-bottom: 18px;
}

.edpi-box input {
    width: 100%;
}

.edpi-valor {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #334155;
}

.edpi-valor strong {
    font-size: 1.15rem;
}

/* Botón */

#btnCalcularEdpi {
    display: block;
    width: 260px;
    margin: 30px auto 0;
}

/* Resultado */

#resultadoEdpi {
    margin-top: 25px;
}

/* Información */

.edpi-info {
    margin-top: 25px;
}


/* ==================================================
   MÓVIL
   ================================================== */

@media (max-width: 768px) {

    .edpi-configuraciones {
        grid-template-columns: 1fr;
    }

}
/* ==================================================
   INPUTS DE LA CALCULADORA eDPI
   ================================================== */

.edpi-box input[type="number"] {
    width: 100%;
    padding: 14px 16px;

    background: #0f172a;
    color: #ffffff;

    border: 1px solid #334155;
    border-radius: 10px;

    font-family: 'Poppins', sans-serif;
    font-size: 15px;

    outline: none;

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.edpi-box input[type="number"]:focus {
    border-color: #3b82f6;

    box-shadow:
        0 0 0 3px rgba(59, 130, 246, 0.15);

    background: #111827;
}

.edpi-box input[type="number"]::placeholder {
    color: #94a3b8;
}
.resultado-detalle{
    margin-top:20px;
    padding:18px 20px;
    border:1px solid #334155;
    border-radius:12px;
    background:#111827;
}

.resultado-detalle p{
    margin:8px 0;
}

.resultado-detalle strong{
    color:white;
}
/* ==========================================
   RESULTADOS DE CONVERSORES
   ========================================== */

.resultado-conversion{
    margin-top:30px;
}


.resultado-principal{
    padding:25px;
    margin-bottom:18px;

    background:#0f172a;

    border:1px solid #334155;
    border-radius:14px;

    text-align:center;

    box-shadow:0 8px 25px rgba(0,0,0,0.25);
}


.resultado-principal h3{
    margin-bottom:12px;
}


.resultado-juegos{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:12px;

    margin-bottom:15px;
}


.resultado-juegos span{
    opacity:0.6;
}


.resultado-sensibilidad{
    display:block;

    margin:10px 0;

    font-size:32px;

    line-height:1.2;
}


.resultado-detalle{
    padding:20px;

    margin-bottom:15px;

    background:#111827;

    border:1px solid #334155;

    border-radius:12px;
}


.resultado-detalle h4{
    margin-bottom:15px;

    font-size:17px;
}


.resultado-detalle p{
    margin:8px 0;
}


.resultado-detalle strong{
    color:#fff;
}


.resultado-cm360{
    text-align:center;
}


.resultado-cm360 strong{
    font-size:20px;
}


/* ==========================================
   AVISOS
   ========================================== */

.aviso-conversion{
    padding:18px 20px;

    margin-top:15px;

    border-radius:12px;

    border:1px solid #334155;
}


.aviso-conversion p{
    margin-top:8px;
}


.aviso-conversion.directa{
    background:#0f2418;
}


.aviso-conversion.aproximada{
    background:#241f0f;
}
/* ==========================================================
   CALCULADORA DE FPS
   ========================================================== */

.calculadora-fps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 40px;
}


/* TARJETAS PRINCIPALES */

.calculadora-fps .fps-box {
    background: #111827;
    border: 1px solid #334155;
    border-radius: 14px;
    padding: 28px;
    box-sizing: border-box;
}

.calculadora-fps .fps-box h2 {
    text-align: center;
    margin-top: 0;
    margin-bottom: 28px;
    font-size: 22px;
}


/* CAMPOS */

.calculadora-fps .campo-conversor {
    margin-bottom: 20px;
}

.calculadora-fps .campo-conversor label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.calculadora-fps .campo-conversor select {
    width: 100%;
    padding: 13px 15px;
    border-radius: 10px;
    border: 1px solid #334155;
    background: #0f172a;
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    outline: none;
    box-sizing: border-box;
    cursor: pointer;
}

.calculadora-fps .campo-conversor select:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.15);
}


/* BOTÓN */

#btnCalcularFPS {
    width: 100%;
    margin-top: 24px;
}


/* RESULTADO */

#resultadoFPS {
    margin-top: 28px;
}


/* INFORMACIÓN */

.calculadora-fps + #btnCalcularFPS + #resultadoFPS + .edpi-info {
    margin-top: 28px;
}


/* RESPONSIVE */

@media (max-width: 768px) {

    .calculadora-fps {
        grid-template-columns: 1fr;
    }

}
/* ==================================================
   CALCULADORA DE FPS - BUSCADORES DE HARDWARE
   ================================================== */

.campo-conversor input[type="text"] {
    width: 100%;
    padding: 14px;
    background: #0f172a;
    color: white;
    border: 1px solid #334155;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    outline: none;
    transition: 0.2s;
}

.campo-conversor input[type="text"]:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.15);
}

.campo-conversor input[type="text"]::placeholder {
    color: #94a3b8;
}


/* Lista de resultados del buscador */

.lista-hardware {
    width: 100%;
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 10px;
    margin-top: 6px;
    overflow: hidden;
    display: none;
    position: relative;
    z-index: 10;
}

.lista-hardware div {
    padding: 12px 14px;
    color: white;
    cursor: pointer;
    transition: background 0.2s;
}

.lista-hardware div:hover {
    background: #334155;
}


/* Botón detectar hardware */

#btnDetectarHardware {
    width: 100%;
    margin-bottom: 22px;
}


/* Separación entre campos */

.campo-conversor {
    margin-bottom: 22px;
}


/* Etiquetas */

.campo-conversor label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}


/* Selects de la calculadora */

.campo-conversor select {
    width: 100%;
}
/* ===== RESULTADO FPS ===== */

.resultado-fps-card {
    margin-top: 30px;
    padding: 28px;
    background: #111827;
    border: 1px solid #334155;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

/* Título */

.resultado-fps-header {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
}

/* Número de FPS */

.fps-numero {
    font-size: 48px;
    font-weight: 700;
    margin: 10px 0 25px;
}

.fps-numero span {
    font-size: 24px;
    font-weight: 600;
}

/* Datos */

.fps-datos {
    border-top: 1px solid #334155;
    border-bottom: 1px solid #334155;
    padding: 18px 0;
}

.fps-datos p {
    margin: 10px 0;
    font-size: 16px;
}

/* Aviso */

.fps-aviso {
    margin-top: 20px;
    padding: 15px 18px;
    background: #1e293b;
    border-left: 4px solid #3b82f6;
    border-radius: 10px;
    font-size: 15px;
    line-height: 1.6;
}
/* ==============================================
   MOUSE VISUAL
   ============================================== */

.mouse-area {
    width: 100%;
    max-width: 850px;
    min-height: 430px;

    margin: 40px auto;

    display: flex;
    justify-content: center;
    align-items: center;
}


/* CUERPO DEL MOUSE */

.mouse {
    position: relative;
    width: 220px;
    height: 360px;

    background: #172033;

    border: 3px solid #475569;

    border-radius: 110px 110px 95px 95px;

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.35);

    transition: 0.15s;
}


/* DIVISIÓN ENTRE IZQUIERDO Y DERECHO */

.mouse::before {

    content: "";

    position: absolute;

    top: 0;
    left: 50%;

    width: 2px;
    height: 125px;

    background: #475569;

    transform: translateX(-50%);

}


/* BOTÓN IZQUIERDO */

.mouse-left {

    position: absolute;

    top: 3px;
    left: 3px;

    width: calc(50% - 4px);
    height: 120px;

    border-radius: 105px 0 0 0;

    display: flex;
    justify-content: center;
    align-items: center;

    color: #94a3b8;

    font-size: 13px;
    font-weight: 600;

    transition: 0.12s;

}


/* BOTÓN DERECHO */

.mouse-right {

    position: absolute;

    top: 3px;
    right: 3px;

    width: calc(50% - 4px);
    height: 120px;

    border-radius: 0 105px 0 0;

    display: flex;
    justify-content: center;
    align-items: center;

    color: #94a3b8;

    font-size: 13px;
    font-weight: 600;

    transition: 0.12s;

}


/* RUEDA */

.mouse-wheel {

    position: absolute;

    top: 55px;
    left: 50%;

    width: 28px;
    height: 52px;

    transform: translateX(-50%);

    background: #334155;

    border: 2px solid #64748b;

    border-radius: 15px;

    display: flex;
    justify-content: center;
    align-items: center;

    color: #cbd5e1;

    font-size: 12px;

    z-index: 5;

    transition: 0.12s;

}


/* BOTONES LATERALES */

.mouse-side {

    position: absolute;

    width: 42px;
    height: 62px;

    background: #1e293b;

    border: 2px solid #475569;

    border-radius: 10px;

    display: flex;
    justify-content: center;
    align-items: center;

    color: #94a3b8;

    font-size: 16px;
    font-weight: bold;

    transition: 0.12s;

}


/* LATERAL IZQUIERDO */

.mouse-side-left {

    left: -24px;
    top: 145px;

}


/* LATERAL DERECHO */

.mouse-side-right {

    right: -24px;
    top: 145px;

}


/* ==============================================
   BOTÓN DETECTADO
   ============================================== */

.mouse-left.activo,
.mouse-right.activo,
.mouse-wheel.activo,
.mouse-side.activo {

    background: #2563eb;

    border-color: #60a5fa;

    color: white;

    box-shadow:
        0 0 20px rgba(59, 130, 246, 0.7);

}


/* EFECTO DEL MOUSE COMPLETO */

.mouse.detectado {

    border-color: #3b82f6;

    box-shadow:
        0 0 30px rgba(59, 130, 246, 0.25),
        0 15px 35px rgba(0, 0, 0, 0.35);

}


/* ==============================================
   RESPONSIVE
   ============================================== */

@media (max-width: 600px) {

    .mouse {
        width: 180px;
        height: 300px;
    }

    .mouse-side {
        width: 35px;
        height: 52px;
    }

    .mouse-side-left {
        left: -47px;
        right: auto;
    }

    .mouse-side-right {
        right: -47px;
        left: auto;
    }

}
/* ==============================================
   TEST DE CLICS
   ============================================== */

.click-test-area {

    width: 100%;
    max-width: 850px;
    height: 220px;

    margin: 25px auto;

    background: #0f172a;

    border: 2px dashed #334155;

    border-radius: 14px;

    display: flex;
    flex-direction: column;

    justify-content: center;
    align-items: center;

    gap: 8px;

    cursor: pointer;

    user-select: none;

    transition: .15s ease;
}

.click-test-area:hover {

    border-color: #3b82f6;

    background: #111c32;
}

.click-test-area:active {

    transform: scale(.99);

    border-color: #60a5fa;

}

.click-test-icon {

    font-size: 45px;

    margin-bottom: 5px;
}

.click-test-area strong {

    font-size: 22px;

}

.click-test-area span {

    color: #94a3b8;

    font-size: 14px;

}


/* RESULTADOS */

.click-results {

    max-width: 850px;

    margin: 0 auto 25px;

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 12px;

}

.click-result {

    background: #172033;

    border: 1px solid #334155;

    border-radius: 12px;

    padding: 18px 10px;

}

.click-result span {

    display: block;

    color: #94a3b8;

    font-size: 13px;

    margin-bottom: 7px;

}

.click-result strong {

    font-size: 28px;

}


/* RESPONSIVE */

@media (max-width: 700px) {

    .click-results {

        grid-template-columns:
            repeat(2, 1fr);

    }

}

@media (max-width: 450px) {

    .click-results {

        grid-template-columns: 1fr;

    }

}
.mouse-tool-card {
    width: calc(100% - 80px);
    max-width: 1200px;
    margin: 50px auto;
    padding: 30px;
    background: #111827;
    border: 1px solid #334155;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.20);
    text-align: center;
}

.mouse-tool-card h2 {
    margin: 0 0 10px;
    font-size: 28px;
}

.mouse-tool-card > p {
    margin: 0 0 25px;
    color: #cbd5e1;
}
/* ==============================================
   DURACIÓN TEST DE CLICS
   ============================================== */

.click-duration {

    margin: 0 auto 25px;

}

.click-duration > span {

    display: block;

    color: #cbd5e1;

    font-size: 15px;

    margin-bottom: 12px;

}


.duration-buttons {

    display: flex;

    justify-content: center;

    gap: 10px;

    flex-wrap: wrap;

}


.duration-btn {

    padding: 10px 18px;

    border-radius: 8px;

    border: 1px solid #334155;

    background: #172033;

    color: white;

    cursor: pointer;

    font-family: inherit;

    transition: .2s ease;

}


.duration-btn:hover {

    border-color: #3b82f6;

    background: #1e293b;

}


.duration-btn.active {

    background: #3b82f6;

    border-color: #3b82f6;

    color: white;

}
/* ==============================================
   TEST DE VELOCIDAD DE REACCIÓN
   ============================================== */

.reaction-test-area {

    width: 100%;
    max-width: 850px;
    height: 220px;

    margin: 30px auto;

    border-radius: 14px;

    background: #172033;

    border: 2px solid #334155;

    display: flex;
    flex-direction: column;

    justify-content: center;
    align-items: center;

    text-align: center;

    cursor: pointer;

    user-select: none;

    transition: background 0.15s ease,
                border-color 0.15s ease,
                box-shadow 0.15s ease;

}


.reaction-icon {

    font-size: 40px;

    margin-bottom: 12px;

}


#reactionTestTitle {

    font-size: 22px;

    color: white;

    margin-bottom: 8px;

}


#reactionTestMessage {

    color: #94a3b8;

    font-size: 14px;

}


.reaction-test-area.esperando {

    background: #172033;

    border-color: #475569;

}


.reaction-test-area.listo {

    background: #16a34a;

    border-color: #4ade80;

    box-shadow:
        0 0 30px rgba(34, 197, 94, 0.45);

}


.reaction-test-area.error {

    background: #7f1d1d;

    border-color: #ef4444;

    box-shadow:
        0 0 25px rgba(239, 68, 68, 0.35);

}


.reaction-results {

    width: 100%;

    max-width: 850px;

    margin: 20px auto;

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 12px;

}


.reaction-result {

    background: #172033;

    border: 1px solid #334155;

    border-radius: 10px;

    padding: 15px;

    text-align: center;

}


.reaction-result span {

    display: block;

    color: #94a3b8;

    font-size: 13px;

    margin-bottom: 7px;

}


.reaction-result strong {

    display: block;

    color: white;

    font-size: 20px;

}


@media (max-width: 700px) {

    .reaction-results {

        grid-template-columns:
            repeat(2, 1fr);

    }

}


@media (max-width: 450px) {

    .reaction-results {

        grid-template-columns: 1fr;

    }

}
/* ==============================================
   TEST DE ARRASTRE
   ============================================== */

.drag-test-area {

    position: relative;

    width: 100%;
    max-width: 850px;
    height: 300px;

    margin: 30px auto;

    background: #172033;

    border: 2px solid #334155;

    border-radius: 14px;

    overflow: hidden;

    user-select: none;

}


/* OBJETO */

.drag-object {

    position: absolute;

    left: 50px;
    top: 120px;

    width: 60px;
    height: 60px;

    display: flex;
    justify-content: center;
    align-items: center;

    background: #2563eb;

    border: 2px solid #60a5fa;

    border-radius: 12px;

    font-size: 28px;

    cursor: grab;

    z-index: 5;

    transition:
        box-shadow 0.15s ease,
        transform 0.15s ease;

}


.drag-object:active {

    cursor: grabbing;

}


.drag-object.arrastrando {

    box-shadow:
        0 0 25px rgba(59, 130, 246, 0.7);

    transform: scale(1.08);

}


/* OBJETIVO */

.drag-target {

    position: absolute;

    right: 50px;
    top: 105px;

    width: 120px;
    height: 90px;

    display: flex;

    justify-content: center;
    align-items: center;

    text-align: center;

    color: #94a3b8;

    background: #1e293b;

    border: 2px dashed #475569;

    border-radius: 12px;

    font-size: 14px;

}


.drag-target.activo {

    background: #14532d;

    border-color: #4ade80;

    color: white;

    box-shadow:
        0 0 25px rgba(34, 197, 94, 0.35);

}


.drag-target.error {

    background: #7f1d1d;

    border-color: #ef4444;

}


/* RESULTADOS */

.drag-results {

    width: 100%;
    max-width: 850px;

    margin: 20px auto;

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 12px;

}


.drag-result {

    background: #172033;

    border: 1px solid #334155;

    border-radius: 10px;

    padding: 15px;

    text-align: center;

}


.drag-result span {

    display: block;

    color: #94a3b8;

    font-size: 13px;

    margin-bottom: 7px;

}


.drag-result strong {

    color: white;

    font-size: 20px;

}


@media (max-width: 600px) {

    .drag-test-area {

        height: 260px;

    }

    .drag-object {

        left: 25px;

    }

    .drag-target {

        right: 25px;

    }

    .drag-results {

        grid-template-columns: 1fr;

    }

}
/* ==============================================
   CENTRAR TEST DEL MOUSE
   ============================================== */

.mouse-test-box {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.calculadora-fps {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
}
/* ==============================================
   INFORMACIÓN DE LA HERRAMIENTA
   ============================================== */

.info-conversion {
    margin-top: 35px;
}
/* ==================================================
   BOTONES DE CALCULADORAS / CONVERSORES
   ================================================== */

/* DPI / eDPI */
#btnCalcularEdpi,

/* Resolución */
#btnConvertirResolucion,

/* Aspect Ratio */
#btnCalcularAspect,

/* FPS */
#btnCalcularFPS {
    display: block;
    width: 100%;
    min-height: 50px;
    margin: 25px 0 0;
    padding: 14px 20px;

    border: none;
    border-radius: 10px;

    background: linear-gradient(90deg, #2563eb, #3b82f6);
    color: white;

    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 700;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        filter 0.2s ease;
}

/* Efecto al pasar el mouse */
#btnCalcularEdpi:hover,
#btnConvertirResolucion:hover,
#btnCalcularAspect:hover,
#btnCalcularFPS:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.4);
}

/* Al hacer clic */
#btnCalcularEdpi:active,
#btnConvertirResolucion:active,
#btnCalcularAspect:active,
#btnCalcularFPS:active {
    transform: translateY(0);
}
/* ==========================================
   BOTÓN CALCULAR eDPI
   ========================================== */

#btnCalcularEdpi {
    display: block;
    width: 100%;
    min-height: 50px;
    margin: 8px 0 0;
    padding: 14px 20px;

    border: none;
    border-radius: 10px;

    background: linear-gradient(90deg, #2563eb, #3b82f6);
    color: white;

    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 700;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        filter 0.2s ease;
}

#btnCalcularEdpi:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.4);
}

#btnCalcularEdpi:active {
    transform: translateY(0);
}
/* ==============================================
   BOTONES REINICIAR - HERRAMIENTAS DEL MOUSE
   ============================================== */

#btnResetDrag,
#btnResetClick {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: auto;
    min-width: 120px;

    padding: 12px 22px;

    margin: 20px 0 0;

    border: none;
    border-radius: 10px;

    background: linear-gradient(90deg, #2563eb, #3b82f6);

    color: white;

    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 600;

    cursor: pointer;

    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.25);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        filter 0.2s ease;
}

#btnResetDrag:hover,
#btnResetClick:hover {
    transform: translateY(-2px);

    filter: brightness(1.08);

    box-shadow:
        0 12px 28px rgba(59, 130, 246, 0.4);
}

#btnResetDrag:active,
#btnResetClick:active {
    transform: translateY(0);

    box-shadow:
        0 5px 15px rgba(59, 130, 246, 0.25);
}
/* ==========================================
   SELECTOR DE MIRAS POPULARES
   ========================================== */

.crosshair-select {
    width: 400px;
    max-width: 100%;
    height: 48px;

    padding: 0 16px;

    background: #0f172a;
    color: #f8fafc;

    border: 1px solid #475569;
    border-radius: 10px;

    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 500;

    outline: none;
    cursor: pointer;

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.crosshair-select:hover {
    border-color: #3b82f6;
    background: #111c30;
}

.crosshair-select:focus {
    border-color: #3b82f6;

    box-shadow:
        0 0 0 3px rgba(59, 130, 246, 0.12),
        0 0 18px rgba(59, 130, 246, 0.08);
}

.crosshair-select option {
    background: #0f172a;
    color: #f8fafc;
}
/* ===== IMÁGENES DE NOTICIAS NVIDIA ===== */

.nvidia-noticia img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    background: #0f172a;
    display: block;
    border-radius: 12px 12px 0 0;
}
/* == FUENTE MODS === */
.articulo-card .mod-fuente {
    display: block;
    margin-top: 12px;
    margin-left: 20px !important;
    padding: 0 !important;
    color: #94a3b8;
    font-size: 14px;
    position: static !important;
}
/* =========================
   IMÁGENES DEL CATÁLOGO DE MODS
   ========================= */

.articulos-grid .articulo-card img.mod-img {
    width: 100% !important;
    height: 220px !important;
    max-width: none !important;
    min-width: 0 !important;
    object-fit: cover !important;
    display: block !important;
}
/* RESET DE CLICK MOUSE */
#btnResetClicks {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s ease;
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.25);
}

#btnResetClicks:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

#btnResetClicks:active {
    transform: translateY(0);
}
/* BOTON REPETIR PRUEBA REACCION */
#btnStartReaction {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
}
.noticias-home .card h3 a{
    color:white;
    text-decoration:none;
}

.noticias-home .card h3 a:hover{
    color:#60a5fa;
}

.noticias-home .card h3{
    min-height:48px;
}
.noticias-home img{
    width:100%;
    height:180px;
    object-fit:cover;
    object-position:center center;
    display:block;
    border-radius:10px;
    margin-bottom:20px;
}
.noticias-home{
    padding:80px 0;
    width:100%;
}
.noticias-home .cards{
    width:92%;
    max-width:1800px;
    margin:0 auto;
}
.aviso-beta {
    background: #1e293b;
    border: 1px solid #38bdf8;
    border-radius: 12px;
    max-width: 1200px;
    margin: 25px auto;
    padding: 15px 25px;
    text-align: center;
}

.aviso-beta strong {
    color: #38bdf8;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 22px;
    letter-spacing: 1px;
}

.aviso-beta p {
    margin: 5px 0 0;
    color: #cbd5e1;
    font-size: 14px;
}
.logo a{
    border-bottom:none !important;
    text-decoration:none;
}

.logo a:hover{
    border-bottom:none !important;
    text-decoration:none;
}
.logo a::after{
    display:none !important;
    content:none !important;
}

.logo a:hover::after{
    display:none !important;
    content:none !important;
}
#resultados a {
    color: #38bdf8;
    text-decoration: none;
    font-weight: 600;
}

#resultados a:hover {
    color: #7dd3fc;
    text-decoration: underline;
}
/* ==============================
   PÁGINAS DE INFORMACIÓN
   ============================== */

.contenido-informacion {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 30px 70px;
}

.contenido-informacion h2 {
    font-size: 28px;
    margin: 45px 0 18px;
    text-align: left;
}

.contenido-informacion h2:first-child {
    margin-top: 0;
}

.contenido-informacion p {
    font-size: 16px;
    line-height: 1.8;
    margin: 0 0 18px;
    color: #dbe4f0;
}

.contenido-informacion strong {
    color: #38bdf8;
}

@media (max-width: 768px) {

    .contenido-informacion {
        padding: 20px 20px 50px;
    }

    .contenido-informacion h2 {
        font-size: 24px;
    }

    .contenido-informacion p {
        font-size: 15px;
    }

}
.contenido-informacion a {
    color: #38bdf8;
    text-decoration: none;
}

.contenido-informacion a:hover {
    color: #7dd3fc;
    text-decoration: none;
}
/* ==============================
   BUSCADOR DEL NAV
   ============================== */

.nav-search {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-left: auto;
    margin-right: 25px;
}

.nav-search input {
    width: 240px;
    height: 38px;
    box-sizing: border-box;
}

.nav-search button {
    width: 38px;
    height: 38px;
    padding: 0;
    border: none;
    border-radius: 8px;
    background: #3b82f6;
    color: white;
    font-size: 16px;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: 0.2s ease;
}

.nav-search button:hover {
    background: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.4);
}

.nav-search button:active {
    transform: scale(0.95);
}
.nav-search button img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}