/* === VARIABLES === */
:root {
    --wow-blue: #0e1a40;
    --wow-gold: #ffd100;
    --wow-dark: #1a1a1a;
    --wow-silver: #c0c0c0;
    --general-color: #fbff00;
    --commander-color: #ffbf00;
    --colonel-color: #ffd900;
    --captain-pvp: #ff0000;
    --captain-pve: #00ff00;
    --captain-rol: #002fff;
    --lieutenant-color: #00ccff;
}


/* === BODY === */
body {
    font-family: 'Cinzel Decorative', cursive;
    background-color: var(--wow-dark);
    color: white;
    background-image: url('../imgs/elementos/wall.png');
    background-size: cover;
    background-attachment: fixed;
}


/* === NAVBAR === */
.navbar {
    background-color: rgba(0, 40, 80, 0.95);
    border-bottom: 2px solid var(--wow-gold);
    z-index: 1030;
    transition: all 0.3s ease;
}


/* === NAVBAR BRAND === */
.navbar-brand {
    font-family: 'warcraft', sans-serif;

    color: var(--wow-gold) !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    font-size: 1.5rem;
}


/* === NAVBAR LINKS === */
.nav-link {
    color: white !important;
    transition: all 0.3s;
    font-family: 'Cinzel Decorative', cursive;
    padding: 0.5rem 1rem;
    position: relative;
}

.nav-link:hover {
    color: var(--wow-gold) !important;
    transform: scale(1.05);
}

/* Estilos para el menú desplegable */

/* === DROPDOWN MENU === */
.dropdown-menu {
    background-color: rgba(14, 26, 64, 0.95) !important;
    border: 1px solid var(--wow-gold);
    border-radius: 0;
}


/* === DROPDOWN ITEM === */
.dropdown-item {
    color: white !important;
    font-family: 'Cinzel Decorative', cursive;
    transition: all 0.2s;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: rgba(30, 45, 90, 0.8) !important;
    color: var(--wow-gold) !important;
    transform: translateX(5px);
}

/* Header original */
.guild-banner {
    font-family: 'warcraft', sans-serif;
    background: linear-gradient(rgba(0, 0, 0, 0.588), rgba(0, 0, 0, 0.7));
    background-size: cover;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 30px;

}


/* === BANNERS === */
.guild-title {
    font-size: 5rem;
    color: var(--wow-gold);
    text-shadow: 3px 3px 5px black;
    font-family: 'warcraft', sans-serif;
}

@media (max-width: 768px) {

    /* === BANNERS === */
    .guild-title {
        font-size: 2rem;
    }
}

.guild-motto {
    font-size: 1.5rem;
    font-style: italic;
    color: white;
    text-shadow: 2px 2px 3px black;
    font-family: 'Cinzel Decorative', cursive;
}

/* Descripción de la guild original */
.guild-description {
    background-image: url('../imgs/elementos/scroll_material.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 40px;
    text-align: justify;
    font-weight: bold;
}

.guild-description-p {
    color: #472e00;
    margin-bottom: 1rem;
    font-weight: bold;
    font-size: 1.1rem;
    padding: 0 10px;
    line-height: 1.6;
}



/* Estructura de mando mejorada */
.command-structure {
    /* ...tus estilos previos... */
    background: url('../imgs/elementos/Pergamino_recortado.png');

    background-size: 100%;
    background-repeat: repeat-y;
    background-position: center top;
    z-index: 5;
    padding-left: 100px;
    padding-right: 100px;

    .hierarchy-container {
        /* transform: translateY(-250px); */
        z-index: 10;
        position: relative;
    }
}

.command-structure::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    opacity: 0.1;
    pointer-events: none;
}

.section-title {
    color: var(--commander-color);
    font-family: 'Marcellus SC', serif;
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    display: block;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    grid-column: 1 / -1;
    text-align: center;
    width: 100%;
}

/*
        .section-title::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 50%;
            transform: translateX(-50%);
            width: 100px;
            height: 3px;
            background: rgba(255, 209, 0, 0.5);
        }
        */

/* Jerarquía visual mejorada */
.hierarchy-container {
    position: relative;
    min-height: 100px;
}

.hierarchy-line {
    position: absolute;
    width: 2px;
    background: linear-gradient(to bottom, var(--wow-gold), transparent);
    left: 50%;
    top: 0;
    bottom: 0;
    transform: translateX(-50%);
    z-index: 1;
}

.rank-level {
    position: relative;
    z-index: 2;
    margin-bottom: 30px;
}

/* Tarjetas de miembros mejoradas */
.member-card {
    background: linear-gradient(135deg, rgb(0 2 3) 0%, rgb(24 64 91) 100%);
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 8px;
    border-left: 5px solid;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 5;
    text-align: left;
}

.member-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.member-card.general {
    border-left-color: var(--general-color);
}

.member-card.general::before {
    background: linear-gradient(90deg, transparent, var(--general-color), transparent);
}

.member-card.commander {
    border-left-color: var(--commander-color);
}

.member-card.commander::before {
    background: linear-gradient(90deg, transparent, var(--commander-color), transparent);
}

.member-card.colonel {
    border-left-color: var(--colonel-color);
}

.member-card.colonel::before {
    background: linear-gradient(90deg, transparent, var(--colonel-color), transparent);
}

.member-card.captainpvp {
    border-left-color: var(--captain-pvp);
}

.member-card.captainpvp::before {
    background: linear-gradient(90deg, transparent, var(--captain-pvp), transparent);
}

.member-card.captainpve {
    border-left-color: var(--captain-pve);
}

.member-card.captainpve::before {
    background: linear-gradient(90deg, transparent, var(--captain-pve), transparent);
}

.member-card.captainrol {
    border-left-color: var(--captain-rol);
}

.member-card.captainrol::before {
    background: linear-gradient(90deg, transparent, var(--captain-rol), transparent);
}

.member-card.lieutenant {
    border-left-color: var(--lieutenant-color);
    /* margin-left: 30px; */
    background: linear-gradient(135deg, rgb(0 33 65 / 95%) 0%, rgb(0 65 109) 100%)
}

.member-card.lieutenant::before {
    background: linear-gradient(90deg, transparent, var(--lieutenant-color), transparent);
}

.member-name {
    font-weight: bold;
    color: var(--commander-color);
    margin-bottom: 8px;
    letter-spacing: 1px;
    font-size: 1.1rem;
    position: relative;
    display: inline-block;
}

.member-name::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: currentColor;
}

.member-role {
    font-size: 1rem;
    color: #aaa;
    font-family: 'Courier New', Courier, monospace;
}

.supervised-by {
    font-size: 0.85rem;
    color: #888;
    margin-top: 10px;
    font-family: 'Courier New', Courier, monospace;
    font-style: italic;
}

/* Divisiones mejoradas */
.division-title {
    color: var(--wow-gold);
    font-family: 'Marcellus SC', serif;
    font-size: 2rem;
    margin: 0 0 20px 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    display: block;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    grid-column: 1 / -1;
    text-align: left;
    width: 100%;
}

.division-title i {
    margin-right: 10px;
}


