/*
* ОГЛАВЛЕНИЕ:
* 1. Общие стили
* 2. Шапка сайта (Header)
* 3. Мобильное меню
* 4. Главная секция (Hero)
* 5. Поиск
* 6. Карточки символов
* 7. Баннер
* 8. SEO текст
* 9. Хлебные крошки
* 10. Контейнер для страниц обновлений
* 11. Футер
* 12. Медиа-запросы
*/

/* 1. ОБЩИЕ СТИЛИ
-------------------------------------------------- */
:root {
    --container-padding: 10px;
    --card-gap: 16px;
    --card-min-width: 120px;
    --card-border-radius: 12px;
    
    -radius-sm: 0.25rem;
    --radius-md: 0.375rem;
    --radius-lg: 0.5rem;
    
    --text-primary: #0D0B0D;
    --text-secondary: #514E51;
            
    --primary-color: #CFF602;
    --primary-hover: #B6D805;
            
    --secondary-color: #64748b;
            
    --success-color: #92D79F;
    --danger-color: #FF605E;
    --warning-color: #FDAA52;
            
    --background-color: #F9FAFA;
            
    --card-color: #ffffff;
    --border-color: #E7ECEC;
    
    --wite-color: #ffffff;
    --dark-color: #0D0B0D;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background-color);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.container-white-bg {
    max-width: 1200px;
    margin: 0 auto;
    padding: 42px 42px;
    display: flex;
    flex-direction: column;
    align-items: left;
    background-color:#fff;
    border: 1px solid var(--border-color);;
    border-radius: var(--card-border-radius);
    
}

/* 2. ПРОМО БАННЕР (PROMO BANNER)
-------------------------------------------------- 
background: linear-gradient(to right, #43CDA2, #1A619D, #43CDA2);

*/

.promo-banner {
    width: 100%;
    height: 42px;
   background: linear-gradient(
        90deg, 
        #FF5E5E, 
        #FFBB4A, 
        #50E3C2, 
        #4A91FF, 
        #865CFF, 
        #FF5E5E
    );
    background-size: 400% 100%;
    animation: gradient 10s linear infinite;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    top: 0;
    left: 0;
    z-index: 1001; 
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 200% 50%;
    }
}

@keyframes gradient-diagonal {
    0% {
        background-position: 0% 0%;
    }
    50% {
        background-position: 100% 100%;
    }
    100% {
        background-position: 0% 0%;
    }
}



.promo-banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 10px;
    flex-wrap: wrap;
}

.promo-text {
    white-space: nowrap;
}

.countdown {
    white-space: nowrap;
    font-weight: 500;
}

.cta-button {
    color: white;
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
}


@media (max-width: 768px) {
    .promo-banner {
        height: auto;
        padding: 12px 0;
        margin-top: 0;
    }

    .promo-banner-content {
        flex-direction: column;
        gap: 8px;
    }
}


/* 2. ШАПКА САЙТА (HEADER)
-------------------------------------------------- */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
    padding: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    max-width: 1200px;
    margin: 0 auto;
}

.header-container {
    width: 100%;
    background-color: white;
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--text-primary);
    text-decoration: none;
}


.desktop-menu {
    display: flex;
    justify-content: center;
    flex: 1;
    padding: 0 24px;
    position: relative;
}

.desktop-menu-list {
    list-style: none;
    display: flex;
    gap: 24px;
}

.desktop-menu a {
    text-decoration: none;
    color: var(--text-primary);
    font-size: 14px;
}

.desktop-menu a:hover {
    text-decoration: none;
    color: #9A919A;
     transition: background-color 0.2s ease;
}

.desktop-menu a.active, 
.mobile-menu-list a.active {
    font-weight: 600;
    text-decoration: underline;
}

/* Стили для выпадающего меню */
.menu-item {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
}

.dropdown-toggle::after {
    content: "▼";
    font-size: 8px;
    margin-left: 5px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    min-width: 250px;
    display: none;
    z-index: 1000;
    padding: 8px 0;
}

.menu-item:hover .dropdown-menu {
    display: block;
}

