

/* ----- СОВРЕМЕННЫЙ БЛОК РУБРИК ----- */
.wz-categories {
  margin: 24px 0;
  padding: 24px;
  background: var(--bg-primary);
  border-radius: 12px;
  box-shadow: var(--shadow);
  border: 1px solid #eee;
}

.categories-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.categories-list li {
  margin: 0;
}

.categories-list a {
  display: block;
  padding: 12px 16px;
  background: var(--bg-secondary);
  color: var(--text-primary);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  transition: var(--transition);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

.categories-list a::before {
  content: "•";
  color: var(--accent);
  position: absolute;
  left: 8px;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.25s ease;
}

.categories-list a:hover {
  background: #f0f8f2; /* очень светлый зеленоватый */
  border-color: var(--accent);
  color: var(--text-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.categories-list a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

/* Скрытые рубрики (если нужно показать позже) */
.hidden-category {
  display: none;
}

/* Адаптив: на мобильных — один столбец */
@media (max-width: 768px) {
  .wz-categories {
    padding: 16px;
  }

  .categories-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .categories-list a {
    padding: 14px 16px;
    font-size: 1.05rem;
  }
}


/* ----- УНИКАЛЬНЫЙ ФУТЕР WENIZAY — ИГРОВАЯ АТМОСФЕРА ----- */
.wz-footer {
  background: #0a0f0d; /* Очень тёмный зеленовато-чёрный */
  color: #c0e0d0; /* Светло-зеленоватый, как радиационный свет */
  padding: 50px 0 30px;
  border-top: 1px solid #1a2a22;
  font-family: 'Segoe UI', 'Inter', system-ui, sans-serif;
  position: relative;
  overflow: hidden;
}

.wz-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #4caf50, #8bc34a, #4caf50, transparent);
  opacity: 0.6;
}

.wz-footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 36px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.wz-footer-title {
  font-size: 1.25rem;
  margin-bottom: 20px;
  color: #e0f5e8;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-shadow: 0 0 8px rgba(76, 175, 80, 0.3);
}

/* ----- Иконки как "сигналы" ----- */
.wz-social-icons {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(10, 20, 15, 0.6);
  color: #a0d0b0;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: 1px solid #2a4030;
  box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.4);
}

.icon:hover {
  background: rgba(76, 175, 80, 0.15);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 0 12px rgba(76, 175, 80, 0.5);
  border-color: #4caf50;
}

/* ----- Навигация ----- */
.wz-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.wz-nav-list a {
  color: #b0d8c5;
  text-decoration: none;
  font-weight: 500;
  padding: 4px 0;
  position: relative;
  transition: color 0.2s;
}

.wz-nav-list a::after {
  content: " →";
  opacity: 0;
  transition: opacity 0.2s;
}

.wz-nav-list a:hover {
  color: #4caf50;
}

.wz-nav-list a:hover::after {
  opacity: 1;
}

/* ----- Юридическая секция ----- */
.wz-copyright {
  font-weight: 600;
  color: #e0f0e5;
  margin-bottom: 10px;
}

.wz-keywords {
  color: #8bc34a;
  font-size: 0.875rem;
  margin: 12px 0;
  font-style: italic;
}

.wz-legal {
  font-size: 0.875rem;
  line-height: 1.6;
  color: #90bfb0;
}

.wz-legal em {
  display: block;
  margin-top: 8px;
  color: #66bb6a;
  font-style: italic;
}

.wz-signal {
  color: #a0d0b0;
  font-size: 20px;
  font-weight: bold;
}

/* Адаптив */
@media (max-width: 768px) {
  .wz-footer {
    padding: 40px 0 20px;
  }

  .wz-footer-grid {
    gap: 28px;
    padding: 0 1rem;
  }

  .wz-signal {
    font-size: 22px;
  }
}


/* ----- КНОПКА "НАВЕРХ" ----- */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 63px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-primary);
  color: var(--text-primary);
  border: 1px solid #eee;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
  box-shadow: var(--shadow);
  z-index: 9998;
}