.header-scroll {
    height: 300px;
    background-image: url(../imgs/elementos/Pergamino_Header.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-color: transparent;
    margin-bottom: -20px;
    position: relative;
    z-index: -1;
    display: flex;
    align-items: center;
    justify-content: center;

}

.footer-scroll {
    height: 300px;
    background-image: url(../imgs/elementos/Pergamino_footer.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-color: transparent;
    margin-top: -20px;
    position: relative;
    z-index: -1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.member-avatar {
    width: 3.5vw;
    height: 3.5vw;
    border-radius: 100%;
    border: 2px solid var(--commander-color);
    background-image: url('../imgs/personajes/noprofile.jpeg');
    background-size: cover;
    background-position: center;
    margin-right: 15px;
    flex-shrink: 0;
    top: 15px
}

footer {
    background-color: rgb(0, 40, 80, 0.95);
    color: white;
    padding: 20px 0;
    margin-top: 50px;
    border-top: 2px solid var(--wow-gold);
}

.social-icon {
    color: white;
    font-size: 1.5rem;
    margin: 0 10px;
    transition: all 0.3s;
}

.social-icon:hover {
    color: var(--wow-gold);
    transform: scale(1.2);
}

/* Responsive */
@media (max-width: 768px) {

    /* === BANNERS === */
    .guild-title {
        font-size: 2rem;
    }

    .guild-motto {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .member-name {
        font-size: 1.1rem;
    }

    .member-card {
        padding: 15px;
    }
}


/* === MEDIA QUERIES === */
@media (max-width: 576px) {
    .member-card.lieutenant {
        margin-left: 15px;
    }

    .subdivision {
        margin-left: 15px;
        padding-left: 10px;
    }
}

/* Variables y estilos base */

/* === VARIABLES === */
:root {
    --wow-blue: #0e1a40;
    --wow-gold: #ffd100;
    --wow-dark: #1a1a1a;
    --wow-light-text: #f8f9fa;
    --wow-dark-bg: rgba(23, 23, 24, 0.85);
    --wow-card-border: 4px solid var(--wow-gold);
}


/* === BODY === */
body {
    font-family: 'Cinzel Decorative', cursive, serif;
    background-color: var(--wow-dark);
    color: var(--wow-light-text);
    background-image: url('../imgs/elementos/wall.png');
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: center;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Tipografía */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    letter-spacing: 1px;
}

/* Navbar */

/* === NAVBAR === */
.navbar {
    background-color: rgba(0, 40, 80, 0.95);
    border-bottom: 2px solid var(--wow-gold);
    z-index: 1030;
    transition: all 0.3s ease;
}


/* === NAVBAR BRAND === */
.navbar-brand {
    font-family: 'warcraft', sans-serif;

    color: var(--wow-gold);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    font-size: 1.5rem;
}


/* === NAVBAR LINKS === */
.nav-link {
    color: var(--wow-light-text);
    transition: color 0.3s ease;
    font-family: 'Cinzel Decorative', cursive, serif;
    padding: 0.5rem 1rem;
    position: relative;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--wow-gold);
}

/* Menú desplegable */

/* === DROPDOWN MENU === */
.dropdown-menu {
    background-color: rgba(14, 26, 64, 0.98);
    border: 1px solid var(--wow-gold);
    border-radius: 0;
    margin-top: 0;
}


/* === DROPDOWN ITEM === */
.dropdown-item {
    color: var(--wow-light-text);
    font-family: 'Cinzel Decorative', cursive, serif;
    transition: all 0.3s ease;
    padding: 0.5rem 1.5rem;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: rgba(30, 45, 90, 0.8);
    color: var(--wow-gold);
    padding-left: 1.75rem;
}

.dropdown-toggle::after {
    border-top-color: var(--wow-gold);
    transition: transform 0.3s ease;
}

.show .dropdown-toggle::after {
    transform: rotate(180deg);
}

/* Banner superior */

/* === BANNERS === */
.uniforms-banner {
    font-family: 'MedievalSharp', cursive, serif;
    background: rgba(0, 0, 0, 0.395);
    background-size: cover;
    background-position: center;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 30px;
}


/* === BANNERS === */
.guild-title {
    color: var(--wow-gold);
    font-size: 2.8rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    margin-bottom: 0.5rem;
}

.uniform-description {
    font-size: 1.3rem;
    color: var(--wow-light-text);
}

/* Secciones */

/* === SECCIONES GENERALES === */
.section-title+p {
    font-family: 'Cinzel Decorative', cursive, serif;
    font-size: 1.1rem;
    color: #f0e6d2;
    line-height: 1.7;
    margin: 0 0 25px 0;
    text-align: justify;
    padding: 15px;
    background-color: rgba(0, 0, 0, 0.7);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    border-radius: 0 5px 5px 0;
}

.division-title {
    color: var(--wow-gold);
    margin-top: 30px;
    margin-bottom: 15px;
    padding-bottom: 5px;
    border-bottom: 1px dashed var(--wow-gold);
    font-family: 'MedievalSharp', cursive, serif;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
}

.uniform-section {

    border-radius: 10px;

    font-family: 'MedievalSharp', cursive, serif;
    background-image: url("../imgs/elementos/Pergamino_recortado.png");
    background-size: 100%;
    background-repeat: repeat-y;
    background-position: center top;
    padding-left: 110px;
    padding-right: 110px;

}

.uniforms-grid-2x12 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .uniforms-grid-2x12 {
        grid-template-columns: 1fr;
    }
}

/* Grid de uniformes */
.uniforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Cards de uniformes */

/* === CARDS === */
.uniform-card {
    background: linear-gradient(135deg, rgba(0, 24, 48, 0.95) 0%, rgb(1, 60, 99) 100%);
    border-radius: 10px;

    border-left: 5px solid;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);

    position: relative;
    overflow: hidden;
}

.uniform-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.uniform-card a {
    text-decoration: none;
    color: inherit;
    display: block;

}

.uniform-image {
    width: 100%;
    object-fit: cover;
    border-radius: 5px;
    border: 1px solid var(--wow-gold);
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.uniform-card:hover .uniform-image {
    transform: scale(1.02);
}

.uniform-name {
    font-weight: bold;
    color: var(--wow-gold);
    margin-bottom: 15px;
    font-size: 1.5rem;
    font-family: 'MedievalSharp', cursive, serif;
}

.uniform-description {
    font-size: 1rem;
    color: #d1d1d1;
    margin-bottom: 20px;
    line-height: 1.5;
}

.uniform-requirements {
    font-size: 0.9rem;
    color: #b1b1b1;
    font-style: italic;
    line-height: 1.6;
}

.rank-badge {
    display: inline-block;
    background-color: rgba(255, 209, 0, 0.2);
    color: var(--wow-gold);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.85rem;
    margin-right: 10px;
    margin-bottom: 5px;
    border: 1px solid var(--wow-gold);
    font-family: 'Cinzel Decorative', cursive, serif;
}

/* Footer */

/* === FOOTER === */
footer {
    background-color: rgb(0, 40, 80, 0.95);
    color: var(--wow-light-text);
    padding: 30px 0;
    margin-top: 50px;
    border-top: 2px solid var(--wow-gold);
    width: 100%;
}

.social-icon {
    color: var(--wow-light-text);
    font-size: 1.5rem;
    margin: 0 15px;
    transition: all 0.3s ease;
    display: inline-block;
}

.social-icon:hover {
    color: var(--wow-gold);
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 992px) {

    /* === BANNERS === */
    .guild-title {
        font-size: 2.3rem;
    }


    /* === BANNERS === */
    .uniforms-banner {
        height: 200px;
    }

    .section-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {

    /* === BANNERS === */
    .uniforms-banner {
        height: 180px;
    }


    /* === BANNERS === */
    .guild-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.6rem;
    }




}


/* === MEDIA QUERIES === */
@media (max-width: 576px) {

    /* === NAVBAR BRAND === */
    .navbar-brand {
        font-size: 1.2rem;
    }


    /* === BANNERS === */
    .uniforms-banner {
        height: 150px;
    }


    /* === BANNERS === */
    .guild-title {
        font-size: 1.6rem;
    }

    .uniform-description {
        font-size: 1rem;
    }

    .uniforms-grid {
        grid-template-columns: 1fr;
    }
}

/* Variables y estilos base */

/* === VARIABLES === */
:root {
    --wow-blue: #0e1a40;
    --wow-gold: #ffd100;
    --wow-dark: #1a1a1a;
    --wow-light-text: #f8f9fa;
    --wow-dark-bg: rgba(23, 23, 24, 0.85);
    --wow-card-border: 4px solid var(--wow-gold);
}


/* === BODY === */
body {
    font-family: 'Cinzel Decorative', cursive, serif;
    background-color: var(--wow-dark);
    color: var(--wow-light-text);
    background-image: url('../imgs/elementos/wall.png');
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: center;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Tipografía */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
}

/* Navbar */

/* === NAVBAR === */
.navbar {
    background-color: rgba(0, 40, 80, 0.95);
    border-bottom: 2px solid var(--wow-gold);
    z-index: 1030;
    transition: all 0.3s ease;
}


/* === NAVBAR BRAND === */
.navbar-brand {
    font-family: 'warcraft', sans-serif;

    color: var(--wow-gold);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    font-size: 1.5rem;
}


/* === NAVBAR LINKS === */
.nav-link {
    color: var(--wow-light-text);
    transition: color 0.3s ease;
    font-family: 'Cinzel Decorative', cursive, serif;
    padding: 0.5rem 1rem;
    position: relative;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--wow-gold);
}

/* Menú desplegable */

/* === DROPDOWN MENU === */
.dropdown-menu {
    background-color: rgba(14, 26, 64, 0.98);
    border: 1px solid var(--wow-gold);
    border-radius: 0;
    margin-top: 0;
}


/* === DROPDOWN ITEM === */
.dropdown-item {
    color: var(--wow-light-text);
    font-family: 'Cinzel Decorative', cursive, serif;
    transition: all 0.3s ease;
    padding: 0.5rem 1.5rem;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: rgba(30, 45, 90, 0.8);
    color: var(--wow-gold);
    padding-left: 1.75rem;
}

.dropdown-toggle::after {
    border-top-color: var(--wow-gold);
    transition: transform 0.3s ease;
}

.show .dropdown-toggle::after {
    transform: rotate(180deg);
}

/* Banner superior */

/* === BANNERS === */
.schedule-banner {
    font-family: 'MedievalSharp', cursive, serif;
    background: rgba(0, 0, 0, 0.395);
    background-size: cover;
    background-position: center;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--wow-gold);
}