.dropdown-item {
    display: block;
    padding: 8px;
    margin: 2px 8px;
    font-size: 14px !important;
    color: #1D1C1D !important;
    text-decoration: none !important;
    border-radius: 8px;

}

.dropdown-item:hover {
    background-color: #f8f8f8;
    text-decoration: none !important;
}

.menu-item.active .dropdown-menu {
    display: block;
}

.dropdown-column {
    display: flex;
    flex-direction: column;
    flex: 1 1 50%; /* Важно: flex-grow, flex-shrink и flex-basis в 50% */
    width: 50%; /* Явно задаем ширину 50% */
    box-sizing: border-box; /* Включаем рамки и отступы в расчет ширины */

}


/* Показываем меню только при наведении на пункт меню */
.desktop-menu .menu-item:hover .dropdown-menu {
    display: flex;
}

/* Для обычных меню */
.desktop-menu .dropdown-menu:not(.two-columns) {
    display: none; /* Скрываем по умолчанию */
    flex-direction: column;
}

/* Для двухколоночных меню */
.desktop-menu .menu-item:hover .dropdown-menu.two-columns {
    display: flex;
    flex-direction: row;
}

.dropdown-menu.two-columns  {
   line-height: 24px;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    min-width: 450px;
    display: none;
    z-index: 1000;
    width: 100%; /* Занимать всю доступную ширину */
}

.whats-new {
    text-decoration: none; 
    color: #7342F1;
    font-weight: 500;
    font-size: 14px;
}

.whats-new:hover {
    text-decoration: underline;
}

/* Стили для контейнера логотипа и бейджа */
.logo-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Стили для бейджа версии */
.version-badge {
    margin-left: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 24px;
    background-color: #EDF0F0;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500; /* medium */
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.2s ease;
}

.version-badge:hover {
    background-color: #E9EBEB;
    text-decoration: none;
}


.new-badge {
    margin-left: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 24px;
    background-color: #EDF0F0;
    color: var(--text-primary);
    font-size: 11px;
    font-weight: 500; /* medium */
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.2s ease;
}

.badge {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 6px;
  font-size: 10px;
  font-weight: bold;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  border-radius: 10px;
  color: white;
  background-color: #ff3860; /* Красный цвет для бейджика */
  text-transform: uppercase;
}

/* 3. МОБИЛЬНОЕ МЕНЮ
-------------------------------------------------- */
.burger-btn {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    width: 24px;
    height: 24px;
    position: relative;
    margin-right: 24px;
}

.burger-btn span {
    display: block;
    position: absolute;
    width: 24px;
    height: 3px;
    background-color: #000;
    transition: all 0.3s ease;
}

.burger-btn span:nth-child(1) {
    top: 2px;
}

.burger-btn span:nth-child(2) {
    top: 10px;
}

.burger-btn span:nth-child(3) {
    top: 18px;
}

.burger-btn.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 10px;
}

.burger-btn.active span:nth-child(2) {
    opacity: 0;
}

.burger-btn.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 10px;
}

/* Мобильное меню на весь экран */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 1000;
    overflow-y: auto;
    padding: 0;
}

/* Заголовок мобильного меню */
.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    background-color: #fff;
    z-index: 1;
}

.mobile-menu-title {
    font-size: 18px;
    font-weight: 600;
}

.close-menu-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    width: 30px;  /* Увеличил размер для лучшей кликабельности */
    height: 30px;
    position: relative;
    padding: 0;  /* Убираем отступы */
}

.close-menu-btn span {
    display: block;
    position: absolute;
    width: 24px;
    height: 3px;
    background-color: #000;
    top: 50%;
    left: 50%;
    margin-left: -12px;  /* Центрируем линию */
}

.close-menu-btn span:nth-child(1) {
    transform: translateY(-50%) rotate(45deg);
}

.close-menu-btn span:nth-child(2) {
    transform: translateY(-50%) rotate(-45deg);
}

/* Контент мобильного меню */
.mobile-menu-content {
    padding: 16px;
}

/* Группы в мобильном меню */
.mobile-menu-group {
    margin-bottom: 24px;
}

