/* Sunset Gaming — Team page */
.sg-team-page {
    background: #080808;
    min-height: 100vh;
    color: #fff;
}

.sg-team {
    position: relative;
    z-index: 10;
    padding: calc(88px + 1.5rem) 0 3rem;
}

.sg-team-hero {
    margin-bottom: 2.25rem;
    max-width: 40rem;
}

.sg-team-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #ff5f6d;
    background: rgba(255, 95, 109, 0.12);
    border: 1px solid rgba(255, 95, 109, 0.3);
    margin-bottom: 1rem;
}

.sg-team-hero h1 {
    margin: 0 0 0.75rem;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.sg-team-hero p {
    margin: 0 0 1.25rem;
    color: #9a9aa3;
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 500;
}

.sg-team-hero__count {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.sg-team-hero__count strong {
    font-size: 1.35rem;
    font-weight: 900;
    background: linear-gradient(135deg, #ff5f6d, #ffc371);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.sg-team-hero__count span {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #777;
}

.sg-team-empty {
    padding: 2rem;
    border-radius: 14px;
    border: 1px dashed rgba(255, 255, 255, 0.12);
    color: #888;
    text-align: center;
    font-weight: 600;
}

.sg-team-group {
    margin-bottom: 2rem;
}

.sg-team-group__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.85rem;
    padding-bottom: 0.55rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sg-team-group__head h2 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--role-color, #ff5f6d);
}

.sg-team-group__head span {
    font-size: 0.75rem;
    font-weight: 800;
    color: #666;
}

.sg-team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 0.75rem;
}

.sg-team-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 12px 14px;
    border-radius: 14px;
    text-decoration: none;
    color: inherit;
    background: #0e0e12;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-left: 3px solid var(--role-color, #ff5f6d);
    transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.25s, background 0.25s;
}

.sg-team-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.14);
    background: #121218;
}

.sg-team-card__avatar {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    object-fit: cover;
    background: #1a1a1f;
}

.sg-team-card__name {
    display: block;
    font-size: 0.95rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 160px;
}

.sg-team-card__role {
    display: block;
    margin-top: 3px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--role-color, #ff5f6d);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.sg-team-card__arrow {
    color: #444;
    font-size: 0.8rem;
    transition: color 0.2s, transform 0.2s;
}

.sg-team-card:hover .sg-team-card__arrow {
    color: #ffc371;
    transform: translateX(3px);
}

.sg-team-cta {
    margin-top: 2.5rem;
    padding: 1.35rem 1.5rem;
    border-radius: 16px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: linear-gradient(135deg, rgba(255, 95, 109, 0.1), rgba(255, 195, 113, 0.06));
    border: 1px solid rgba(255, 95, 109, 0.22);
}

.sg-team-cta p {
    margin: 0;
    color: #b0b0b8;
    font-weight: 600;
    font-size: 0.95rem;
}

.sg-team-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 12px;
    background: linear-gradient(135deg, #ff5f6d, #ffc371);
    color: #111;
    font-weight: 800;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-decoration: none;
}

.sg-team-cta__btn:hover {
    color: #111;
    filter: brightness(1.05);
}

@media (max-width: 640px) {
    .sg-team-card__name {
        max-width: 120px;
    }
}
