.material-symbols-rounded {
  font-family: 'Material Symbols Rounded';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  display: inline-block;
  vertical-align: middle;
  white-space: nowrap;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
  font-variation-settings:
    'FILL' 1,
    'wght' 400,
    'GRAD' 0,
    'opsz' 24;
}

.material-symbols-rounded {
  font-family: 'Material Symbols Rounded';
  font-weight: normal;
  font-style: normal;
  line-height: 1;
  display: inline-block;
  vertical-align: middle;
  white-space: nowrap;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
  color: inherit;
}
:root {
  --icon-sm: 14;
  --icon-md: 18;
  --icon-lg: 26;
  --icon-xl: 28;
}


/* Маленькая иконка */
.icon-sm {
  font-size: calc(var(--icon-sm) * 1px);
  font-variation-settings:
    'FILL' 1,
    'wght' 400,
    'GRAD' 0,
    'opsz' var(--icon-sm);
}

/* Средняя (по умолчанию) */
.icon-md {
  font-size: calc(var(--icon-md) * 1px);
  font-variation-settings:
    'FILL' 1,
    'wght' 400,
    'GRAD' 0,
    'opsz' var(--icon-md);
}

/* Крупная */
.icon-lg {
  font-size: calc(var(--icon-lg) * 1px);
  font-variation-settings:
    'FILL' 1,
    'wght' 400,
    'GRAD' 0,
    'opsz' var(--icon-lg);
}

/* Очень крупная */
.icon-xl {
  font-size: calc(var(--icon-xl) * 1px);
  font-variation-settings:
    'FILL' 1,
    'wght' 400,
    'GRAD' 0,
    'opsz' var(--icon-xl);
}




body {
  background: linear-gradient(135deg, #366F8C, #9FFAF3);
  min-height: 100vh;
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  color: #fff;
}

.page-bg {
  display: flex;
  justify-content: center;
  padding: 30px 15px;
}

/* Основной контейнер */
.main-container {
  max-width: 1380px;
  width: 100%;
  display: flex;
  background-image: 

    radial-gradient(circle at center, #6FAFAD 0%, #273751 80%, #1f2f46 100%);
  background-attachment: fixed;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 20px;
  overflow: visible;
  position: relative;
  box-shadow: 0px 10px 50px rgba(0, 0, 0, .2);
}

/* Левая панель (будем настраивать позже) */
$GLOBAL_LMENU$ {
  /* Стили добавим отдельно в следующем шаге */
}

/* Правая область */
.main-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 30px;
  box-sizing: border-box;
  width: 100%;
}

/* Заголовки */
h1, h2, h3, h4, h5, h6 {
  color: #fff;
  margin-top: 30px;
  margin-bottom: 15px;
  font-family: 'Russo One', sans-serif;
  font-weight: 900;
  text-transform: uppercase;
}

h2 {
  font-size: 26px;
}

h3 {
  font-size: 20px;
}

.sravn {
  margin: 60px 0px 10px 0px;
  font-size: 26px;
  text-align: center; 
}

.sravneniedesc {
  color: #fff;
  opacity: 0.8;
  font-size: 16px;
  margin-bottom: 40px;
  font-weight: 400;
  text-align: center; 
}

/* Sidebar */
.sidebar {
  top: -15px;
  overflow: visible;
  width: 60px;
  background-color: #19222B;
  padding: 20px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: width 0.3s ease;
  position: sticky;
  height: 100vh;
  z-index: 10;
  border-radius: 20px 0 0 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}


.sidebar:not(.expanded) .menu-label {
  display: none;
}

.sidebar:not(.expanded) li {
  position: relative;
}

.sidebar:not(.expanded) li:hover::after {
  content: attr(data-label);
  position: absolute;
  left: 60px; /* смещение вправо от иконки */
  top: 50%;
  transform: translateY(-50%);
  background-color: #fff;
  color: #263749;
  padding: 6px 12px;
  border-radius: 8px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  font-size: 14px;
  font-weight: 500;
  z-index: 999;
}


.sidebar.expanded {
  width: 150px;
  align-items: flex-start;
}

.sidebar-logo {
  margin-top: 20px;
  margin-bottom: 30px;
  width: 100%;
  display: flex;
  justify-content: center;
}

.sidebar.expanded .sidebar-logo {
  justify-content: flex-start;
  padding-left: 10px;
}

.sidebar-logo img {
  max-width: 40px;
  height: auto;
  transition: max-width 0.3s ease;
}

.sidebar.expanded .sidebar-logo img {
  max-width: 80px;
}

.toggle-menu {
  background: none;
  border: none;
  cursor: pointer;
  color: #fff;
  font-size: 24px;
  margin-left: auto;
  margin-bottom: 20px;
}

.sidebar-nav a {
  color: inherit;          /* Наследовать цвет родителя (был белый) */
  text-decoration: none;   /* Убрать подчеркивание */
  display: flex;          /* Чтобы иконка и текст шли рядом корректно */
  align-items: center;
  gap: 5px;             /* Отступ между иконкой и текстом */
  width: 100%;
}

.sidebar-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

.sidebar-nav li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 10px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s;
  color: #fff;
  font-size: 14px;
  text-decoration: none;
}

/* Наведение */
.sidebar-nav li:hover {
  background-color: #2F3A44;

}

/* Активный пункт */
.sidebar-nav li.active {
  background-color: #F7653D;
  color: #fff;
  text-decoration: none;
}

.sidebar-nav li.active .material-icons-outlined {
  color: #fff;
  text-decoration: none;
}

.menu-label {
  display: none;
}

.sidebar.expanded .menu-label {
  display: inline;
}



/* Мобильное верхнее меню */
.mobile-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: none;
  justify-content: space-between;
  align-items: center;
  background-color: #20272E;
  padding: 10px 15px;
  margin: 0;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.05);
  width: 100%;
  box-sizing: border-box;
  flex-wrap: wrap;
}

.mobile-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-logo {
  width: 34px;
  height: auto;
}

.mobile-toggle-wrap {
  position: relative;
}

.mobile-toggle-btn {
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 30px;
  padding: 6px 14px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: #606467;
}

