/* =========================================
   TEAMS & WINNERS LIST
   ========================================= */

.teams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    justify-items: center;
}

.team-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    width: 100%;
    max-width: 500px;
}

.team-card:hover {
    transform: translateY(-5px);
    border-color: var(--twitch-purple);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.team-header {
    background: var(--twitch-purple);
    padding: 15px;
    text-align: center;
    font-weight: bold;
    color: white;
    font-size: 1.2rem;
    text-transform: uppercase;
}

.team-members {
    padding: 20px;
}

.member-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 6px;
    background: var(--hover-bg);
    border: 1px solid transparent;
    transition: 0.2s;
    flex-wrap: wrap; /* Wichtig für Responsivität */
}

.member-item:hover {
    border-color: var(--border-color);
    background: rgba(145, 70, 255, 0.05);
}

.member-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
    border: 2px solid var(--twitch-yellow);
    transition: transform 0.2s;
}

.member-avatar:hover {
    transform: scale(1.1);
}

/* Verhindert, dass Standard-Link-Styles den Gradient zerstören */
.member-item a {
    text-decoration: none;
    transition: opacity 0.2s;
}

.member-item a:hover {
    opacity: 0.8;
}