/* =========================================================
   BATTLEIT.SITE
   STYLE.CSS PRINCIPAL
========================================================= */


/* =========================================================
   VARIABLES
========================================================= */

:root {

    --azul-oscuro: #06182b;
    --azul: #0b2a49;
    --azul-claro: #153f67;

    --oro: #f3b532;
    --oro-claro: #ffd96b;
    --oro-oscuro: #c78409;

    --rojo: #9e271d;
    --rojo-oscuro: #390b08;

    --blanco: #ffffff;

    --texto: #10243d;
    --texto-suave: #59697e;

    --fondo-claro: #f3f6fa;
    --fondo-imagen: #e2eaf2;

    --borde: #dce4ec;

    --sombra:
        0 15px 40px
        rgba(0, 0, 0, .10);

}


/* =========================================================
   RESET
========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    color: var(--texto);

    background: #ffffff;

    overflow-x: hidden;
}

img {
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
select {
    font: inherit;
}


/* =========================================================
   CONTENEDOR GENERAL
========================================================= */

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}


/* =========================================================
   HEADER
========================================================= */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;

    width: 100%;

    background:
        rgba(6, 24, 43, .98);

    border-bottom:
        1px solid
        rgba(255,255,255,.07);

    box-shadow:
        0 5px 20px
        rgba(0,0,0,.15);
}


.header-container {
    min-height: 72px;

    display: flex;
    align-items: center;

    gap: 24px;
}


/* =========================================================
   LOGO HEADER
========================================================= */

.logo-battleit {
    display: inline-flex;
    align-items: center;

    flex-shrink: 0;

    padding: 0;
}


.header .logo-battleit img {
    display: block;

    width: auto !important;

    height: 48px !important;

    max-width: 190px !important;
    max-height: 48px !important;

    object-fit: contain;
}


/* =========================================================
   MENU
========================================================= */

.menu {
    display: flex;
    align-items: center;

    gap: 21px;

    margin-left: auto;
}


.menu a {
    position: relative;

    padding: 27px 0;

    color:
        rgba(255,255,255,.83);

    font-size: 14px;

    font-weight: 700;

    transition:
        color .2s ease;
}


.menu a:hover {
    color: var(--oro);
}


.menu a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 19px;

    width: 0;
    height: 2px;

    background: var(--oro);

    transition:
        width .2s ease;
}


.menu a:hover::after {
    width: 100%;
}


/* =========================================================
   SELECTOR IDIOMA
========================================================= */

.selector-idioma {
    display: flex;
    align-items: center;

    gap: 6px;

    flex-shrink: 0;

    min-height: 40px;

    padding: 0 9px;

    border:
        1px solid
        rgba(255,255,255,.13);

    border-radius: 9px;

    background:
        rgba(255,255,255,.04);
}


.selector-idioma-icono {
    display: flex;
    align-items: center;

    font-size: 15px;
}


.selector-idioma select {
    min-width: 82px;

    padding: 4px 2px;

    border: 0;

    outline: 0;

    color: #ffffff;

    background: transparent;

    font-size: 13px;

    font-weight: 700;

    cursor: pointer;
}


.selector-idioma select option {
    color: #13243a;
    background: #ffffff;
}


/* =========================================================
   BOTONES
========================================================= */

.btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    min-height: 46px;

    padding:
        0
        22px;

    border: none;

    border-radius: 12px;

    font-size: 14px;

    font-weight: 800;

    line-height: 1;

    cursor: pointer;

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}


.btn:hover {
    transform:
        translateY(-2px);
}


.btn-google,
.btn-primary {

    color: #07182b;

    background:
        linear-gradient(
            135deg,
            #ffd66b,
            #efa821
        );

    box-shadow:
        0 10px 25px
        rgba(238,168,33,.22);
}


.btn-google:hover,
.btn-primary:hover {

    box-shadow:
        0 14px 32px
        rgba(238,168,33,.35);
}


.btn-secondary {

    color: #ffffff;

    border:
        1px solid
        rgba(255,255,255,.28);

    background:
        rgba(255,255,255,.07);
}


.btn-secondary:hover {
    background:
        rgba(255,255,255,.12);
}


.btn-large {
    min-height: 54px;

    padding:
        0
        30px;

    font-size: 16px;
}


/* =========================================================
   HERO PRINCIPAL
========================================================= */

.hero {
    position: relative;

    overflow: hidden;

    min-height: 650px;

    background:
        radial-gradient(
            circle at 75% 45%,
            #234e73 0%,
            #0c2b48 35%,
            #06182b 72%
        );

    color: #ffffff;
}


.hero::before {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(2,15,29,.34),
            transparent 50%
        );

    pointer-events: none;
}


.hero-container {
    position: relative;
    z-index: 2;

    min-height: 650px;

    display: grid;

    grid-template-columns:
        minmax(0, .9fr)
        minmax(0, 1.1fr);

    align-items: center;

    gap: 60px;

    padding:
        80px
        0;
}


.hero-texto {
    max-width: 590px;
}


.hero-mini {
    display: inline-block;

    margin-bottom: 23px;

    color: var(--oro);

    font-size: 13px;

    font-weight: 900;

    letter-spacing: 4px;

    text-transform: uppercase;
}


