.team-page {
    background: #0d1118;
    min-height: 100vh;
}

.team-page__heading {
    margin-bottom: 3rem;
    text-align: center;
}

.team-page__heading span {
    display: block;
    color: #31d7a9;
    font-size: 0.875rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.team-page__heading h1 {
    margin: 0.5rem 0 0;
    color: #f5f7fb;
    font-size: 2.5rem;
}

.team-grid {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.team-card {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    background: linear-gradient(135deg, #151b25 0%, #11161f 100%);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--role-color, #31d7a9), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.team-card:hover::before {
    opacity: 1;
}

/* Avatar no topo - QUADRADO */
.team-card__media {
    display: flex;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.team-card__media img {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    object-fit: cover;
    image-rendering: pixelated;
    border: 3px solid rgba(49, 215, 169, 0.3);
    transition: all 0.3s ease;
}

.team-card:hover .team-card__media img {
    border-color: #31d7a9;
    transform: scale(1.05);
}

/* Corpo do card */
.team-card__body {
    flex: 1;
    text-align: center;
}

/* Role badge */
.team-card__role {
    display: inline-flex;
    margin-bottom: 0.75rem;
    padding: 0.35rem 0.75rem;
    border: 1px solid color-mix(in srgb, var(--role-color), transparent 55%);
    border-radius: 20px;
    background: color-mix(in srgb, var(--role-color), transparent 88%);
    color: var(--role-color);
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Nome do membro */
.team-card h2 {
    margin: 0 0 0.25rem;
    color: #f5f7fb;
    font-size: 1.25rem;
    font-weight: 700;
}

/* Nick do jogo */
.team-card__nick {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.9rem;
    font-weight: 600;
    color: #748197;
}

/* Info grid */
.team-card dl {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 0;
}

.team-card dl div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.team-card dt {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #748197;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Estilo para o texto do Discord */
.team-card dd {
    margin: 0;
    color: #dfe7f3;
    font-weight: 500;
}

/* Estilo específico para o Discord */
.team-card dd[data-discord] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    border-radius: 8px;
    background: rgba(88, 101, 242, 0.15);
    color: #7289da;
    font-weight: 500;
}

/* Empty state */
.team-empty {
    grid-column: 1 / -1;
    padding: 3rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    background: linear-gradient(135deg, #151b25 0%, #11161f 100%);
}

.team-empty h2 {
    margin: 0 0 0.5rem;
    color: #f5f7fb;
    font-size: 1.5rem;
}

.team-empty p {
    margin: 0;
    color: #748197;
}

/* Responsividade */
@media (max-width: 768px) {
    .team-grid {
        gap: 1rem;
    }

    .team-card {
        padding: 1.25rem;
        width: 100%;
    }

    .team-card__media img {
        width: 80px;
        height: 80px;
        border-radius: 10px;
    }

    .team-page__heading h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .team-card {
        padding: 1rem;
    }

    .team-card__media img {
        width: 70px;
        height: 70px;
        border-radius: 8px;
    }

    .team-card h2 {
        font-size: 1.125rem;
    }

    .team-card dl div {
        font-size: 0.75rem;
    }
}

/* Animações suaves */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.team-card {
    animation: fadeInUp 0.4s ease-out forwards;
    opacity: 0;
}

.team-card:nth-child(1) { animation-delay: 0.05s; }
.team-card:nth-child(2) { animation-delay: 0.1s; }
.team-card:nth-child(3) { animation-delay: 0.15s; }
.team-card:nth-child(4) { animation-delay: 0.2s; }
.team-card:nth-child(5) { animation-delay: 0.25s; }
.team-card:nth-child(6) { animation-delay: 0.3s; }