/* ============================================
   TEAM PAGE — Стили страницы команды проекта
   ============================================ */

.team-hero {
    text-align: center;
    padding: 80px 20px 12px;
}

.team-hero h1 {
    font-size: 2.4rem;
    margin-bottom: 12px;
}

.team-hero .subtitle {
    font-size: 1.1rem;
    opacity: 0.8;
    max-width: 560px;
    margin: 0 auto;
}

.team-hint {
    max-width: 560px;
    margin: 18px auto 0;
    font-size: 0.9rem;
    opacity: 0.6;
    line-height: 1.55;
}

/* Сетка команды */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    max-width: 1000px;
    margin: 36px auto 64px;
    padding: 0 20px;
}

.team-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 30px 22px 26px;
    text-align: center;
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.team-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 255, 224, 0.25);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

/* Аватар-инициал */
.member-avatar {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin: 0 auto 14px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.role-owner   .member-avatar { background: linear-gradient(135deg, #ff3b3b, #b81414); }
.role-coowner .member-avatar { background: linear-gradient(135deg, #ff8c42, #ff3b3b); }
.role-curator .member-avatar { background: linear-gradient(135deg, #ffd700, #ff8c42); }
.role-smm     .member-avatar { background: linear-gradient(135deg, #00ffe0, #00a8ff); color: #06121f; text-shadow: none; }
.role-jrmod   .member-avatar { background: linear-gradient(135deg, #55ff55, #00c853); color: #06121f; text-shadow: none; }

/* Бейдж роли */
.role-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 999px;
    border: 1px solid;
    margin-bottom: 10px;
}

.role-owner   .role-badge { color: #ff6b6b; border-color: rgba(255, 59, 59, 0.4);  background: rgba(255, 59, 59, 0.12); }
.role-coowner .role-badge { color: #ffa36b; border-color: rgba(255, 140, 66, 0.4); background: rgba(255, 140, 66, 0.12); }
.role-curator .role-badge { color: #ffd700; border-color: rgba(255, 215, 0, 0.4);  background: rgba(255, 215, 0, 0.1); }
.role-smm     .role-badge { color: #00ffe0; border-color: rgba(0, 255, 224, 0.4);  background: rgba(0, 255, 224, 0.1); }
.role-jrmod   .role-badge { color: #55ff55; border-color: rgba(85, 255, 85, 0.4);  background: rgba(85, 255, 85, 0.1); }

.member-name {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.member-desc {
    font-size: 0.92rem;
    opacity: 0.72;
    line-height: 1.5;
    min-height: 44px;
    margin-bottom: 16px;
}

/* Плашка Discord-ника (клик = копирование) */
.discord-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(88, 101, 242, 0.15);
    border: 1px solid rgba(88, 101, 242, 0.45);
    color: #c9d0ff;
    border-radius: 10px;
    padding: 8px 14px;
    cursor: pointer;
    font-size: 0.9rem;
    font-family: inherit;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.discord-chip:hover {
    background: rgba(88, 101, 242, 0.3);
    border-color: #5865F2;
}

.discord-chip.copied {
    background: rgba(85, 255, 85, 0.15);
    border-color: rgba(85, 255, 85, 0.5);
    color: #b6ffb6;
}

.discord-chip .fab {
    color: #5865F2;
}

.discord-chip .chip-nick {
    font-weight: 600;
}

.chip-hint {
    font-size: 0.72rem;
    opacity: 0.55;
}

/* CTA — набор в команду */
.team-cta {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px;
    padding: 0 20px;
}

.team-cta h2 {
    margin-bottom: 12px;
}

.team-cta p {
    opacity: 0.75;
    margin-bottom: 24px;
    line-height: 1.6;
}

.btn-team {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #00ffe0, #00d4aa);
    color: #06121f;
    font-weight: 700;
    padding: 13px 28px;
    border-radius: 12px;
    text-decoration: none;
    transition: transform 0.15s, box-shadow 0.15s;
}

.btn-team:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(0, 255, 224, 0.3);
}

@media (max-width: 480px) {
    .chip-hint { display: none; }
    .team-hero { padding-top: 64px; }
}