.hero h1 {
    margin:
        0
        0
        22px;

    color: #ffffff;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(
            50px,
            6vw,
            82px
        );

    line-height: .98;

    letter-spacing: -2px;
}


.hero-descripcion {
    max-width: 580px;

    margin:
        0
        0
        30px;

    color:
        rgba(255,255,255,.77);

    font-size: 18px;

    line-height: 1.75;
}


.hero-botones {
    display: flex;

    flex-wrap: wrap;

    gap: 13px;

    margin-bottom: 30px;
}


.hero-frase {
    display: flex;

    flex-wrap: wrap;

    align-items: center;

    gap: 13px;

    color:
        rgba(255,255,255,.58);

    font-size: 13px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 1.5px;
}


.hero-imagen {
    display: flex;

    align-items: center;
    justify-content: center;

    min-width: 0;
}


.hero-imagen img {
    display: block;

    width: 100%;
    max-width: 620px;

    max-height: 560px;

    object-fit: contain;

    filter:
        drop-shadow(
            0 25px 45px
            rgba(0,0,0,.28)
        );
}


/* =========================================================
   SECCIONES GENERALES
========================================================= */

.section {
    padding:
        95px
        0;
}


.section-light {
    background:
        var(--fondo-claro);
}


.section-dark {
    background:
        var(--azul-oscuro);

    color: #ffffff;
}


.titulo-seccion {
    max-width: 760px;

    margin:
        0
        auto
        52px;

    text-align: center;
}


.titulo-seccion > span {
    display: inline-block;

    margin-bottom: 12px;

    color: var(--oro-oscuro);

    font-size: 12px;

    font-weight: 900;

    letter-spacing: 3px;

    text-transform: uppercase;
}


.section-dark
.titulo-seccion > span {

    color:
        var(--oro);
}


.titulo-seccion h2 {
    margin:
        0
        0
        15px;

    color:
        var(--texto);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(
            34px,
            4vw,
            50px
        );

    line-height: 1.08;
}


.section-dark
.titulo-seccion h2 {
    color: #ffffff;
}


.titulo-seccion p {
    margin: 0;

    color:
        var(--texto-suave);

    font-size: 17px;

    line-height: 1.7;
}


.section-dark
.titulo-seccion p {
    color:
        rgba(255,255,255,.68);
}


/* =========================================================
   ¿QUÉ ES BATTLEIT?
========================================================= */

.battleit-info {
    background: #ffffff;
}


.features-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 28px;
}


.feature {
    padding: 34px;

    text-align: center;

    border:
        1px solid
        var(--borde);

    border-radius: 22px;

    background: #ffffff;

    box-shadow:
        0 12px 35px
        rgba(0,0,0,.055);
}


.feature-icon {
    width: 65px;
    height: 65px;

    margin:
        0
        auto
        22px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 18px;

    background:
        #fff4d6;

    font-size: 29px;
}


.feature h3 {
    margin:
        0
        0
        13px;

    font-size: 21px;
}


.feature p {
    margin: 0;

    color:
        var(--texto-suave);

    font-size: 15px;

    line-height: 1.65;
}


/* =========================================================
   DEFENSAS
========================================================= */

.defensas-grid {
    display: grid;

    grid-template-columns:
        repeat(
            7,
            minmax(0, 1fr)
        );

    gap: 18px;
}


.defensa-card {
    overflow: hidden;

    border:
        1px solid
        var(--borde);

    border-radius: 18px;

    background: #ffffff;

    text-align: center;

    box-shadow:
        0 8px 25px
        rgba(0,0,0,.055);

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}


.defensa-card:hover {
    transform:
        translateY(-5px);

    box-shadow:
        0 15px 35px
        rgba(0,0,0,.10);
}


.defensa-imagen {
    height: 165px;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 15px;

    background:
        var(--fondo-imagen);
}


.defensa-imagen img {
    display: block;

    max-width: 100%;
    max-height: 135px;

    object-fit: contain;
}


.defensa-card h3 {
    margin: 0;

    padding:
        18px
        10px;

    color:
        var(--texto);

    font-size: 15px;
}


/* =========================================================
   ENEMIGOS
========================================================= */

.enemigos-grid {
    display: grid;

    grid-template-columns:
        repeat(
            4,
            minmax(0,1fr)
        );

    gap: 26px;
}


.enemigo-card {
    overflow: hidden;

    border:
        1px solid
        rgba(255,255,255,.10);

    border-radius: 22px;

    background:
        rgba(255,255,255,.055);

    box-shadow:
        0 18px 40px
        rgba(0,0,0,.18);

    transition:
        transform .2s ease,
        border-color .2s ease;
}


.enemigo-card:hover {
    transform:
        translateY(-5px);

    border-color:
        rgba(243,181,50,.45);
}


.enemigo-imagen {
    height: 230px;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 20px;

    background:
        rgba(255,255,255,.07);
}


.enemigo-imagen img {
    display: block;

    max-width: 100%;
    max-height: 195px;

    object-fit: contain;
}


.sin-imagen {
    width: 80px;
    height: 80px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        rgba(255,255,255,.08);

    font-size: 35px;
}