.mobile-toggle-btn:hover {
  background-color: #f0f0f0;
}


.mobile-sidebar {
  position: fixed;
  top: 70px; /* отступ от верха экрана */
  left: 10px;
  right: 10px;
  background-color: rgba(0, 0, 0, 0.3);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 20px;
  display: none;
  z-index: 9999;
  color: inherit;
}

/* Показываем тексты в мобильном сайдбаре */
.mobile-sidebar .menu-label {
  display: inline !important;
}

.mobile-sidebar a {
  color: inherit;          /* Наследовать цвет родителя (был белый) */
  text-decoration: none;   /* Убрать подчеркивание */
  display: flex;          /* Чтобы иконка и текст шли рядом корректно */
  align-items: center;
  gap: 5px;             /* Отступ между иконкой и текстом */
  width: 100%;
}

.mobile-sidebar.show {
  display: block;
}

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

.mobile-sidebar li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  font-size: 15px;
  color: #fff;
  border-bottom: 1px solid #eee;
}

.mobile-icons {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 22px;
  color: #fff;
}




/* Топ меню */

.topmenu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0px;
  padding: 0px 0;
  flex-wrap: wrap;
  gap: 15px;
}

.search-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  max-width: 500px;
  background-color: #CCD8C9;
  border-radius: 20px;
  padding: 10px 15px;
  color: #465156;
}

.search-wrapper input {
  border: none;
  outline: none;
  font-size: 14px;
  width: 100%;
  background: transparent;
  color: #485154;
}

.profile-icons {
  display: flex;
  align-items: center;
  gap: 20px;
  color: #DCFBFE;
  cursor: pointer;
}

.profile-icons a {
  display: flex;
  align-items: center;
  gap: 20px;
  color: #DCFBFE;
  cursor: pointer;
  text-decoration: none;
}

.profile-icons .material-icons {
  cursor: pointer;
  font-size: 24px;
  color: #485154;
}

.avatar-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.placeholder {
  /* яркий двух- или трёхцветный градиент */
  background: #6B777C;
}

.placeholder .material-icons {
  color: #485154;
  font-size: 24px;
}

.menu-links {
  display: flex;
  gap: 20px;
}

.menu-item {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: #fff;
  transition: opacity 0.2s ease;
}

.menu-item:hover {
  opacity: 0.7;
}

.menu-item .menu-subtitle {
  opacity: 0;
  transition: opacity 0.3s ease;
  display: block;
  height: auto; /* пусть занимает место */
}

.menu-item:hover .menu-subtitle {
  opacity: 1;
}

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

.menu-subtitle {
  font-size: 12px;
  color: #fff;
}

.menu-item.no-link {
  cursor: default;
}

.menu-item.no-link:hover {
  opacity: 1;
}



/*блоки с топами на главной */
.top-categories {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 30px 10px;
  margin: 40px 0;
  z-index: 10;
}

.category-block {
  position: relative;
  max-width: 100%;
  background: rgba(0, 0, 0, 0.12);
  border-radius: 16px;
  padding: 50px 10px 10px 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 10;
}

.category-title {
  position: absolute;
  white-space: nowrap;
  top: -50px;
  left: 50%;
  transform: translateX(-50%) rotate(-3deg); /* центрируем + наклон */
  background-color: #E9E88C;
  color: #253539;
  border-radius: 15px;
  padding: 10px 24px;
  font-weight: bold;
  font-size: 16px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  z-index: 0;
}






.category-informer {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.category-btn {
  display: block;
  width: 90%;
  max-width: 100%;
  text-align: center;
  padding: 12px 20px;
  background: #B6DED9;
  color: #365051;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 10px;

  transition: all 0.3s ease;
}

.category-btn:hover {
  background: #A4FFF5;
  color: #365051;
}



/*карточки с топами на главной */

/* ====== БАЗА (общая для всех карточек) ====== */
.promo-cardd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(4px);
  border-radius: 8px;
  padding: 12px 16px;
  gap: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  transition: all 0.25s ease;
}

.promo-cardd:hover {
  background: rgba(255,255,255,0.25);
  transform: translateY(-2px);
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

.promo-main-link {
  display: flex;
  align-items: center;
  flex: 1;
  text-decoration: none;
  color: inherit;
}

.promo-logod img {
  display: block;
  border-radius: 16px;
  width: 50px;
  height: 50px;
  object-fit: cover;
  margin-bottom: 8px;
}

.promo-infod {
  margin-left: 12px;
}

.promo-titled {
  display: inline-block;
  font-size: 1rem;
  font-weight: bold;
  vertical-align: middle;
}

.promo-titled9 {
  font-size: 1rem;
  font-weight: bold;
  color: #fff;
}

.promo-titled9 .material-symbols-rounded {
  font-size: 1.2rem;
  font-weight: bold;
  color: #FFFC67;
}

.promo-titled10 {
  font-size: 1rem;
  font-weight: bold;
  color: #fff;
}

.promo-titled10 .material-symbols-rounded {
  font-size: 1.2rem;
  font-weight: bold;
  color: #FFFC67;
}



.promo-descd {
  font-size: 0.75rem;
  opacity: 0.8;
}

/* Кнопка-стрелка */
.promo-btnd {
  flex-shrink: 0;
  width: 36px;
  height: 56px;
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.3);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.promo-btnd:hover {
  background: #A4FFF5;
  color: #365051;
}

/* ====== ГЛАВНАЯ ====== */
.ctx-main .img-main { display: block; }
.ctx-main .img-cat  { display: none; }

.ctx-main .promo-cardd {
  flex-direction: row;
  margin-bottom: 6px;
}

.ctx-main .promo-btnd .btn-text { display: none; }
.ctx-main .promo-btnd .btn-icon { display: inline-flex; }


/* ====== КАТЕГОРИЯ ====== */


.ctx-cat .img-main { display: none; }
.ctx-cat .img-cat  { display: block; }

.ctx-cat .promo-btnd .btn-icon { display: none; }
.ctx-cat .promo-btnd .btn-text {
  display: inline;
  font-size: 0.8rem;      /* уменьшенный размер */
  font-weight: 600;       /* чуть легче, чтобы не спорило с заголовком */
  letter-spacing: 0.3px;  /* лёгкое разрежение для читаемости */
}

.ctx-cat {
  display: flex;
  gap: 8px; /* расстояние между карточками */
}

.ctx-cat .promo-cardd {
  flex: 1 1 0; /* равномерное распределение */
  flex-direction: column; /* внутри карточки — вертикально */
  align-items: flex-start;
  padding: 16px;
  gap: 6px;
}

.ctx-cat .promo-main-link {
  flex-direction: column;
  align-items: flex-start;
}

.ctx-cat .promo-logod img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.ctx-cat .promo-infod {
  margin-left: 0;
  margin-top: 8px;
}

.ctx-cat .promo-btnd {
  width: 100%;
  height: 40px;
  border-radius: 8px;
  margin-top: 8px;
}




.badgereklpromo {
 position: absolute;
 top: 0px;
 right: 30px;
 transform: translateX(-20%);
 background-color: #4FBD74;
 color: #fff;
 padding: 5px 15px;
 border-radius: 0 0 12px 12px;
 font-size: 14px;
 font-weight: 600;
 box-shadow: 0 2px 5px rgba(0,0,0,0.1);
 z-index: 100; /* ниже основного контента, если нужно */
 white-space: nowrap;
}








/* вид материалов карточки */

.promo-carddq {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(4px);
  border-radius: 8px;
  padding: 12px 16px;
  gap: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  position: relative;
}

.promo-carddq:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-2px);
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