/* === BANNERS === */
.guild-title {
    color: var(--wow-gold);
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.uniform-description {
    font-size: 1.3rem;
    color: var(--wow-light-text);
    max-width: 80%;
    margin: 0 auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* Tarjetas de horario */
.schedule-card {
    background-color: var(--wow-dark-bg);
    border: var(--wow-card-border);
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    margin-bottom: 2rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.schedule-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.7);
    transform: translateY(-3px);
}

.schedule-card .card-header {
    background: linear-gradient(to right, rgba(14, 26, 64, 0.7) 0%, rgba(14, 26, 64, 0.3) 100%);
    color: var(--wow-gold);
    font-weight: bold;
    border-bottom: 2px solid var(--wow-gold);
    padding: 15px;
    position: relative;
    overflow: hidden;
}

.schedule-card .card-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--wow-gold), transparent);
}

/* Tablas de horarios */
.schedule-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 0;
    background-color: rgba(0, 0, 0, 0.5);
    table-layout: fixed;
    overflow-x: hidden;
}

.schedule-table th {
    background-color: rgba(14, 26, 64, 0.8);
    color: var(--wow-gold);
    font-family: 'MedievalSharp', cursive;
    padding: 10px 5px;
    text-align: center;
    border-bottom: 2px solid var(--wow-gold);
    position: sticky;
    top: 0;
    z-index: 10;
    font-size: 0.9rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
}

.schedule-table td {
    padding: 8px 5px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 209, 0, 0.2);
    transition: all 0.3s ease;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    word-break: break-word;
}

.schedule-table tr:hover td {
    background-color: rgba(255, 209, 0, 0.1);
}

.time-label {
    font-weight: bold;
    color: var(--wow-gold);
    font-family: 'Cinzel', serif;
    position: relative;
    background-color: rgba(14, 26, 64, 0.5);
    font-size: 0.8rem;
    width: 100px;
}

.time-label::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 60%;
    background-color: rgba(255, 209, 0, 0.3);
}

/* Estilos para eventos */
.pve-event {
    background-color: var(--wow-pve);
    color: white;
    border-radius: 4px;
    padding: 4px 8px;
    font-weight: bold;
    display: inline-block;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    font-family: 'Cinzel', serif;
    font-size: 0.85rem;
    max-width: 100%;
}

.pve-event::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.5);
}

.pvp-event {
    background-color: var(--wow-pvp);
    color: white;
    border-radius: 4px;
    padding: 4px 8px;
    font-weight: bold;
    display: inline-block;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    font-family: 'Cinzel', serif;
    font-size: 0.85rem;
    max-width: 100%;
    text-overflow: ellipsis;
    white-space: normal;
}

.pvp-event::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.5);
}

.social-event {
    background-color: var(--wow-social);
    color: white;
    border-radius: 4px;
    padding: 4px 8px;
    font-weight: bold;
    display: inline-block;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    font-family: 'Cinzel', serif;
    font-size: 0.85rem;
    max-width: 100%;
    text-overflow: ellipsis;
    white-space: normal;
}

.social-event::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.5);
}

/* Franja horaria actual */
.current-time {
    background-color: rgba(255, 209, 0, 0.3);
    position: relative;
    z-index: 1;
}

.current-time::before {
    content: '';
    position: relative;
    inset: 0 0 0 0;
    width: 5px;
    background-color: var(--wow-gold);
    z-index: 0;
}

/* Indicador de evento actual */
.current-event-indicator {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--wow-current);
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    max-width: 90%;
    animation: pulse 2s infinite;
    backdrop-filter: blur(5px);
    border: 1px solid var(--wow-gold);
    font-family: 'Cinzel Decorative', cursive;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.current-event-indicator i {
    margin-right: 10px;
    font-size: 1.2rem;
}

/* Hora del servidor */
.server-time-display {
    font-family: 'Cinzel Decorative', cursive;
    color: var(--wow-gold);
    text-shadow: 0 0 5px rgba(255, 209, 0, 0.5);
    white-space: nowrap;
    overflow: hidden;
}

.server-time-badge {
    background-color: var(--wow-blue);
    color: var(--wow-gold);
    border: 1px solid var(--wow-gold);
    white-space: nowrap;
}

/* Animaciones */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 209, 0, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(255, 209, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 209, 0, 0);
    }
}

/* Footer */

/* === FOOTER === */
footer {
    background-color: rgb(0, 40, 80, 0.95);
    color: var(--wow-light-text);
    padding: 30px 0;
    margin-top: 50px;
    border-top: 2px solid var(--wow-gold);
    text-align: center;
    font-family: 'Cinzel Decorative', cursive;
}

.social-icon {
    color: var(--wow-light-text);
    font-size: 1.5rem;
    margin: 0 15px;
    transition: all 0.3s ease;
    display: inline-block;
}

.social-icon:hover {
    color: var(--wow-gold);
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 768px) {
    
/* === BANNERS === */
.schedule-banner {
        height: 150px;
    }

    
/* === BANNERS === */
.guild-title {
        font-size: 2rem;
    }

    .uniform-description {
        font-size: 1rem;
    }

    .schedule-table th,
    .schedule-table td {
        padding: 6px 3px;
        font-size: 0.8rem;
    }

    .pve-event,
    .pvp-event,
    .social-event {
        padding: 3px 6px;
        font-size: 0.75rem;
    }

    .current-event-indicator {
        bottom: 10px;
        padding: 10px 15px;
        font-size: 0.9rem;
    }
}