.enemigo-contenido {
    padding: 24px;
}


.enemigo-tipo {
    display: inline-block;

    margin-bottom: 10px;

    color: var(--oro);

    font-size: 11px;

    font-weight: 900;

    letter-spacing: 2px;

    text-transform: uppercase;
}


.enemigo-contenido h3 {
    margin:
        0
        0
        12px;

    color: #ffffff;

    font-size: 23px;
}


.enemigo-contenido p {
    margin:
        0
        0
        19px;

    color:
        rgba(255,255,255,.67);

    font-size: 14px;

    line-height: 1.65;
}


.enemigo-defensa {
    margin:
        17px
        0;

    padding:
        12px
        14px;

    border-radius: 11px;

    background:
        rgba(0,0,0,.22);
}


.enemigo-defensa span {
    display: block;

    margin-bottom: 4px;

    color:
        rgba(255,255,255,.48);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1px;

    text-transform: uppercase;
}


.enemigo-defensa strong {
    color:
        var(--oro-claro);

    font-size: 14px;
}


.enemigo-link {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    color: var(--oro);

    font-size: 13px;

    font-weight: 800;
}


.mensaje-vacio {
    padding: 40px;

    border-radius: 18px;

    text-align: center;

    background:
        rgba(255,255,255,.05);
}


/* =========================================================
   HEROES Y CARTAS
========================================================= */

.heroes {
    background:
        #ffffff;
}


.heroes-grid {
    display: grid;

    grid-template-columns:
        repeat(
            5,
            minmax(0,1fr)
        );

    gap: 22px;

    align-items: stretch;
}


.heroe-card {
    overflow: hidden;

    min-width: 0;

    border:
        1px solid
        var(--borde);

    border-radius: 21px;

    background: #ffffff;

    box-shadow:
        var(--sombra);

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}


.heroe-card:hover {
    transform:
        translateY(-5px);

    box-shadow:
        0 20px 45px
        rgba(0,0,0,.12);
}


.heroe-imagen {
    height: 190px;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 15px;

    background:
        var(--fondo-imagen);
}


.heroe-imagen img {
    display: block;

    width: auto;
    height: auto;

    max-width: 100%;
    max-height: 160px;

    object-fit: contain;
}


.heroe-contenido {
    padding:
        20px
        20px
        24px;
}


.heroe-contenido > span {
    display: block;

    margin-bottom: 9px;

    color:
        var(--oro-oscuro);

    font-size: 10px;

    font-weight: 900;

    letter-spacing: 2px;

    text-transform: uppercase;
}


.heroe-contenido h3 {
    margin:
        0
        0
        12px;

    color:
        var(--texto);

    font-size: 19px;

    line-height: 1.2;
}


.heroe-contenido p {
    margin: 0;

    color:
        var(--texto-suave);

    font-size: 14px;

    line-height: 1.62;
}


/* =========================================================
   MECÁNICAS
========================================================= */

.mecanicas-grid {
    display: grid;

    grid-template-columns:
        repeat(
            5,
            minmax(0,1fr)
        );

    gap: 20px;
}


.mecanica-card {
    min-height: 220px;

    padding:
        30px
        22px;

    text-align: center;

    border:
        1px solid
        var(--borde);

    border-radius: 20px;

    background: #ffffff;

    box-shadow:
        0 10px 30px
        rgba(0,0,0,.05);
}


.mecanica-icon {
    width: 58px;
    height: 58px;

    margin:
        0
        auto
        18px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 16px;

    color:
        #0b2340;

    background:
        #ffe5a3;

    font-size: 25px;

    font-weight: 900;
}


.mecanica-card h3 {
    margin:
        0
        0
        11px;

    font-size: 18px;
}


.mecanica-card p {
    margin: 0;

    color:
        var(--texto-suave);

    font-size: 14px;

    line-height: 1.6;
}


/* =========================================================
   BATALLA FINAL
========================================================= */

.batalla-final {
    position: relative;

    overflow: hidden;

    padding:
        90px
        0;

    text-align: center;

    color: #ffffff;

    background:
        radial-gradient(
            circle at center,
            #70170e 0%,
            #310b0a 45%,
            #130606 100%
        );
}


.batalla-final::before {
    content: "";

    position: absolute;

    inset: 0;

    background:
        radial-gradient(
            circle at 50% 30%,
            rgba(255,100,32,.15),
            transparent 47%
        );

    pointer-events: none;
}


.batalla-final-container {
    position: relative;
    z-index: 2;
}


.final-mini {
    display: inline-block;

    margin-bottom: 12px;

    color:
        var(--oro);

    font-size: 12px;

    font-weight: 900;

    letter-spacing: 3px;

    text-transform: uppercase;
}


.batalla-final h2 {
    margin:
        0
        0
        16px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(
            38px,
            5vw,
            59px
        );
}


.batalla-final-container > p {
    max-width: 680px;

    margin:
        0
        auto;

    color:
        rgba(255,255,255,.72);

    font-size: 16px;

    line-height: 1.7;
}


/* IMAGEN FINAL */