.promo-main-linkq {
  display: flex;
  align-items: center;
  flex: 1;
  text-decoration: none;
  color: inherit;
}

.promo-logodq img {
  display: block;
  border-radius: 16px;
  width: 50px;
  height: 50px;
}

.promo-infodq {
  margin-left: 12px;
}

.promo-titledq {
  font-size: 1rem;
  font-weight: bold;
}

.promo-titledq span {
  font-size: 1.2rem;
  font-weight: bold;
  color: #FFFC67;
}

.promo-descdq {
  font-size: 0.7rem;
  opacity: 0.8;
}

/* Кнопка-стрелка */
.promo-btndq {
  flex-shrink: 0;
  width: 36px;
  height: 56px;
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.3);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.promo-btndq:hover {
  background: #A4FFF5;
  color: #365051;
}


.promo-badge {
  position: absolute;
  top: 0px;
  right: 80px;
  background: #FF634D;
  color: #fff;
  font-size: 0.55rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 0px 0px 6px 6px;
  text-transform: uppercase;
  z-index: 2;
  pointer-events: none; /* чтобы клик проходил сквозь плашку */
}


/* вид материалов карточки рекламы */

.promo-cardr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(4px);
  border-radius: 8px;
  padding: 12px 16px;
  gap: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}

.promo-cardr:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-2px);
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

.promo-main-linkr {
  display: flex;
  align-items: center;
  flex: 1;
  text-decoration: none;
  color: inherit;
}

.promo-logodr img {
  display: block;
  border-radius: 20px;
  width: 90px;
  height: 90px;
box-shadow: 
  0 6px 16px rgba(0, 0, 0, 0.12),
  0 2px 4px rgba(0, 0, 0, 0.08),
}

.promo-infodr {
  margin-left: 6px;
}

.promo-titledr {
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 6px;
}

.promo-titledr span {
  font-size: 0.6rem;
  font-weight: bold;
  background: #EECC66;
  color: #333;
  padding: 2px 6px 3px 6px;
  border-radius: 6px;
  vertical-align: middle; /* или baseline, text-top */
  position: relative;
  top: -2px; /* поднимает визуально на 2px */
}


.promo-titledn {
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 2px;
}

.promo-titledn span {
  font-size: 0.6rem;
  font-weight: bold;
  background: #EE5FA7;
  color: #fff;
  padding: 2px 6px 3px 6px;
  border-radius: 6px;
  vertical-align: middle; /* или baseline, text-top */
  position: relative;
  top: -2px; /* поднимает визуально на 2px */
}


.promo-descdr {
  width: 70%;
  font-size: 0.8rem;
  opacity: 0.8;
}

/* Кнопка-стрелка */
.promo-btndr {
  flex-shrink: 0;
  width: 56px;
  height: 80px;
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.3);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.promo-btndr:hover {
  background: #A4FFF5;
  color: #365051;
}




/* Промокод */


.promo-code-block {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  padding: 20px 40px;
  text-align: center;
  max-width: 100%;
  margin: 20px auto;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 0 20px rgba(164,255,245,0.15);
}

.promo-code-conditions {
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.4;
  font-weight: 700;
}

.promo-code-value {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: #A4FFF5;
  background: rgba(255,255,255,0.05);
  padding: 10px 16px;
  border-radius: 8px;
  display: inline-block;
  margin-bottom: 12px;
  user-select: all;
}

.promo-code-copy {
  background: linear-gradient(90deg, #A4FFF5, #6EE7E0);
  color: #20272E;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s ease;
}

.promo-code-copy:hover {
  background: linear-gradient(90deg, #6EE7E0, #A4FFF5);
  transform: translateY(-2px);
}

.promo-code-block h2 {
  font-size: 1.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #A4FFF5; /* твой неоновый акцент */
  text-align: center;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 8px;
}

/* Линия под заголовком с градиентом */
.promo-code-block h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100px;
  height: 2px;
  background: linear-gradient(90deg, rgba(164,255,245,0), rgba(164,255,245,1), rgba(164,255,245,0));
  border-radius: 2px;
  box-shadow: 0 0 6px rgba(164,255,245,0.6);
}







/* Меню с рекламными форматами */

/* Общий контейнер */
.menu-format {
  display: flex;
  justify-content: right;
  align-items: center;

  position: sticky;
}

.menu-formatq {
  display: flex;
  padding: 10px 0px 30px 0px;
  position: sticky;
}

/* Список меню */
.format-nav {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 0;
  padding: 0;
}

.format-nav li {
  border-radius: 15px;
  transition: background-color 0.2s ease;
  font-size: 14px;
}

.format-nav li a {
  display: flex;
  align-items: center;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
}

.format-nav li:hover {
  font-weight: 700;
}

.format-nav li.active {
  background-color: #E77A4C;
  padding: 10px 12px;
  vertical-align: middle; /* или baseline, text-top */
  position: relative;
  top: -10px; /* поднимает визуально на 2px */
}

.format-nav li.active a {
  color: #fff;
}

.format-nav li.active .material-symbols-rounded {
  color: #fff;
}

/* Иконки */
.format-nav .material-symbols-rounded {
  font-size: 20px;
  color: #fff;
}


/* Список содержание */
.format-navq {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
}

.format-navq li {
  border-radius: 15px;
  transition: background-color 0.2s ease;
  font-size: 14px;
}

.format-navq li a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 14px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  border-radius: 15px;
  transition: background-color 0.2s ease;
  background-color: rgba(0, 0, 0, 0.2);
}

