#fight-container {
    height: auto;
    min-height: 100vh;
    padding: 0;
    display: flex;
    overflow: hidden;
    width: 100%;

    /* display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    padding: 0 5%; */
}

.fight-top {
    display: flex;
    width: 100%;
    position: relative;
    align-items: center;
}

/* 1. Imágenes al 100% de ancho de banda */
.fighter-side {
    flex: 1;
    position: relative;
}

.fighter-img {
    width: 100%;
    height: 70vh;
    background-size: cover;
    background-position: center;
    filter: sepia(30%) contrast(1.2) brightness(0.6) grayscale(20%);
    /* Primera animación: slideIn, Segunda: moveUpImg */
    animation: 
        slideIn 0.6s ease-out forwards,
        moveUpImg 0.9s 1.4s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

.left .fighter-img { transform: translateX(-100%); opacity: 0; }
.right .fighter-img { transform: translateX(100%); opacity: 0;}

.animate-entry {
    animation-fill-mode: forwards !important;
}

/* 2. El VS Graffiti */
.vs-center {
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
    z-index: 100;
    display: flex;
    flex-direction: column; /* Apila VS arriba y Rondas abajo */
    align-items: center;
    justify-content: center;
}

#vs-large {
    position: relative;
    line-height: 1;
    display: flex;
    top: 50%;
    font-family: var(--font-title);
    font-size: 28rem;
    font-weight: 900;
    animation: raiseVS 1.1s 1.4s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

#vs-large .v, #vs-large .s {
    display: inline-block;
    background: linear-gradient(180deg, 
        var(--silver-light) 0%, 
        var(--silver-main) 50%,
        var(--text-info) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 20px var(--white-glow));
}

/* Posicionamiento Diagonal */
#vs-large .v { 
    z-index: 5;
    opacity: 0;
    margin-right: -25px;
    transform: translate(-150px, -50px);
    animation: enterV_Luxe 0.8s 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

#vs-large .s { 
    z-index: 1;
    opacity: 0;
    margin-left: -50px;
    transform: translateX(150px);
    animation: enterS_Luxe 0.8s 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* 3. Cards */
.fighter-card {
    position: absolute;
    top: 60%;
    width: 500px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--surface);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    padding: 20px;
    border: 1px solid var(--surface-border);
    border-top: 4px solid var(--gold-main);
    box-shadow: 0 25px 50px rgba(0,0,0,0.6), inset 0 0 20px rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    gap: 25px;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.2, 1, 0.3, 1);
    animation: cardAppear 0.6s 1.8s ease-out forwards;
}

/* Hover Aesthetic en la tarjeta */
.fighter-card:hover {
    background: rgba(30, 30, 30, 0.8);
    border-color: var(--gold-bright);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 20px var(--brand-glow);
    /* transform: translate(-50%, -105px); */
}

.fighter-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.profile-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid rgba(197, 179, 155, 0.3);
    background: radial-gradient(circle, #252525 0%, #101010 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.8);
}

.logo-autor {
    width: 65%;
    height: auto;
    object-fit: contain;
    opacity: 0.4;
    filter: brightness(1.2) contrast(0.9);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.fighter-card:hover .logo-autor {
    opacity: 0.9;
    filter: brightness(1.5) drop-shadow(0 0 8px var(--gold-main));
    transform: scale(1.1) rotate(5deg);
}

.fighter-stats {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-number);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 15px;
    font-size: 1rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-item small {
    color: var(--text-info);
    font-size: 0.6rem;
    margin-bottom: 5px;
    font-family: var(--font-text);
}

.fight-style {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 0.85rem;
    letter-spacing: 3px;
    color: var(--gold-main);
    width: 100%;
}

/* --- SECCIÓN SOCIAL --- */
.social-section small {
    display: block;
    text-align: center;
    font-size: 0.65rem;
    letter-spacing: 2px;
    margin-bottom: 8px;
    color: var(--text-info);
}

.separator {
    display: block;
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-main), transparent);
    margin: 10px auto;
    opacity: 0.6;
}

.separator-line {
    flex: 1; /* Hace que las líneas se estiren hasta los bordes del card */
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(197, 179, 155, 0.4));
}

.fight-style .separator-line:last-child {
    background: linear-gradient(270deg, transparent, rgba(197, 179, 155, 0.4));
}

.social-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.social-grid button {
    background: transparent;
    border: 1px solid rgba(197, 179, 155, 0.3);
    color: var(--text-info);
    transition: all 0.3s ease;
    padding: 10px;
    font-family: var(--font-title);
    font-size: 1.2rem;
    cursor: pointer;
    text-transform: uppercase;
}

.btn-tw:hover { color: var(--tw-color); border-color: var(--tw-color); box-shadow: 0 0 15px var(--tw-color); }
.btn-yt:hover { color: var(--yt-color); border-color: var(--yt-color); box-shadow: 0 0 15px var(--yt-color); }
.btn-ig:hover { color: var(--ig-color); border-color: var(--ig-color); box-shadow: 0 0 15px var(--ig-color); }
.btn-tk:hover { color: var(--tk-color); border-color: var(--tk-color); box-shadow: 0 0 15px var(--tk-color); }

/* .social-grid button:hover { 
    background: var(--brand); 
    color: var(--base-background); 
    border-color: var(--brand);
} */

.fighter-name {
    font-family: var(--font-title);
    color: var(--deep-gold);
    text-shadow: 0 4px 10px rgba(0,0,0,0.5);
    font-size: 3.5rem;
    letter-spacing: 5px;
    margin: 0;
}