.mobile-menu-group-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid #EAEAEA;
}

.mobile-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu-list li {
    margin-bottom: 10px;
}

.mobile-menu-list a {
    text-decoration: none;
    color: var(--text-primary);
    font-size: 16px;
    display: block;
    padding: 8px 0;
}

.mobile-menu-list a:hover {
    text-decoration: underline;
}

.mobile-menu.open {
    display: block;
}

/* Добавляем для медиа-запросов */
@media (max-width: 768px) {
    .burger-btn {
        display: block;
    }
    
    .desktop-menu {
        display: none;
    }
}



/* 4. ГЛАВНАЯ СЕКЦИЯ (HERO)
-------------------------------------------------- */
.hero {
    padding: 142px 0 42px 0;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; /* Предотвращает выход изображений за пределы */
}

.left-icons-image {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    height: 80%; /* или нужная вам высота */
    max-height: 90%;
}

.right-icons-image {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    height: 80%; /* или нужная вам высота */
    max-height: 90%;
}



/* Для мобильных устройств */
@media (max-width: 768px) {
.left-icons-image, .right-icons-image {
    opacity: 0.5; /* Делаем более прозрачными на мобильных */
    max-height: 70%;

}

.container {
    max-width: 85%;
    }
    
.container-white-bg{
    max-width: 94%;
    }
}

.hero-badge {
    letter-spacing: 0.10em;
    background-color: #EDF0F0;
    color: #232323;
    font-size: 11px;
    padding: 9px 16px;
    margin: 12px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    white-space: nowrap;
}

 /* Контейнер для центрирования содержимого */
.container-hero {
    position: relative;
    z-index: 2; /* Выше, чем у изображений */
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 auto;


}

.container-hero h1 {
    text-align: center;
    color: var(--text-primary);
    margin-bottom: 16px;
    font-size: 72px;
    font-weight: 700;
    line-height: 1.1;
    max-width: 1000px;
}


.subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 18px;
    margin-bottom: 24px;
    max-width: 1000px;
    line-height: 1.5;
}

.buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 42px;
}

.primary-btn {
    background-color: var(--primary-color);
    color: var(--text-primary);
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 400;
    transition: all 0.2s ease;
}

.primary-btn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.secondary-btn {
    background-color: white;
    color: #333;
    border: 1px solid #e0e0e0;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 400;
    transition: all 0.2s ease;
    min-width:160px;
}

.secondary-btn:hover {
    background-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}


/* 5. ГЛАВНАЯ СТРАНИЦА
-------------------------------------------------- 
*/

 /* Контейнер для центрирования содержимого */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 auto;
    position: relative;
    z-index: 2; /* Выше, чем у изображений */
}