.final-imagen {
    width: 100%;
    max-width: 340px;

    margin:
        25px
        auto
        30px;

    text-align: center;
}


.final-imagen img {
    display: block;

    width: 100%;
    max-width: 320px;

    height: auto;
    max-height: 230px;

    margin: 0 auto;

    object-fit: contain;

    border-radius: 14px;
}


/* PERSONAJES FINAL */

.final-personajes {
    max-width: 700px;

    margin:
        15px
        auto
        0;

    display: grid;

    grid-template-columns:
        1fr
        auto
        1fr;

    align-items: center;

    gap: 24px;
}


.final-personaje {
    padding:
        20px;

    border:
        1px solid
        rgba(255,255,255,.14);

    border-radius: 16px;

    background:
        rgba(0,0,0,.18);
}


.final-personaje span {
    display: block;

    margin-bottom: 5px;

    color:
        rgba(255,255,255,.53);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 2px;

    text-transform: uppercase;
}


.final-personaje strong {
    color: #ffffff;

    font-size: 17px;
}


.final-vs {
    color: var(--oro);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 28px;

    font-weight: 900;
}
/* =====================================================
   BATALLA FINAL - FRANJA CON IMAGEN DE FONDO
====================================================== */

.batalla-final.batalla-final-fondo {
    position: relative;

    min-height: 440px;

    padding:
        70px
        0;

    display: flex;

    align-items: center;

    overflow: hidden;

    background-image:
        linear-gradient(
            180deg,
            rgba(20, 3, 3, .18) 0%,
            rgba(30, 4, 4, .34) 40%,
            rgba(22, 2, 3, .88) 100%
        ),
        url('/assets/img/final/final-battle.webp');

    background-size: cover;

    background-position:
        center 28%;

    background-repeat: no-repeat;
}


/*
|--------------------------------------------------------------------------
| SOMBRA SUPERIOR E INFERIOR
|--------------------------------------------------------------------------
*/

.batalla-final.batalla-final-fondo::before {
    content: "";

    position: absolute;

    inset: 0;

    pointer-events: none;

    background:
        linear-gradient(
            90deg,
            rgba(10, 2, 2, .22),
            rgba(10, 2, 2, .04) 35%,
            rgba(10, 2, 2, .04) 65%,
            rgba(10, 2, 2, .22)
        );
}


/*
|--------------------------------------------------------------------------
| CONTENEDOR
|--------------------------------------------------------------------------
*/

.batalla-final.batalla-final-fondo
.batalla-final-container {
    position: relative;

    z-index: 2;

    width: 100%;

    display: flex;

    justify-content: center;

    align-items: center;
}


/*
|--------------------------------------------------------------------------
| CONTENIDO
|--------------------------------------------------------------------------
*/

.batalla-final.batalla-final-fondo
.batalla-final-contenido {
    width: 100%;

    max-width: 790px;

    margin: 0 auto;

    text-align: center;
}


/*
|--------------------------------------------------------------------------
| TEMPORADA
|--------------------------------------------------------------------------
*/

.batalla-final.batalla-final-fondo
.final-mini {
    display: inline-block;

    margin-bottom: 13px;

    color: #ffc43d;

    font-size: 11px;

    font-weight: 900;

    letter-spacing: 4px;

    text-transform: uppercase;

    text-shadow:
        0 2px 8px
        rgba(0,0,0,.75);
}


/*
|--------------------------------------------------------------------------
| TÍTULO
|--------------------------------------------------------------------------
*/

.batalla-final.batalla-final-fondo
h2 {
    margin:
        0
        0
        14px;

    color: #ffffff;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(
            38px,
            5vw,
            62px
        );

    line-height: 1;

    text-shadow:
        0 5px 18px
        rgba(0,0,0,.85);
}


/*
|--------------------------------------------------------------------------
| DESCRIPCIÓN
|--------------------------------------------------------------------------
*/

.batalla-final.batalla-final-fondo
.batalla-final-contenido > p {
    max-width: 700px;

    margin:
        0
        auto
        25px;

    color:
        rgba(255,255,255,.90);

    font-size: 16px;

    line-height: 1.6;

    text-shadow:
        0 2px 8px
        rgba(0,0,0,.90);
}


/*
|--------------------------------------------------------------------------
| PERSONAJES
|--------------------------------------------------------------------------
*/

.batalla-final.batalla-final-fondo
.final-personajes {
    max-width: 670px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        1fr
        auto
        1fr;

    align-items: center;

    gap: 18px;
}


.batalla-final.batalla-final-fondo
.final-personaje {
    padding:
        14px
        18px;

    border:
        1px solid
        rgba(255,255,255,.18);

    border-radius: 14px;

    background:
        rgba(20,5,5,.42);

    backdrop-filter:
        blur(5px);

    box-shadow:
        0 8px 30px
        rgba(0,0,0,.22);
}


.batalla-final.batalla-final-fondo
.final-personaje span {
    display: block;

    margin-bottom: 4px;

    color: #ffc43d;

    font-size: 9px;

    font-weight: 900;

    letter-spacing: 1.5px;

    text-transform: uppercase;
}


.batalla-final.batalla-final-fondo
.final-personaje strong {
    color: #ffffff;

    font-size: 15px;
}