/* --- RONDAS VERTICALES --- */
.rounds-container {
    position: absolute;
    top: 15%;
    left: 50%;
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 600px;
    background: transparent;
    opacity: 0;
    animation: fadeInRounds 0.8s 1.8s ease-out forwards;
}

.round-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 60px minmax(0, 1fr);
    align-items: center;
    justify-content: center;
    width: 100%;
    transition: all 0.3s ease;
}

.round-row span:first-child {
    font-family: var(--font-title);
    color: var(--silver-main);
    letter-spacing: 2px;
    text-align: right;
    line-height: 1;
    margin-right: 0;
    padding-right: 15px;
    font-size: 2.2rem;
}

.round-row .dot-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.round-row .time { 
    color: var(--gold-main);
    font-size: 1.8rem;
    line-height: 1;
    margin-left: 0;
    padding-left: 15px;
    text-align: left;
    font-family: var(--font-number);
}

.fighter-stats .stat-value {
    color: var(--deep-gold);
    font-family: var(--font-number);
}

.dot {
    width: 10px;
    height: 10px;
    min-width: 10px;
    min-height: 10px;
    transform: rotate(45deg);
    background: var(--gold-deep);
    flex-shrink: 0;
}

.dot.empty {
    background: transparent;
    border: 1px solid var(--text-info);
    box-shadow: none;
}

.dot.pulse {
    background: #ffffff;
    box-shadow: 0 0 15px #ffffff, 0 0 30px var(--gold-main);
    animation: diamondPulse 1s infinite alternate;
}

/* --- ANIMACIONES --- */
@keyframes slideIn {
    from { opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Sube las imágenes */
@keyframes moveUpImg {
    to { 
        transform: translateY(-18%);
        filter: grayscale(10%) brightness(0.4); 
    }
}

/* Entrada diagonal V */
@keyframes enterV_Luxe { to { opacity: 1; transform: translate(0, -100px); } }
@keyframes enterS_Luxe { to { opacity: 1; transform: translateX(25px); } }

/* Sube el VS */
@keyframes diamondPulse {
    from { transform: rotate(45deg) scale(0.8); opacity: 0.5; }
    to { transform: rotate(45deg) scale(1.2); opacity: 1; }
}

@keyframes fadeInRounds {
    from { opacity: 0; transform: translate(-50%, -50%); }
    to { opacity: 1; transform: translate(-50%, -50%); }
}

@keyframes raiseVS {
    to { 
        transform: translate(0, -75%) scale(0.3); 
        opacity: 0.6;
        filter: blur(1px);
    }
}

@keyframes cardAppear {
    from { opacity: 0; transform: translate(-50%, -150px); }
    to { opacity: 1; transform: translate(-50%, -100px); }
}

@keyframes fadeIn {
    to { opacity: 1; }
}

@keyframes silverShine {
    to { background-position: 200% center; }
}

/* --- RESPONSIVE ADAPTATION --- */

@media (max-width: 1024px) {
    body {
        overflow-y: auto;
    }

    #fight-container {
        height: auto;
        padding: 0;
        display: block;
    }

    .fight-top {
        flex-direction: column;
        display: flex;
        width: 100vw;
    }

    .fighter-side {
        width: 100%;
        overflow: visible;
    }
    
    .left { order: 1; }
    .vs-center { order: 2; }
    .right { order: 3; }

    .fighter-img {
        width: 100%;
        height: 55vh;
        filter: brightness(0.6);
        background-size: cover;
        margin: 0;
        animation: slideIn 0.6s ease-out forwards;
    }

    .fighter-card {
        position: relative;
        width: 90%;
        max-width: 450px;
        top: 0;
        left: 0;
        margin: -50px auto 30px auto;
        transform: none;
        opacity: 1;
        animation: fadeIn 0.8s ease-out forwards;

        /* position: relative;
        width: 75%;
        bottom: auto;
        transform: none;
        z-index: 30;
        backdrop-filter: blur(25px);
        box-shadow: 0 20px 50px rgba(0,0,0,0.5); */
    }

    .fighter-name {
        font-size: 3rem;
        letter-spacing: 2px;
        text-align: center;
    }

    /* El VS se coloca entre los dos luchadores */
    .vs-center {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        margin: 20px 0;
        z-index: 20;
    }

    #vs-large {
        font-size: 14rem;
        gap: 25px;
        justify-content: center;
        margin-top: 30px;
        animation: none;
    }

    #vs-large .v { transform: translateY(-20px); margin-top: 50px; }
    #vs-large .s { margin-left: -50px; }

    .rounds-container {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        width: 100%;
        margin: 40px auto;
        display: flex;
        flex-direction: column;
        gap: 20px;
        opacity: 1;
        animation: fadeIn 1s ease forwards;

        /* position: relative;
        top: auto;
        left: auto;
        transform: none;
        order: 4;
        width: 75%; 
        margin: 40px auto 80px auto;
        opacity: 1;
        padding: 40px 20px;
        animation: fadeIn 1s ease forwards; */
    }

    .round-row {
        grid-template-columns: 1fr 60px 1fr;
        width: 100%;

        /* grid-template-columns: 1fr 50px 1fr;
        font-size: 1.8rem;
        font-weight: 900; */
    }

    .round-row span:first-child,
    .round-row .time {
        padding: 10px;
        font-size: 1.8rem;
    }

    .dot {
        width: 18px;
        height: 18px;
    }
}

/* Ajuste extra para móviles muy pequeños */
@media (max-width: 480px) {
    .fighter-card {
        width: 90%;
    }
    
    #vs-large { 
        font-size: 10rem;
        width: 100%;
        overflow: hidden;
    }
    
    .round-row {
        grid-template-columns: 1fr 100px 1fr;
        width: 100%;
    }
}