.container h1 {
    text-align: center;
    color: var(--text-primary);
    margin-bottom: 16px;
    font-size: 72px;
    font-weight: 700;
    line-height: 1.1;
    max-width: 1000px;
}


        /* Сетка карточек */
        .index-cards-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
            margin: auto;
            padding-top:32px;
        }

        /* Стили карточки */
        .index-card {
            background: white;
            border: 1px solid var(--border-color);
            border-radius: 12px;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .index-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
        }

        /* Область изображения */
        .index-card__image {
            width: 100%;
            height: 200px;
            background-color: #f0f0f0;
            background-size: cover;
            background-position: center;
        }

        /* Контентная область */
        .index-card__content {
            padding: 24px;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }

        /* Заголовок */
        .index-card__title {
            font-size: 24px;
            font-weight: 600;
            color: var(--text-primary);
            margin-bottom: 12px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        /* Текст */
        .index-card__text {
            font-size: 14px;
            line-height: 1.6;
            color: var(--text-secondary);
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        /* Нижняя часть карточки (опционально) */
        .index-card__footer {
        margin-top: 16px;
        width:100%;
         justify-content: space-between;
        }

.index-card__button {
    display: flex; /* Меняем на просто flex вместо inline-flex */
    width: 100%; /* Растягиваем на всю ширину */
    align-items: center;
    justify-content: center; /* Размещаем текст и стрелку по краям */
    text-decoration: none;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 400;
    gap:12px;
}

.index-card__button:hover {
background-color:#F5F5F5;
}


.index-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    width: 100%;
    height: 100%;
    cursor: pointer;
    text-decoration: none;
}

.index-card-link:hover {
    text-decoration: none;
}

.index-card__title,
.index-card-link .index-card__title,
.index-card h3,
h3.index-card__title {
    text-decoration: none;
    border-bottom: none;
}




        /* Адаптивность для планшета */
        @media (max-width: 992px) {
            .index-cards-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        /* Адаптивность для мобильных */
        @media (max-width: 576px) {
            .index-cards-grid {
                grid-template-columns: 1fr;
            }
            
            .index-card__title {
                font-size: 20px;
            }
        }




/* 5. ПОИСК
-------------------------------------------------- 
 position: relative;
   position: sticky;

*/
.search-container {
    margin-bottom: 32px;
    width: 100%;
      position: sticky;
    top: 12px; /* Высота вашего promo-banner, если он есть */
    z-index: 100;
}

.search-input {
    width: 100%;
    padding: 22px 22px 22px 54px;
    font-size: 14px;
    border: 1px solid #E7E7EA;
    border-radius: 8px;
    background: #FFF url('../img/search.svg') no-repeat 24px center;
    background-size: 16px 16px;
    padding-right: 54px; /* Добавляем место для иконки */
}

.search-input::hover {
    border: 1px solid #D1D1D1;
}

.search-input:focus {
    border: 1px solid #9D9D9D;
    outline: none;
}

.clear-button {
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    display: none; /* Скрыто по умолчанию */
    padding: 0;
    color: #9D9D9D;
}
    
.clear-button:hover {
    color: #666;
}
    
/* Показываем кнопку, когда в поле есть текст и/или оно в фокусе */
    .search-input:focus + .clear-button,
    .search-input.has-value + .clear-button {
        display: block;
}

/* Стили для фиксированного поиска */
.search-container.fixed {
    position: fixed;
    top: 42px; /* Высота promo-banner */
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: white;
    padding: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    margin: 0 auto;
}

/* Контейнер-заполнитель, чтобы предотвратить скачок контента */
.search-placeholder {
    display: none;
    height: 68px; /* Высота поисковой строки + padding */
}

/* Показываем заполнитель, когда поиск фиксирован */
.search-placeholder.show {
    display: block;
}




/* 6. КАРТОЧКИ СИМВОЛОВ
-------------------------------------------------- */
.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(var(--card-min-width), 1fr));
    gap: var(--card-gap);
    width: 100%;
}

.symbol-card {
    background: white;
    border-radius: var(--card-border-radius);
    padding: 24px 16px;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
    text-align: center;
    aspect-ratio: 1 / 1;
    height: 100%;
    white-space: nowrap;          /* Запрещает перенос текста */
    overflow: hidden;             /* Скрывает содержимое, которое не помещается */
    text-overflow: ellipsis;      /* Добавляет многоточие (...) */
    max-width: 100%;              /* Максимальная ширина контейнера */
}

.symbol-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.symbol {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    height: 50px;
    font-size: 32px;
}

.code {
    font-size: 11px;
    color: #8B878B;
    display: block;
    margin-bottom: 0;
    font-weight: 200;
    bottom: 0;
    white-space: nowrap;          /* Запрещает перенос текста */
    overflow: hidden;             /* Скрывает содержимое, которое не помещается */
    text-overflow: ellipsis;      /* Добавляет многоточие (...) */
    max-width: 100%;              /* Максимальная ширина контейнера */
}

.copy-btn {
    background-color: #EFF0F0;
    color: var(--text-primary);
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 10px;
    font-weight: 400;
    width: calc(100% - 8px);
    box-shadow: none;
    position: absolute;
    left: 4px;
    bottom: 4px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.symbol-card:hover .copy-btn {
    opacity: 1;
}

.new-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #EEA339;
}

.new-badge::before {
    font-size: 24px;
    line-height: 0.5em;
    margin-left: 4px;
}