/* === MEDIA QUERIES === */
@media (max-width: 576px) {
    .schedule-table {
        display: table;
        white-space: normal;
        overflow-x: hidden;
    }

    .schedule-table th,
    .schedule-table td {
        display: table-cell;
        white-space: normal;
    }

    
/* === BANNERS === */
.guild-title {
        font-size: 1.8rem;
    }

    .server-time-display .display-4 {
        font-size: 2rem;
    }
}

/* Variables y estilos base */

/* === VARIABLES === */
:root {
    --wow-blue: #0e1a40;
    --wow-gold: #ffd100;
    --wow-dark: #1a1a1a;
    --wow-light-text: #f8f9fa;
    --wow-dark-bg: rgba(23, 23, 24, 0.85);
    --wow-card-border: 4px solid var(--wow-gold);
    --wow-pve: #27ae60;
    --wow-pvp: #e74c3c;
    --wow-social: #8e44ad;
    --wow-current: rgba(255, 209, 0, 0.7);
}


/* === BODY === */
body {
    font-family: 'Cinzel Decorative', cursive, serif;
    background-color: var(--wow-dark);
    color: var(--wow-light-text);
    background-image: url('../imgs/elementos/wall.png');
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: center;
    line-height: 1.6;
}

/* Tipografía */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
}

/* Navbar */
/* Navbar */

/* === NAVBAR === */
.navbar {
    background-color: rgba(0, 40, 80, 0.95);
    border-bottom: 2px solid var(--wow-gold);
    z-index: 1030;
    transition: all 0.3s ease;
}


/* === NAVBAR BRAND === */
.navbar-brand {
    font-family: 'warcraft', sans-serif;

    color: var(--wow-gold);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    font-size: 1.5rem;
}


/* === NAVBAR LINKS === */
.nav-link {
    color: var(--wow-light-text);
    transition: color 0.3s ease;
    font-family: 'Cinzel Decorative', cursive, serif;
    padding: 0.5rem 1rem;
    position: relative;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--wow-gold);
}

/* Menú desplegable */

/* === DROPDOWN MENU === */
.dropdown-menu {
    background-color: rgba(14, 26, 64, 0.98);
    border: 1px solid var(--wow-gold);
    border-radius: 0;
    margin-top: 0;
}


/* === DROPDOWN ITEM === */
.dropdown-item {
    color: var(--wow-light-text);
    font-family: 'Cinzel Decorative', cursive, serif;
    transition: all 0.3s ease;
    padding: 0.5rem 1.5rem;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: rgba(30, 45, 90, 0.8);
    color: var(--wow-gold);
    padding-left: 1.75rem;
}

.dropdown-toggle::after {
    border-top-color: var(--wow-gold);
    transition: transform 0.3s ease;
}

.show .dropdown-toggle::after {
    transform: rotate(180deg);
}

/* Banner superior */

/* === BANNERS === */
.uniforms-banner {
    font-family: 'MedievalSharp', cursive, serif;
    background: rgba(0, 0, 0, 0.395);
    background-size: cover;
    background-position: center;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 30px;
}


/* === BANNERS === */
.guild-title {
    color: var(--wow-gold);
    font-size: 2.8rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    margin-bottom: 0.5rem;
}

.guild-motto {
    font-size: 1.2rem;
    color: var(--wow-light-text);
    margin-top: 0.5rem;
}

/* Secciones */

/* === SECCIONES GENERALES === */
.section-title+p {
    font-family: 'Cinzel Decorative', cursive, serif;
    font-size: 1.1rem;
    color: #f0e6d2;
    line-height: 1.7;
   
    text-align: justify;
    padding: 15px;
    background-color: rgba(0, 0, 0, 0.7);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    border-radius: 0 5px 5px 0;
}



.uniform-category {
    /* margin-bottom: 30px; */
}

.division-title {
    color: var(--wow-gold);
    margin-top: 30px;
    margin-bottom: 15px;
    padding-bottom: 5px;
    border-bottom: 1px dashed var(--wow-gold);
    font-family: 'MedievalSharp', cursive, serif;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
}

/* Grid de uniformes */
.uniforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

/* Cards de uniformes */

/* === CARDS === */
.uniform-card {
    background-color: var(--wow-dark-bg);
    border-radius: 8px;
    padding: 10px;
    
    border-left: 4px solid var(--wow-gold);
    transition: all 0.3s ease;

    position: relative;
    overflow: hidden;
}

.uniform-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.uniform-card a {
    text-decoration: none;
    color: inherit;
    display: block;

}

.uniform-name {
    font-weight: bold;
    color: var(--wow-gold);
    margin-bottom: 10px;
    font-size: 1.4rem;
    font-family: 'MedievalSharp', cursive, serif;
}

.uniform-description {
    font-size: 0.95rem;
    color: #ccc;
    margin-bottom: 15px;
}

.uniform-requirements {
    font-size: 0.85rem;
    color: #aaa;
    font-style: italic;
}

.rank-badge {
    display: inline-block;
    background-color: rgba(255, 209, 0, 0.2);
    color: var(--wow-gold);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    margin-right: 8px;
    border: 1px solid var(--wow-gold);
    font-family: 'Cinzel Decorative', cursive, serif;
}

/* Iconos */
.specialization-icon {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    object-fit: contain;
}

/* Footer */

/* === FOOTER === */
footer {
    background-color: rgb(0, 40, 80, 0.95);
    color: var(--wow-light-text);
    padding: 30px 0;
    margin-top: 50px;
    border-top: 2px solid var(--wow-gold);
}

.social-icon {
    color: var(--wow-light-text);
    font-size: 1.5rem;
    margin: 0 15px;
    transition: all 0.3s ease;
    display: inline-block;
}

.social-icon:hover {
    color: var(--wow-gold);
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 768px) {
    
/* === BANNERS === */
.uniforms-banner {
        height: 150px;
    }

    
/* === BANNERS === */
.guild-title {
        font-size: 2rem;
    }

    .guild-motto {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .uniform-section {
        padding: 20px;
    }

    .uniforms-grid {
        grid-template-columns: 1fr;
    }
}


/* === MEDIA QUERIES === */
@media (max-width: 576px) {
    
/* === NAVBAR BRAND === */
.navbar-brand {
        font-size: 1.2rem;
    }

    
/* === BANNERS === */
.uniforms-banner {
        height: 120px;
    }

    
/* === BANNERS === */
.guild-title {
        font-size: 1.5rem;
    }
}


/* === VARIABLES === */
:root {
    --wow-blue: #0e1a40;
    --wow-blueligh: rgba(0, 40, 80, 0.95);
    --wow-gold: #ffd100;
    --wow-dark: #1a1a1a;
    --wow-light-text: #f8f9fa;
    --wow-dark-bg: rgba(23, 23, 24, 0.85);
    --wow-guild: rgb(0, 162, 0);
    --wow-lore: rgba(255, 166, 0, 0.749);
}


/* === BODY === */
body {
    font-family: 'Cinzel Decorative', cursive, serif;
    background-color: var(--wow-dark);
    color: var(--wow-light-text);
    background-image: var(--wow-blue);
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: center;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* Navbar mejorada */

/* === NAVBAR === */
.navbar {
    background-color: rgba(0, 40, 80, 0.95);
    border-bottom: 2px solid var(--wow-gold);
    padding: 0.5rem 1rem;
    z-index: 1030;
    transition: all 0.3s ease;
}


/* === NAVBAR BRAND === */
.navbar-brand {
    font-family: 'warcraft', serif;
    color: var(--wow-gold);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    font-size: 1.5rem;
}


/* === NAVBAR LINKS === */
.nav-link {
    color: var(--wow-light-text);
    transition: color 0.3s ease;
    font-family: 'Cinzel Decorative', cursive, serif;
    padding: 0.5rem 1rem;
    position: relative;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--wow-gold);
}

/* Menú desplegable */

/* === DROPDOWN MENU === */
.dropdown-menu {
    background-color: rgba(14, 26, 64, 0.98);
    border: 1px solid var(--wow-gold);
    border-radius: 0;
    margin-top: 0;
}


/* === DROPDOWN ITEM === */
.dropdown-item {
    color: var(--wow-light-text);
    font-family: 'Cinzel Decorative', cursive, serif;
    transition: all 0.3s ease;
    padding: 0.5rem 1.5rem;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: rgba(30, 45, 90, 0.8);
    color: var(--wow-gold);
    padding-left: 1.75rem;
}

.dropdown-toggle::after {
    border-top-color: var(--wow-gold);
    transition: transform 0.3s ease;
}

.show .dropdown-toggle::after {
    transform: rotate(180deg);
}

/* Banner de personaje */

/* === BANNERS === */
.character-banner {
    font-family: 'MedievalSharp', cursive;
    /* background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
    background-size: cover;
    background-position: center; */
    height: 120px;
    max-width: 1200px;
    margin: 0 auto;
    display: block;
    align-items: center;
    justify-content: center;
    margin-top: 1rem;
    text-align: center;
    /* margin-bottom: 30px; */
    /* border-bottom: 3px solid var(--wow-gold); */
    position: relative;
}

.character-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: linear-gradient(to bottom, transparent 60%, rgba(0, 0, 0, 0.9)); */
}

