/* ===== FUENTE PERSONALIZADA ===== */
@font-face {
    font-family: 'PixelFont';
    src: url('fonts/pixel-font.ttf') format('truetype');
}

/* ===== ESTILOS GENERALES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: 'PixelFont', sans-serif;
    color: #fff;
    background: linear-gradient(to bottom, #00BFFF 0%, #FF80CC 100%);
    scroll-behavior: smooth;
    transition: background 0.4s ease;
    overflow-x: hidden;
}

/* ===== HEADER ===== */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    position: relative;
    z-index: 1000;
    animation: fadeIn 1s ease;
}

header .logo img {
    width: 80px;
    transition: transform 0.3s ease;
}
header .logo img:hover {
    transform: scale(1.1);
}

/* ===== MENÚ HAMBURGUESA ===== */
.menu-hamburguesa {
    width: 30px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 22px;
    transition: transform 0.3s ease;
}
.menu-hamburguesa div {
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Animación hamburguesa abierta */
.menu-hamburguesa.open div:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}
.menu-hamburguesa.open div:nth-child(2) {
    opacity: 0;
}
.menu-hamburguesa.open div:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* ===== NAVEGACIÓN ===== */
nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 50px;
    background: rgba(0, 0, 0, 0.85);
    padding: 20px 30px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
    animation: fadeIn 0.5s ease;
}

nav a {
    color: #fff;
    text-decoration: none;
    margin: 10px 0;
    font-size: 16px;
    transition: color 0.3s ease, transform 0.2s ease;
}
nav a:hover {
    color: #FF80CC;
    transform: translateX(5px);
}

/* ===== HERO ===== */
.hero {
    text-align: center;
    padding: 140px 20px 100px;
    animation: fadeIn 1.5s ease;
}

.hero h1 a {
    color: #fff;
    text-decoration: none;
    font-size: 28px;
    transition: color 0.3s ease;
}
.hero h1 a:hover {
    color: #FF80CC;
}

.hero .logo-evento {
    width: 160px;
    margin: 20px auto;
    display: block;
}

.hero .fecha,
.hero .estadio {
    font-size: 20px;
    margin: 10px 0;
}

/* Botones principales */
.botones-principal a {
    display: inline-block;
    margin: 12px;
    padding: 12px 25px;
    border-radius: 8px;
    border: 2px solid #fff;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}
.botones-principal a:hover {
    background: #FF80CC;
    border-color: #FF80CC;
}

/* ===== VIDEO ===== */
.presentacion iframe {
    display: block;
    margin: 60px auto;
    border-radius: 12px;
    max-width: 90%;
}

/* ===== CARRUSEL LUCHADORES ===== */
.luchadores {
    text-align: center;
    padding: 60px 20px;
}

.luchadores h2 {
    font-size: 28px;
    margin-bottom: 10px;
}
.luchadores p {
    font-size: 16px;
    color: #f9f9f9;
}

.carousel {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    margin-top: 25px;
    padding-bottom: 10px;
}
.carousel::-webkit-scrollbar {
    height: 8px;
}
.carousel::-webkit-scrollbar-thumb {
    background: #FF80CC;
    border-radius: 4px;
}

.luchador {
    position: relative;
    margin: 0 10px;
    transition: transform 0.3s ease;
}
.luchador img {
    width: 120px;
    height: 120px;
    border-radius: 10px;
    transition: transform 0.3s ease;
}
.luchador:hover img {
    transform: scale(1.3);
}
.luchador .bandera {
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 22px;
}

/* ===== PROMOCIONES ===== */
.promociones {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 60px 0;
}
.promociones a {
    margin: 15px 0;
}
.promociones img {
    width: 1016px;
    max-width: 95%;
    height: 150px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.4);
    transition: transform 0.3s ease;
}
.promociones img:hover {
    transform: scale(1.03);
}

/* ===== OTROS EVENTOS ===== */
.otros-eventos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 60px 0;
}
.otros-eventos img {
    margin: 10px;
    width: 150px;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s ease;
}
.otros-eventos img:hover {
    transform: scale(1.1);
}

/* ===== CONTADOR ===== */
.contador {
    text-align: center;
    font-size: 28px;
    margin: 60px 0;
}

/* ===== SPONSORS ===== */
.sponsors {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 60px 0;
}
.sponsors a {
    margin: 15px;
}
.sponsors img {
    width: 150px;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s ease;
}
.sponsors img:hover {
    transform: scale(1.1);
}

/* ===== FOOTER ===== */
footer {
    text-align: center;
    color: #fff;
    padding: 20px;
    background: rgba(0,0,0,0.5);
    font-size: 14px;
}

/* ===== ANIMACIONES ===== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    header {
        padding: 15px 20px;
    }

    .hero h1 a {
        font-size: 22px;
    }

    .promociones img {
        height: auto;
    }

    .otros-eventos img, .sponsors img {
        width: 110px;
    }

    .menu-hamburguesa {
        transform: scale(1.1);
    }

    nav {
        right: 20px;
    }
}