/* =========================================================
   BASE
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    width: 100%;
    min-height: 100%;
    scroll-behavior: smooth;
}

body {
    width: 100%;
    min-height: 100%;

    font-family: Arial, Helvetica, sans-serif;

    background: #020806;
    color: #ffffff;

    overflow-x: hidden;
}

a {
    text-decoration: none;
}


/* =========================================================
   PÁGINA
========================================================= */

.home {
    position: relative;

    width: 100%;
    min-height: 100vh;

    overflow: hidden;

    background-image:
        linear-gradient(
            90deg,
            rgba(0, 7, 9, .76) 0%,
            rgba(0, 7, 9, .36) 43%,
            rgba(0, 7, 9, .18) 67%,
            rgba(0, 7, 9, .46) 100%
        ),
        linear-gradient(
            180deg,
            rgba(0, 5, 9, .18) 0%,
            rgba(0, 5, 5, .10) 55%,
            rgba(0, 8, 3, .50) 100%
        ),
        url("../images/home/fondo.png");

    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}


/* =========================================================
   EFECTOS SOBRE EL ESTADIO
========================================================= */

.home::before {
    content: "";

    position: absolute;
    inset: 0;

    pointer-events: none;

    background:
        radial-gradient(
            circle at 50% 43%,
            rgba(255, 190, 0, .08),
            transparent 25%
        ),
        radial-gradient(
            circle at 75% 55%,
            rgba(140, 255, 0, .08),
            transparent 27%
        );

    z-index: 1;
}

.home::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 25%;

    background:
        linear-gradient(
            180deg,
            transparent,
            rgba(0, 18, 4, .35)
        );

    pointer-events: none;

    z-index: 1;
}


/* =========================================================
   HEADER
========================================================= */

.header {
    position: relative;

    z-index: 20;

    width: 100%;
    height: 88px;

    display: flex;
    align-items: center;

    border-bottom:
        1px solid rgba(255, 255, 255, .12);

    background:
        rgba(0, 8, 13, .52);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.header-container {
    width: min(1500px, calc(100% - 70px));

    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 35px;
}


/* =========================================================
   LOGO HORIZONTAL
========================================================= */

.brand {
    display: flex;
    align-items: center;

    flex-shrink: 0;
}

.brand img {
    display: block;

    width: 215px;
    max-height: 62px;

    object-fit: contain;
}


/* =========================================================
   MENÚ
========================================================= */

.navigation {
    display: flex;
    align-items: center;

    gap: 38px;
}

.navigation a {
    position: relative;

    padding: 10px 0;

    color: #ffffff;

    font-size: 15px;
    font-weight: 700;

    transition:
        color .2s ease;
}

.navigation a:hover {
    color: #a8f000;
}

.navigation a.active {
    color: #a8f000;
}

.navigation a.active::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 3px;

    border-radius: 3px;

    background: #a8f000;
}


/* =========================================================
   BOTONES HEADER
========================================================= */

.header-actions {
    display: flex;
    align-items: center;

    gap: 12px;

    flex-shrink: 0;
}

.header-button {
    height: 45px;
    min-width: 130px;

    padding: 0 20px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    border-radius: 25px;

    font-size: 14px;
    font-weight: 800;

    transition:
        transform .2s ease,
        background .2s ease,
        box-shadow .2s ease;
}

.header-button:hover {
    transform: translateY(-2px);
}

.header-login {
    color: #ffffff;

    border:
        1px solid #a8f000;

    background:
        rgba(0, 0, 0, .25);
}

.header-login:hover {
    background:
        rgba(168, 240, 0, .10);
}

.header-register {
    color: #071000;

    border:
        1px solid #a8f000;

    background:
        #a8f000;
}

.header-register:hover {
    box-shadow:
        0 7px 20px rgba(168, 240, 0, .22);
}


/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;

    z-index: 5;

    width:
        min(1500px, calc(100% - 70px));

    min-height:
        calc(100vh - 88px);

    margin:
        0 auto;

    display:
        grid;

    grid-template-columns:
        34% 36% 30%;

    align-items:
        center;
}