.format-navq li:hover {
  background-color: rgba(0, 0, 0, 0.5);
}

.format-navq li.active {
  background-color: rgba(0, 0, 0, 0.5);

}

.format-navq li.active a {
  color: #fff;
}

.format-navq li.active .material-symbols-rounded {
  color: #fff;
}

/* Иконки */
.format-navq .material-symbols-rounded {
  font-size: 20px;
  color: #fff;
}




.knopreg {
  position: relative;
  padding: 18px 28px;
  font-weight: 700;
  color: #fff;
  background-color: #F7653D;
  text-decoration: none;
  border-radius: 15px;
  transition: background-color 0.2s ease;
}

/* Форма поиска */

.search-form {
  display: none; /* скрываем по умолчанию */
  position: fixed;
  top: 80px; /* появится под верхним меню */
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.6);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  padding: 15px 20px;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  z-index: 9999;
}

.search-form.active {
  display: flex;
}

.search-input {
  flex: 1;
  padding: 12px 16px;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  outline: none;
  color: #fff;
  background-color: rgba(255, 255, 255, 0.15);
}

.search-input::placeholder {
  color: #ddd;
}

.search-button {
  background-color: #F7653D;
  color: #fff;
  border: none;
  padding: 12px 20px;
  margin-left: 10px;
  border-radius: 12px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.search-button:hover {
  background-color: #e5532d;
}


/* Карточки топ рекламных сетей */

.top-networks {
  margin-bottom: 40px;
}


.top-networks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 8px;
  align-items: start;
}

.top-networks-grid-glav {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 8px;
  align-items: start;
}

.top-networks-grid.body-mode > div {
  display: contents;
}

.top-networks-grid.body-mode > ul.uRelatedEntries {
  display: contents;
}

.top-networks-grid.body-mode > ul.uRelatedEntries > li {
  display: contents;
}

.hidden-data {
  display: none; /* не видно, но JS видит */
}



/* Колонки */
.network-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1 1 300px; /* адаптивная ширина */
  min-width: 280px;
}






/* ======================
    Карточка рекламной сети
   ====================== */

.promo-card-top {
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  padding: 0px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: 
    box-shadow 0.3s ease,
    transform 0.3s ease,
    max-height 0.4s ease;
  overflow: hidden;
  max-height: 90px;
  cursor: pointer;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  transform-origin: center top;
}

.promo-card {
  background-color: rgba(0, 0, 0, 0.3);
  border: 1px solid #68959F;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  padding: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s ease, transform 0.3s ease, max-height 0.5s ease;
  overflow: hidden;
  max-height: 90px;
  cursor: pointer;
  backdrop-filter: blur(20px);
  transform-origin: center top;
}



/* Hover эффект */
.promo-card:hover {
  transform: scale(1.01);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  z-index: 2;
}

/* Состояние раскрытия */
.promo-card.expanded {
  max-height: 1000px;
}

/* Внутренние элементы */
.promo-inner {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Бейдж */
.promo-premium-strip {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
  }



  .premium-text {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #fff;
    font-size: 10px;
   font-weight: bold;
    background-color: #E77A4C; /* Orange background for text */
    padding: 2px 8px;
    border-radius: 8px;
  }




/* Заголовок карточки */
.promo-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.promo-logo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: contain;
  flex-shrink: 0;
  background-color: #fff;
}

.promo-texts {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 6px;
}

.promo-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  padding: 0 10px 0 0;
}

/* Разделитель и описание (скрытые по умолчанию) */
.promo-divider,
.promo-desc2,
.promo-reviews {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  margin-top: 0;
  transition: max-height 0.4s ease, opacity 0.4s ease, margin-top 0.4s ease;
}

/* При раскрытии */
.promo-card.expanded .promo-divider,
.promo-card.expanded .promo-desc2,
.promo-card.expanded .promo-reviews {
  opacity: 1;
  max-height: 500px; /* можно корректировать по факту */
  margin-top: 10px;
}

/* Нижний блок */
.promo-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
}

.promo-reviews {
  color: #606467;
  font-size: 20px;
}

/* Кнопка перехода на сайт */
.promo-btn {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background-color: rgba(255, 255, 255, 0.3);
  color: #fff;
  font-weight: 600;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 20px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 5;
}

.promo-btn:hover {
  background: #A4FFF5;
  color: #365051;
}

/* Иконка раскрытия */
.expand-icon {
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%) rotate(0deg);
  font-size: 24px;
  color: #E1F279;
  opacity: 0;
  z-index: 2;
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Показывать иконку только при наведении */
.promo-card:hover .expand-icon {
  opacity: 1;
}

/* Поворот при раскрытии */
.promo-card.expanded .expand-icon {
  transform: translateX(-50%) rotate(180deg);
  opacity: 1;
}


/* ======================
   💥 Детали карточки при раскрытии
   ====================== */

.promo-details {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, opacity 0.5s ease;
  padding: 0px 0px 8px 0px;
}

.promo-card.expanded .promo-details {
  opacity: 1;
  max-height: 500px; /* можешь подогнать по факту */
  margin-top: 5px;
}

.promo-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 0;
}

.promo-label {
  color: #fff;
  font-size: 13px;
  font-weight: 300;
}

.promo-value {
  color: #fff;
  font-size: 12px;
  font-weight: 300;
  text-align: right;
}

