/* Fuentes locales */
@font-face {
    font-family: 'Anisette Light';
    src: url('../fonts/Anisette Light Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Anisette Bold';
    src: url('../fonts/Anisette Bold Regular.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
}

/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Anisette Light', sans-serif;
    background-color: #000;
    color: #f19fca;
    user-select: text;
}

/* Selección de texto */
body ::selection {
    background: #f19fca;
    color: #000;
}

/* Contenedor principal */
.porras-contenedor {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    text-align: center;
}

/* Título */
h1 {
    font-family: 'Anisette Bold', sans-serif;
    font-size: 3rem;
    margin-bottom: 2rem;
    animation: fadeIn 1s ease forwards;
}

/* Botón Twitch */
.boton-twitch {
    display: inline-block;
    background-color: #9147ff;
    color: #fff;
    font-weight: bold;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    margin-bottom: 3rem;
    transition: all 0.3s ease;
}

.boton-twitch:hover {
    background-color: #772ce8;
    transform: scale(1.05);
}

/* Combates */
.combates {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

/* Cada combate */
.combate {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #111;
    padding: 1.5rem;
    border-radius: 15px;
    border: 2px solid #f19fca;
    position: relative;
    animation: fadeInUp 1s ease forwards;
}

/* Luchadores */
.luchador {
    display: inline-block;
    margin: 0.5rem;
    padding: 1rem;
    border-radius: 50%;
    background: #222;
    color: #f19fca;
    width: 100px;
    height: 100px;
    line-height: 100px;
    text-align: center;
    font-weight: bold;
    transition: all 0.3s ease;
}

.luchador:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px #f19fca;
}

/* Versus */
.versus {
    font-family: 'Anisette Bold', sans-serif;
    font-size: 2rem;
    margin: 1rem 0;
    color: #f19fca;
}

/* Combates 2vs2 extra */
.izquierda2, .derecha2 {
    margin-left: 10px;
}

/* Main Event */
.main-event {
    margin-top: 1rem;
    font-family: 'Anisette Bold', sans-serif;
    font-size: 1.5rem;
    color: #ff7edb;
}

/* Barra de porcentaje */
.barra-porcentaje {
    position: relative;
    width: 80%;
    height: 25px;
    background-color: #333;
    border-radius: 12px;
    overflow: hidden;
    margin-top: 1rem;
}

.porcentaje {
    height: 100%;
    background: linear-gradient(90deg, #f19fca, #00ffff);
    width: 50%;
    transition: width 0.5s ease;
}

/* Animaciones */
@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(-20px);}
    100% { opacity: 1; transform: translateY(0);}
}

@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(20px);}
    100% { opacity: 1; transform: translateY(0);}
}

/* Responsive */
@media screen and (min-width: 768px) {
    .combate {
        flex-direction: row;
        justify-content: center;
        gap: 2rem;
    }

    .izquierda2, .derecha2 {
        margin-left: 1rem;
    }
}