/* =========================================================
   IZQUIERDA
========================================================= */

.hero-left {
    position: relative;

    z-index: 7;

    padding:
        45px 0 45px 5px;
}


/* =========================================================
   ETIQUETA SUPERIOR
========================================================= */

.small-title {
    display: inline-flex;
    align-items: center;

    gap: 9px;

    margin-bottom: 27px;

    padding:
        9px 16px;

    border:
        1px solid #a8f000;

    border-radius:
        25px;

    background:
        rgba(0, 0, 0, .40);

    font-size:
        12px;

    font-weight:
        800;
}

.small-title i {
    color:
        #a8f000;
}

.small-title .instinto {
    color:
        #ff8a00;

    font-weight:
        900;
}

.small-title strong {
    color:
        #a8f000;
}


/* =========================================================
   TITULAR
========================================================= */

.hero-title {
    margin:
        0;

    font-size:
        clamp(47px, 4.4vw, 76px);

    line-height:
        .91;

    letter-spacing:
        -2px;

    font-weight:
        1000;

    text-transform:
        uppercase;

    font-style:
        italic;

    text-shadow:
        0 5px 15px rgba(0, 0, 0, .55);
}

.hero-title .white {
    color:
        #ffffff;
}

.hero-title .green {
    color:
        #a8f000;
}

.hero-title .gold {
    color:
        #ffb800;
}

.title-line {
    width:
        85%;

    max-width:
        410px;

    height:
        5px;

    margin-top:
        16px;

    background:
        #a8f000;

    transform:
        skewX(-35deg);

    box-shadow:
        0 0 12px rgba(168, 240, 0, .45);
}


/* =========================================================
   DESCRIPCIÓN
========================================================= */

.description {
    max-width:
        470px;

    margin-top:
        27px;

    padding-left:
        15px;

    border-left:
        4px solid #a8f000;

    color:
        #e2e5e7;

    font-size:
        16px;

    line-height:
        1.55;

    text-shadow:
        0 2px 5px rgba(0, 0, 0, .9);
}

.description strong {
    color:
        #a8f000;
}


/* =========================================================
   BOTONES PRINCIPALES
========================================================= */

.hero-actions {
    display:
        flex;

    gap:
        12px;

    margin-top:
        28px;
}

.main-button {
    min-width:
        180px;

    height:
        55px;

    padding:
        0 22px;

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    gap:
        10px;

    border-radius:
        28px;

    font-size:
        14px;

    font-weight:
        900;

    text-transform:
        uppercase;

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}

.main-button:hover {
    transform:
        translateY(-3px);
}

.main-login {
    background:
        #a8f000;

    color:
        #071000;

    border:
        1px solid #a8f000;
}

.main-login:hover {
    box-shadow:
        0 10px 30px rgba(168, 240, 0, .25);
}

.main-register {
    background:
        rgba(0, 0, 0, .50);

    color:
        #ffffff;

    border:
        1px solid #a8f000;
}

.main-register:hover {
    background:
        rgba(168, 240, 0, .08);
}


/* =========================================================
   BENEFICIOS
========================================================= */

.benefits {
    display:
        grid;

    grid-template-columns:
        repeat(3, 1fr);

    max-width:
        430px;

    margin-top:
        34px;
}

.benefit {
    position:
        relative;

    padding:
        0 13px;

    text-align:
        center;
}

.benefit:first-child {
    padding-left:
        0;
}

.benefit:not(:last-child)::after {
    content:
        "";

    position:
        absolute;

    top:
        7px;

    right:
        0;

    width:
        1px;

    height:
        85px;

    background:
        rgba(168, 240, 0, .45);
}

.benefit-circle {
    width:
        58px;

    height:
        58px;

    margin:
        0 auto 8px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    border:
        3px solid #a8f000;

    border-radius:
        50%;

    background:
        rgba(0, 0, 0, .50);

    color:
        #a8f000;

    font-size:
        27px;
}

.benefit-title {
    font-size:
        12px;

    line-height:
        1.2;

    font-weight:
        900;

    text-transform:
        uppercase;
}

.benefit-title span {
    color:
        #a8f000;
}


