/* Кнопка */
.footer-button.secondary-button {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-button.secondary-button svg {
  width: 20px;
  height: 20px;
}

body.dark-mode .hero-section {
    color: #fff;
}

body.dark-mode .marquee-card {
    border: 1px solid #fff; /* Добавляем рамку */
}
body.dark-mode .marquee-title {
    color: #fff;
}
body.dark-mode .marquee-description {
    color: #fff;
}
body.dark-mode .nav-links a {
    color: #fff;
}
body.dark-mode .custom-title {
    color: #fff;
}

body.dark-mode .custom-description {
color: #fff;
}

body.dark-mode .custom-search-title {
  color: #fff;
}
body.dark-mode .custom-search-description {
    color: #fff;
}
body.dark-mode .follow-title {
    color: #fff;
}
body.dark-mode .follow-description {
    color: #fff;
}
body.dark-mode .custom-launcher-title {
    color: #fff;
}
body.dark-mode .custom-launcher-description {
    color: #fff;
}
body.dark-mode .custom-features-section {
    background: linear-gradient(180deg, #000, #0e101d);
}

body.dark-mode .footer-container {
    background-color: rgb(22, 24, 28);
    color: rgb(176, 186, 197);
}

body.dark-mode .custom-search-box {
    color: #b0bac5;
    background: radial-gradient(50% 50% at 50% 50%, rgba(44, 48, 79, 0.35) 0%, rgba(32, 35, 50, 0.27) 100%);
    border-radius: 12px;
    padding: 16px;
    position: relative; /* Обязательно для работы псевдоэлемента */
    overflow: hidden; /* Скрывает выходящие за границы элементы */
    border: 1px solid rgba(255, 255, 255, 0.3);
}

body.dark-mode .custom-search-box::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%; /* Высота градиента */
    background: linear-gradient(to top, rgba(34, 255, 137, 0.2), rgba(34, 255, 137, 0));
    pointer-events: none; /* Чтобы элемент не мешал взаимодействию */
}

body.dark-mode .custom-news-card-stats span {
    color:white;
}

body.dark-mode .custom-news-card-author a {
    color: #ffffff; /* Белый цвет текста */
    text-decoration: none; /* Убирает подчеркивание */
    transition: color 0.3s ease; /* Добавляет плавный переход цвета */
}

body.dark-mode .custom-news-card {
    background: rgba(59, 63, 85, 0.15); /* Фон */
    box-shadow: 2px 2px 12px rgba(0, 0, 0, 0.16); /* Тени */
    border: 1px solid rgba(255, 255, 255, 0.3);
}

body.dark-mode .custom-news-card-title {
    color: #fff;
}

body.dark-mode .custom-news-card-author {
    color: #fff;
}

body.dark-mode .custom-news-card-description {
    color: #fff;
}

body.dark-mode .notification-box {
    color: #b0bac5;
    background: radial-gradient(50% 50% at 50% 50%, rgba(44, 48, 79, 0.35) 0%, rgba(32, 35, 50, 0.27) 100%);
    border-radius: 12px;
    padding: 16px;
    position: relative; /* Обязательно для работы псевдоэлемента */
    overflow: hidden; /* Скрывает выходящие за границы элементы */
    border: 1px solid rgba(255, 255, 255, 0.3);
}

body.dark-mode .notification-box::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%; /* Высота градиента */
    background: linear-gradient(to top, rgba(34, 255, 137, 0.2), rgba(34, 255, 137, 0));
    pointer-events: none; /* Чтобы элемент не мешал взаимодействию */
}

body.dark-mode .notification-list {
    color: #b0bac5;
    background: radial-gradient(50% 50% at 50% 50%, rgba(44, 48, 79, 0.35) 0%, rgba(32, 35, 50, 0.27) 100%);
    border-radius: 12px;
    padding: 16px;
    position: relative; /* Обязательно для работы псевдоэлемента */
    overflow: hidden; /* Скрывает выходящие за границы элементы */
    border: 1px solid rgba(255, 255, 255, 0.3);
}

body.dark-mode .notification-list::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%; /* Высота градиента */
    background: linear-gradient(to top, rgba(34, 255, 137, 0.2), rgba(34, 255, 137, 0));
    pointer-events: none; /* Чтобы элемент не мешал взаимодействию */
}

body.dark-mode input[type=password], body.dark-mode input[type=text] {
    background-color:#434956;
}

body.dark-mode, html.dark-mode {
    background-color: rgb(22, 24, 28);
}
body.dark-mode .custom-content-block {
color: #fff;
}