/* Стиль для сообщения об отсутствии результатов */
.no-results-message {
    display: none;
    text-align: center;
    padding: 20px;
    font-size: 16px;
    color: var(--text-secondary);
    width: 100%;
}

/* 7. БАННЕР
-------------------------------------------------- */
.banner-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
    padding-top: 60px;
    display: flex;
    justify-content: center;
}

.banner {
    width: 100%;
    height: auto;
    max-width: 1200px;
    max-height: 340px;
}

/* 8. SEO ТЕКСТ
-------------------------------------------------- */
.seo-text-container {
    max-width: 980px;
    width: 100%;
    margin: 0 auto;
    padding: 40px 0;
}

.seo-text-container h3 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.seo-text-container h1 {
    font-size: 72px;
    margin-bottom: 56px;
    text-align: left;
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.1;
    max-width: 1000px;
}

.seo-text-container p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 42px;

}

.seo-text-container ul {
    list-style-type: disc;
    padding-left: 20px;
    padding-bottom: 42px;
}

.seo-text-container ul li {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    line-height: 1.6;
}

.seo-text-container a {
    color: var(--text-primary); /* Черный цвет для ссылок */
    text-decoration: none; /* Убираем подчеркивание по умолчанию */
    transition: text-decoration 0.2s ease; /* Плавный переход для подчеркивания */
}

.seo-text-container a:hover {
    text-decoration: underline; /* Подчеркивание при наведении */
}

/* 9. ХЛЕБНЫЕ КРОШКИ
-------------------------------------------------- */
.breadcrumb {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 124px;
    align-self: flex-start;
}

.breadcrumb a {
    text-decoration: none;
    color: var(--text-secondary);
}

.breadcrumb a:hover {
    text-decoration: underline;
    color: var(--text-primary);
}

