/* Основные стили: фон eff9f8, без белого */
body {
    background-color: #eff9f8; 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #0b3d32; 
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* Темно-зеленое меню 155e4d */
header {
    background-color: #155e4d;
    padding: 15px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* Логотип и меню в одну строку по центру */
.header-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px; 
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 26px;
    font-weight: 900;
    color: #cff145;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

/* Навигация */
.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 10px;
    align-items: center;
}

.nav-menu li a {
    color: #eff9f8;
    text-decoration: none;
    font-weight: bold;
    padding: 8px 12px;
    border-radius: 15px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-menu li a:hover {
    background-color: #0f4538;
    color: #cff145;
}

/* Кнопка Volet в меню */
.volet-btn {
    background-color: #cff145 !important;
    color: #155e4d !important;
    font-weight: 900 !important;
    border-radius: 20px !important;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    text-transform: uppercase;
}
.volet-btn:hover {
    transform: scale(1.05);
    background-color: #bde033 !important;
}

/* Бургер-меню для мобильных */
.burger {
    display: none;
    cursor: pointer;
    font-size: 30px;
    color: #cff145;
    background: none;
    border: none;
}

/* Контейнер для выравнивания ширины всех блоков */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Слоганы / Геро-блок */
.hero {
    text-align: center;
    padding: 50px 20px;
    background: linear-gradient(135deg, #155e4d, #2a9d8f);
    border-radius: 20px;
    margin-bottom: 35px;
    box-shadow: 0 6px 12px rgba(21, 94, 77, 0.15);
}
.hero h1 {
    color: #cff145;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    font-size: 2.5em;
    margin: 0 0 10px 0;
}
.hero h2 {
    color: #eff9f8;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
    font-size: 1.8em;
    margin: 0;
}

/* Контентные блоки */
.block {
    background-color: #dcf2ee; 
    border-radius: 20px;
    padding: 35px;
    margin-bottom: 35px;
    box-shadow: 0 6px 12px rgba(21, 94, 77, 0.1);
    border: 2px solid #a3d9d0;
}

/* Заголовки по центру */
.block h2 {
    color: #155e4d;
    border-bottom: 2px dashed #2a9d8f;
    padding-bottom: 15px;
    margin-top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 2em;
}

.block h2 i {
    color: #2a9d8f;
}

/* Строгое выравнивание текста по ширине (justify) */
.block p, .block ul li {
    text-align: justify;
    font-size: 1.1em;
    hyphens: auto;
}

/* Заголовки внутри текстов центрируются */
.block h3 {
    text-align: center;
    color: #155e4d;
    margin-top: 25px;
}

.block ul {
    padding-left: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.block li {
    margin-bottom: 12px;
}

/* Кнопки в блоках */
.button-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 25px;
}

.action-btn {
    background-color: #f4a261;
    color: #fff;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.15em;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    transition: 0.3s;
    text-align: center;
}
.action-btn:hover {
    background-color: #e76f51;
    transform: translateY(-2px);
}

/* Блок оплаты Volet */
.payment-alert {
    background: #155e4d; 
    padding: 20px; 
    border-radius: 12px; 
    color: #eff9f8; 
    border: 2px dashed #cff145;
    text-align: justify;
    margin-top: 25px;
}
.volet-highlight {
    color: #cff145;
    font-weight: 900;
    font-size: 1.2em;
    letter-spacing: 0.5px;
}

/* Кнопка Volet в разделе Оплата */
.volet-payment-btn {
    background-color: #cff145;
    color: #155e4d;
    padding: 12px 40px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 900;
    font-size: 1.15em;
    text-transform: uppercase;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    text-align: center;
    display: inline-block;
}

.volet-payment-btn:hover {
    background-color: #bde033;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

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

.mirror-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background-color: #2a9d8f; 
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.15);
    transition: 0.3s;
    text-align: center;
}
.mirror-link:hover {
    background-color: #155e4d;
    transform: scale(1.05);
}

/* ТВ Приставки кнопки */
.tv-box-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
    flex-wrap: wrap;
}

/* Подвал / Соцсети */
footer {
    background-color: #155e4d;
    padding: 40px 20px;
    text-align: center;
}
footer h3 {
    color: #cff145;
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.5em;
}
.social-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}
.social-btn {
    color: #fff;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: bold;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}
.social-btn:hover { transform: translateY(-3px); }
.vk { background: #4680C2; }
.tg { background: #0088cc; }
.ok { background: #ee8208; }

/* Страница 404 */
.error-404 {
    text-align: center;
    padding: 60px 20px;
}
.error-404 h1 {
    font-size: 8em;
    color: #155e4d;
    margin: 0;
    line-height: 1;
    text-shadow: 3px 3px 0px #cff145;
}
.error-404 h2 {
    font-size: 2em;
    color: #0b3d32;
    margin-top: 15px;
    border: none;
    justify-content: center;
}
.error-404 p {
    text-align: center !important;
    font-size: 1.2em;
    margin-bottom: 35px;
}

/* Адаптивность */
@media (max-width: 1024px) {
    .header-content {
        gap: 15px;
    }
}
@media (max-width: 900px) {
    .mirrors-grid { grid-template-columns: repeat(2, 1fr); }
    .header-content { justify-content: space-between; }
    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #155e4d;
        position: absolute;
        top: 100%;
        left: 0;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0,0,0,0.2);
    }
    .nav-menu.active { display: flex; }
    .burger { display: block; }
}
@media (max-width: 600px) {
    .mirrors-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 1.8em; }
    .hero h2 { font-size: 1.3em; }
    .error-404 h1 { font-size: 5em; }
}