.promo-promo {
  margin-top: 15px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 12px;
  color: #fff;
  font-size: 13px;
  text-align: center;
}

.titleinfo{
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 4px 0px;
}

/* ======================
 Кнопки на обзор и комментарии
   ====================== */

/* Контейнер для кнопок */
.promo-actions {
  position: absolute;
  bottom: 10px;
  left: 20px;
  display: flex;
  gap: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 5;
}


/* Сами кнопки */
.promo-action-btn {
  background-color: rgba(255, 255, 255, 0.3);
  color: #fff;
  font-weight: 600;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 20px;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.promo-action-btn:hover {
  background: #A4FFF5;
  color: #365051;
}

/* Показываем при ховере */
.promo-card:hover .promo-actions {
  opacity: 1;
}


.com {
  position: absolute;
  left: 30px;
  top: 80px; /* поправь при необходимости */
  background-color: #EA8E41;
  color: #fff;
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: bold;
  z-index: 2;
}

.com:before {
  content: "";
  display: block;
  position: absolute;
  width: 10px;
  height: 10px;
  left: 60%;
  transform: translateX(-50%) rotate(-100deg) skewX(50deg);
  top: 1px; /* наверх */
  background-color: #EA8E41;
  z-index: -1;
}


/* ======================
   🥖 Хлебные крошки
   ====================== */
.breadcrumbs {
  font-size: 12px;
  color: #D7E1DE;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 5px 0 30px;
}

.breadcrumbs a {
  color: #7FB6BE;
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumbs a:hover {
  color: #96F3E6;
}

.breadcrumbs span,
.breadcrumbs a {
  display: inline-flex;
  align-items: center;
}

.breadcrumbs::before {
  content: "";
}

.breadcrumbs-separator {
  color: #D7E1DE;
}



/* Блок с заголовком и топовыми рекламными сетями */

.networks-section {
  position: relative; 
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  margin-bottom: 30px;
}

.networks-left {
  flex: 0.7;
  min-width: 280px;
  padding: 0px 100px 0px 40px;
  position: relative; 
}

.networks-left h1 {
  color: #fff;
  font-size: 32px;
  margin-bottom: 34px;
  font-weight: 900;
  text-transform: uppercase;
}

.networks-left h1::first-line {
 font-family: "Fira Sans Condensed", sans-serif;
  font-size: 200%;
  color: #E8E78C;
  font-weight: 900;
}

.title-nad {
  display: block;              /* чтобы был как отдельная строка */
  margin-bottom: -36px;          /* уменьшить расстояние до h1 */
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9); /* чуть мягче, чем чисто белый */
  font-weight: 600;
  text-transform: uppercase;    /* если нужно все заглавными, можно убрать */
  letter-spacing: 0.5px;       /* чуть более аккуратный вид */
}

.title-badge {
  color: #fff;
  font-weight: bold;
  position: relative;
  display: inline-block;
  z-index: 1;
}

/* Нижняя жирная, короче */
.title-badge::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: -14px;
  width: 60%;
  height: 4px;
  background: linear-gradient(to right, #F7E85D 70%, rgba(247, 232, 93, 0.2));
  border-radius: 5px;
  transform: rotate(-4deg);
  z-index: -2;
}

/* Верхняя тоньше и длиннее */
.title-badge::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 120%;
  height: 4px;
  background: linear-gradient(to right, #F7E85D 70%, rgba(247, 232, 93, 0.2));
  border-radius: 3px;
  transform: rotate(-4deg);
  z-index: -1;
}


.top-badge {
  position: absolute;
  top: -40px;
  right: 30%;
  background-color: #E9E88C;
  color: #253539;
  border-radius: 15px;
  padding: 10px 24px;
  font-weight: bold;
  font-size: 16px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  transform: rotate(-5deg); /* 🔥 наклон вправо */
  z-index: 0;
}


.networks-subtitle {
  color: #fff;
  opacity: 0.8;
  font-size: 16px;
  margin-bottom: 10px;
  max-width: 70%;
  font-weight: 400;
}

.add-network-btn {
  margin-top: 24px;
  background-color: #F7653D;
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  padding: 28px;
  border-radius: 35% / 40%; /* эллиптическое скругление */
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background 0.2s ease;
}

.add-network-btn:hover {
  background-color: #e5532d;
}

.networks-right {
  position: relative; /* обязательно! чтобы корона позиционировалась внутри */
  flex: 1.3;
  min-width: 260px;
  padding: 15px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0) 100%);
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  gap: 7px; /* расстояние между карточками */
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.qcrown img {
  position: absolute;
  height: 40px;
  top: -40px;
  left: 30%;
  transform: translateX(-50%);
}

.cristal img {
  position: absolute;
  width: 220px;
  right: 52%;
  top: 100px;
  z-index: 0;
}

.cristalrip {
  width: 620px;
  z-index: 0;
}

/* Базово скрыта */
.search-form {
  display: none;
}

.search-form.active {
  display: flex;
}







/* Блок содержания */
/* Блок содержания (вертикальный классический стиль) */
.content-nav {
  width: 60%;
  background: rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  border-radius: 16px;
  padding: 20px;
  margin: 20px 0;
}

.content-nav .content-title {
  display: block;
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.content-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.content-nav li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 12px;
}

.content-nav li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 10px;
  height: 10px;
  background-color: #ECE098;
  border-radius: 50%;
}

.content-nav a {
  font-weight: 700;
  color: #fff;
  text-decoration: underline;
  font-size: 14px;
  transition: color 0.2s ease;
}

.content-nav a:hover {
  color: #F7653D;
}

.primer img {
  max-width: 100%;
  border-radius: 15px;
  margin: 50px 0;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.4);
}

/* === Блок FAQ === */

.faq-section {
  background: rgba(0, 0, 0, 0.3);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-radius: 20px;
  padding: 40px;
  color: #fff;
  margin-top: 50px;
}

.faq-section h2 {
  text-align: center;
  margin-bottom: 30px;
  color: #A3FFF6;
  font-family: 'Russo One', sans-serif;
  text-transform: uppercase;
}