.back-to-top:hover {
  background: var(--bg-secondary);
  color: var(--accent);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* На мобильных — чуть больше и ниже */
@media (max-width: 768px) {
  .back-to-top {
    width: 50px;
    height: 50px;
    font-size: 18px;
    bottom: 16px;
    right: 16px;
  }
}

/* ----- ПЛАВАЮЩАЯ ИКОНКА МЕНЮ (только на ПК) ----- */
.menu-toggle-btn {
  display: none; /* Скрыта по умолчанию */
  position: fixed;
  top: 16px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 1px solid #eee;
  color: var(--text-primary);
  font-size: 18px;
  cursor: pointer;
  z-index: 9999;
  box-shadow: var(--shadow);
  transition: transform 0.2s, opacity 0.2s;
}

.menu-toggle-btn:hover {
  background: var(--bg-secondary);
}

/* Показываем иконку ТОЛЬКО на десктопе и когда меню скрыто */
@media (min-width: 1024px) {
  body.menu-hidden .menu-toggle-btn {
    display: block;
  }

  body.menu-hidden .top-bar {
    transform: translateY(-100%);
    box-shadow: none;
    border-bottom: none;
  }
}

/* Плавное скрытие меню */
.top-bar {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.header-wrap .main-header .logo a, .header-wrap .main-header .logo a:focus {
    color: #000000;
}

.header-wrap .main-header .logo a:hover, .header-wrap .main-header .logo a:focus {
    color: #004420;
}


.menu-line--secondary {
  height: 40px;
  background: var(--bg-secondary);
  font-size: 0.875rem;
  border-top: 1px solid #eee;
  overflow: hidden; /* гарантирует отсутствие скролла */
}

.top-games-menu {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 100%;
  padding: 0 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.top-games-menu a {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 6px;
  transition: var(--transition);
  white-space: nowrap;
  font-size: 1.2em;
}

.top-games-menu a:hover {
  color: #000000;
  background: #eef2ee; /* очень светлый зеленоватый серый */
}

/* Опционально: иконка перед названием */
.top-games-menu a::before {
  content: "•";
  color: var(--accent);
  font-weight: bold;
  font-size: 1.2em;
  line-height: 1;
}

/* На мобильных — уменьшаем отступы, если мало места */
@media (max-width: 768px) {
  .top-games-menu {
    gap: 14px;
    padding: 0 1rem;
    font-size: 0.8125rem;
  }

  .top-games-menu a {
    padding: 5px 8px;
  }

  .top-games-menu a::before {
    content: "•";
    font-size: 1em;
  }
}
/* ----- СВЕТЛАЯ ТЕМА С ТЁМНЫМИ ЭЛЕМЕНТАМИ ----- */
:root {
  --bg-primary: #ffffff;          /* Чисто белый фон */
  --bg-secondary: #f8f9fa;        /* Очень светлый серый для подложек */
  --text-primary: #1a1a1a;        /* Почти чёрный текст */
  --text-secondary: #555555;      /* Тёмно-серый для второстепенного */
  --accent: #2e7d32;              /* Темно-зелёный акцент (Material Green 700) */
  --accent-hover: #388e3c;        /* Чуть светлее при наведении */
  --border-radius: 10px;
  --transition: all 0.2s ease;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-deep: 0 6px 16px rgba(0, 0, 0, 0.12);
}

/* Убираем авто-темную тему — фиксируем светлую */
@media (prefers-color-scheme: dark) {
  :root {
    /* Всё равно оставляем светлую тему меню */
  }
}

/* ----- МЕНЮ ----- */
.top-bar {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid #eee;
}

.menu-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.menu-line--main {
  height: 64px;
}

.menu-line--secondary {
  height: 40px;
  background: var(--bg-secondary);
  font-size: 0.875rem;
  overflow-x: auto;
  white-space: nowrap;
  color: var(--text-secondary);
  border-top: 1px solid #eee;
}

.logo a {
  font-size: 1.5rem;
  font-weight: 800;
  text-decoration: none;
  color: var(--text-primary);
}

.logo-accent {
  color: var(--accent);
}

.main-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1.25rem;
}

.main-menu > li {
  position: relative;
}

.main-menu a {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: var(--border-radius);
  transition: var(--transition);
  font-weight: 500;
}

.main-menu a:hover,
.main-menu a:focus {
  color: var(--text-primary);
  background: var(--bg-secondary);
}

/* Подменю */
.has-submenu:hover .submenu,
.has-submenu:focus-within .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg-primary);
  border-radius: var(--border-radius);
  padding: 12px;
  min-width: 200px;
  box-shadow: var(--shadow-deep);
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 1px solid #eee;
}

