
/* =====================================================
   ESTILO ESPECÍFICO PARA RECORTAR LA LNEA INFERIOR
   ===================================================== */
.artist-img-luis {
    transform: scale(1.08); /* Hace un pequeño zoom (la agranda un poquito como pediste) */
    object-position: center 25% !important; /* Desplaza el encuadre hacia arriba para cortar la parte inferior */
}

/* =====================================================
   TARMEX PRO TEAM (ESTILOS GENERALES)
   ===================================================== */

.pro-team-container,
.pro-team-container * {
    box-sizing: border-box;
}

.section-title {
    text-align: center;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: clamp(2px, 0.5vw, 4px);
    margin: clamp(30px, 5vw, 50px) 0 10px;
    color: #fff;
    text-transform: uppercase;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 4px;
    background: #ff3333;
    margin: 12px auto 35px;
    border-radius: 2px;
    box-shadow: 0 0 12px rgba(255, 51, 51, 0.6);
}

.pro-team-container {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(15px, 2vw, 25px);
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(12px, 2vw, 25px) 80px;
}

.artist-card {
    width: 100%;
    min-width: 0;
    height: 100%;
    background: linear-gradient(145deg, #121212, #080808);
    border-radius: 16px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition:
        transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1),
        border-color 0.35s ease,
        box-shadow 0.35s ease,
        background 0.35s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
}

.artist-image-wrap {
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 12px;
    background: #151515;
    position: relative;
}

.artist-image-wrap img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transition:
        opacity 0.6s ease-in-out,
        transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.artist-image-wrap img.loaded {
    opacity: 1;
}

.card-content {
    width: 100%;
    min-width: 0;
    padding: 14px 6px 6px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: left;
}

.card-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    width: 100%;
    min-width: 0;
}

.artist-location,
.artist-team-badge {
    max-width: 100%;
    padding: 3px 8px;
    font-size: 0.6rem;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: 0.8px;
    border-radius: 4px;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

.artist-location {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.badge-imperial {
    background: rgba(0, 0, 0, 0.9);
    color: #d4af37;
    border: 1px solid #d4af37;
}

.badge-imperial-canula {
    background: rgba(0, 162, 255, 0.2);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.4);
}

.badge-zita {
    background: rgba(230, 0, 0, 0.2);
    color: #ff3333;
    border: 1px solid rgba(255, 51, 51, 0.4);
}

.badge-marte {
    background: rgba(0, 200, 80, 0.2);
    color: #00e676;
    border: 1px solid rgba(0, 230, 118, 0.4);
}

.badge-vixer {
    background: rgba(10, 80, 40, 0.4);
    color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.4);
}

.badge-vandal {
    background: #cc0000;
    color: #ffeb3b;
    border: 1px solid #ffeb3b;
}

.badge-protec {
    background: rgba(0, 102, 255, 0.2);
    color: #3399ff;
    border: 1px solid rgba(51, 153, 255, 0.4);
}

.artist-name {
    min-width: 0;
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    font-weight: 800;
    line-height: 1.3;
    margin: 2px 0 0;
    color: #fff !important;
    letter-spacing: 0.3px;
    overflow-wrap: anywhere;
}

.artist-name a {
    color: #fff !important;
    text-decoration: none;
    transition: color 0.2s ease;
}

.artist-social {
    min-width: 0;
    font-size: clamp(0.7rem, 1vw, 0.8rem);
    line-height: 1.4;
    color: #999 !important;
    margin: 0;
    font-weight: 500;
    overflow-wrap: anywhere;
}

.artist-social a {
    color: #aaa !important;
    text-decoration: none;
    transition: color 0.2s ease;
    overflow-wrap: anywhere;
}

@media (hover: hover) and (pointer: fine) {
    .artist-card:hover {
        transform: translateY(-7px);
        border-color: #ff3333;
        box-shadow: 0 15px 35px rgba(255, 51, 51, 0.25);
        background: linear-gradient(145deg, #181818, #0c0c0c);
    }
    .artist-card:hover .artist-image-wrap img {
        transform: scale(1.06);
    }
    .artist-name a:hover {
        color: #ff3333 !important;
    }
    .artist-social a:hover {
        color: #fff !important;
    }
}

@media (max-width: 1050px) {
    .pro-team-container {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px;
        padding-left: 18px;
        padding-right: 18px;
    }
    .artist-card {
        padding: 10px;
    }
    .card-content {
        padding: 12px 4px 5px;
    }
}

@media (max-width: 700px) {
    .section-title {
        font-size: clamp(1.8rem, 8vw, 2.3rem);
        letter-spacing: 2px;
        margin: 28px 10px 8px;
    }
    .section-title::after {
        width: 42px;
        height: 3px;
        margin: 10px auto 25px;
    }
    .pro-team-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        padding: 0 10px 45px;
    }
    .artist-card {
        padding: 7px;
        border-radius: 12px;
        box-shadow: 0 7px 20px rgba(0, 0, 0, 0.45);
        transform: none !important;
    }
    .artist-image-wrap {
        border-radius: 9px;
        aspect-ratio: 3 / 4;
    }
    .artist-image-wrap img {
        transform: none !important;
    }
    .card-content {
        padding: 9px 2px 4px;
        gap: 5px;
    }
    .card-meta {
        gap: 4px;
    }
    .artist-location,
    .artist-team-badge {
        font-size: 0.53rem;
        padding: 3px 5px;
        letter-spacing: 0.4px;
        border-radius: 3px;
    }
    .artist-name {
        font-size: clamp(0.82rem, 3.4vw, 1rem);
        line-height: 1.25;
        letter-spacing: 0;
    }
    .artist-social {
        font-size: clamp(0.62rem, 2.7vw, 0.75rem);
        line-height: 1.35;
    }
}

@media (max-width: 400px) {
    .pro-team-container {
        gap: 9px;
        padding-left: 8px;
        padding-right: 8px;
    }
    .artist-card {
        padding: 6px;
        border-radius: 10px;
    }
    .artist-image-wrap {
        border-radius: 8px;
    }
    .card-content {
        padding: 8px 2px 3px;
        gap: 4px;
    }
    .artist-location,
    .artist-team-badge {
        font-size: 0.48rem;
        padding: 2px 4px;
        letter-spacing: 0.25px;
    }
    .artist-name {
        font-size: 0.82rem;
    }
    .artist-social {
        font-size: 0.62rem;
    }
}

@media (max-width: 340px) {
    .pro-team-container {
        grid-template-columns: 1fr;
        gap: 15px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .artist-card {
        padding: 9px;
    }
    .artist-image-wrap {
        aspect-ratio: 3 / 4;
    }
    .artist-name {
        font-size: 1rem;
    }
    .artist-social {
        font-size: 0.75rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .artist-card,
    .artist-image-wrap img,
    .artist-name a,
    .artist-social a {
        transition: none !important;
    }
    .artist-card:hover {
        transform: none !important;
    }
    .artist-card:hover .artist-image-wrap img {
        transform: none !important;
    }
}