.faq-item {
  margin-bottom: 15px;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 15px 20px;
  background: none;
  border: none;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  -webkit-backdrop-filter: blur(9px);
  backdrop-filter: blur(9px);
}

.faq-question::after {
  content: "+";
  font-size: 18px;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
  transform: rotate(180deg);
}

.faq-answer {

  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease;
}



.faq-item.active .faq-answer {
  max-height: 500px; /* выставляем больше возможной высоты ответа */
  opacity: 1;

}

.faq-answer p {
  padding: 20px;
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #D7E1DE;
}

.details {
  padding: 5px 5px 2px 5px;
}

/* Общий контейнер */
.two-columns {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* Колонки */
.column {
  flex: 1 1 0;
  min-width: 280px; /* минимальная ширина, чтобы корректно ломалось на мобилках */
  background-color: rgba(255, 255, 255, 0.1);
  padding: 10px;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  box-sizing: border-box;
}

/* Чтобы оба были равны по ширине */
.left-column,
.right-column {
  flex: 1;
}

/* Основной контейнер */
.scrin {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* Большое первое изображение */
.scrin a:first-child img {
  width: 100%;
  height: 280px;         /* фиксированная высота для большого */
  object-fit: cover;
  object-position: top;
  border-radius: 20px;
  transition: transform 0.3s ease;
}

/* Контейнер для нижних маленьких картинок */
.scrin .gallery-row {
  display: flex;
  gap: 5px;
  flex-direction: column;
}

.scrin .gallery-row a {
  flex: 1 1 0;
  min-width: 0; /* важно, чтобы flex-item не превышал контейнер */
}

.scrin .gallery-row a img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  object-position: top;
  border-radius: 10px;
  transition: transform 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Ховер эффект (необязательно) */
.scrin a img:hover {
  transform: scale(1.05);
}



/* Рейтинг рекламных сетей */

.rating-bars {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rating-bar {
  position: relative;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 10px;
  height: 22px;
  border: 1px solid #73D2E6;
}

.rating-bar-fill {
  background: linear-gradient(90deg, #46A5C6 0%, #73D2E6 100%);
  height: 100%;
  width: 0; /* изначально 0, будем анимировать */
  transition: width 1.2s ease;
}

.rating-bar-label {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  pointer-events: none;
}



/* Блок с преимуществами */

.advantages-container {
  display: flex;
  gap: 30px;
  background: rgba(0, 0, 0, 0.3);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-radius: 20px;
  padding: 60px;
  flex-wrap: wrap;
  margin: 0px 60px 0px 60px;
}

.advantages-left {
  flex: 1;
  min-width: 200px;
}

.advantages-left h2 {
  color: #fff;
  font-size: 26px;
  margin: 0 0 10px 0;
  text-transform: uppercase;
}



.advantages-subtitle {
  font-size: 16px;
  color: #E6EEEF;
  margin: 0;
  max-width: 70%;
}

.advantages-right {
  flex: 2;
  min-width: 260px;
}

.advantages-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.advantages-list li {
  position: relative;
  padding: 10px 0 10px 30px;
  color: #fff;
  font-size: 14px;
}

.advantages-list li::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: #E8E78C;
  font-size: 18px;
  line-height: 1;
}


/* Стили для обзора рекламной сети */

.advantages-obzor {
  background: rgba(0, 0, 0, 0.3);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  padding: 60px;
  margin: 30px 0px 30px 0px;
  border-radius: 20px;
  color: #D9F6F9;
  font-size: 14px;
  line-height: 1.6;
}

.advantages-obzor h1,
.advantages-obzor h2,
.advantages-obzor h3,
.advantages-obzor h4,
.advantages-obzor h5,
.advantages-obzor h6 {
  color: #fff;
  margin-top: 30px;
  margin-bottom: 15px;
  font-family: 'Russo One', sans-serif;
  font-weight: 900;
  text-transform: uppercase;
}

.advantages-obzor p {
  margin: 0 0 15px 0;
}

.advantages-obzor ul,
.advantages-obzor ol {
  padding-left: 25px;
  margin: 15px 0;
}

.advantages-obzor ul li,
.advantages-obzor ol li {
  margin-bottom: 10px;
}

.advantages-obzor ul li::marker {
  color: #E8E78C;
}

.advantages-obzor a {
  color: #A4FFF5;
  text-decoration: underline;
  transition: color 0.2s;
}

.advantages-obzor a:hover {
  color: #f7653d;
}

.advantages-obzor img {
  max-width: 100%;
  border-radius: 15px;
  margin: 20px 0;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.4);
}

.advantages-obzor blockquote {
  border-left: 4px solid #E8E78C;
  padding-left: 15px;
  margin: 20px 0;
  font-style: italic;
  color: #ddd;
}

.advantages-obzor table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.advantages-obzor table th,
.advantages-obzor table td {
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 10px;
  text-align: left;
}

.advantages-obzor table th {
  background: rgba(255, 255, 255, 0.1);
  color: #E8E78C;
}

.advantages-obzor hr {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin: 30px 0;
}




/* Общий контейнер комментариев */
.advantages-com {
  background: rgba(0, 0, 0, 0.3);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  padding: 60px;
  border-radius: 20px;
  color: #fff;
  margin: 30px 60px 60px 60px;
  font-size: 16px;
  line-height: 1.6; 
}

/* Заголовок блока отзывов */
.com-num-entries h2 {
  margin: 0 0 20px 0;
  color: #fff;
  font-family: 'Russo One', sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 22px;
}

/* Пустой текст, когда нет отзывов */
.advantages-com > div[style*="color: #999"] {
  color: #ccc;
  font-style: italic;
}




/* Основной контейнер комментария */
.uComment {
  display: flex;
  gap: 0px;
  padding: 20px;
  margin-bottom: 20px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(4px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  color: #fff;
  transition: transform 0.3s;
}

.uComment:hover {
  transform: translateY(-2px);
}

/* Аватар */
.uc-avatar {
  flex-shrink: 0;
  margin-right: -50px; 
  object-fit: cover;
}

.uc-avatar img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

/* Основной контент */
.uc-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Верхний блок с именем, временем и рейтингом */
.uc-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

/* Левая часть верхушки: имя, дата */
.uc-top-left {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  flex-wrap: wrap;
}

.uc-profile-link span {
  font-weight: 700;
  color: #A4FFF5;
}

.uc-opacity {
  color: #ccc;
  font-size: 13px;
}

/* Правая часть: лайки/дизлайки */
.uc-top-right {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
}

.u-rate-wrapper {
  font-weight: 600;
  color: #f7b733;
}

/* Сообщение комментария */
.uc-message {
  font-size: 14px;
  line-height: 1.6;
  margin-top: 5px;
}

/* Ответ на комментарий */
.uc-answer {
  margin-top: 10px;
  padding: 10px;
  background: rgba(255,255,255,0.05);
  border-radius: 10px;
  font-size: 14px;
  color: #ddd;
}

/* Ссылка "Ответить" */
.uc-answer-link {
  margin-top: 8px;
}

.uc-answer-link a {
  color: #f7653d;
  text-decoration: underline;
  font-size: 14px;
  transition: color 0.2s;
}

.uc-answer-link a:hover {
  color: #fff;
}

/* Доп. элементы */
.uc-top-left img {
  vertical-align: middle;
}

.uc-top-left b {
  color: #E8E78C;
}

/* Для состояния без аватара */
.uc-avatar img[src*="noavatar"] {
  width: 50px;
  height: 50px;
  border-radius: 10px;
}



/* Основной контейнер */
/* Обёртка для горизонтальной прокрутки */
.promo-sravnenie-wrapper {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;             /* вертикаль отключаем */
  -webkit-overflow-scrolling: touch; /* плавный скролл на iOS */
  position: relative;
}

.promo-sravnenie {
  padding: 10px 16px;
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  min-width: 1200px; /* можно выставить примерную минимальную ширину под все колонки */
  position: relative;
}

/* Шапка */
.promo-sravnenie .table-header {
  display: grid;
  grid-template-columns:
    2fr
    0.7fr 0.7fr 0.7fr
    1fr 1fr 1fr 1fr 1fr
    2fr
    1fr
    40px;
  gap: 12px;
  padding: 8px 0;
  margin-bottom: 4px;
  font-size: 13px;
  position: sticky;
  top: 5px;
  z-index: 3;
  background-color: rgba(0, 0, 0, 0.3);

  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}
.promo-sravnenie .table-header .table-cell {
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Строка */
.promo-sravnenie .table-row {
  display: grid;
  justify-items: center; 

  grid-template-columns:
    2fr
    0.7fr 0.7fr 0.7fr
    1fr 1fr 1fr 1fr 1fr
    2fr
    1fr
    40px;
  gap: 12px;
  padding: 4px 0;
  margin-bottom: 4px;
  background: rgba(255,255,255,0.05);
  border-radius: 10px;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.promo-sravnenie .table-row:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}
.promo-sravnenie .table-row .table-cell {
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: normal;
word-break: normal;

}

/* Особые колонки */
.promo-sravnenie .cell-formats { white-space: normal; }
.promo-sravnenie .cell-promo,
.promo-sravnenie .cell-arrow { justify-content: center; }

/* Скрываем оригинальные карточки */
.promo-sravnenie .promo-card,
.promo-sravnenie .promo-header,
.promo-sravnenie .promo-details {
  display: none !important;
}

/* Ссылка на всю строку */
.promo-sravnenie .table-row-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  padding: 12px 16px;
}

/* Ячейки по умолчанию */
.promo-sravnenie .table-cell {
  flex: 1 1 auto;
  padding: 0 8px;
  font-size: 12px;
}

/* Фиксированные колонки */
.promo-sravnenie .cell-name  { flex: 2 1 150px; }
.promo-sravnenie .cell-promo { flex: 0 0 auto; }
.promo-sravnenie .cell-arrow { flex: 0 0 40px; }




/* 2) Логотип + название: единый отступ от левого края, gap между ними */
/* 2) Первая ячейка (лого+название): отступ 10px от левого края + gap 8px */
.promo-sravnenie .cell-name {
  font-size: 14px;
  font-weight: 600;
  justify-self: start;   /* ячейка по левому краю */
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 10px;    /* именно 10px от левого края */
}

/* 3) Логотип: только размер и Radius, без margin */
.promo-sravnenie .cell-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  margin: 0;             /* убираем любые margin */
}

/* 4) Текст названия без изменений */
.promo-sravnenie .cell-title {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-decoration: none;
}

.promo-sravnenie .cell-arrow .promo-btn {
  background: rgba(255,255,255,0.25);
  margin-bottom: 10px;
  border-radius: 8px;
  width: 36px;
  height: 36px;
  padding: 0;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.promo-sravnenie .cell-arrow .promo-btn:hover {
  background: #A4FFF5;
  color: #365051;
}

/* стрелка именно в таблице сравнения */
.promo-sravnenie .cell-arrow .table-arrow-btn {
  background: rgba(255,255,255,0.25);
  border-radius: 8px;
  width: 36px;
  height: 36px;
  padding: 0;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  text-decoration: none;
  color: inherit;
}

.promo-sravnenie .cell-arrow .table-arrow-btn:hover {
  background: #A4FFF5;
  color: #365051;
}



/* Стили для кнопки «Промо код» */
.promo-sravnenie .cell-promo .promo-promo {
  display: inline-block;                  /* чтобы работали паддинги */
  background-color: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  margin-bottom: 10px;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
}

/* Ховер-эффект */
.promo-sravnenie .cell-promo .promo-promo:hover {
  background-color: rgba(255, 255, 255, 0.25);
  color: #fff; /* или любой акцентный цвет */
  cursor: pointer;
}

.promo-sravnenie .table-current {
  position: sticky;
  top: 40px; /* высота шапки */
  background: #2c3e50; /* фон текущей сети */
  z-index: 15;
}


/* Карточки с кейсами */
.pokaz,
.pokaz a {
  text-decoration: none !important;
  color: inherit;
}

.case-grid {
  display: grid;
  gap: 20px 10px; /* сверху/снизу 20px, слева/справа 10px */
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  grid-auto-rows: 1fr; /* одинаковая высота строк */
  margin-top: 32px;
}

.cardvkn {
  background: rgba(255, 255, 255, 0.09);
  border-radius: 20px;
  padding: 16px;
  color: #fff;
  backdrop-filter: blur(12px);
  transition: transform 0.2s, background 0.2s;
  display: flex;
  flex-direction: column;
  position: relative;
  height: 370px;  
  text-decoration: none;
}
.cardvkn:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.08);
}

.imagevkn img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 12px;
}