/* =========================================================
   CENTRO
========================================================= */

.hero-center {
    position:
        relative;

    z-index:
        6;

    height:
        100%;

    min-height:
        590px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;
}

.center-glow {
    position:
        absolute;

    width:
        390px;

    height:
        390px;

    border-radius:
        50%;

    background:
        radial-gradient(
            circle,
            rgba(255, 185, 0, .23),
            rgba(168, 240, 0, .07) 45%,
            transparent 70%
        );

    filter:
        blur(18px);
}

.main-logo {
    position:
        relative;

    z-index:
        3;

    display:
        block;

    width:
        112%;

    max-width:
        610px;

    max-height:
        650px;

    object-fit:
        contain;

    filter:
        drop-shadow(
            0 18px 20px rgba(0, 0, 0, .70)
        );
}


/* =========================================================
   DERECHA
========================================================= */

.hero-right {
    position:
        relative;

    z-index:
        5;

    height:
        calc(100vh - 88px);

    min-height:
        590px;

    align-self:
        stretch;
}

.player {
    position:
        absolute;

    z-index:
        3;

    right:
        -65px;

    top:
        50%;

    transform:
        translateY(-50%);

    display:
        block;

    width:
        min(34vw, 500px);

    max-height:
        calc(100vh - 105px);

    object-fit:
        contain;

    filter:
        drop-shadow(
            -15px 12px 20px rgba(0, 0, 0, .65)
        );
}


/* =========================================================
   PARTÍCULAS
========================================================= */

.particle {
    position:
        absolute;

    z-index:
        2;

    width:
        7px;

    height:
        15px;

    background:
        #a8f000;

    transform:
        rotate(25deg);

    opacity:
        .75;

    box-shadow:
        0 0 8px rgba(168, 240, 0, .7);
}

.particle.p1 {
    top:
        24%;

    left:
        34%;
}

.particle.p2 {
    top:
        17%;

    right:
        30%;

    transform:
        rotate(65deg);
}

.particle.p3 {
    bottom:
        19%;

    left:
        47%;

    transform:
        rotate(10deg);
}

.particle.p4 {
    top:
        38%;

    right:
        13%;

    transform:
        rotate(-25deg);
}


/* =========================================================
   CONTACTO
========================================================= */

.contact-section {
    position:
        relative;

    z-index:
        10;

    width:
        100%;

    padding:
        55px 35px 25px;

    background:
        linear-gradient(
            180deg,
            rgba(0, 8, 6, .94),
            #020503
        );

    border-top:
        1px solid rgba(168, 240, 0, .18);
}

.contact-container {
    width:
        min(1100px, 100%);

    margin:
        0 auto;

    display:
        grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap:
        22px;
}

.contact-card {
    display:
        flex;

    align-items:
        center;

    gap:
        18px;

    padding:
        22px;

    border-radius:
        16px;

    border:
        1px solid rgba(168, 240, 0, .28);

    background:
        rgba(0, 0, 0, .32);

    backdrop-filter:
        blur(8px);

    -webkit-backdrop-filter:
        blur(8px);

    transition:
        transform .2s ease,
        border-color .2s ease,
        background .2s ease;
}

.contact-card:hover {
    transform:
        translateY(-3px);

    border-color:
        rgba(168, 240, 0, .55);

    background:
        rgba(0, 0, 0, .45);
}

.contact-icon {
    flex-shrink:
        0;

    width:
        58px;

    height:
        58px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    border-radius:
        50%;

    border:
        2px solid #a8f000;

    color:
        #a8f000;

    font-size:
        27px;

    background:
        rgba(168, 240, 0, .08);
}

.contact-info {
    display:
        flex;

    flex-direction:
        column;

    gap:
        5px;
}

.contact-label {
    font-size:
        12px;

    text-transform:
        uppercase;

    font-weight:
        800;

    letter-spacing:
        .8px;

    color:
        #8d968e;
}

.contact-info strong {
    color:
        #ffffff;

    font-size:
        18px;
}

