:root {
    /* Палитра цветов */
    --bg-deep: #050505;
    --bg-main: #0a0f18;
    --glass: rgba(20, 30, 40, 0.6);
    --border: 1px solid rgba(255, 255, 255, 0.1);
    --accent: #00f0ff;
    --text-main: #ffffff;
    --text-muted: #8899a6;

    /* Эффекты */
    --shadow: 0 8px 32px rgba(140, 2, 2, 0.5);

    /* Шрифты */
    --font-head: 'Orbitron', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-code: 'JetBrains Mono', monospace;
}

/* Светлая тема */
body.light-mode {
    --bg-deep: #eef2f6;
    --bg-main: #f8fafc;
    --glass: rgba(255, 255, 255, 0.9);
    --border: 1px solid rgba(0, 0, 0, 0.08);
    --accent: #0055ff;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
}

/* Базовый сброс */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-deep);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    transition: 0.4s ease;
}

/* Фоновые слои */
.bg-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: radial-gradient(circle at 50% 0%, rgba(0, 240, 255, 0.05), transparent 70%);
}

.bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: linear-gradient(rgba(128, 128, 128, 0.05) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(128, 128, 128, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Навигация */
.nav-container {
    position: fixed;
    top: 20px;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 1000;
}

.glass-nav {
    background: var(--glass);
    backdrop-filter: blur(16px);
    border: var(--border);
    padding: 10px 30px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 40px;
    box-shadow: var(--shadow);
}

.brand {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.2rem;
    display: flex;
    gap: 10px;
    align-items: center;
}

.brand .icon {
    color: var(--accent);
}

.menu {
    display: flex;
    gap: 5px;
}

.menu-item {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 10px 20px;
    cursor: pointer;
    transition: 0.3s;
    border-radius: 20px;
}

.menu-item:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.05);
}

.menu-item.active {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 0 15px var(--accent);
}

.theme-btn {
    background: transparent;
    border: 1px solid var(--text-muted);
    color: var(--text-main);
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    font-size: 0.8rem;
}

/* Управление вкладками */
.tab-content {
    display: none;
    padding-top: 120px;
    padding-bottom: 80px;
    opacity: 0;
    animation: fadeUp 0.8s forwards;
}

.tab-content.active {
    display: block;
}

@keyframes fadeUp {
    from {
        transform: translateY(40px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Главный заголовок (Hero) */
.hero-header {
    text-align: center;
    margin-bottom: 80px;
}

.season-badge {
    display: inline-block;
    padding: 5px 15px;
    border: 1px solid var(--accent);
    color: var(--accent);
    font-family: var(--font-head);
    font-size: 0.8rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.mega-title {
    font-family: var(--font-head);
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(to right, #fff, #888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.light-mode .mega-title {
    background: linear-gradient(to right, #000, #555);
    -webkit-background-clip: text;
}

.subtitle {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.hero-image-box {
    width: 100%;
    height: 500px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px dashed var(--text-muted);
    border-radius: 20px;
    margin-top: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.placeholder-content {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.5rem;
}

/* Секция Ценностей */
.values-block {
    margin-bottom: 80px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.value-card {
    background: var(--glass);
    border: var(--border);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    transition: 0.3s;
}

.value-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
}

.value-card h3 {
    color: var(--accent);
    font-family: var(--font-head);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.value-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Заголовки секций */
.section-head {
    font-family: var(--font-head);
    font-size: 2.5rem;
    margin-bottom: 50px;
    border-left: 5px solid var(--accent);
    padding-left: 20px;
    text-transform: uppercase;
}

/* Команда */
.mentor-display {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.mentor-card {
    width: 350px;
    background: linear-gradient(145deg, rgba(255, 215, 0, 0.1), transparent);
    border-color: gold !important;
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.team-card {
    background: var(--glass);
    border: var(--border);
    padding: 30px;
    text-align: center;
    border-radius: 16px;
    transition: 0.3s;
}

.team-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: var(--shadow);
}

.avatar {
    font-size: 3rem;
    margin-bottom: 15px;
}

.role {
    font-size: 0.75rem;
    font-weight: bold;
    color: var(--accent);
    letter-spacing: 1px;
    display: block;
    margin-top: 5px;
}
@media (max-width: 1024px) {
    .mega-title {
        font-size: 3rem;
    }

    .members-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .values-grid {
        grid-template-columns: 1fr;
    }
    .glass-nav {
        padding: 15px;
        width: 90%;
        justify-content: center;
        flex-wrap: wrap;
    }
}