.character-title {
    color: var(--commander-color);
    font-size: 3rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    margin-bottom: 0.5rem;
    margin-top: 0.5rem;
    position: relative;
    font-family: 'Marcellus SC', serif;
}

.character-subtitle {
    font-size: 1.5rem;
    color: var(--wow-light-text);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    margin-top: 0.5rem;
    font-style: italic;
    position: relative;
}

/* Contenedor principal */
.main-container {
    max-width: 1200px;
    margin: 0 auto 50px;
    padding: 0 20px;
}

.main-container-personaje {
    max-width: 1200px;
    margin: 0 auto 50px;
    margin-top: 1rem;
    padding: 0 20px;
    /* background: url('../imgs/elementos/Pergamino_recortado.png');
    padding-left: 100px;
    padding-right: 100px;
    background-size: 100%;
    background-repeat: repeat-y;
    background-position: center top; */
    background: linear-gradient(135deg, rgba(0, 2, 3, 0.915) 0%, rgb(0, 40, 80, 0.882) 100%);
    border: 4mm ridge var(--commander-color);
}

/* Sección de perfil */
.profile-section {
    display: grid;
    grid-template-columns: 250px 1fr;
    /* background-color: var(--wow-dark-bg); */
    padding: 30px;
    padding-top: 0;
    padding-bottom: 0;
    margin-bottom: 30px;
    border-radius: 5px;
    /* border-left: 5px solid var(--wow-blueligh);
    border-right: 5px solid var(--wow-blueligh); */
    position: relative;
    overflow: hidden;
}

.profile-picture {
    width: 200px;
    height: 200px;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
    align-self: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.profile-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.profile-picture:hover img {
    transform: scale(1.05);
}

.character-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-content: space-evenly;
    column-gap: 20px;
   
}

.info-group {
    /* margin-bottom: 20px; */
}

.info-label {
    display: block;
    margin-bottom: 5px;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    color: var(--wow-gold);
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.info-value {
    font-family: 'EB Garamond', serif;
    font-size: 1.1rem;
    color: var(--wow-light-text);
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 209, 0, 0.1);
}

/* Sección de insignias */
.badges-section {
    background-color: var(--wow-dark-bg);
    padding: 15px;
    border-radius: 5px;
    border-right: 5px solid var(--wow-gold);
    border-left: 5px solid var(--wow-gold);
    text-align: center;
}

.badge-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 25px;
    gap: 20px;
}

.badge {
    width: 120px;
    height: 120px;
    background-color: rgb(0, 0, 0);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--wow-gold);
    border: 2px solid var(--wow-gold);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.badge img {
    width: 80%;
    height: 80%;
    object-fit: contain;
}

.badge:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 10px 25px var(--wow-gold);
    z-index: 10;
}

/* Sección de contenido */
.content-section {
    display: grid;
    grid-template-columns: 1fr;
    margin-bottom: 30px;
}

.content-block {
    padding: 30px;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
}

/* .guild-block {
    border-left: 5px solid var(--wow-guild);
    border-right: 5px solid var(--wow-guild);
}

.history-block {
    border-left: 5px solid var(--wow-lore);
    border-right: 5px solid var(--wow-lore);
} */


/*
    .section-title::after {
        content: '';
        position: absolute;
        bottom: -8px;
        left: 0;
        width: 100%;
        height: 2px;
        background: linear-gradient(to right, transparent, var(--wow-gold), transparent);
    }
    */

.scroll-text {
    font-family: 'EB Garamond', serif;
    font-size: 1.2rem;
    line-height: 1.8;
    text-align: justify;
    position: relative;
    z-index: 1;
}

/* Footer mejorado */

/* === FOOTER === */
footer {
    background-color: rgb(0, 40, 80, 0.95);
    color: var(--wow-light-text);
    padding: 30px 0;
    margin-top: 50px;
    border-top: 2px solid var(--wow-gold);
}

.social-icon {
    color: var(--wow-light-text);
    font-size: 1.5rem;
    margin: 0 15px;
    transition: all 0.3s ease;
    display: inline-block;
}

.social-icon:hover {
    color: var(--wow-gold);
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 992px) {
    .profile-section {
        grid-template-columns: 1fr;
    }

    .profile-picture {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .character-title {
        font-size: 2.5rem;
    }

    .character-subtitle {
        font-size: 1.2rem;
    }

    .character-info {
        grid-template-columns: 1fr;
    }

    .badge {
        width: 100px;
        height: 100px;
    }
}

/* Variables y estilos base */

/* === VARIABLES === */
:root {
    --wow-blue: #0e1a40;
    --wow-gold: #ffd100;
    --wow-dark: #1a1a1a;
    --wow-light-text: #f8f9fa;
    --wow-dark-bg: rgba(23, 23, 24, 0.85);
    --wow-card-border: 4px solid var(--wow-gold);
}


/* === BODY === */
body {
    font-family: 'Cinzel Decorative', cursive, serif;
    background-color: var(--wow-dark);
    color: var(--wow-light-text);
    background-image: url(../imgs/elementos/wall.png);
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    line-height: 1.6;
}

/* Tipografía */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
}

/* Navbar */

/* === NAVBAR === */
.navbar {
    background-color: rgba(0, 40, 80, 0.95);
    border-bottom: 2px solid var(--wow-gold);
    padding: 0.5rem 1rem;
    z-index: 1030;
    transition: all 0.3s ease;
}


/* === NAVBAR BRAND === */
.navbar-brand {
    font-family: 'warcraft', sans-serif;
    color: var(--wow-gold);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    font-size: 1.5rem;
}


/* === NAVBAR LINKS === */
.nav-link {
    color: var(--wow-light-text);
    transition: color 0.3s ease;
    font-family: 'Cinzel Decorative', cursive;
    padding: 0.5rem 1rem;
    position: relative;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--wow-gold);
}

/* Menú desplegable */

/* === DROPDOWN MENU === */
.dropdown-menu {
    background-color: rgba(14, 26, 64, 0.98);
    border: 1px solid var(--wow-gold);
    border-radius: 0;
    margin-top: 0;
}


/* === DROPDOWN ITEM === */
.dropdown-item {
    color: var(--wow-light-text);
    font-family: 'Cinzel Decorative', cursive;
    transition: all 0.3s ease;
    padding: 0.5rem 1.5rem;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: rgba(30, 45, 90, 0.8);
    color: var(--wow-gold);
    padding-left: 1.75rem;
}