.contact-info a {
    width:
        fit-content;

    display:
        inline-flex;

    align-items:
        center;

    gap:
        7px;

    color:
        #a8f000;

    font-size:
        14px;

    font-weight:
        800;

    transition:
        color .2s ease,
        transform .2s ease;
}

.contact-info a:hover {
    color:
        #c0ff32;

    transform:
        translateX(3px);
}

.contact-footer {
    width:
        min(1100px, 100%);

    margin:
        28px auto 0;

    padding-top:
        18px;

    text-align:
        center;

    border-top:
        1px solid rgba(255, 255, 255, .08);

    color:
        #777f79;

    font-size:
        12px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1150px) {

    .navigation {
        display:
            none;
    }

    .hero {
        grid-template-columns:
            48% 52%;
    }

    .hero-right {
        display:
            none;
    }

    .hero-title {
        font-size:
            clamp(45px, 6vw, 66px);
    }

    .main-logo {
        width:
            105%;
    }
}


/* =========================================================
   MÓVIL
========================================================= */

@media (max-width: 767px) {

    /*
    IMPORTANTE:
    Volvemos a declarar explícitamente la imagen.
    Esto evita que desaparezca en móvil.
    */

    .home {
        min-height:
            100vh;

        background-image:
            linear-gradient(
                180deg,
                rgba(0, 7, 9, .42) 0%,
                rgba(0, 7, 9, .25) 30%,
                rgba(0, 8, 3, .45) 70%,
                rgba(0, 8, 3, .72) 100%
            ),
            url("../images/home/fondo.png");

        background-size:
            auto 100vh;

        background-position:
            center top;

        background-repeat:
            no-repeat;

        background-color:
            #020806;
    }


    /* HEADER */

    .header {
        height:
            70px;
    }

    .header-container {
        width:
            calc(100% - 30px);
    }

    .brand img {
        width:
            165px;

        max-height:
            50px;
    }

    .header-actions {
        display:
            none;
    }


    /* HERO */

    .hero {
        width:
            calc(100% - 30px);

        min-height:
            auto;

        display:
            flex;

        flex-direction:
            column;

        padding:
            20px 0 45px;
    }


    /* =====================================================
       LOGO PRINCIPAL
    ====================================================== */

    .hero-center {
        order:
            1;

        width:
            100%;

        min-height:
            auto;

        height:
            auto;

        padding:
            5px 0 15px;
    }

    .center-glow {
        width:
            240px;

        height:
            240px;
    }

    .main-logo {
        width:
            min(82vw, 380px);

        max-height:
            360px;
    }


    /* =====================================================
       TEXTO
    ====================================================== */

    .hero-left {
        order:
            2;

        width:
            100%;

        padding:
            0;

        text-align:
            center;
    }

    .small-title {
        margin-bottom:
            20px;

        padding:
            8px 12px;

        gap:
            5px;

        font-size:
            10px;

        white-space:
            nowrap;
    }

    .hero-title {
        font-size:
            clamp(43px, 13vw, 62px);

        line-height:
            .92;

        letter-spacing:
            -1px;
    }

    .title-line {
        width:
            70%;

        margin:
            14px auto 0;
    }

    .description {
        max-width:
            500px;

        margin:
            24px auto 0;

        padding:
            0 10px 0 14px;

        text-align:
            left;

        font-size:
            15px;
    }


    /* =====================================================
       BOTONES
    ====================================================== */

    .hero-actions {
        display:
            grid;

        grid-template-columns:
            1fr;

        gap:
            10px;

        width:
            100%;

        margin-top:
            24px;
    }

    .main-button {
        width:
            100%;

        height:
            53px;
    }


    /* =====================================================
       BENEFICIOS
    ====================================================== */

    .benefits {
        width:
            100%;

        max-width:
            none;

        margin-top:
            30px;
    }

    .benefit {
        padding:
            0 6px;
    }

    .benefit-circle {
        width:
            50px;

        height:
            50px;

        font-size:
            22px;
    }

    .benefit-title {
        font-size:
            10px;
    }

    .benefit:not(:last-child)::after {
        height:
            72px;
    }


    /* =====================================================
       JUGADOR
    ====================================================== */

    .hero-right {
        order:
            3;

        display:
            block;

        position:
            relative;

        width:
            100%;

        height:
            380px;

        min-height:
            0;

        margin-top:
            15px;

        overflow:
            hidden;
    }

    .player {
        position:
            absolute;

        top:
            50%;

        left:
            50%;

        right:
            auto;

        transform:
            translate(-50%, -50%);

        width:
            min(90vw, 410px);

        max-height:
            400px;
    }

    .particle {
        display:
            none;
    }


    /* =====================================================
       CONTACTO
    ====================================================== */

    .contact-section {
        padding:
            40px 15px 22px;
    }

    .contact-container {
        grid-template-columns:
            1fr;
    }

    .contact-card {
        padding:
            18px;
    }

    .contact-icon {
        width:
            50px;

        height:
            50px;

        font-size:
            23px;
    }

    .contact-info strong {
        font-size:
            16px;
    }

    .contact-info a {
        font-size:
            14px;
    }
}


