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

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

/* Навигационная панель (Header) */
.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;
}

/* Карточка приветствия */
.intro-card {
    background: var(--card-bg);
    padding: 45px;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.06);
    border: 1px solid #e2e8f0;
    text-align: center;
    margin-bottom: 40px;
}

.intro-card h1 {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0 0 20px 0;
    letter-spacing: -0.5px;
}

.intro-card p {
    font-size: 18px;
    color: var(--text-slate);
    margin: 0 0 30px 0;
    font-weight: 500;
}

/* Соцсети */
.social-row {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 30px;
    text-decoration: none;
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.2s, box-shadow 0.2s;
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.yt { background: #ef4444; }
.tg { background: #0ea5e9; }
.rt { background: #2563eb; }

/* Заголовки секций */
.section-title {
    text-align: center;
    font-size: 28px;
    font-weight: 800;
    margin: 60px 0 35px 0;
    color: var(--text-dark);
}

.section-title span {
    color: var(--primary);
}

/* Сетка карточек про творчество */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.feature-card {
    background: var(--card-bg);
    padding: 35px 30px;
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.01);
    border: 1px solid #e2e8f0;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.card-icon {
    width: 55px;
    height: 55px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}

.feature-card h3 {
    margin: 0 0 12px 0;
    font-size: 20px;
    font-weight: 700;
}

.feature-card p {
    margin: 0;
    color: var(--text-slate);
    font-size: 15px;
}

/* Блок этапов создания игр */
.steps-container {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
}

.step-item {
    text-align: center;
}

.step-num {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px auto;
    font-size: 16px;
}

.step-item h4 {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 700;
}

.step-item p {
    margin: 0;
    font-size: 13px;
    color: var(--text-slate);
}

/* Технологии и инструменты */
.tech-badges {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.tech-badge {
    background: var(--card-bg);
    padding: 12px 24px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 15px;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tech-badge i {
    color: var(--primary);
}

/* Лента планов (Дорожная карта) */
.roadmap-card {
    background: var(--card-bg);
    padding: 35px;
    border-radius: 24px;
    border: 1px solid #e2e8f0;
}

.roadmap-item {
    display: flex;
    gap: 20px;
    padding: 18px 0;
    border-bottom: 1px solid #f1f5f9;
    align-items: center;
}

.roadmap-item:last-child {
    border-bottom: none;
}

.road-status {
    font-weight: 700;
    font-size: 12px;
    padding: 6px 14px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.status-done { background: #dcfce7; color: #15803d; }
.status-process { background: #fef9c3; color: #a16207; }

.road-info h4 { margin: 0 0 4px 0; font-size: 16px; font-weight: 700; }
.road-info p { margin: 0; font-size: 14px; color: var(--text-slate); }

/* Красивое геймерское Правило с градиентом */
.cta-banner {
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    color: #fff;
    padding: 55px 40px;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 12px 30px rgba(99, 102, 241, 0.25);
    margin-top: 60px;
}

.cta-banner h2 { margin: 0 0 12px 0; font-size: 30px; font-weight: 800; }
.cta-banner p { margin: 0; color: #f5f3ff; font-size: 18px; font-weight: 600; }

/* Подвал */
.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: 60px;
}

@media (max-width: 768px) {
    .header-container { flex-direction: column; gap: 15px; }
    .intro-card { padding: 30px 20px; }
    .intro-card h1 { font-size: 28px; }
    .hero-banner { height: 260px; }
    .steps-container { grid-template-columns: 1fr; gap: 30px; }
}
