/* Базовые настройки: сине-голубые тона */
:root {
    --bg-color: #e1f5fe;
    --header-bg: #81d4fa;
    --text-color: #01579b;
    --card-bg: #b3e5fc;
    --card-bg-alt: #b2ebf2;
    --btn-gradient: linear-gradient(135deg, #29b6f6, #0288d1);
    --accent-color: #0277bd;
    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-family);
    background: linear-gradient(180deg, #e1f5fe 0%, #b3e5fc 50%, #81d4fa 100%);
    color: var(--text-color);
    line-height: 1.7;
}

h1, h2, h3 {
    text-align: center;
    color: var(--accent-color);
    text-shadow: 1px 1px 2px rgba(129, 212, 250, 0.8);
}

p {
    text-align: justify;
    font-size: 1.15rem;
    padding: 0 15px;
    color: #01579b;
}

/* Навигация и Бургер-меню */
header {
    background-color: var(--header-bg);
    padding: 15px 30px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(2, 119, 189, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #01579b;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.nav-container {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

.nav-links {
    display: flex;
    gap: 15px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    justify-content: center;
}

.nav-links a {
    text-decoration: none;
    color: #01579b;
    font-weight: 600;
    padding: 8px 15px;
    background-color: rgba(225, 245, 254, 0.6);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    background-color: #0288d1;
    color: #e1f5fe;
    box-shadow: 0 4px 8px rgba(2, 119, 189, 0.3);
}

.burger {
    display: none;
    cursor: pointer;
    font-size: 2rem;
    color: #01579b;
}

/* Главный сток / баннер */
.hero {
    padding: 70px 20px;
    text-align: center;
    background: radial-gradient(circle, #b3e5fc 0%, #4fc3f7 100%);
    border-bottom: 4px solid #29b6f6;
    box-shadow: inset 0 -10px 20px rgba(2, 136, 209, 0.1);
}

.hero h1 {
    font-size: 3.2rem;
    color: #01579b;
    text-transform: uppercase;
    text-shadow: 2px 2px 0px #81d4fa, 4px 4px 0px #4fc3f7;
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero h2 {
    font-size: 1.7rem;
    color: #e1f5fe;
    background: linear-gradient(45deg, #0288d1, #0277bd);
    display: inline-block;
    padding: 12px 25px;
    border-radius: 35px;
    box-shadow: 0 8px 15px rgba(2, 119, 189, 0.3);
}

/* Секции */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px;
}

.card {
    background-color: var(--card-bg);
    border-radius: 25px;
    padding: 35px;
    margin-bottom: 45px;
    box-shadow: 0 12px 25px rgba(2, 119, 189, 0.15);
    border: 2px solid #81d4fa;
    transition: transform 0.3s ease;
}

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

.card:nth-child(even) {
    background-color: var(--card-bg-alt);
    border-color: #80deea;
}

.section-title {
    font-size: 2.3rem;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    color: #01579b;
}

/* Списки */
ul.custom-list, ol.custom-steps {
    font-size: 1.15rem;
    color: #01579b;
    padding-right: 15px;
}

ul.custom-list li, ol.custom-steps li {
    margin-bottom: 15px;
    text-align: justify;
}

ol.custom-steps li::marker {
    font-weight: bold;
    color: #0288d1;
    font-size: 1.3rem;
}

ul.custom-list {
    list-style-type: none;
    padding-left: 15px;
}

ul.custom-list li::before {
    content: "🔹";
    margin-right: 10px;
}

/* Кнопки */
.btn {
    display: inline-block;
    padding: 16px 35px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #e1f5fe;
    background: var(--btn-gradient);
    text-decoration: none;
    border-radius: 35px;
    text-align: center;
    margin: 20px auto;
    display: block;
    width: max-content;
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 15px rgba(2, 136, 209, 0.3);
}

.btn:hover {
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 10px 20px rgba(2, 136, 209, 0.5);
    color: #e1f5fe;
}

.btn-alt {
    background: linear-gradient(135deg, #00acc1, #00838f);
}

/* Зеркала */
.mirrors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.mirror-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    border-radius: 18px;
    font-weight: bold;
    color: #e1f5fe;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s;
    text-align: center;
    box-shadow: 0 6px 12px rgba(2, 119, 189, 0.2);
}

.mirror-link:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 10px 20px rgba(2, 119, 189, 0.4);
}

.m-1 { background-color: #1976d2; }
.m-2 { background-color: #0288d1; }
.m-3 { background-color: #0097a7; }
.m-4 { background-color: #0277bd; }
.m-5 { background-color: #00838f; }
.m-6 { background-color: #1565c0; }
.m-7 { background-color: #00acc1; }
.m-8 { background-color: #283593; }

/* Социальные сети */
.social-footer {
    background-color: #4fc3f7;
    padding: 40px 20px;
    text-align: center;
    border-top: 4px solid #0288d1;
}

.social-footer h3 {
    color: #01579b;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 25px;
}

.social-btn {
    padding: 12px 25px;
    border-radius: 25px;
    color: #e1f5fe;
    font-weight: bold;
    text-decoration: none;
    font-size: 1.2rem;
    transition: 0.3s;
    box-shadow: 0 4px 10px rgba(1, 87, 155, 0.2);
}

.vk { background-color: #1e88e5; }
.tg { background-color: #039be5; }
.ok { background-color: #fb8c00; }

.social-btn:hover {
    transform: scale(1.1);
}

/* Адаптивность для мобильных устройств */
@media (max-width: 1000px) {
    .mirrors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 850px) {
    .nav-container {
        display: none;
    }
    .nav-container.active {
        display: flex;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--header-bg);
        padding: 20px 0;
        box-shadow: 0 10px 15px rgba(2, 119, 189, 0.2);
    }
    .nav-links {
        flex-direction: column;
        width: 100%;
        align-items: center;
    }
    .burger {
        display: block;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    .hero h2 {
        font-size: 1.3rem;
    }
    .mirrors-grid {
        grid-template-columns: 1fr;
    }
}