/* 10. КОНТЕЙНЕР ДЛЯ СТРАНИЦ ОБНОВЛЕНИЙ
-------------------------------------------------- */
.container-new {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.content-container {
    width: 100%;
}

.update-block {
    margin-bottom: 42px;
    width: 100%;
}

.date {
    font-size: 16px;
    color: #26272C;
    margin-bottom: 24px;
}


/* 11. ФУТЕР
-------------------------------------------------- */


        .footer {
            background-color: #0D0B0D;
            padding: 32px;
            color: white;
            width: 100%;
        }

        .footer-container {
            max-width: 1200px;
            margin: 0 auto;
        }

        .footer-logo {
            font-size: 42px;
            color: white;
            margin-bottom: 42px;
        }

        .footer-content {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
       
        }

        .footer-text {
            font-size: 14px;
            color: #8D898D;
            max-width: 680px;
            line-height: 1.5;
            padding-bottom: 120px;
        }

        .footer-menu {
            display: flex;
            gap: 86px;
        }

        .menu-column {
            display: flex;
            flex-direction: column;
            gap: 16px;
        }

        .menu-item {
            font-size: 14px;
            color: white;
            text-decoration: none;
        }

        .menu-item:hover {
            text-decoration: underline;
        }

        .footer-bottom {
            display: flex;
            justify-content: space-between;
            font-size: 14px;
            color: #878487;
        }

        .footer-bottom a {
            color: #878487;
            text-decoration: none;
        }

        .footer-bottom a:hover {
            color: #CCCCCC;
            text-decoration: underline;
        }

        @media (max-width: 768px) {
            .footer-content {
                flex-direction: column;
            }
            
         .footer {
            padding: 20px;

        }
            
        .footer-logo {
            font-size: 24px;
            color: white;
            margin-bottom: 42px;
        }
        
                .footer-text {
                    font-size: 14px;
            padding-bottom: 42px;
        }

            .footer-menu {
                flex-direction: column;
                gap: 20px;
                 margin-bottom: 42px;
            }

            .footer-bottom {
                flex-direction: column;
                gap: 10px;
            }
        }

/*генератор паролей
---------------------------------------------------*/


        .custom-options {
            display: none;

        }
        
        
        .controls {
            background-color: var(--background-color);
            border-radius: var(--radius-md);
            padding: 20px;
            margin-bottom: 24px;
        }

        .control-group {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            margin-bottom: 16px;
            align-items: center;
        }

        .control-item {
            flex: 12;
            min-width: 200px;
        }

        label {
            display: block;
            font-weight: 300;
            color: var(--text-primary);
        }
        

        select, input {
            margin-top: 8px;
            width: 100%;
            padding: 12px 12px;
            border: 1px solid var(--border-color);
            border-radius: var(--radius-md);
            font-size: 0.875rem;
            color: var(--text-primary);
            background-color: var(--card-color);
    
        }

        select:focus, input:focus {
            outline: none;
            border-color: var(--border-color);
        }
        
.checkbox-group {
            display: grid;
            padding-top:12px;
            padding-bottom:24px;
            grid-template-columns: repeat(auto-fill, minmax(520px, 1fr));
            gap: 16px;
        }

        .checkbox-item {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        input[type="checkbox"] {
            width: 16px;
            height: 16px;
            margin: 0;
            accent-color: #CAFC00;
            border: solid var(--border-color);
        }

        .passwords-container {
            display: grid;
            gap: 12px;
        }

        .password-item {
            background-color: var(--background-color);
            border-radius: 8px;
            padding: 16px;
            marning:16px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: relative;
        }

        .password-content {
            flex: 1;
            margin-right: 16px;
        }

        .password-text {
            font-size: 1rem;
            color: var(--text-primary);
            word-break: break-all;
            margin-bottom: 8px;
        }

        .password-strength {
            display: flex;
            flex-direction: column;
            gap: 4px;
        }

        .strength-meter {
            height: 4px;
            width: 100%;
            background-color: var(--border-color);
            border-radius: 2px;
            overflow: hidden;
        }

        .strength-fill {
            height: 100%;
            width: 0%;
            border-radius: 2px;
            transition: width 0.3s ease;
        }

        .strength-label {
            font-size: 0.75rem;
            color: var(--text-secondary);
        }

        .weak { background-color: var(--danger-color); }
        .medium { background-color: var(--warning-color); }
        .strong { background-color: var(--success-color); }
        .very-strong { background-color: var(--success-color); }

        .copy-pass-btn {
            background: none;
            border: none;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 36px;
            height: 36px;
            border-radius: var(--radius-md);
            color: var(--secondary-color);
            cursor: pointer;
            transition: all 0.15s ease;
            position: relative;
            flex-shrink: 0;
        }

        .copy-pass-btn:hover {
            background-color: rgba(100, 116, 139, 0.1);
        }


        .empty-state {
            padding: 40px 20px;
            text-align: center;
            color: var(--text-secondary);
            background-color: var(--background-color);
            border-radius: var(--radius-md);
        }

.empty-icon {
    font-size: 2rem;
    margin-bottom: 16px;
    color: var(--secondary-color);
}

.empty-text {
    font-size: 0.875rem;
}
        
.tooltip {
    position: absolute;
    top: -30px;
    right: 0;
    background-color: var(--text-primary);
    color: white;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    white-space: nowrap;
}

        .show-tooltip {
            opacity: 1;
        }

        @media (max-width: 640px) {
            .control-group {
                flex-direction: column;
                gap: 16px;
            }

            .control-item {
                width: 100%;
            }

            .checkbox-group {
                grid-template-columns: 1fr;
            }
        }






/* 12. МЕДИА-ЗАПРОСЫ
-------------------------------------------------- */
/* Адаптивные стили для планшетов */
@media (max-width: 1200px) {
    :root {
        --container-padding: 20px;
        --container-hero-padding: 20px;
        --card-min-width: 150px;
        --card-gap: 14px;
    }
    
    .header-container {
    padding-left: 20px;
    padding-right: 20px;
  }
  
 .container-white-bg{
    margin-left: 20px;
    margin-right: 20px;
    }
  
}

@media (max-width: 992px) {
    :root {
        --container-padding: 16px;
        --container-hero-padding: 20px;
        --card-min-width: 140px;
        --card-gap: 12px;
    }
    
.symbol-card {
        padding: 20px 14px;
    }
    
.header-container {
    padding-left: 20px;
    padding-right: 20px;
  }
  
.footer {
            padding: 20px;

        }
  
.footer-text {
    font-size: 14px;
    padding-bottom: 42px;
}

.footer-menu {
  margin-bottom: 42px;
            }
}

@media (max-width: 991px) {
    .container h1 {
        font-size: 48px; /* Исправлено - добавлен пропущенный размер */
         margin-top: 42px;

    }
    
.container-hero h1 {
    font-size: 48px; /* Исправлено - добавлен пропущенный размер */
    margin-top: 42px;
    }
  
    .buttons {
        margin-bottom:42px;
    }
    
    .subtitle {
        font-size: 16px;
    }
    
    .hero {
        padding: 80px 0;
    }
    
    .container-new {
       padding: 0 20px;
    }
    .container-white-bg{
       padding: 24px;
    }

    
    .breadcrumb {
        margin-top: 80px;
    }
    
    .update-block {
        margin-bottom: 60px;
    }
    

    .date {
        margin-bottom: 32px;
    }
}

@media (max-width: 918px) {
    .seo-text-container {
        max-width: 918px;
        width: 100%;
    }
    
    
}

/* Адаптивные стили для мобильных устройств */
@media (max-width: 768px) {

    
.header-container {
    padding-left: 0;
    padding-right: 0;
  }
    
    .header {
        height: 49px;
        padding: 0 16px;
    }
  
    .desktop-menu {
        display: none;
    }
    
    .whats-new {
        display: none;
    }
    
    .burger-btn {
        display: block;
    }
    
    .hero {
        padding: 56px 0;
    }
    
    .container {
        padding: 0 16px;
    }
    
        .container-hero {
        padding: 0 16px;
    }
    
      .container-hero h1 {
        font-size: 32px;
         margin-top: 24px;
        margin-bottom: 12px;
    }
    
    
    .container h1 {
        font-size: 32px;
         margin-top: 24px;
        margin-bottom: 12px;
    }
    
    .subtitle {
        font-size: 14px;
        margin-bottom: 24px;
    }
    
    .buttons {
        flex-direction: column;
        width: 100%;
        gap: 12px;
        margin-bottom:42px;
    }
    
    .primary-btn, .secondary-btn {
        width: 100%;
        padding: 14px 20px;
        font-size: 14px;
    }
    
    .search-input {
        padding: 20px 56px;
    }
    
    .symbol-card {
        padding: 16px 12px;
    }
    
    .code {
        font-size: 12px;
        margin-bottom: 12px;
    }
    
    .copy-btn {
        padding: 6px 10px;
        font-size: 11px;
    }
    
    .banner-container {
        padding: 10px 0;
        display: flex;
        justify-content: center;
    }
    
    .banner {
        max-width: 100%;
        height: auto;
    }
    
    .seo-text-container {
        max-width: 768px;
        width: 100%;
        
    }
    
    .container-new {
        padding: 0 16px;
    }
    
    .breadcrumb {
        margin-top: 60px;
        font-size: 14px;
    }
    
    .container-new h1 {
        font-size: 32px;
        margin-bottom: 32px;
    }
    
    .seo-text-container h3 {
        font-size: 20px;
        margin-bottom: 10px;
    }
    
    .date {
        font-size: 14px;
        margin-bottom: 24px;
    }
    
    .update-block {
        margin-bottom: 48px;
    }
    
    ul li {
        font-size: 14px;
        margin-bottom: 6px;
    }
    
}

@media (max-width: 576px) {
    :root {
        --container-padding: 10px;
        --container-hero-padding: 10px;
        --card-min-width: 100px;
        --card-gap: 8px;
    }
    
    .symbol-card {
        padding: 12px 10px;
    }
    
    .symbol {
        margin-bottom: 12px;
        height: 40px;
    }
}

/* Дополнительные стили для очень маленьких экранов */
@media (max-width: 375px) {
    .container h1 {
        font-size: 28px;
    }
    
        .container-hero h1 {
        font-size: 28px;
    }
    
    
    .subtitle {
        font-size: 13px;
    }
}