* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: radial-gradient(circle at top, #0b0b0f 0%, #050507 100%);
    color: #fff;
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

.equipo-container {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
    padding: 120px 20px 80px;
    flex: 1;
}

.equipo-container h1 {
    font-size: 2.6em;
    color: #bbaaff;
    margin-bottom: 50px;
    text-shadow: 0 0 15px rgba(187, 170, 255, 0.5);
    animation: glowPulse 4s infinite ease-in-out;
}

@keyframes glowPulse {
    0% { text-shadow: 0 0 15px rgba(187,170,255,0.5); }
    50% { text-shadow: 0 0 35px rgba(187,170,255,0.8); }
    100% { text-shadow: 0 0 15px rgba(187,170,255,0.5); }
}

.role-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.role-header h2 {
    font-size: 1.4em;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.role-line {
    width: 40px;
    height: 3px;
    background-color: var(--role-color);
    border-radius: 5px;
    box-shadow: 0 0 10px var(--role-color);
}

.equipo-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 60px;
}

.card {
    background: #101018;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    padding: 22px 14px;
    width: 130px;
    transition: 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card:hover {
    transform: translateY(-4px) scale(1.03);
    border-color: var(--role-color);
    box-shadow: 0 0 25px var(--role-color);
}

.avatar-wrapper {
    width: 75px;
    height: 75px;
    margin-bottom: 10px;
    border-radius: 50%;
    border: 2px solid var(--role-color);
    overflow: hidden;
    background: #0a0a0f;
}

.avatar-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.username {
    display: block;
    font-size: 0.9em;
    color: #eaeaea;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

@media (max-width: 700px) {
    .equipo-container {
        padding: 120px 15px 50px;
    }

    .equipo-container h1 {
        font-size: 2em;
    }

    .card {
        width: 110px;
        padding: 15px 8px;
    }

    .avatar-wrapper {
        width: 60px;
        height: 60px;
    }

    .role-header h2 {
        font-size: 1.1em;
    }
}