/* =========================================================
   MÓVILES PEQUEÑOS
========================================================= */

@media (max-width: 420px) {

    .brand img {
        width:
            145px;
    }

    .small-title {
        font-size:
            9px;

        gap:
            4px;

        padding:
            7px 10px;
    }

    .hero-title {
        font-size:
            42px;
    }

    .description {
        font-size:
            14px;
    }

    .main-logo {
        width:
            88vw;
    }

    .hero-right {
        height:
            340px;
    }

    .player {
        width:
            94vw;
    }

    .benefit-title {
        font-size:
            9px;
    }

    .contact-card {
        gap:
            14px;

        padding:
            16px;
    }

    .contact-icon {
        width:
            46px;

        height:
            46px;

        font-size:
            21px;
    }

    .contact-info strong {
        font-size:
            15px;
    }

    .contact-info a {
        font-size:
            13px;
    }
}

/* =========================================================
   BOTÓN HAMBURGUESA
========================================================= */

.mobile-menu-button {
    display: none;

    width: 46px;
    height: 46px;

    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border: 1px solid #a8f000;
    border-radius: 12px;

    background: rgba(0, 0, 0, .45);
    color: #a8f000;

    font-size: 28px;

    cursor: pointer;

    transition:
        background .2s ease,
        color .2s ease,
        transform .2s ease;
}

.mobile-menu-button:hover {
    background: #a8f000;
    color: #071000;
}

.mobile-menu-button:active {
    transform: scale(.95);
}


/* =========================================================
   MENÚ MÓVIL
========================================================= */

.mobile-menu {
    display: none;

    position: absolute;

    z-index: 50;

    top: 70px;
    left: 15px;
    right: 15px;

    padding: 12px;

    border: 1px solid rgba(168, 240, 0, .35);
    border-radius: 16px;

    background: rgba(0, 10, 12, .96);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    box-shadow:
        0 18px 45px rgba(0, 0, 0, .55);
}

.mobile-menu.active {
    display: flex;
    flex-direction: column;
}

.mobile-menu-link,
.mobile-menu-register {
    width: 100%;

    min-height: 50px;

    padding: 0 15px;

    display: flex;
    align-items: center;

    gap: 12px;

    border-radius: 10px;

    color: #ffffff;

    font-size: 14px;
    font-weight: 800;

    transition:
        background .2s ease,
        color .2s ease;
}

.mobile-menu-link i {
    width: 21px;

    color: #a8f000;

    font-size: 18px;
}

.mobile-menu-link:hover {
    background: rgba(168, 240, 0, .08);
    color: #a8f000;
}

.mobile-menu-divider {
    width: 100%;
    height: 1px;

    margin: 8px 0;

    background: rgba(255, 255, 255, .10);
}

.mobile-menu-register {
    margin-top: 5px;

    justify-content: center;

    background: #a8f000;
    color: #071000;
}

.mobile-menu-register i {
    color: #071000;
}

.mobile-menu-register:hover {
    background: #baff16;
}


/* =========================================================
   HAMBURGUESA RESPONSIVE
========================================================= */

@media (max-width: 767px) {

    .mobile-menu-button {
        display: flex;
    }

}