.titlevkn {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
  text-decoration: none;
}

.descriptionvkn {
  font-size: 13px;
  color: #ccc;
  flex-grow: 1;
  margin-bottom: 12px;
  text-decoration: none;
}

.datacasevkn {
  display: none;

}

.profitvkn {
  font-weight: bold;
  font-size: 14px;
  color: #A4FFF5;
  text-decoration: none;
}

/* Плашка new */
.cardvkn .hint.dark {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #ff9800;
  color: #fff;
  font-size: 11px;
  padding: 4px 6px;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
}

.new-networks-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* две колонки */
  gap: 10px; /* отступ между карточками */
}

.new-networks-grid .promo-carddq {
  width: 100%;
  box-sizing: border-box;
}


.promo-vsecases {
  display: inline-block;
  margin: 40px auto 0;
  padding: 14px 24px;
  background: linear-gradient(90deg, #A4FFF5, #6EE7E0);
  color: #20272E;
  font-size: 0.95rem;
  font-weight: 700;

  border-radius: 16px;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.promo-vsecases:hover {
  background: linear-gradient(90deg, #6EE7E0, #A4FFF5);
  transform: translateY(-2px);
  box-shadow: 0 0 16px rgba(164,255,245,0.6);
}




/* логотипы партнеров */
/* Контейнер с горизонтальной прокруткой */



.partners-scroll-wrapper {
  /* Растягиваем на всю ширину окна, компенсируя паддинги родителя */
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;




  /* Возвращаем визуальные отступы, чтобы контент не прилипал к краям */
  padding-left: var(--page-padding, 10%);
  padding-right: var(--page-padding, 10%);
  padding-top: 30px;
  padding-bottom: 30px;

  overflow-x: hidden; /* убираем горизонтальный скролл у страницы */
  box-sizing: border-box;
}

.partners-scroll {
  width: 100%;
  display: flex;
  gap: 10px; /* расстояние между плитками */
  overflow-x: auto;      /* горизонтальный скролл */
  scroll-snap-type: x mandatory; /* плавная фиксация плиток */
  -webkit-overflow-scrolling: touch; /* плавный скролл на iOS */
}

/* Скрыть стандартный скроллбар */
.partners-scroll::-webkit-scrollbar {
  display: none;
}
.partners-scroll {
  scrollbar-width: none;
}

/* Плитка логотипа */
.partner-tile {
  flex: 0 0 auto; /* фиксированная ширина плитки */
  width: 120px;
  height: 40px;
  background: rgba(255,255,255,0.08); /* полупрозрачный фон */
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px; /* внутренний отступ от логотипа */
  scroll-snap-align: start;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

/* Логотип */
.partner-tile img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Hover-эффект в неоновой гамме */
.partner-tile:hover {
  transform: scale(1.05);
  background: rgba(255,255,255,0.15);
}


/* Только на десктопе */
@media (max-width: 992px) {
}

@media (max-width: 900px) {
  .ctx-cat {
    flex-wrap: wrap;
  }
  .ctx-cat .promo-cardd {
    flex: 1 1 calc(50% - 16px);
  }
}


@media (max-width: 768px) {

.promo-logodr img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}


.top-categories {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}


.top-networks-grid {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.networks-left h1::first-line {
 font-family: "Fira Sans Condensed", sans-serif;
  font-size: 120%;
  color: #E8E78C;
  font-weight: 900;
}

  .new-networks-grid {
    grid-template-columns: 1fr;
  }

.promo-descdr {
  width: 100%;
}

  /* прячем все картинки, кроме первой */
  .scrin .gallery-row a:not(:first-child) {
    display: none;
  }

.scrin .gallery-row a img {
  height: 160px;
}

.advantages-container {
  padding: 20px;
  flex-wrap: wrap;
  margin: 30px 0px 30px 0px;
}

.advantages-obzor {
  padding: 20px;
  margin: 30px 0px 30px 0px;
}

.advantages-com {
  padding: 20px;
  margin: 30px 0px 30px 0px;
}

  .two-columns {
    flex-direction: column;
  }

  .search-form {
    position: fixed;
    top: 80px; /* чуть ниже хедера */
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 30px); /* небольшие отступы слева и справа */
    background: rgba(255, 255, 255, 0.95);
    padding: 12px 14px;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    display: none;
    flex-direction: row;
    gap: 10px;
    align-items: center;
  }

  .search-form.active {
    display: flex;
  }

  .search-input {
    flex: 1;
    padding: 10px 14px;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    outline: none;
  }

  .search-button {
    padding: 10px 16px;
    background-color: #F7653D;
    color: #fff;
    font-weight: bold;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s;
  }

  .search-button:hover {
    background-color: #e5532d;
  }

.page-bg {
  padding: 0;
}

  .main-container {
    display: block;
    padding-top: 50px;
    width: 100%;
    background: radial-gradient(circle at center, #6FAFAD 0%, #273751 80%, #1f2f46 100%);
    background-attachment: fixed;
 }

  .main-area {
    padding: 20px;
  }

.mobile-header {
    display: flex;
  }

  .sidebar {
    display: none;
  }

  .mobile-sidebar.show {
    display: block;
  }
  .topmenu {
    display: none !important;
  }



  .networks-section {
    flex-direction: column;
  }

  .networks-left, .networks-right {
    width: 100%;

  }

.networks-left {
  padding: 0px;
}

.networks-right {
  padding: 0px;
  background: none;
}

.qcrown img {
    display: none;
}



.cristal img {
    display: none;
}

.top-badge {
    display: none;
}




.knopreg {
  margin-bottom: 50px;
}

}


@media (max-width: 600px) {
  .ctx-cat .promo-cardd {
    flex: 1 1 100%;
  }
}