.batalla-final.batalla-final-fondo
.final-vs {
    color: #ffc43d;

    font-size: 19px;

    font-weight: 900;

    text-shadow:
        0 3px 10px
        rgba(0,0,0,.8);
}


/* =====================================================
   TABLET
====================================================== */

@media(max-width:900px) {

    .batalla-final.batalla-final-fondo {
        min-height: 420px;

        padding:
            60px
            20px;

        background-position:
            center 25%;
    }

}


/* =====================================================
   MÓVIL
====================================================== */

@media(max-width:600px) {

    .batalla-final.batalla-final-fondo {
        min-height: 390px;

        padding:
            50px
            15px;

        background-position:
            center top;
    }


    .batalla-final.batalla-final-fondo
    h2 {
        font-size:
            clamp(
                34px,
                11vw,
                48px
            );
    }


    .batalla-final.batalla-final-fondo
    .batalla-final-contenido > p {
        font-size: 14px;
    }


    .batalla-final.batalla-final-fondo
    .final-personajes {
        grid-template-columns:
            1fr
            auto
            1fr;

        gap: 7px;
    }


    .batalla-final.batalla-final-fondo
    .final-personaje {
        padding:
            11px
            8px;
    }


    .batalla-final.batalla-final-fondo
    .final-personaje strong {
        font-size: 12px;
    }


    .batalla-final.batalla-final-fondo
    .final-vs {
        font-size: 14px;
    }

}

/* =========================================================
   GAMEPLAY
========================================================= */

.gameplay {
    background: #ffffff;
}


.gameplay-grid {
    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0,1fr)
        );

    gap: 28px;

    align-items: start;
}


.gameplay-card {
    overflow: hidden;

    margin: 0;

    border:
        1px solid
        var(--borde);

    border-radius: 22px;

    background: #ffffff;

    box-shadow:
        var(--sombra);
}


.gameplay-card img {
    display: block;

    width: 100%;

    height: 480px;

    object-fit: cover;

    object-position: center top;
}


.gameplay-card figcaption {
    padding:
        17px
        18px;

    color:
        var(--texto);

    text-align: center;

    font-size: 14px;

    font-weight: 800;
}


/* =========================================================
   ACCESOS
========================================================= */

.accesos {
    background:
        var(--fondo-claro);
}


.accesos-grid {
    display: grid;

    grid-template-columns:
        repeat(
            3,
            1fr
        );

    gap: 24px;
}


.acceso-card {
    display: grid;

    grid-template-columns:
        auto
        1fr
        auto;

    align-items: center;

    gap: 17px;

    padding:
        25px;

    border:
        1px solid
        var(--borde);

    border-radius: 18px;

    background: #ffffff;

    box-shadow:
        0 10px 28px
        rgba(0,0,0,.05);

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}


.acceso-card:hover {
    transform:
        translateY(-4px);

    box-shadow:
        0 16px 38px
        rgba(0,0,0,.10);
}


.acceso-icon {
    width: 49px;
    height: 49px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 13px;

    background:
        #fff1cb;

    font-size: 22px;
}


.acceso-card h3 {
    margin:
        0
        0
        5px;

    font-size: 18px;
}


.acceso-card p {
    margin: 0;

    color:
        var(--texto-suave);

    font-size: 13px;

    line-height: 1.45;
}


/* =========================================================
   GOOGLE PLAY
========================================================= */

.google-play {
    padding:
        65px
        0;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #0b2947,
            #143e64
        );
}


.google-play-container {
    display: grid;

    grid-template-columns:
        1fr
        auto;

    align-items: center;

    gap: 50px;
}


.google-play span {
    display: block;

    margin-bottom: 8px;

    color:
        var(--oro);

    font-size: 11px;

    font-weight: 900;

    letter-spacing: 2px;

    text-transform: uppercase;
}


.google-play h2 {
    margin:
        0
        0
        12px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(
            30px,
            4vw,
            45px
        );
}


.google-play p {
    max-width: 620px;

    margin: 0;

    color:
        rgba(255,255,255,.69);

    font-size: 15px;

    line-height: 1.65;
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
    color:
        rgba(255,255,255,.70);

    background:
        #041426;
}


.footer-container {
    display: grid;

    grid-template-columns:
        1fr
        auto;

    align-items: start;

    gap: 80px;

    padding-top: 48px;
    padding-bottom: 38px;
}


/* LOGO FOOTER - IMPORTANTE */

.footer-marca {
    max-width: 350px;
}


.footer-marca .logo-battleit {
    display: inline-flex;

    width: auto;

    align-items: center;
}


.footer-marca .logo-battleit img {
    display: block;

    width: auto !important;

    height: 54px !important;

    max-width: 205px !important;
    max-height: 54px !important;

    object-fit: contain;
}


.footer-marca p {
    margin:
        14px
        0
        0;

    color:
        rgba(255,255,255,.55);

    font-size: 14px;
}


/* LINKS FOOTER */

.footer-links {
    display: grid;

    grid-template-columns:
        repeat(
            3,
            auto
        );

    gap:
        15px
        27px;

    justify-content: end;

    padding-top: 8px;
}