.dropdown-toggle::after {
    border-top-color: var(--wow-gold);
    transition: transform 0.3s ease;
}

.show .dropdown-toggle::after {
    transform: rotate(180deg);
}

/* Banner de rangos */
.rangos-banner {
    font-family: 'MedievalSharp', cursive, serif;
    background: rgba(0, 0, 0, 0.395);
    background-size: cover;
    background-position: center;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 30px;
}


/* === BANNERS === */
.guild-title {
    color: var(--wow-gold);
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
}

.uniform-description {
    font-size: 1.3rem;
    color: var(--wow-light-text);
    max-width: 80%;
    margin: 0 auto;
}

/* Footer */

/* === FOOTER === */
footer {
    background-color: rgb(0, 40, 80, 0.95);
    color: var(--wow-light-text);
    padding: 30px 0;
    margin-top: 50px;
    border-top: 2px solid var(--wow-gold);
    text-align: center;
}

.social-icon {
    color: var(--wow-light-text);
    font-size: 1.5rem;
    margin: 0 15px;
    transition: all 0.3s ease;
    display: inline-block;
}

.social-icon:hover {
    color: var(--wow-gold);
    transform: translateY(-3px);
}

/* Estilos de la jerarquía */
.rangos-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Cinzel Decorative', cursive;
}

.rango-accordion.wow-style {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
    background-color: var(--wow-dark-bg);
    border-left: var(--wow-card-border);
    border-left-color: rgba(15, 69, 215, 0.571);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.rango-accordion.wow-style:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.7);
}

.rango-accordion.mercenario {
    border-left-color: #7b000091;
    background: rgba(0, 0, 0, 0.2);
}

.rango-accordion.teniente-coronel {
    border-left-color: #ffd100;
}

.rango-accordion.comandante {
    border-left-color: #8d9093;
}

.rango-accordion.teniente {
    border-left-color: #0082cd;
}

.rango-accordion.capitania {
    border-left-color: #C09B05;
}

.rango-accordion.general {
    border-left-color: #c0392b;
    background: rgba(192, 57, 43, 0.1);
}

.rango-header {
    display: flex;
    align-items: center;
    padding: 15px;
    cursor: pointer;
    background: linear-gradient(to right, rgba(0, 13, 33, 0.7) 0%, rgba(6, 57, 195, 0.3) 100%);
    transition: all 0.3s ease;
}

.rango-header:hover {
    background: linear-gradient(to right, rgba(30, 45, 90, 0.7) 0%, rgba(30, 45, 90, 0.3) 100%);
}

.mercenario .rango-header {
    background: linear-gradient(to right, rgba(0, 0, 0, 0.989) 0%, rgba(0, 0, 0, 0.458) 100%);
}

.general .rango-header {
    background: linear-gradient(to right, rgba(192, 57, 43, 0.7) 0%, rgba(192, 57, 43, 0.3) 100%);
}

.commander .rango-header {
    /* Fondo degradado plateado, menos blanco y más tonos metálicos */
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.841) 0%, rgba(215, 218, 219, 0.3) 100%);
    /* Efecto plateado metálico usando filter */
    filter: grayscale(0.15) brightness(1.08) contrast(1.25) drop-shadow(0 2px 8px rgba(80, 80, 80, 0.18));
    /* Sombra para dar profundidad */
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.22), -2px -2px 8px rgba(255, 255, 255, 0.10);
    /* Borde plateado más oscuro para resaltar */

    /* Texto oscuro para contraste */
    color: #232323;
    /* Sutil textura metálica */
    background-blend-mode: overlay;
    /* Opcional: brillo suave */
    /* animation: brillo-metal 3s linear infinite; */
}

/* .coronel .rango-header {
    background: linear-gradient(to right, rgba(235, 185, 23, 0.982) 0%, rgba(235, 186, 23, 0.596) 100%);
  }
.capitania .rango-header {
    background: linear-gradient(to right, rgba(95, 181, 255, 0.953) 0%, rgba(95, 180, 255, 0.696) 100%);
  } */


.rango-imagen {
    width: 80px;
    height: 60px;
    margin-right: 15px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid var(--wow-gold);
    background: #000;
}

