/* Яркая и веселая цветовая схема без белого и без темного */
:root {
    --bg-main: #FFDE7D;       /* Жизнерадостный желтый фон */
    --bg-section: #F8B400;    /* Насыщенный оранжево-желтый для секций */
    --bg-section-alt: #FF9E79; /* Персиковый для чередования секций */
    --text-color: #1A1A1A;    /* Глубокий серый для идеальной читаемости */
    --text-highlight: #900C3F; /* Яркий бордовый для заголовков */
    --accent-color: #C70039;  /* Красный акцент */
    --nav-bg: #FF5733;        /* Яркий коралловый для шапки */
    --nav-text: #FFEBEE;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--bg-main);
    color: var(--text-color);
    line-height: 1.6;
}

/* Выравнивание текстов по ширине во всех блоках */
p, li, .step-text, .info-text {
    text-align: justify;
}

/* Навигация и бургер-меню */
header {
    background-color: var(--nav-bg);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(255, 87, 51, 0.4);
}

.logo {
    position: absolute;
    left: 20px;
    font-size: 26px;
    font-weight: 900;
    color: #FFEBEE;
    text-decoration: none;
    text-shadow: 2px 2px 0px #C70039;
    display: flex;
    align-items: center;
}

.logo-svg {
    margin-right: 8px;
    vertical-align: middle;
}

.nav-links {
    display: flex;
    gap: 15px;
    list-style: none;
}

.nav-links a {
    color: var(--nav-text);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: transform 0.3s, color 0.3s;
}

.nav-links a:hover {
    color: #FFDE7D;
    transform: scale(1.1);
}

.burger {
    display: none;
    cursor: pointer;
    font-size: 28px;
    color: #FFEBEE;
    position: absolute;
    right: 20px;
}

/* Контентные секции */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

section {
    background-color: var(--bg-section);
    border-radius: 20px;
    padding: 35px;
    margin-bottom: 30px;
    box-shadow: 0 8px 20px rgba(200, 100, 0, 0.3);
    border: 3px dashed #FF5733;
}

section:nth-child(even) {
    background-color: var(--bg-section-alt);
    border: 3px dashed #C70039;
}