.footer-links a {
    color:
        rgba(255,255,255,.77);

    font-size: 13px;

    transition:
        color .2s ease;
}


.footer-links a:hover {
    color:
        var(--oro);
}


/* COPYRIGHT */

.footer-bottom {
    padding:
        20px
        0
        25px;

    border-top:
        1px solid
        rgba(255,255,255,.07);
}


.footer-bottom p {
    margin: 0;

    color:
        rgba(255,255,255,.40);

    font-size: 12px;
}
/* =========================================================
   FOOTER LOGO
========================================================= */

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    width: auto;
    height: auto;

    text-decoration: none;
}

.footer-logo img {
    display: block;

    width: 42px !important;
    height: 42px !important;

    min-width: 42px !important;
    max-width: 42px !important;

    min-height: 42px !important;
    max-height: 42px !important;

    object-fit: contain;
}

.footer-logo span {
    color: #f3b532;

    font-size: 24px;
    font-weight: 900;

    line-height: 1;
}

.footer-marca p {
    margin: 13px 0 0;

    color: rgba(255,255,255,.55);

    font-size: 14px;
}
/* =========================================================
   DESARROLLADOR
========================================================= */

.footer-separador {
    display: inline-block;
    margin: 0 8px;
    opacity: .45;
}


.footer-desarrollador {
    color: #f3b532;
    font-weight: 800;
    text-decoration: none;

    transition:
        opacity .2s ease,
        color .2s ease;
}


.footer-desarrollador:hover {
    color: #ffd66b;
    text-decoration: underline;
}


@media (max-width: 650px) {

    .footer-separador {
        display: block;
        height: 7px;
        font-size: 0;
    }

}
/* =========================================================
   CARGA SUAVE DE IMAGENES
========================================================= */

main img.imagen-cargando {
    opacity: 0.35;

    filter:
        blur(14px);

    transform:
        scale(1.02);

    transition:
        opacity .65s ease,
        filter .65s ease,
        transform .65s ease;
}


main img.imagen-cargada {
    opacity: 1;

    filter:
        blur(0);

    transform:
        scale(1);

    transition:
        opacity .65s ease,
        filter .65s ease,
        transform .65s ease;
}

/* MÓVIL */

@media (max-width: 650px) {

    .footer-logo img {
        width: 36px !important;
        height: 36px !important;

        min-width: 36px !important;
        max-width: 36px !important;

        min-height: 36px !important;
        max-height: 36px !important;
    }

    .footer-logo span {
        font-size: 21px;
    }

}

/* =========================================================
   RESPONSIVE 1350
========================================================= */

@media (max-width: 1350px) {

    .defensas-grid {
        grid-template-columns:
            repeat(
                4,
                1fr
            );
    }


    .heroes-grid {
        grid-template-columns:
            repeat(
                4,
                1fr
            );
    }


    .mecanicas-grid {
        grid-template-columns:
            repeat(
                3,
                1fr
            );
    }

}


/* =========================================================
   RESPONSIVE 1100
========================================================= */

@media (max-width: 1100px) {

    .header-container {
        gap: 15px;
    }


    .menu {
        gap: 14px;
    }


    .menu a {
        font-size: 12px;
    }


    .header .logo-battleit img {
        height: 43px !important;

        max-width: 165px !important;
        max-height: 43px !important;
    }


    .hero-container {
        gap: 30px;
    }


    .enemigos-grid {
        grid-template-columns:
            repeat(
                3,
                1fr
            );
    }


    .heroes-grid {
        grid-template-columns:
            repeat(
                3,
                1fr
            );
    }

}


/* =========================================================
   RESPONSIVE 900
========================================================= */

@media (max-width: 900px) {

    .container {
        width:
            min(
                100% - 30px,
                1180px
            );
    }


    .header-container {
        min-height: 65px;
    }


    .menu {
        display: none;
    }


    .selector-idioma {
        margin-left: auto;
    }


    .hero {
        min-height: auto;
    }


    .hero-container {
        min-height: auto;

        grid-template-columns: 1fr;

        text-align: center;

        padding:
            65px
            0;
    }


    .hero-texto {
        max-width: 700px;

        margin:
            0
            auto;
    }


    .hero-descripcion {
        margin-left: auto;
        margin-right: auto;
    }


    .hero-botones,
    .hero-frase {
        justify-content: center;
    }


    .hero-imagen img {
        max-width: 500px;
    }


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


    .defensas-grid {
        grid-template-columns:
            repeat(
                3,
                1fr
            );
    }


    .enemigos-grid {
        grid-template-columns:
            repeat(
                2,
                1fr
            );
    }


    .heroes-grid {
        grid-template-columns:
            repeat(
                2,
                1fr
            );
    }


    .mecanicas-grid {
        grid-template-columns:
            repeat(
                2,
                1fr
            );
    }


    .gameplay-grid {
        grid-template-columns:
            repeat(
                2,
                1fr
            );
    }


    .accesos-grid {
        grid-template-columns: 1fr;
    }


    .google-play-container {
        grid-template-columns: 1fr;

        text-align: center;
    }


    .google-play p {
        margin-left: auto;
        margin-right: auto;
    }


    .footer-container {
        grid-template-columns: 1fr;

        gap: 35px;
    }


    .footer-links {
        justify-content: start;
    }

}


