:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #e0e7ff;
    --text-dark: #0f172a;
    --text-slate: #475569;
    --bg-site: #f8fafc;
    --card-bg: #ffffff;
    --accent: #ff007f;
    --success: #10b981;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-site);
    color: var(--text-dark);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* Шапка сайта */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #e2e8f0;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(99, 102, 241, 0.2);
}

.brand-text {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-slate);
    font-weight: 700;
    font-size: 14px;
    transition: color 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary);
}

/* Огромный баннер */
.hero-banner {
    width: 100%;
    height: 450px;
    background-image: url('https://mikhailgames.ru/wp/wp-content/themes/flixita/assets/images/page-header.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: inset 0 -40px 60px rgba(0,0,0,0.15);
    position: relative;
}

/* Контентная область */
.main-content {
    max-width: 1100px;
    margin: -50px auto 60px auto;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

.page-title-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.06);
    border: 1px solid #e2e8f0;
    text-align: center;
    margin-bottom: 50px;
}

.page-title-card h1 {
    font-size: 36px;
    font-weight: 800;
    margin: 0 0 10px 0;
    letter-spacing: -0.5px;
}

.page-title-card p {
    font-size: 16px;
    color: var(--text-slate);
    margin: 0;
    font-weight: 500;
}

/* Сетка команды */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.team-card {
    background: var(--card-bg);
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border: 1px solid #e2e8f0;
    padding: 35px 30px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(99, 102, 241, 0.1);
}

/* Аватарки */
.member-avatar {
    width: 100px;
    height: 100px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    margin: 0 auto 20px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: 800;
    border: 4px solid #ffffff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.team-card h3 {
    margin: 0 0 5px 0;
    font-size: 22px;
    font-weight: 800;
}

.member-role {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary);
    letter-spacing: 1px;
    margin-bottom: 20px;
    display: inline-block;
    background: var(--primary-light);
    padding: 4px 14px;
    border-radius: 20px;
}

.member-bio {
    font-size: 14px;
    color: var(--text-slate);
    margin-bottom: 25px;
    min-height: 65px;
}

/* Шкалы навыков (Skills) */
.member-skills {
    text-align: left;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.skill-bar {
    width: 100%;
    height: 6px;
    background: #e2e8f0;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--primary) 0%, #818cf8 100%);
    border-radius: 10px;
}

/* Подвал */
.footer {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-slate);
    font-size: 14px;
    font-weight: 600;
    border-top: 1px solid #e2e8f0;
    background: #ffffff;
    margin-top: 80px;
}

@media (max-width: 768px) {
    .header-container { flex-direction: column; gap: 15px; }
    .hero-banner { height: 260px; }
}
