/* RESET */

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* BODY */

body{
    background-color: #050505;
    color: white;
    font-family: 'Orbitron', sans-serif;
}

/* NAVBAR DESKTOP */

.navbar{
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 15px 20px;

    background-color: rgba(0,0,0,0.8);

    position: fixed;
    width: 100%;

    z-index: 1000;
}

.logo img{
    /* FIX: eliminado el width: 80px duplicado, se deja solo el valor correcto */
    width: 120px;
}

nav ul{
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a{
    color: white;
    text-decoration: none;
    font-weight: bold;

    transition: 0.3s;
}

nav a:hover{
    color: #00ff4c;
}

/* HERO */

.hero{
    height: 100vh;

    background-image:
    linear-gradient(rgba(0,0,0,0.7),
    rgba(0,0,0,0.8)),
    url("img/jaula-acero.jpg");

    background-size: cover;
    background-position: center;

    display: flex;
    justify-content: center;
    align-items: center;

    text-align: center;
}

.hero-content h1{

    font-size: 90px;

    margin-bottom: 20px;

    color: #00ff4c;

    text-shadow:
    0 0 10px #00ff4c,
    0 0 20px #00ff4c,
    0 0 40px #00ff4c;

    letter-spacing: 5px;
}

.hero-content p{

    font-size: 28px;

    margin-bottom: 40px;

    color: #ffffff;

    text-align: center;

    max-width: 700px;

    line-height: 1.5;

    text-shadow: 0 0 10px rgba(255,255,255,0.5);
}

.hero-buttons button{
    padding: 15px 30px;

    border: none;

    background-color: #00ff4c;
    color: black;

    font-weight: bold;

    cursor: pointer;

    transition: 0.3s;

    margin: 10px;
}

.hero-buttons button:hover{
    background-color: white;

    transform: scale(1.05);
}


.hero-content{

    display: flex;
    flex-direction: column;
    align-items: center;

}

/* ROSTER */

.roster{

    padding: 100px 50px;

    background-color: #0b0b0b;

    padding-top: 180px;
}

.roster h2{

    text-align: center;

    font-size: 70px;

    margin-bottom: 60px;

    color: #00ff4c;

    text-shadow:
    0 0 10px #00ff4c,
    0 0 20px #00ff4c,
    0 0 40px #00ff4c;

    letter-spacing: 5px;
}

/* GRID */

.roster-grid{

    display: grid;

    grid-template-columns:
    repeat(auto-fit, minmax(250px, 320px));

    justify-content: center;

    gap: 30px;
}

/* CARD */

.fighter-card{

    position: relative;

    overflow: hidden;

    border-radius: 20px;

    cursor: pointer;

    transition: 0.4s;

    background-color: #111;

    border: 2px solid transparent;
}

/* IMAGEN */

.fighter-card img{

    width: 100%;

    height: 340px;

    object-position: center top;

    object-fit: cover;

    transition: 0.5s;
}

/* INFO */

.fighter-info{

    position: absolute;

    bottom: 0;

    width: 100%;

    padding: 30px;

    background:
    linear-gradient(
        to top,
        rgba(0,0,0,0.98),
        rgba(0,0,0,0.7),
        transparent
    );

    /* FIX: agregado prefijo -webkit- para compatibilidad con Safari */
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
}

.fighter-info h3{

    font-size: 42px;

    color: white;

    text-transform: uppercase;

    text-shadow:
    0 0 10px rgba(0,0,0,0.8);

    letter-spacing: 2px;
}

.fighter-info p{

    color: #00ff4c;

    margin-top: 10px;

    font-size: 18px;

    text-shadow:
    0 0 10px rgba(0,255,76,0.5);
}

/* HOVER */

.fighter-card:hover{

    transform:
    translateY(-10px)
    scale(1.02);

    border: 2px solid #00ff4c;

    box-shadow:
    0 0 20px #00ff4c,
    0 0 40px rgba(0,255,76,0.5);
}

.fighter-card:hover img{

    transform: scale(1.1);
}

/* CAMPEONES */

.champions{

    padding-top: 180px;

    padding-left: 50px;
    padding-right: 50px;

    padding-bottom: 100px;

    background:
    linear-gradient(
        to bottom,
        #050505,
        #111
    );
}

.champions h2{

    text-align: center;

    font-size: 70px;

    margin-bottom: 60px;

    color: gold;

    text-shadow:
    0 0 10px gold,
    0 0 30px rgba(255,215,0,0.5);

    letter-spacing: 5px;
}

/* GRID */

.champions-grid{

    display: grid;

    grid-template-columns:
    repeat(auto-fit, minmax(300px, 400px));

justify-content: center;

    gap: 40px;
}

/* CARD */

.champion-card{

    position: relative;

    overflow: hidden;

    border-radius: 20px;

    height: 520px;

    cursor: pointer;

    transition: 0.4s;

    border: 3px solid rgba(255,215,0,0.3);
}

/* IMAGEN */

.champion-card img{

    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: center top;

    transition: 0.5s;
}

/* INFO */

.champion-info{

    position: absolute;

    bottom: 0;

    width: 100%;

    padding: 40px;

    background:
    linear-gradient(
        transparent,
        rgba(0,0,0,0.95)
    );
}

.champion-info span{

    color: gold;

    font-size: 16px;

    letter-spacing: 3px;
}

.champion-info h3{

    font-size: 50px;

    margin-top: 10px;

    color: white;
}

/* HOVER */

.champion-card:hover{

    transform:
    translateY(-10px)
    scale(1.02);

    box-shadow:
    0 0 30px rgba(255,215,0,0.5);
}

.champion-card:hover img{

    transform: scale(1.08);
}

/* LINKS */

.fighter-link{

    text-decoration: none;
}

/* PERFIL */

.profile{

    min-height: 100vh;

    display: grid;

    grid-template-columns: 1fr 1fr;

    align-items: center;

    gap: 60px;

    padding: 180px 80px;

    background:
    linear-gradient(
        to bottom,
        #050505,
        #111
    );
}

/* FOTO */

.profile-image img{

    width: 80%;

    border-radius: 20px;

    border: 3px solid #00ff4c;

    box-shadow:
    0 0 30px rgba(0,255,76,0.4);
}

/* INFO */

.profile-info{

    color: white;
}

.fighter-brand{

    color: #00ff4c;

    letter-spacing: 4px;
}

.profile-info h1{

    font-size: 80px;

    margin-top: 20px;
}

.profile-info h2{

    font-size: 40px;

    color: #00ff4c;

    margin-bottom: 30px;
}

.profile-info p{

    font-size: 20px;

    line-height: 1.7;
}

/* STATS */

.fighter-stats{

    display: flex;

    gap: 40px;

    margin-top: 40px;
}

.fighter-stats h3{

    color: #00ff4c;

    margin-bottom: 10px;
}

/* BOTÓN VOLVER */

.back-roster{

    margin-top: 80px;

    display: flex;

    justify-content: center;
}

.back-roster a{

    display: inline-block;

    padding: 18px 35px;

    border: 2px solid #00ff4c;

    color: #00ff4c;

    text-decoration: none;

    font-weight: bold;

    letter-spacing: 2px;

    transition: 0.4s;
}

/* HOVER */

.back-roster a:hover{

    background-color: #00ff4c;

    color: black;

    box-shadow:
    0 0 20px #00ff4c;
}

/* FOOTER */

.footer{

    background: #050505;

    padding: 35px 20px;

    text-align: center;

    border-top: 2px solid #00ff4c;
}

/* LOGO */

.footer-logo img{

    width: 60px;

    margin-bottom: 15px;
}

.footer-logo h2{

    color: white;

    font-size: 1.5rem;

    margin-bottom: 15px;

    letter-spacing: 3px;
}

/* LINKS */

.footer-links{

    margin-bottom: 15px;
}

.footer-links a{

    color: #bdbdbd;

    text-decoration: none;

    margin: 0 15px;

    transition: 0.3s;
}

.footer-links a:hover{

    color: #00ff4c;
}

/* REDES */

.footer-social{

    margin-bottom: 25px;
}

.footer-social a{

    color: #00ff4c;

    text-decoration: none;

    margin: 0 12px;

    font-weight: bold;

    transition: 0.3s;
}

.footer-social a:hover{

    text-shadow:
    0 0 10px #00ff4c;
}

/* COPYRIGHT */

.footer-copy p{

    color: #777;

    font-size: 0.9rem;
}


.event-hero{

    height: 100vh;

    background-image: url("img/jaula-acero.jpg");

    background-size: cover;

    background-position: center;

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

    position: relative;
}

.event-overlay{

    background: rgba(0,0,0,0.75);

    padding: 50px;

    border: 2px solid #00ff4c;

    border-radius: 20px;

    max-width: 700px;
}

.event-brand{

    color: #00ff4c;

    letter-spacing: 4px;

    font-size: 14px;
}

.event-overlay h1{

    font-size: 80px;

    color: white;

    margin: 20px 0;

    text-shadow: 0 0 20px #00ff4c;
}

.event-overlay h2{

    color: #00ff4c;

    margin-bottom: 20px;
}

.event-overlay p{

    color: #ccc;

    line-height: 1.6;

    margin-bottom: 30px;
}

.event-button{

    display: inline-block;

    padding: 15px 40px;

    background: #00ff4c;

    color: black;

    font-weight: bold;

    text-decoration: none;

    border-radius: 10px;

    transition: 0.3s;
}

.event-button:hover{

    transform: scale(1.05);

    box-shadow: 0 0 20px #00ff4c;
}

/* HERO BUTTON */

.hero-button{

    display: inline-block;

    padding: 15px 35px;

    background: #00ff4c;

    color: black;

    text-decoration: none;

    font-weight: bold;

    border-radius: 10px;

    transition: 0.3s;
}

.hero-button:hover{

    transform: scale(1.05);

    box-shadow:
    0 0 20px #00ff4c;
}

/* MENU TOGGLE */

.menu-toggle{

    display: none;

    font-size: 35px;

    color: #00ff4c;

    cursor: pointer;
}

/* ===================== */
/* RESPONSIVE MOBILE */
/* ===================== */

@media(max-width: 768px){

    /* NAVBAR MOBILE */

.navbar{

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 20px;

    background-color: rgba(0,0,0,0.8);

    position: fixed;

    width: 100%;

    z-index: 1000;
}

.logo img{

    width: 70px;
}

.menu-toggle{

    display: block;

    font-size: 32px;

    color: #00ff4c;

    cursor: pointer;

    z-index: 2000;
}

.navbar nav{

    display: none;

    position: absolute;

    top: 90px;

    left: 0;

    width: 100%;

    background: rgba(0,0,0,0.95);

    padding: 20px 0;

    z-index: 1500;
}

.navbar nav ul{

    flex-direction: column;

    align-items: center;

    gap: 20px;
}

.navbar nav.active{

    display: block;
    background: black;
    min-height: 250;
}


    /* HERO */

.hero-content h1{

        font-size: 45px;
    }

.hero-content p{

        font-size: 18px;
    }

    /* EVENTOS */

.event-overlay{

        width: 90%;

        padding: 30px;
    }

.event-overlay h1{

        font-size: 45px;
    }

    /* ROSTER */

.roster-grid{

    grid-template-columns: 1fr;

    gap: 20px;
}

.roster{

    padding-left: 20px;

    padding-right: 20px;

    /* FIX: reducido padding-top para mobile */
    padding-top: 100px;
}

/* CHAMPIONS MOBILE */

.champions{

    padding-left: 20px;

    padding-right: 20px;

    /* FIX: reducido padding-top para mobile */
    padding-top: 100px;
}

.champion-card{

    height: 450px;
}

.champion-card img{
    /* FIX: corregido "height: 100" sin unidad → height: 100% */
    height: 100%;
}

.champions-grid{

    grid-template-columns: 1fr;
}

    /* PROFILE */

.profile{

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 40px;

    padding: 140px 20px 60px;
}

.profile-image img{

    width: 100%;

    max-width: 350px;

    height: auto;

    object-fit: cover;
}

.profile-info{

    text-align: center;
}

.navbar {
    overflow: visible; /* evita que contenido externo lo afecte */
}

body {
    overflow-x: hidden; /* elimina scroll horizontal */
}

}