/* =========================================================
   RESPONSIVE 650
========================================================= */

@media (max-width: 650px) {

    .container {
        width:
            calc(
                100% - 24px
            );
    }


    .section {
        padding:
            65px
            0;
    }


    .header-container {
        min-height: 60px;

        gap: 10px;
    }


    .header .logo-battleit img {
        height: 36px !important;

        max-width: 130px !important;
        max-height: 36px !important;
    }


    .btn-google {
        display: none;
    }


    .selector-idioma {
        min-height: 36px;

        padding:
            0
            6px;
    }


    .selector-idioma select {
        min-width: 65px;

        max-width: 83px;

        font-size: 12px;
    }


    .selector-idioma-icono {
        font-size: 13px;
    }


    .hero-container {
        padding:
            52px
            0;
    }


    .hero h1 {
        font-size:
            clamp(
                43px,
                14vw,
                62px
            );
    }


    .hero-descripcion {
        font-size: 16px;
    }


    .hero-botones {
        flex-direction: column;
    }


    .hero-botones .btn {
        width: 100%;
    }


    .hero-imagen img {
        max-width: 390px;
    }


    .titulo-seccion {
        margin-bottom: 36px;
    }


    .defensas-grid {
        grid-template-columns:
            repeat(
                2,
                1fr
            );

        gap: 14px;
    }


    .defensa-imagen {
        height: 145px;
    }


    .defensa-imagen img {
        max-height: 115px;
    }


    .enemigos-grid {
        grid-template-columns: 1fr;
    }


    .enemigo-imagen {
        height: 210px;
    }


    .heroes-grid {
        grid-template-columns: 1fr;
    }


    .heroe-imagen {
        height: 210px;
    }


    .heroe-imagen img {
        max-height: 175px;
    }


    .mecanicas-grid {
        grid-template-columns: 1fr;
    }


    .final-imagen {
        max-width: 290px;
    }


    .final-imagen img {
        max-width: 280px;
        max-height: 200px;
    }


    .final-personajes {
        grid-template-columns: 1fr;
    }


    .final-vs {
        margin:
            -5px
            0;
    }


    .gameplay-grid {
        grid-template-columns: 1fr;
    }


    .gameplay-card img {
        height: auto;

        max-height: 650px;

        object-fit: contain;

        background:
            #0b1e33;
    }


    .footer-container {
        padding-top: 38px;
    }


    .footer-marca .logo-battleit img {
        height: 44px !important;

        max-width: 165px !important;
        max-height: 44px !important;
    }


    .footer-links {
        grid-template-columns:
            repeat(
                2,
                auto
            );

        gap:
            13px
            22px;
    }

}


/* =========================================================
   RESPONSIVE 420
========================================================= */

@media (max-width: 420px) {

    .defensas-grid {
        grid-template-columns: 1fr;
    }


    .footer-links {
        grid-template-columns: 1fr;
    }


    .hero-frase {
        gap: 8px;

        font-size: 11px;
    }

}
/* =========================================================
   HEADER COMPARTIDO - BATTLEIT
========================================================= */


/* BOTON MOVIL OCULTO EN ESCRITORIO */

.menu-toggle {
    display: none;
}


/* OPCIONES EXCLUSIVAS DE MOVIL */

.menu-movil-extra {
    display: none;
}


/* =========================================================
   MENU MOVIL
========================================================= */