.rango-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rango-titulo {
    flex-grow: 1;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.rango-numero-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

.rango-numero {
    background: var(--wow-gold);
    color: var(--wow-dark);
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.rango-descripcion-corta {
    color: #b1b1b1;
    font-weight: bold;
    font-size: 0.8rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rango-titulo h3 {
    margin: 0;
    color: var(--wow-gold);
    font-size: 1.3rem;
    font-family: 'MedievalSharp', cursive;
}

.rango-toggle {
    font-size: 1.2rem;
    color: var(--wow-gold);
    transition: transform 0.3s ease;
    margin-left: 10px;
    min-width: 20px;
}

.rango-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-image: url(../imgs/elementos/scroll_material.png);
    background-size: cover;
}

.rango-detail {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    font-family: 'Cinzel', serif;
}

.detail-section {
    padding: 15px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    border-left: 2px solid var(--wow-gold);
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
}

.detail-section.full-width {
    width: 100%;
}

.requisitos-grid {
    width: 100%;
}

.grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 10px;
}

.grid-column ul {
    padding-left: 20px;
    margin: 0;
}

.detail-section li {
    margin-bottom: 8px;
    color: #d1d1d1;
    position: relative;
}

.detail-section li:before {
    content: "•";
    color: var(--wow-gold);
    font-weight: 0.4rem;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.detail-section.warning {
    background: rgba(0, 0, 0, 0.5);
    border-left: 2px solid #c71906;
    animation: pulseWarning 2s infinite;
}

.gold-text {
    color: var(--wow-gold);
    text-shadow: 0 0 3px rgba(255, 209, 0, 0.5);
}

.red-text {
    color: #ff6b6b;
}

@keyframes pulseWarning {
    0% {
        box-shadow: 0 0 0 0 rgba(192, 57, 43, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(192, 57, 43, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(192, 57, 43, 0);
    }
}

@media (max-width: 768px) {
    .rangos-banner {
        height: 150px;
    }


    /* === BANNERS === */
    .guild-title {
        font-size: 2rem;
    }

    .uniform-description {
        font-size: 1rem;
    }

    .rango-header {
        padding: 12px;
    }

    .rango-imagen {
        width: 60px;
        height: 50px;
        margin-right: 10px;
    }

    .rango-detail {
        padding: 15px;
    }

    .rango-titulo h3 {
        font-size: 1.1rem;
    }

    .grid-container {
        grid-template-columns: 1fr;
    }
}

/* Variables y estilos base */

/* === VARIABLES === */
:root {
    --wow-blue: #0e1a40;
    --wow-gold: #ffd100;
    --wow-dark: #1a1a1a;
    --wow-light-text: #f8f9fa;
    --wow-dark-bg: rgba(23, 23, 24, 0.85);
}


/* === BODY === */
body {
    font-family: 'Cinzel Decorative', cursive, serif;
    background-color: var(--wow-dark);
    color: var(--wow-light-text);
    background-image: url('../imgs/elementos/wall.png');
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: center;
    line-height: 1.6;
}

/* Clase para ocultar elementos */
.hidden-empty {
    display: none !important;
}

/* Tipografía */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
}

/* Navbar */

/* === NAVBAR === */
.navbar {

    background-color: rgba(0, 40, 80, 0.95);
    border-bottom: 2px solid var(--wow-gold);
    z-index: 1030;
    transition: all 0.3s ease;
}


/* === NAVBAR BRAND === */
.navbar-brand {
    font-family: 'warcraft', sans-serif;
    font-weight: bold;
    color: var(--wow-gold);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    font-size: 1.5rem;
}


/* === NAVBAR LINKS === */
.nav-link {
    color: var(--wow-light-text);
    transition: color 0.3s ease;
    font-family: 'Cinzel Decorative', cursive, serif;
    padding: 0.5rem 1rem;
    position: relative;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--wow-gold);
}

/* Menú desplegable */

/* === DROPDOWN MENU === */
.dropdown-menu {
    background-color: rgba(14, 26, 64, 0.98);
    border: 1px solid var(--wow-gold);
    border-radius: 0;
    margin-top: 0;
}


/* === DROPDOWN ITEM === */
.dropdown-item {
    color: var(--wow-light-text);
    font-family: 'Cinzel Decorative', cursive, serif;
    transition: all 0.3s ease;
    padding: 0.5rem 1.5rem;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: rgba(30, 45, 90, 0.8);
    color: var(--wow-gold);
    padding-left: 1.75rem;
}

.dropdown-toggle::after {
    border-top-color: var(--wow-gold);
    transition: transform 0.3s ease;
}

.show .dropdown-toggle::after {
    transform: rotate(180deg);
}

/* Banner superior */

/* === BANNERS === */
.uniforms-banner {
    font-family: 'MedievalSharp', cursive, serif;
    background: rgba(0, 0, 0, 0.7);
    background-size: cover;
    background-position: center;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 3px solid var(--wow-gold);
}


/* === BANNERS === */
.guild-title {
    color: var(--wow-gold);
    font-size: 3.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    margin-bottom: 0.5rem;
}

.guild-motto {
    font-size: 1.5rem;
    color: var(--wow-light-text);
    margin-top: 0.5rem;
    font-style: italic;
}

/* Contenedor de imagen superior */
.squadron-image-container {
    width: 100%;
    margin-bottom: 30px;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.332);
}

.squadron-image-container img {
    max-width: 100%;
    max-height: 500px;
    border-radius: 5px;
}

.image-caption {
    margin-top: 10px;
    font-style: italic;
}

/* Contenedor de información básica */
.squadron-basic-info {
    background-color: rgba(23, 23, 24, 0.85);
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 5px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}

.info-item {
    flex: 1;
    min-width: 200px;
}

.info-item strong {
    color: var(--wow-gold);
    display: block;
    margin-bottom: 5px;
}

/* Descripción del escuadrón */
.squadron-description {
    background-color: rgba(23, 23, 24, 0.85);
    padding: 25px;
    margin-bottom: 30px;
    font-size: 1.1rem;
    text-align: justify;
    border-left: 4px solid var(--wow-gold);
}

/* Contenedores de requisitos separados */
.requirements-section {
    background-color: rgba(23, 23, 24, 0.386);
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 5px;
}

.requirements-title {
    color: var(--wow-gold);
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
}

.requirements-title i {
    margin-right: 10px;
    font-size: 1.1rem;
    /* Iconos reducidos */
}

.requirement-item {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    font-size: 1.1rem;
}

.requirement-item:before {
    content: "•";
    color: var(--wow-gold);
    position: absolute;
    left: 10px;
    font-size: 1.5rem;
}

/* Estilos específicos para cada sección */
.general-requirements {
    border-left: 5px solid #0e1a40;
}

.pve-requirements {
    border-left: 5px solid #195918;
}

.pvp-requirements {
    border-left: 5px solid #8c2323;
}

/* NUEVO DISEÑO PARA MONTURAS - LISTADO VERTICAL */
.mounts-section {
    border-left: 5px solid #6a5acd;
    margin-top: 45px;
    /* Separación de 45px */
}

.mounts-list {
    display: flex;
    flex-direction: column;
    gap: 45px;
    /* Separación de 45px entre monturas */
    margin-top: 20px;
}

.mount-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(30, 30, 35, 0.5);
    border-radius: 8px;
    padding: 15px;
    border-left: 3px solid var(--wow-gold);
    transition: all 0.3s ease;
}

.mount-item:hover {
    background: rgba(40, 40, 45, 0.7);
    transform: translateX(5px);
}

.mount-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    border: 2px solid var(--wow-gold);
}

.mount-icon img {
    max-width: 80%;
    max-height: 80%;
    border-radius: 50%;
}

.mount-icon i {
    font-size: 24px;
    /* Tamaño reducido del icono */
    color: var(--wow-gold);
}

.mount-content {
    flex-grow: 1;
}

.mount-name {
    font-size: 1.1rem;
    color: var(--wow-gold);
    margin-bottom: 5px;
    font-weight: bold;
}

.mount-name a {
    color: inherit;
    text-decoration: none;
}

.mount-name a:hover {
    text-decoration: underline;
}

.mount-description {
    font-size: 0.9rem;
    color: #ccc;
    margin-bottom: 8px;
}

.mount-link {
    display: inline-flex;
    align-items: center;
    color: var(--wow-gold);
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s;
}

.mount-link:hover {
    color: #fff;
}

.mount-link i {
    font-size: 14px;
    /* Tamaño reducido del icono */
    margin-left: 5px;
}

/* Footer */

/* === FOOTER === */
footer {
    background-color: rgb(0, 40, 80, 0.95);
    color: white;
    padding: 20px 0;
    margin-top: 50px;
    border-top: 2px solid var(--wow-gold);
}

.social-icon {
    color: white;
    font-size: 1.5rem;
    margin: 0 10px;
    transition: all 0.3s;
}

.social-icon:hover {
    color: var(--wow-gold);
    transform: scale(1.2);
}

/* Responsive */
@media (max-width: 768px) {

    /* === BANNERS === */
    .guild-title {
        font-size: 2.5rem;
    }

    .guild-motto {
        font-size: 1.2rem;
    }

    .squadron-image-container img {
        max-height: 300px;
    }

    .squadron-basic-info {
        flex-direction: column;
        gap: 15px;
    }

    .requirements-section {
        padding: 20px;
    }

    /* Responsive para monturas */
    .mount-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .mount-icon {
        width: 50px;
        height: 50px;
    }

    .mount-icon i {
        font-size: 20px;
    }
}

/* Variables y estilos base */

/* === VARIABLES === */
:root {
    --wow-blue: #0e1a40;
    --wow-gold: #ffd100;
    --wow-dark: #1a1a1a;
    --wow-light-text: #f8f9fa;
    --wow-dark-bg: rgba(23, 23, 24, 0.85);
}


/* === BODY === */
body {
    font-family: 'Cinzel Decorative', cursive, serif;
    background-color: var(--wow-dark);
    color: var(--wow-light-text);
    background-image: url('../imgs/elementos/wall.png');
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: center;
    line-height: 1.6;
}

/* Tipografía */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
}

/* Navbar */

/* === NAVBAR === */
.navbar {
    background-color: rgba(0, 40, 80, 0.95);
    border-bottom: 2px solid var(--wow-gold);
    z-index: 1030;
    transition: all 0.3s ease;
}


/* === NAVBAR BRAND === */
.navbar-brand {
    font-family: 'warcraft', sans-serif;

    color: var(--wow-gold);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    font-size: 1.5rem;
}


/* === NAVBAR LINKS === */
.nav-link {
    color: var(--wow-light-text);
    transition: color 0.3s ease;
    font-family: 'Cinzel Decorative', cursive, serif;
    padding: 0.5rem 1rem;
    position: relative;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--wow-gold);
}

/* Menú desplegable */

/* === DROPDOWN MENU === */
.dropdown-menu {
    background-color: rgba(14, 26, 64, 0.98);
    border: 1px solid var(--wow-gold);
    border-radius: 0;
    margin-top: 0;
}


/* === DROPDOWN ITEM === */
.dropdown-item {
    color: var(--wow-light-text);
    font-family: 'Cinzel Decorative', cursive, serif;
    transition: all 0.3s ease;
    padding: 0.5rem 1.5rem;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: rgba(30, 45, 90, 0.8);
    color: var(--wow-gold);
    padding-left: 1.75rem;
}