h2 {
    text-align: center;
    color: var(--text-highlight);
    margin-bottom: 25px;
    font-size: 32px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 1px 1px 0px rgba(255,255,255,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.icon {
    font-size: 36px;
    vertical-align: middle;
    display: inline-flex;
    align-items: center;
}

/* Шаги (Подключение и Настройка) */
.steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.step {
    background-color: rgba(255, 235, 238, 0.5);
    padding: 20px;
    border-left: 8px solid var(--accent-color);
    border-radius: 10px;
    font-size: 18px;
}

.step strong {
    color: var(--text-highlight);
    font-size: 20px;
}

/* Списки */
.feature-list {
    list-style: none;
    margin: 15px 0;
}

.feature-list li {
    background-color: rgba(255, 255, 255, 0.3);
    margin-bottom: 12px;
    padding: 15px 20px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.feature-list li::before {
    content: "🌟";
    margin-right: 15px;
    font-size: 22px;
    flex-shrink: 0;
}

/* Стилизация подсекций для ТВ-приставок */
.tv-subtitle {
    font-size: 22px;
    font-weight: 900;
    color: var(--text-highlight);
    margin: 25px 0 15px 0;
    padding-bottom: 8px;
    border-bottom: 2px dashed var(--accent-color);
}

.boxes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.box-card {
    background-color: rgba(255, 255, 255, 0.35);
    padding: 20px;
    border-radius: 12px;
    border-left: 6px solid var(--accent-color);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.box-card h3 {
    font-size: 19px;
    color: var(--text-highlight);
    margin-bottom: 8px;
}

.box-card p {
    font-size: 16px;
    text-align: left;
}

.software-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.soft-item {
    background-color: rgba(255, 235, 238, 0.6);
    padding: 16px;
    border-radius: 12px;
    font-size: 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.05);
}

.soft-item div {
    text-align: left;
}

.soft-icon {
    font-size: 26px;
    line-height: 1;
    flex-shrink: 0;
}

/* Кнопки */
.action-btn {
    display: block;
    width: fit-content;
    margin: 30px auto 10px;
    background: linear-gradient(135deg, #FF5733, #C70039);
    color: #FFF3E0;
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 900;
    font-size: 20px;
    text-align: center;
    box-shadow: 0 6px 15px rgba(199, 0, 57, 0.5);
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.action-btn:hover {
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 10px 25px rgba(199, 0, 57, 0.7);
}

.buttons-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

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

.mirror-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 10px;
    border-radius: 15px;
    text-decoration: none;
    color: #1A1A1A;
    font-weight: 800;
    font-size: 18px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mirror-btn .m-icon {
    font-size: 32px;
    margin-bottom: 8px;
}

.mirror-btn:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Цвета кнопок зеркал */
.m-ilook { background: #FF9AA2; }
.m-vipdrive { background: #FFB7B2; }
.m-rulook { background: #FFDAC1; }
.m-tvlider { background: #E2F0CB; }
.m-melord { background: #B5EAD7; }
.m-iseetv { background: #C7CEEA; }
.m-jinopro { background: #FDE8CD; }
.m-zedom { background: #D4A5A5; }

/* Тариф */
.tariff-card {
    max-width: 650px;
    margin: 30px auto;
    background: #FFE893;
    border: 4px solid #FF5733;
    border-radius: 25px;
    padding: 45px 30px;
    box-shadow: 0 12px 30px rgba(255, 87, 51, 0.4);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.tariff-badge {
    position: absolute;
    top: 25px;
    right: -45px;
    background: #C70039;
    color: #FFDE7D;
    font-size: 14px;
    font-weight: 900;
    padding: 8px 50px;
    transform: rotate(45deg);
    text-transform: uppercase;
}

.tariff-title {
    font-size: 28px;
    color: #900C3F;
    margin-bottom: 20px;
}

.price-value {
    font-size: 90px;
    font-weight: 900;
    color: #C70039;
    text-shadow: 3px 3px 0px #FF9E79;
    line-height: 1;
}

.price-currency, .price-period {
    font-size: 24px;
    font-weight: bold;
    color: #900C3F;
}

.tariff-desc {
    font-size: 18px;
    margin-top: 20px;
    color: #1A1A1A;
    font-weight: bold;
}

/* Социальные сети и Подвал */
footer {
    background-color: var(--nav-bg);
    padding: 40px 20px;
    text-align: center;
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-title {
    color: #FFEBEE;
    margin-bottom: 20px;
}

.social-buttons {
    display: flex;
    justify-content: center;
    gap: 25px;
}

.social-btn {
    padding: 12px 30px;
    border-radius: 12px;
    text-decoration: none;
    color: #FFF3E0;
    font-weight: 900;
    font-size: 18px;
    transition: transform 0.3s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.social-btn:hover { transform: scale(1.1); }
.vk { background-color: #4A76A8; }
.tg { background-color: #0088cc; }
.ok { background-color: #F2720C; }

.footer-copyright {
    color: #FFEBEE;
    margin-top: 25px;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    width: 100%;
}

/* Адаптивность */
@media (max-width: 900px) {
    .mirrors-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, auto);
    }
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: var(--nav-bg);
        position: absolute;
        top: 60px;
        left: 0;
        padding: 20px 0;
        text-align: center;
        gap: 20px;
        box-shadow: 0 10px 15px rgba(0,0,0,0.2);
    }
    .nav-links.active { display: flex; }
    .burger { display: block; }
    .buttons-row { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
    .mirrors-grid {
        grid-template-columns: 1fr;
    }
    .price-value { font-size: 70px; }
    .boxes-grid, .software-grid {
        grid-template-columns: 1fr;
    }
}