@media(max-width:900px) {

    .header {
        position: relative;
        z-index: 9999;
        overflow: visible;
    }


    .header-container {
        position: relative;

        min-height: 68px;

        display: flex;

        align-items: center;

        justify-content: space-between;

        gap: 10px;
    }


    .logo-battleit {
        flex: 0 1 auto;
    }


    .logo-battleit img {
        max-width: 155px;

        height: auto;
    }


    .menu-toggle {
        display: flex;

        width: 44px;
        height: 44px;

        margin-left: auto;

        padding: 9px;

        border:
            1px solid
            rgba(255,255,255,.14);

        border-radius: 10px;

        background:
            rgba(255,255,255,.06);

        cursor: pointer;

        flex-direction: column;

        align-items: center;

        justify-content: center;

        gap: 5px;

        flex: 0 0 44px;
    }


    .menu-toggle span {
        display: block;

        width: 23px;
        height: 2px;

        border-radius: 5px;

        background: #f3b532;

        transition:
            transform .25s ease,
            opacity .25s ease;
    }


    .header-container > .selector-idioma,
    .header-container > .btn-google {
        display: none !important;
    }


    .header .menu {
        display: none !important;

        position: absolute;

        top: calc(100% + 8px);

        left: 12px;
        right: 12px;

        z-index: 99999;

        max-height:
            calc(100vh - 95px);

        overflow-y: auto;

        padding: 14px;

        border:
            1px solid
            rgba(255,255,255,.10);

        border-radius: 16px;

        background:
            linear-gradient(
                160deg,
                #0d2e4d,
                #061827
            );

        box-shadow:
            0 18px 50px
            rgba(0,0,0,.38);

        flex-direction: column;

        align-items: stretch;

        gap: 4px;
    }


    .header .menu.menu-abierto {
        display: flex !important;
    }


    .header .menu > a,
    .menu-movil-extra > a {
        display: flex;

        align-items: center;

        width: 100%;

        min-height: 46px;

        padding:
            0
            15px;

        border-radius: 9px;

        color: #ffffff;

        text-decoration: none;

        font-size: 14px;

        font-weight: 700;
    }


    .menu-movil-extra {
        display: flex;

        flex-direction: column;

        gap: 4px;

        margin-top: 7px;

        padding-top: 7px;

        border-top:
            1px solid
            rgba(255,255,255,.08);
    }


    .menu-movil-idioma {
        display: flex;

        align-items: center;

        justify-content: space-between;

        gap: 12px;

        min-height: 48px;

        padding:
            8px
            12px;

        color:
            rgba(255,255,255,.85);

        background:
            rgba(255,255,255,.05);

        border-radius: 9px;

        font-size: 13px;

        font-weight: 700;
    }


    .menu-movil-idioma select {
        max-width: 150px;

        min-height: 34px;

        padding:
            0
            9px;

        border:
            1px solid
            rgba(255,255,255,.14);

        border-radius: 8px;

        color: #ffffff;

        background: #0b2944;
    }


    .menu-movil-play {
        justify-content: center;

        margin-top: 5px;

        color: #08192a !important;

        background:
            #f3b532 !important;
    }


    .menu-toggle.activo
    span:nth-child(1) {
        transform:
            translateY(7px)
            rotate(45deg);
    }


    .menu-toggle.activo
    span:nth-child(2) {
        opacity: 0;
    }


    .menu-toggle.activo
    span:nth-child(3) {
        transform:
            translateY(-7px)
            rotate(-45deg);
    }

}


@media(max-width:420px) {

    .logo-battleit img {
        max-width: 135px;
    }

}


/* =========================================================
   FIX FINAL HEADER COMPARTIDO
   Evita que elementos exclusivos de movil aparezcan
   en escritorio aunque otra hoja CSS intente mostrarlos.
========================================================= */

/* ESTADO BASE / ESCRITORIO */
.header .menu-toggle {
    display: none !important;
}

.header .menu .menu-movil-extra {
    display: none !important;
}

@media (min-width: 901px) {

    .header {
        position: sticky;
        top: 0;
        z-index: 1000;
        overflow: visible;
    }

    .header-container {
        display: flex;
        align-items: center;
    }

    .header .menu {
        display: flex !important;
        position: static !important;
        flex-direction: row !important;
        align-items: center !important;
        max-height: none !important;
        overflow: visible !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    .header .menu > a {
        width: auto !important;
        min-height: auto !important;
    }

    .header .menu .menu-movil-extra {
        display: none !important;
    }

    .header .menu-toggle {
        display: none !important;
    }

    .header-container > .selector-idioma {
        display: flex !important;
    }

    .header-container > .btn-google {
        display: inline-flex !important;
    }
}


/* MOVIL */
@media (max-width: 900px) {

    .header {
        position: relative;
        z-index: 9999;
        overflow: visible;
    }

    .header-container {
        position: relative;
        min-height: 68px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
    }

    .header-container > .selector-idioma,
    .header-container > .btn-google {
        display: none !important;
    }

    .header .menu-toggle {
        display: flex !important;
        width: 44px;
        height: 44px;
        margin-left: auto;
        padding: 9px;
        border: 1px solid rgba(255,255,255,.14);
        border-radius: 10px;
        background: rgba(255,255,255,.06);
        cursor: pointer;
        flex: 0 0 44px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
    }

    .header .menu-toggle span {
        display: block;
        width: 23px;
        height: 2px;
        border-radius: 5px;
        background: #f3b532;
        transition:
            transform .25s ease,
            opacity .25s ease;
    }

    .header .menu {
        display: none !important;
        position: absolute !important;
        top: calc(100% + 8px);
        left: 12px;
        right: 12px;
        z-index: 99999;
        max-height: calc(100vh - 95px);
        overflow-y: auto;
        padding: 14px !important;
        border: 1px solid rgba(255,255,255,.10) !important;
        border-radius: 16px;
        background:
            linear-gradient(
                160deg,
                #0d2e4d,
                #061827
            ) !important;
        box-shadow:
            0 18px 50px
            rgba(0,0,0,.38) !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 4px;
    }

    .header .menu.menu-abierto {
        display: flex !important;
    }

    .header .menu .menu-movil-extra {
        display: flex !important;
        flex-direction: column;
        gap: 4px;
        margin-top: 7px;
        padding-top: 7px;
        border-top: 1px solid rgba(255,255,255,.08);
    }

    .header .menu > a,
    .header .menu .menu-movil-extra > a {
        display: flex;
        align-items: center;
        width: 100% !important;
        min-height: 46px;
        padding: 0 15px !important;
        border-radius: 9px;
    }

    .header .menu-toggle.activo span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .header .menu-toggle.activo span:nth-child(2) {
        opacity: 0;
    }

    .header .menu-toggle.activo span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
}