.grid-submenu {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 16px;
}

.grid-submenu a {
  padding: 6px 10px;
}

.submenu a {
  color: var(--text-primary);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 6px;
  transition: var(--transition);
  font-weight: 500;
}

.submenu a:hover {
  background: var(--bg-secondary);
  color: var(--accent);
}

/* Правая панель */
.menu-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.icon-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.25rem;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.icon-btn:hover {
  color: var(--text-primary);
  background: var(--bg-secondary);
}

.avatar-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}

.avatar-btn:hover {
  border-color: var(--accent);
}

.avatar-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.user-menu {
  position: relative;
}

.user-panel {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--bg-primary);
  border-radius: var(--border-radius);
  padding: 12px;
  min-width: 180px;
  box-shadow: var(--shadow-deep);
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 1px solid #eee;
}

.user-menu:hover .user-panel,
.user-menu:focus-within .user-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.user-panel a {
  color: var(--text-primary);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 6px;
  transition: var(--transition);
  font-weight: 500;
}

.user-panel a:hover {
  background: var(--bg-secondary);
  color: #007336;
}

.notification-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #e53935; /* Красный для уведомлений */
  border-radius: 50%;
  margin-left: 6px;
  vertical-align: middle;
}

/* ----- ПОИСК НА ВЕСЬ ЭКРАН ----- */
.fullscreen-search {
  position: fixed;
  inset: 0;
  background: rgba(250, 250, 250, 0.96);
  display: none;
  place-items: center;
  z-index: 10002;
  color: var(--text-primary);
}

.fullscreen-search form {
  width: 90%;
  max-width: 600px;
}

.fullscreen-search input {
  width: 100%;
  padding: 18px 24px;
  font-size: 20px;
  border: 1px solid #ddd;
  border-radius: 12px;
  background: #ffffff;
  color: var(--text-primary);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  caret-color: var(--accent);
}

.fullscreen-search input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.15);
}

.close-search {
  position: absolute;
  top: 24px;
  right: 32px;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 36px;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

.close-search:hover {
  color: var(--accent);
}

/* ----- АДАПТИВ ----- */
@media (max-width: 992px) {
  .main-menu {
    display: none;
  }

  .menu-right {
    gap: 12px;
  }

  .logo a {
    font-size: 1.4rem;
  }
}

@media (max-width: 768px) {
  .menu-line--main {
    padding: 0 1rem;
  }

  .icon-btn, .avatar-btn {
    width: 36px;
    height: 36px;
  }
}


:root{
  --dark: #111417;
  --dark-70: rgba(17,20,23,.85);
  --green: #1eff8e;
  --radius: 6px;
  --speed: .25s;
}
*{box-sizing:border-box;margin:0;padding:0}
body{padding-top:120px} /* отступ под фиксированное меню */
#topBar{
  position:fixed;top:0;left:0;right:0;z-index:9999;
  font-family:system-ui,Arial,sans-serif;font-size:14px;
}
#menuLine1,#menuLine2{display:flex;align-items:center}
#menuLine1{
  background:var(--dark-70);backdrop-filter:blur(6px);
  height:60px;padding:0 12px 0 16px;
}
#logo{
  font-weight:800;font-size:24px;color:var(--green);
  cursor:pointer;letter-spacing:1px;margin-right:auto;
  transition:var(--speed)
}
#logo:hover{filter:brightness(1.4) drop-shadow(0 0 6px var(--green))}
#centerMenu{list-style:none;display:flex;gap:28px}
#centerMenu>li{position:relative}
#centerMenu a{color: #000000;text-decoration:none;white-space:nowrap}
#centerMenu .sub{
  position:absolute;left:0;top:100%;background:var(--dark);
  border-radius:var(--radius);min-width:180px;
  display:none;flex-direction:column;padding:8px 0;
  box-shadow:0 4px 12px #0006
}
#centerMenu>li:hover .sub{display:flex}
#centerMenu .sub a{padding:6px 14px;font-size:13px}
#centerMenu .sub a:hover{background:#ffffff12}
#rightIcons{display:flex;align-items:center;gap:18px;margin-left:auto}
 