.dropdown-toggle::after {
    border-top-color: var(--wow-gold);
    transition: transform 0.3s ease;
}

.show .dropdown-toggle::after {
    transform: rotate(180deg);
}

/* Banner superior */

/* === BANNERS === */
.uniforms-banner {
    font-family: 'MedievalSharp', cursive, serif;
    background: rgba(0, 0, 0, 0.395);
    background-size: cover;
    background-position: center;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 30px;
}


/* === BANNERS === */
.guild-title {
    font-family: 'Cinzel Decorative', cursive, serif;
    color: var(--wow-gold);
    font-size: 2.8rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    margin-bottom: 0.5rem;
}

.guild-motto {
    font-size: 1.2rem;
    color: var(--wow-light-text);
    margin-top: 0.5rem;
}

/* Secciones */

/* === SECCIONES GENERALES === */
.section-title+p {
    font-family: 'Cinzel Decorative', cursive, serif;
    font-size: 1.1rem;
    color: #f0e6d2;
    line-height: 1.7;
    text-align: justify;
    padding: 15px;
    background-color: rgba(0, 0, 0, 0.7);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    border-radius: 0 5px 5px 0;
}

/* Especificaciones extendidas */
.specs-container {
    background-color: rgba(14, 26, 64, 0.8);
    border-radius: 8px;
    padding: 15px 25px;
    border: 2px solid var(--wow-gold);
    margin: 0 auto 30px;
    max-width: 1200px;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 15px;
}

.spec-item {
    display: flex;
    align-items: center;
    min-width: 200px;
}

.spec-badge {
    background-color: var(--wow-gold);
    color: var(--wow-dark);
    padding: 5px 10px;
    border-radius: 4px;
    margin-right: 10px;
    font-weight: bold;
    white-space: nowrap;
}

/* Contenedor principal */
.main-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Contenedor de items y preview */
.items-preview-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 20px;
    width: 100%;
}

/* Grid de items (2x3) */
.items-grid {
    display: grid;
    grid-template-columns: repeat(2, 100px);
    grid-gap: 15px;
}

/* Preview del personaje */
.preview-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 380px;
}

.character-preview {
    width: 100%;
    height: 380px;
    background-color: rgba(14, 26, 64, 0.253);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    overflow: hidden;
    user-select: none;
    -webkit-user-drag: none;

}

/* Estilo para los items */
.item-box {
    background-color: rgba(26, 38, 80, 0.6);
    border-radius: 8px;
    padding: 10px;
    border: 2px solid var(--wow-gold);
    transition: all 0.3s;
    text-align: center;
    width: 110px;
}

.item-box:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255, 209, 0, 0.5);
}

.item-image {
    width: 52px;
    height: 52px;
    border: 1px solid #444;
    border-radius: 4px;
    background-color: #0e1a40;
    margin-bottom: 8px;
}

.item-name {
    font-weight: bold;
    color: var(--wow-gold);
    font-size: 0.6rem;
    margin-bottom: 5px;
    display: block;
}

.item-slot {
    font-size: 0.7rem;
    color: #aaa;
}

.uniform-title {
    color: var(--wow-gold);
    font-size: 1.8rem;
    margin-bottom: 8px;
    text-transform: uppercase;
    font-family: 'MedievalSharp', cursive, serif;
}

.uniform-description {
    font-size: 1.1rem;
    color: #ccc;
    margin-bottom: 15px;
    font-family: 'Cinzel Decorative', cursive, serif;
}

/* Malla de armas */
.weapons-grid {
    display: grid;
    grid-template-columns: repeat(2, 100px);
    grid-gap: 15px;
    margin: 15px 0;
}

.dressing-room-link {
    cursor: pointer;
    color: var(--wow-gold);
    text-decoration: none;
    transition: color 0.2s;
    font-family: 'Cinzel Decorative', cursive, serif;
}

.dressing-room-link:hover {
    color: #ffdb70;
    text-decoration: underline;
}

/* Footer */

/* === FOOTER === */
footer {
    background-color: rgb(0, 40, 80, 0.95);
    color: var(--wow-light-text);
    padding: 20px 0;
    margin-top: 50px;
    border-top: 2px solid var(--wow-gold);
}

.social-icon {
    color: var(--wow-light-text);
    font-size: 1.5rem;
    margin: 0 10px;
    transition: all 0.3s;
}

.social-icon:hover {
    color: var(--wow-gold);
    transform: scale(1.2);
}

/* Loading spinner */
.loading-spinner {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.spinner-border {
    width: 3rem;
    height: 3rem;
}

/* Estilos para los tooltips de Wowhead */
.wh-tooltip {
    z-index: 1000;
}

/* Responsive */
@media (max-width: 768px) {

    /* === BANNERS === */
    .uniforms-banner {
        height: 150px;
    }


    /* === BANNERS === */
    .guild-title {
        font-size: 2rem;
    }

    .guild-motto {
        font-size: 1rem;
    }

    .items-preview-container {
        flex-direction: column;
        align-items: center;
    }

    .preview-section {
        order: -1;
        margin-bottom: 20px;
    }
}


/* === MEDIA QUERIES === */
@media (max-width: 576px) {

    /* === NAVBAR BRAND === */
    .navbar-brand {
        font-size: 1.2rem;
    }


    /* === BANNERS === */
    .uniforms-banner {
        height: 120px;
    }


    /* === BANNERS === */
    .guild-title {
        font-size: 1.5rem;
    }

    .specs-container {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px;
    }

    .spec-item {
        min-width: 100%;
        margin-bottom: 5px;
    }
}

.uniforms-grid {
    display: grid;
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.cavalry-grid {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 768px) {
    .uniforms-grid {
        grid-template-columns: 1fr;
    }
}


.content-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: center;
    justify-items: center;
}

@media (max-width: 900px) {
    .content-grid {
        grid-template-columns: 1fr;
    }
}

.content-image {
    width: 500px;
    object-fit: cover;
    border-radius: 5px;
    border: 1px solid var(--wow-gold);
    margin-bottom: 15px;
    transition: transform 0.3s ease;
    height: 300px;
}

.content-name {
    font-weight: bold;
    color: var(--wow-gold);
    text-align: center;
    font-size: 2.5rem;
    font-family: 'MedievalSharp', cursive, serif;
}

/* Estuche de insignias */
.badge-case {
    background-image: url('../imgs/elementos/estuche.png');
    opacity: 0.9;
    /* padding: 50px 0 40px 0; */
    /* margin-bottom: 40px; */
    /* border: 2mm ridge var(--commander-color); */
    position: relative;
    width: 95%;
    min-width: 320px;
    min-height: 200px;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
}

.badge-case-container {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    /* gap: 60px; */
    flex-wrap: nowrap;
    background: none;
    box-shadow: none;
    padding: 30px 0 0 0;
    z-index: 2;
    position: relative;
    max-width: 100%;
    margin: 0 auto;
}

.badge-case-container img {
    background: none;
    border: none;
    box-shadow: none;
    width: 100% !important;
    height: 100% !important;
    max-height: 170px;
    max-width: 140px;
    object-fit: contain;
    margin: 0 0;
    border-radius: 0;
    transition: transform 0.2s, filter 0.2s;
    filter: drop-shadow(0 2px 8px #0008);
}

@media (max-width: 1000px) {
    .badge-case {
        width: 98vw;
        max-width: 100vw;
    }

    .badge-case-container {
        gap: 30px;
        max-width: 100vw;
    }

    .badge-case-container img {
        max-width: 80px;
        max-height: 80px;
    }
}

.badge-case-container img:hover {
    transform: scale(1.12) rotate(-2deg);
    z-index: 3;
    filter: drop-shadow(0 4px 9px var(--commander-color));
}