/* 🎥 Видео-фон */
#bg-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  filter: brightness(0.6) blur(4px); /* затемнение и мягкий блюр */
}

/* 🔲 Тёмный слой поверх видео для ещё большей глубины */
#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.01); /* чуть темнее, чтобы убрать белое свечение */
  z-index: -1;
}

/* Основные стили страницы */
body {
  margin: 0;
  background: #000; /* гарантированно убирает белые поля или свечение */
  color: white;
  font-family: "Orbitron", Arial, sans-serif;
  overflow-x: hidden;
}

/* Контент */
.content {
  position: relative;
  z-index: 1;
  padding: 40px;
  text-align: left;
}

/* ✨ Светящееся оформление ТОЛЬКО для текста в контенте */
.content h1,
.content h2,
.content h3,
.content p,
.content span {
  color: #fff;
  text-shadow:
    0 0 10px rgba(255, 0, 0, 0.6),
    0 0 20px rgba(255, 0, 0, 0.4);
  transition: text-shadow 0.3s ease;
}

/* 💥 Эффект усиленного свечения при наведении */
.content h1:hover,
.content h2:hover,
.content h3:hover,
.content p:hover,
.content span:hover {
  text-shadow:
    0 0 20px rgba(255, 0, 0, 0.9),
    0 0 40px rgba(255, 0, 0, 0.7);
}







.container {
  max-width: 85%;
  margin: 0 auto;
}

/* Общий блок */
.description {
  background-color: #1c1c1c;
  padding: 30px;
  border: 2px solid rgba(200, 200, 200, 0.5);
  border-radius: 10px;
  font-size: 20px;
  font-weight: bold;
  margin: 0 auto;
  width: 80%;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

/* 🌟 Заголовок с ярким эффектом */
.main-title {
  font-size: 70px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 30px;
  display: block;
  text-align: center;
  background: linear-gradient(90deg, #00d0ff, #00ffa3, #ffffff, #00d0ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: glowPulse 3s ease-in-out infinite;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.4), 0 0 25px rgba(0, 255, 255, 0.2);
}

/* 🔄 Эффект мягкого мерцания */
@keyframes glowPulse {
  0%, 100% {
    filter: drop-shadow(0 0 8px rgba(0, 255, 255, 0.7));
  }
  50% {
    filter: drop-shadow(0 0 18px rgba(0, 255, 200, 0.9));
  }
}

/* Основной текст */
.main-text {
  display: block;
  text-align: left;
  font-size: 22px;
  line-height: 1.6;
  color: #e0e0e0;
  margin-bottom: 15px;
}

/* Подсветка ключевых слов */
.highlight-game {
  color: #00bfff;
  font-weight: 600;
}

.highlight-strong {
  color: #4cff99;
  font-weight: 700;
}

.highlight-weak {
  color: #ff6b6b;
  font-weight: 600;
}

.highlight-search {
  color: #ffc857;
  font-weight: 600;
}

/* Заголовок секции */
.tiers-title {
  font-size: 28px;
  font-weight: bold;
  color: #6e6e6e;
  text-align: left;
  margin-top: 40px;
}


.tier-list {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.tier {
  flex: 1;
  min-width: 150px;
  padding: 40px;
  border-radius: 15px;
  text-align: center;
  font-weight: bold;
  transition: transform 0.2s, box-shadow 0.2s;
}
.tiers-example {
    text-align: center;
    margin: 40px auto;
    max-width: 1700px;
    color: #ffffff;
  }

  .tiers-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 25px;
  }

  .tier-columns {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
  }

  .tier-box {
    flex: 1 1 200px;
    min-width: 200px;
    max-width: 250px;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    font-family: "Fredoka", sans-serif;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
  }



  .tier-box h3 {
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 10px;
  }

  .tier-box p {
    font-size: 16px;
    line-height: 1.4;
  }

  /* 🎨 Цвета и границы, как на картинке */
/* 🎨 Цвета и границы, как на картинке */
.tier-box.excellent {
  background: linear-gradient(135deg, #2a5b70, #1a3140);
  border: 3px solid #00d0ff;
  box-shadow: 0 0 15px rgba(0, 164, 201, 0.7);
}

.tier-box.good {
  background: linear-gradient(135deg, #2e7d50, #1a3f28);
  border: 3px solid #4cff99;
  box-shadow: 0 0 15px rgba(0, 255, 128, 0.7);
}

.tier-box.ok {
  background: linear-gradient(135deg, #77612f, #3e2f15);
  border: 3px solid #e69645;
  box-shadow: 0 0 15px rgba(203, 137, 50, 0.7);
}

.tier-box.weak {
  background: linear-gradient(135deg, #774141, #3d1f1f);
  border: 3px solid #ff8080;
  box-shadow: 0 0 15px rgba(255, 102, 102, 0.7);
}

.tier-box.debuff {
  background: linear-gradient(135deg, #774964, #3d2036);
  border: 3px solid #ff85c2;
  box-shadow: 0 0 15px rgba(255, 105, 180, 0.7);
}




.tier h3 {
  margin: 0 0 12px 0;
  font-size: 32px;
  font-weight: bold;
}

.tier p {
  font-size: 20px;
  font-weight: bold;
}


.note {
  text-align: center;
  font-size: 33px;
  margin-bottom: 25px;
  color: #ccc;
  font-weight: bold;
  position: relative;
  display: inline-block;
  padding: 20px 40px;
}

/* 🎯 Серые уголки как прицел */
.note::before,
.note::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid #777;
  opacity: 0.7;
}

/* 🔹 Верхний левый угол */
.note::before {
  top: 0;
  left: 0;
  border-right: none;
  border-bottom: none;
}

/* 🔹 Нижний правый угол */
.note::after {
  bottom: 0;
  right: 0;
  border-left: none;
  border-top: none;
}

/* Добавляем ещё два через дополнительные элементы */
.note span::before,
.note span::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid #777;
  opacity: 0.7;
}

/* 🔹 Верхний правый угол */
.note span::before {
  top: 0;
  right: 0;
  border-left: none;
  border-bottom: none;
}

/* 🔹 Нижний левый угол */
.note span::after {
  bottom: 0;
  left: 0;
  border-right: none;
  border-top: none;
}

/* 💡 Светлый акцент при наведении */
.note:hover::before,
.note:hover::after,
.note:hover span::before,
.note:hover span::after {
  border-color: #ccc;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.3);
}





.disk {
  text-align: center;
  font-size: 20px;
  margin-bottom: 35px; /* было 350px (! слишком много) */
  color: #7e7e7e;
  transition: all 0.55s cubic-bezier(0.22, 1, 0.36, 1);

  font-weight: bold;
}

/* начальное состояние — скрыто */
#advice-box {
  position: relative;
  top: 50%;
  overflow: hidden;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.94) translateY(20px);
  opacity: 0;
  visibility: hidden;
  max-width: 720px;
  width: 92%;
  z-index: 9999;
  pointer-events: none;               /* пока не видно — не мешает кликам */
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

#advice-box.show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1) translateY(0);
  pointer-events: auto;
}

/* ──────── САМА КРАСИВАЯ ПОДСКАЗКА 2025 ──────── */
.advice-box {
  background: rgba(10, 12, 18, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 208, 255, 0.25);
  border-radius: 20px;
  padding: 40px 50px;
  color: #e0faff;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.8),
    0 0 80px rgba(0, 208, 255, 0.15),
    inset 0 0 60px rgba(0, 0, 0, 0.4);
  
  /* лёгкий неоновый градиент по краю */
  background-image: 
    linear-gradient(135deg, rgba(0, 208, 255, 0.08) 0%, transparent 50%),
    radial-gradient(circle at top left, rgba(0, 255, 200, 0.06) 0%, transparent 60%);
}

.advice-box h2 {
  margin: 0 0 16px 0;
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  color: #00d0ff;
  text-shadow: 
    0 0 20px rgba(0, 208, 255, 0.7),
    0 0 40px rgba(0, 208, 255, 0.3);
  letter-spacing: 1px;
}

.advice-box p {
  margin: 0;
  font-size: 19px;
  line-height: 1.7;
  color: #b8e6ff;
  text-align: center;
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
}

/* Кнопка закрытия — красивая и в тему */
.advice-close {
  position: absolute;
  top: 18px;
  right: 24px;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(0,208,255,0.3);
  border-radius: 50%;
  color: #00d0ff;
  font-size: 22px;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(6px);
}

.advice-close:hover {
  background: rgba(0,208,255,0.15);
  color: #fff;
  transform: scale(1.15);
  box-shadow: 0 0 20px rgba(0,208,255,0.6);
}


#advice-box:not(.show) {
  transform: translate(-50%, -50%) scale(0.92) translateY(30px);
  opacity: 0;
  visibility: hidden;
}


.advice-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, 
    rgba(0, 208, 255, 0.12) 0%, 
    transparent 50%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease, transform 0.8s ease;
  transform: translateY(100%);
}

#advice-box:not(.show) .advice-box::before {
  opacity: 1;
  transform: translateY(-100%);
  transition: opacity 0.4s ease 0.1s, transform 0.8s ease;
}

#advice-box {
  animation: floatAdvice 3s ease-in-out infinite;
}

/* Плавное парение вверх-вниз */
@keyframes floatAdvice {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px); /* высота "подпрыгивания" */
  }
  100% {
    transform: translateY(0);
  }
}





/* ======================================================
   БАЗОВАЯ СЕТКА ТИРЛИСТА
   ====================================================== */

/* ======================================================
   TIERLIST КОНТЕЙНЕРЫ
   ====================================================== */
/* ======================================================
   TIERLIST КОНТЕЙНЕРЫ
   ====================================================== */
.tierlist {
  display: flex;
  flex-direction: column;
  align-items: center;      /* Центрирование по горизонтали всей колонки */
  justify-content: center;  /* Центрирование по вертикали всей колонки */
  min-height: 100vh;
  gap: 50px;               /* Расстояние между рядами */
}

.tier-row {
  display: flex;
  align-items: center;      /* Центр по вертикали внутри ряда */
  justify-content: center;  /* Центр по горизонтали внутри ряда */
  gap: 50px;  
  margin-bottom: 50px;             /* Расстояние между элементами в ряду */
}

.perk-comment {
  position: absolute;
  z-index: 999999; /* 🔥 всегда сверху */
}

.tier-label {
  flex: 0 0 60px;
  font-size: 50px;
  font-weight: bold;
  text-align: center;
  color: white;
  background-color: #444;
  padding: 20px;
  border-radius: 5px;
  margin-right: 10px;
}


/* ======================================================
   РОМБЫ S B C D F (без свечения)
   ====================================================== */



/* отключаем пламя у ромбов */
.tier-s::before, .tier-s::after,
.tier-b::before, .tier-b::after,
.tier-c::before, .tier-c::after,
.tier-d::before, .tier-d::after,
.tier-f::before, .tier-f::after,
.tier-s .glow-border,
.tier-b .glow-border,
.tier-c .glow-border,
.tier-d .glow-border,
.tier-f .glow-border {
  display: none !important;
}



.tier-content {
    flex: 1;
    background: #1e1e1e;        /* простой однородный фон */
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    padding: 12px;
    gap: 26px;
    max-width: 79%;
    min-height: 80px;
    border-radius: 8px;
    box-sizing: border-box;

    /* лёгкая внутренняя тень — почти не нагружает браузер */
    box-shadow: inset 0 0 8px rgba(255,255,255,0.04);
    position: relative;
    overflow: visible;
}

.tier-content::before {
    content: "";
    position: absolute;
    inset: 0;

    /* лёгкий, однородный полупрозрачный слой */
    background: rgba(255, 255, 255, 0.03);

    pointer-events: none;
    z-index: 1;
}







.tier-content .perk {
    position: relative;
    z-index: 1; /* обычный уровень иконок */
}

.perk-comment {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.75);
    color: #111;
    padding: 12px 20px;
    border-radius: 7px;
    min-width: 400px;
    max-width: 700px;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.14s ease, transform 0.14s ease;
    z-index: 999999999 !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.35), 0 0 12px rgba(71, 71, 71, 0.2);
    backdrop-filter: blur(2px) saturate(130%);
}

/* Появление на hover */
.perk:hover .perk-comment, .perk-comment:hover {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}
.tier-content, .perk-comment {
  transform: translateZ(0);
}
/* ============================================ ТЕКСТ ПОДСКАЗКИ ================================================ */
.perk-title {
    font-weight: bold;
    font-size: 26px;
    margin-bottom: 10px;
    text-align: center;
}

.perk-title.survivor {
    background: linear-gradient(90deg, #7dd8f7, #0047ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.perk-title.killer {
    background: linear-gradient(90deg, #ff2e2e, #4b0000);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.perk-text {
    font-size: 20px;
    color: #111;
    line-height: 1.35;
}

/* ============================================ УЛУЧШЕННЫЕ СВЕТЛЫЕ РАМКИ ТИРОВ (улучшили цвета для большей глубины и гармонии) ================================================ */
/* 🔷 S-Tier — холодное неоновое сияние */
/* 🔷 S-tier */
.glow-s {
    background: #10363f;
    border: 3px solid cyan;
    box-shadow: 0 0 12px rgba(0,255,255,0.35);
}

/* 🟢 B-tier */
.glow-b {
    background: #0f4a33;
    border: 2px solid #00ff96;
    box-shadow: 0 0 12px rgba(0,255,150,0.35);
}

/* 🟠 C-tier */
.glow-c {
    background: #6a3f0e;
    border: 2px solid #ffbe50;
    box-shadow: 0 0 12px rgba(255,190,80,0.35);
}

/* 🔴 D-tier */
.glow-d {
    background: #6b0f0f;
    border: 2px solid #ff5a46;
    box-shadow: 0 0 12px rgba(255,90,70,0.35);
}

/* 💜 F-tier */
.glow-f {
    background: #5b1080;
    border: 2px solid #ff82e6;
    box-shadow: 0 0 12px rgba(255,130,230,0.35);
}
.tier-stars {
    display: flex;
    gap: 4px;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 6px;
    margin-bottom: 8px;
    width: fit-content;
}

/* сами звезды */
.star {
    font-size: 32px;
    line-height: 1;
    display: inline-block;
    width: 28px;
    text-align: center;
}

/* заполненная звезда — яркая белая */
.star.full {
    color: #ffffff;
    text-shadow: 0 0 6px rgba(255,255,255,0.7);
}

/* незаполненная — только белая тонкая граница */
.star.empty {
    color: transparent;
    -webkit-text-stroke: 2px rgba(255,255,255,0.8);
}

/* --------------------------------------
   ПОДСВЕТКА БЛОКОВ (как твои glow-s/b/c/d/f)
----------------------------------------- */

.tier-stars.glow-s {
    background: #10363f;
    border: 2px solid cyan;
    box-shadow: 0 0 12px rgba(0,255,255,0.35);
}

.tier-stars.glow-b {
    background: #0f4a33;
    border: 2px solid #00ff96;
    box-shadow: 0 0 12px rgba(0,255,150,0.35);
}

.tier-stars.glow-c {
    background: #6a3f0e;
    border: 2px solid #ffbe50;
    box-shadow: 0 0 12px rgba(255,190,80,0.35);
}

.tier-stars.glow-d {
    background: #6b0f0f;
    border: 2px solid #ff5a46;
    box-shadow: 0 0 12px rgba(255,90,70,0.35);
}

.tier-stars.glow-f {
    background: #5b1080;
    border: 2px solid #ff82e6;
    box-shadow: 0 0 12px rgba(255,130,230,0.35);
}
/* ===========================================================
   АВТО-СИСТЕМА ЗВЁЗД ДЛЯ ТИРЛИСТА
=========================================================== */

/* Контейнер всей строки тира */
.tier-row {
    position: relative;  /* позволяет ставить звезды слева */
}

/* Блок звёзд, который появляется автоматически */
.tier-stars-auto {
    position: absolute;
    left: -105px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 4px;
    padding: 6px 10px;
    border-radius: 6px;
    width: fit-content;
}

.star {
    font-size: 32px;
    width: 28px;
    line-height: 1;
    text-align: center;
}

.star.full {
    color: #fff;
    text-shadow: 0 0 6px rgba(255,255,255,0.7);
}

.star.empty {
    color: transparent;
    -webkit-text-stroke: 2px rgba(255,255,255,0.8);
}

/* подсветки */
.tier-stars-auto.glow-s {
    background: #10363f;
    border: 2px solid cyan;
    box-shadow: 0 0 12px rgba(0,255,255,0.35);
}

.tier-stars-auto.glow-b {
    background: #0f4a33;
    border: 2px solid #00ff96;
    box-shadow: 0 0 12px rgba(0,255,150,0.35);
}

.tier-stars-auto.glow-c {
    background: #6a3f0e;
    border: 2px solid #ffbe50;
    box-shadow: 0 0 12px rgba(255,190,80,0.35);
}

.tier-stars-auto.glow-d {
    background: #6b0f0f;
    border: 2px solid #ff5a46;
    box-shadow: 0 0 12px rgba(255,90,70,0.35);
}

.tier-stars-auto.glow-f {
    background: #5b1080;
    border: 2px solid #ff82e6;
    box-shadow: 0 0 12px rgba(255,130,230,0.35);
}



/* ============================================
   ПЕРКИ (НЕ ТРОГАЮ)
================================================ */

.tier-content .perk {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 60px;
  margin: 4px;
}

/* белое мягкое сияние вокруг ромба */
.tier-content .perk::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: rotate(45deg);
  box-shadow:
    0 0 3px rgba(255,255,255,0.35),
    0 0 10px rgba(255,255,255,0.28);
  border-radius: 2px;
}

/* иконка */
/* Перки */


/* Иконки */
.tier-content .perk img {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  object-fit: cover;
  pointer-events: none;

  transition: transform 0.2s ease, filter 0.2s ease;
}

/* Эффекты на ховер */
.tier-content .perk:hover img {
  transform: scale(1.25);
  filter: brightness(1.12) contrast(1.12) saturate(145%) 
}



/* Подсказка */











/* Перки внутри колонок аккуратно выстраиваются */



/* Контейнер кнопок */
/* Кнопки переключателя */
/* ======================================================
   SWITCHER — УЛУЧШЕННЫЙ ДИЗАЙН
   ====================================================== */

/* === SWITCHER (кнопки Killers / Survivors) === */
.switcher {
  width: 100%;
  display: flex;
  flex-direction: row;      /* ← КНОПКИ В ЛИНИЮ */
  justify-content: center;  /* центрируем по горизонтали */
  align-items: center;
  gap: 40px;                /* расстояние между кнопками */
  margin-top: 20px;
}

/* Кнопки остаются без изменений */
.switcher button {
  width: 260px;
  height: 180px;

  background: rgba(43, 46, 42, 0);
  backdrop-filter: blur(8px);
  border-radius: 35px;

  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  transition: transform 0.25s ease, filter 0.2s ease;
}

.switcher button::before {
  content: "";
  position: absolute;
  inset: 0;

  background-size: 125%;
  background-repeat: no-repeat;
  background-position: center;

  opacity: 1;
  transition: transform 0.25s ease;
}

/* Survivor PNG */
.switcher button.survivors::before {
  background-image: url("122_20251129155147.png");
}

/* Killer PNG */
.switcher button.killers::before {
  background-image: url("122_20251129155044.png");
}

/* Hover */
.switcher button:hover::before {
  transform: scale(1.08);
}

/* Click */
.clicked {
  animation: buttonPop 0.25s ease;
}

@keyframes buttonPop {
  0% { transform: scale(1); }
  40% { transform: scale(1.1); }
  100% { transform: scale(1); }
}






/* === TOGGLE КНОПКА ПОД SWITCHER === */
.toggle-container {
  text-align: center;
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

/* БАЗОВЫЙ СТИЛЬ — НЕЙТРАЛЬНЫЙ (тёмный, без цвета) */
#toggle-modals {
  position: relative;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 800;
  color: #000;
  background: linear-gradient(135deg, #00c853, #1de9b6);
  border: 2px solid #64ffda;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
  overflow: hidden;
  box-shadow: 
    0 0 20px rgba(0, 200, 100, 0.6),
    0 0 40px rgba(0, 255, 130, 0.4),
    0 6px 16px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(100, 255, 218, 0.3) inset;
  backdrop-filter: blur(8px);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  user-select: none;
  outline: none;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
/* ВКЛЮЧЕНО — ЗЕЛЁНЫЙ */
#toggle-modals.on {
  background: linear-gradient(135deg, #00c853, #1de9b6);
  border-color: #64ffda;
  color: #000;
  font-weight: 800;
  box-shadow: 
    0 0 20px rgba(0, 200, 100, 0.6),
    0 0 40px rgba(0, 255, 130, 0.4),
    0 6px 16px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(100, 255, 218, 0.3) inset;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* ВЫКЛЮЧЕНО — КРАСНЫЙ */
#toggle-modals.off {
  background: linear-gradient(135deg, #c62828, #e91e63);
  border-color: #ff5252;
  color: #fff;
  font-weight: 800;
  box-shadow: 
    0 0 20px rgba(255, 50, 50, 0.5),
    0 0 40px rgba(255, 80, 80, 0.3),
    0 6px 16px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(255, 82, 82, 0.3) inset;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* ХОВЕР — работает для всех состояний */
#toggle-modals:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 
    0 8px 20px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.12) inset;
}

/* НАЖАТИЕ */
#toggle-modals:active {
  transform: translateY(1px) scale(0.98);
  transition: all 0.15s ease;
}

/* БЛИК — появляется при ховере и в активных состояниях */
#toggle-modals::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.2) 0%, 
    rgba(255, 255, 255, 0.05) 50%, 
    transparent 100%);
  border-radius: 16px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

#toggle-modals:hover::before,
#toggle-modals.on::before,
#toggle-modals.off::before {
  opacity: 1;
}

/* ПОДПИСЬ — меняется динамически */
#modal-toggle-status {
  font-size: 13px;
  font-weight: 600;
  color: #f0f0f0;
  background: rgba(20, 20, 30, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 8px 14px;
  border-radius: 12px;
  text-align: center;
  max-width: 210px;
  line-height: 1.4;
  box-shadow: 
    0 4px 12px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  letter-spacing: 0.3px;
  opacity: 0.95;
  transition: all 0.3s ease;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

#modal-toggle-status:hover {
  opacity: 1;
  transform: translateY(-1px);
}

/* === УДАЛЯЕМ СТАРОЕ ПОЗИЦИОНИРОВАНИЕ === */
/* Убираем .modal-toggle-container — больше не нужен */
.modal-toggle-container {
  display: none !important; /* или просто удали из HTML */
}






/* Текущий статус */
#current-status {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 12px 22px;
  font-size: 22px;
  font-weight: 700;

  color: #00ffe5;
  background: rgba(0, 20, 25, 0.55);
  border: 2px solid rgba(0, 255, 220, 0.35);
  border-radius: 10px;

  box-shadow:
      0 0 12px rgba(0, 255, 220, 0.4),
      inset 0 0 10px rgba(0, 255, 220, 0.15);

  text-shadow: 0 0 6px #00ffe5;

  animation: statusGlow 2.4s ease-in-out infinite;
}

/* 🎯 Иконка цели */
#current-status::before {
  content: "🎯";
  font-size: 26px;
  filter: drop-shadow(0 0 5px #00ffe5);
  animation: iconPulse 1.5s ease-in-out infinite;
}


/* ✨ Плавное “дыхание” статуса */
@keyframes statusGlow {
  0% {
    box-shadow:
      0 0 10px rgba(0, 255, 220, 0.35),
      inset 0 0 8px rgba(0, 255, 220, 0.12);
  }
  50% {
    box-shadow:
      0 0 18px rgba(0, 255, 220, 0.55),
      inset 0 0 14px rgba(0, 255, 220, 0.25);
  }
  100% {
    box-shadow:
      0 0 10px rgba(0, 255, 220, 0.35),
      inset 0 0 8px rgba(0, 255, 220, 0.12);
  }
}

/* 💫 Лёгкая пульсация иконки */
@keyframes iconPulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.75; }
  100% { transform: scale(1); opacity: 1; }
}


.button-container {
  text-align: center;
  margin: 15px 0; /* расстояние сверху и снизу */
}
  /* Поисковая строка */
/* 🔎 Поисковая строка */
.search-bar {
  text-align: center;
  margin: 20px 0;
}

.search-bar input {
  width: 60%;
  max-width: 500px;
  padding: 12px 15px;
  font-size: 18px;
  border: 2px solid #3399ff;
  border-radius: 8px;
  background-color: #2a2a2a;
  color: white;
  outline: none;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.search-bar input:focus {
  border-color: #66b3ff;
  box-shadow: 0 0 10px rgba(51, 153, 255, 0.6);
}
/* Подсказка остаётся как у тебя */
.perk-comment {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

/* При наведении — работает как обычно */
.perk:hover .perk-comment {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

/* 🔸 Модалка */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background-color: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(5px);
}

.modal-content {
  background: #1a1a1a;
  color: #fff;
  padding: 30px 40px;
  border-radius: 10px;
  max-width: 600px;
  width: 90%;
  text-align: center;
  border: 2px solid rgba(255,255,255,0.2);
  box-shadow: 0 0 20px rgba(255,255,255,0.2);
  animation: popUp 0.3s ease;
}

@keyframes popUp {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.close {
  position: absolute;
  right: 25px;
  top: 15px;
  font-size: 30px;
  color: #ccc;
  cursor: pointer;
}
.close:hover { color: #fff; }

     /* Модальное окно */
/* Ограничим по ширине и позволим переносить */
.modal {
  display: none; /* скрыто по умолчанию */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 80%;
  height: 80%;
  background: rgba(0,0,0,0.7);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: #2a2a2a;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  color: white;
  max-width: 70%;   /* 🔹 растягивается почти на весь экран */
  max-height: 90vh; /* 🔹 не выше окна */
  animation: fadeIn 0.3s ease;
  background-image:
radial-gradient(circle at 20% 30%, rgba(71, 71, 71, 0.18) 0%, transparent 45%),
radial-gradient(circle at 80% 70%, rgba(36, 36, 36, 0.14) 0%, transparent 50%),
radial-gradient(circle at 50% 10%, rgba(19, 19, 19, 0.12) 0%, transparent 55%),
radial-gradient(circle at 10% 80%, rgba(50, 50, 50, 0.16) 0%, transparent 60%),
radial-gradient(circle at 90% 20%, rgba(30, 30, 30, 0.13) 0%, transparent 55%);
background-size: 180% 180%, 150% 150%, 200% 200%, 170% 170%, 190% 190%;
background-position: 0% 0%, 100% 100%, 50% 50%, 30% 70%, 70% 30%;
animation:
slideUp 0.5s ease,
fogInside 32s ease-in-out infinite;
}
/* Improved fog animation: added more gradients for depth, smoother transitions with additional keyframes, slightly slower duration for a more ethereal drift, and refined positions for natural flow */
@keyframes fogInside {
0% {
background-position: 0% 0%, 100% 100%, 50% 50%, 30% 70%, 70% 30%;
}
20% {
background-position: 20% 15%, 85% 90%, 60% 40%, 40% 60%, 80% 20%;
}
40% {
background-position: 40% 30%, 70% 80%, 70% 30%, 50% 50%, 90% 10%;
}
60% {
background-position: 60% 45%, 55% 70%, 80% 20%, 60% 40%, 100% 0%;
}
80% {
background-position: 80% 60%, 40% 60%, 90% 10%, 70% 30%, 10% 90%;
}
100% {
background-position: 100% 75%, 25% 50%, 100% 0%, 80% 20%, 20% 80%;
}

}
#perk-owner-name {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 15px;
  white-space: normal;       /* 🔹 разрешаем перенос текста */
  word-wrap: break-word;     /* 🔹 переносим длинные слова */
  overflow-wrap: break-word;
  text-align: center; 
  line-height: 1.3;
  text-align: center;        /* 🔹 чтобы всё было красиво */
  max-width: 100%;           /* 🔹 не вылезает за пределы */
}



.modal-content img {
  width: 400px;
  height: 360px;
  border-radius: 10px;
  margin-bottom: 15px;

  /* Просто холоднее + ниже контраст */
  filter: 
    contrast(0.8)      /* снижаем контрастность */
    brightness(0.6)    /* чуть притемняем, чтобы не было «вырвиглазно» */
    sepia(0.15)         /* лёгкий холодный оттенок через сепию + сине-зелёный */
    hue-rotate(-15deg)  /* сдвигаем в холодную (сине-голубую) сторону */
    saturate(0.8);      /* чуть приглушаем насыщенность, чтобы было мрачнее и спокойнее */
}






.close {
  position: absolute;
  top: 15px;
  right: 25px;
  color: white;
  font-size: 28px;
  cursor: pointer;
}

@keyframes fadeIn {
  from {opacity: 0; transform: scale(0.9);}
  to {opacity: 1; transform: scale(1);}
}
#perk-owner-price {
  margin-top: 10px;
  font-size: 16px;
  font-weight: bold;
  color: #ddd; /* бело-серый цвет */
  line-height: 1.5;
}
#perk-owner-price b {
  color: #3399ff; /* можно выделить цифры цветом */
}
/* 🔹 Контейнер справочников */
/* 🔹 Контейнер справочников */
/* 🩸 Тёмная рамка под кнопки */




/* Чтобы кнопки были по центру внутри рамки */
/* 🌑 Декоративная тёмная рамка вокруг кнопок */
/* 🌑 УЛЬТРА-ТЁМНАЯ ШИРОКАЯ РАМКА */
/* УЛЬТРА-ТЁМНАЯ ШИРОКАЯ РАМКА */
/* ========== 9 НЕОНОВЫЙ КОНТЕЙНЕР С 9 ЦВЕТОВЫМИ ТЕМАМИ  ========== */
/* ==================== ОСНОВНОЙ КОНТЕЙНЕР ==================== */
/* Улучшенный контейнер */
/* ----------------- КОНТЕЙНЕР ----------------- */
/* ----------------- КОНТЕЙНЕР С РАЗНОЦВЕТНЫМ НЕОНОМ ----------------- */
/* ----------------- ТЁМНЫЙ КОНТЕЙНЕР ----------------- */
.dbd-container {
  max-width: 700px;
  margin: 80px auto;
  padding: 50px 60px;
  background: 
    linear-gradient(135deg, #1c1c1c, #333333, #000000), /* тёмный серый → серый → черный */
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><filter id="noise"><feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="4"/><feColorMatrix type="saturate" values="0"/></filter><rect width="100" height="100" filter="url(%23noise)" opacity="0.05"/></svg>'); /* текстура шума */
  border-radius: 28px;
  box-shadow: 
    0 15px 40px rgba(20, 20, 20, 0.9),
    0 0 80px rgba(65, 65, 65, 0.05),
    inset 0 0 50px rgba(26, 26, 26, 0.7);
  border: 1px solid rgba(57, 57, 57, 0.08);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(16px);
  z-index: 1;
  transition: all 0.3s ease;
}

/* ----------------- НЕОНОВЫЙ ОБОДОК ----------------- */
.dbd-container::before {
  content: '';
  position: absolute;
  top: -6px; left: -6px; right: -6px; bottom: -6px;
  background: linear-gradient(45deg, #262626, #262626, #242424); /* серый → светло-серый → почти черный */
  border-radius: 32px;
  z-index: -1;
  animation: darkGlow 6s linear infinite;
  opacity: 0.5;
  filter: blur(3px);
  background-size: 300% 300%;
}



/* ----------------- КНОПКИ ----------------- */
.dbd-reference {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 20px;
}

/* ----------------- КНОПКИ ----------------- */
.dbd-reference button {
  border: none;
  padding: 18px 50px;
  margin: 10px;
  border-radius: 16px;
  cursor: pointer;
  font-weight: 700;
  font-size: 22px;
  color: #e0e0e0;
  background: linear-gradient(145deg, #222222, #111111);
  box-shadow: 
    0 10px 25px rgba(0, 0, 0, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease, transform 0.25s ease;
  letter-spacing: 1.2px;
  position: relative;
  z-index: 1;
  backdrop-filter: blur(4px);
}

/* ----------------- ГОЛУБАЯ КНОПКА ----------------- */
#open-slang {
  border: 2px solid #00d0ff;
  color: #00e6ff;
  text-shadow: 0 0 10px #00d0ff, 0 0 20px #00aaff;
  animation: blueGlow 2.5s infinite alternate;
  box-shadow: 
    0 0 20px rgba(0, 208, 255, 0.3),
    0 10px 25px rgba(0, 0, 0, 0.5);
}

@keyframes blueGlow {
  0% {
    box-shadow: 
      0 0 12px rgba(0, 208, 255, 0.3),
      0 0 25px rgba(0, 208, 255, 0.15),
      0 8px 25px rgba(0, 0, 0, 0.5);
    border-color: #00d0ff;
    text-shadow: 0 0 8px #00d0ff, 0 0 16px #00aaff;
  }
  50% {
    box-shadow: 
      0 0 30px rgba(0, 208, 255, 0.7),
      0 0 50px rgba(0, 150, 255, 0.4),
      0 12px 35px rgba(0, 0, 0, 0.7);
    border-color: #00aaff;
    text-shadow: 0 0 12px #00e6ff, 0 0 25px #00aaff;
  }
  100% {
    box-shadow: 
      0 0 18px rgba(0, 208, 255, 0.5),
      0 0 35px rgba(0, 150, 255, 0.25),
      0 8px 25px rgba(0, 0, 0, 0.5);
    border-color: #00c0ff;
    text-shadow: 0 0 10px #00d0ff, 0 0 20px #00aaff;
  }
}

/* ----------------- КРАСНАЯ КНОПКА ----------------- */
#open-effects {
  border: 2px solid #ff4d6d;
  color: #ff5a77;
  text-shadow: 0 0 10px #ff4d6d, 0 0 20px #ff1a4d;
  animation: redGlow 2.5s infinite alternate;
  box-shadow: 
    0 0 20px rgba(255, 77, 109, 0.3),
    0 10px 25px rgba(0, 0, 0, 0.5);
}

@keyframes redGlow {
  0% {
    box-shadow: 
      0 0 12px rgba(255, 77, 109, 0.3),
      0 0 25px rgba(255, 77, 109, 0.15),
      0 8px 25px rgba(0, 0, 0, 0.5);
    border-color: #ff4d6d;
    text-shadow: 0 0 8px #ff4d6d, 0 0 16px #ff1a4d;
  }
  50% {
    box-shadow: 
      0 0 30px rgba(255, 77, 109, 0.7),
      0 0 50px rgba(255, 0, 85, 0.4),
      0 12px 35px rgba(0, 0, 0, 0.7);
    border-color: #ff1a4d;
    text-shadow: 0 0 12px #ff3366, 0 0 25px #ff003c;
  }
  100% {
    box-shadow: 
      0 0 18px rgba(255, 77, 109, 0.5),
      0 0 35px rgba(255, 0, 85, 0.25),
      0 8px 25px rgba(0, 0, 0, 0.5);
    border-color: #ff335c;
    text-shadow: 0 0 10px #ff4d6d, 0 0 20px #ff1a4d;
  }
}

/* ----------------- HOVER ЭФФЕКТ ----------------- */
#open-slang:hover,
#open-effects:hover {
  transform: translateY(-5px) scale(1.08);
  z-index: 3;
}

#open-slang:hover {
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.85), 0 0 60px rgba(0, 208, 255, 0.9);
  text-shadow: 0 0 18px #00e6ff, 0 0 35px #00aaff;
  border-color: #00ffff;
}

#open-effects:hover {
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.85), 0 0 60px rgba(255, 0, 85, 0.9);
  text-shadow: 0 0 18px #ff3366, 0 0 35px #ff003c;
  border-color: #ff1a4d;
}



.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(2, 2, 2, 0.75);
  backdrop-filter: blur(12px);
  animation: fadeIn 0.5s ease;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}



.modal-content {
position: relative;
z-index: 2;
background: #181818;
color: #e0faff;
padding: 50px 60px;
border-radius: 20px;
max-width: 850px;
width: 92%;
max-height: 78vh;
overflow-y: auto;
box-shadow:
0 0 40px rgba(0,0,0,0.9),
0 0 80px rgba(0,208,255,0.15),
inset 0 0 50px rgba(0,0,0,0.7);
border: 1px solid rgba(0,208,255,0.2);
animation: slideUp 0.5s ease;
background-image:
radial-gradient(circle at 20% 30%, rgba(71, 71, 71, 0.18) 0%, transparent 45%),
radial-gradient(circle at 80% 70%, rgba(36, 36, 36, 0.14) 0%, transparent 50%),
radial-gradient(circle at 50% 10%, rgba(19, 19, 19, 0.12) 0%, transparent 55%),
radial-gradient(circle at 10% 80%, rgba(50, 50, 50, 0.16) 0%, transparent 60%),
radial-gradient(circle at 90% 20%, rgba(30, 30, 30, 0.13) 0%, transparent 55%);
background-size: 180% 180%, 150% 150%, 200% 200%, 170% 170%, 190% 190%;
background-position: 0% 0%, 100% 100%, 50% 50%, 30% 70%, 70% 30%;
animation:
slideUp 0.5s ease,
fogInside 32s ease-in-out infinite;
}
/* Improved fog animation: added more gradients for depth, smoother transitions with additional keyframes, slightly slower duration for a more ethereal drift, and refined positions for natural flow */
@keyframes fogInside {
0% {
background-position: 0% 0%, 100% 100%, 50% 50%, 30% 70%, 70% 30%;
}
20% {
background-position: 20% 15%, 85% 90%, 60% 40%, 40% 60%, 80% 20%;
}
40% {
background-position: 40% 30%, 70% 80%, 70% 30%, 50% 50%, 90% 10%;
}
60% {
background-position: 60% 45%, 55% 70%, 80% 20%, 60% 40%, 100% 0%;
}
80% {
background-position: 80% 60%, 40% 60%, 90% 10%, 70% 30%, 10% 90%;
}
100% {
background-position: 100% 75%, 25% 50%, 100% 0%, 80% 20%, 20% 80%;
}
}












































































































































/* ----------------- ЗАГОЛОВОК ----------------- */
.modal-content h2 {
  color: #00d0ff;
  text-shadow: 0 0 12px rgba(0, 255, 255, 0.6);
  margin-bottom: 30px;
  text-align: center;
  font-size: 30px;
  letter-spacing: 1px;
}

/* ----------------- СПИСОК ----------------- */
.modal-content ul {
  list-style: none;
  padding: 0;
}

.modal-content li {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 16px;
  padding: 14px 20px;
  background: rgba(65, 65, 65, 0.03);
  border-left: 4px solid #00ffa3;
  border-radius: 10px;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
  position: relative;
}

.modal-content li:hover {
  background: rgba(0, 208, 255, 0.08);
  border-left-color: #00d0ff;
  transform: translateX(6px);
  box-shadow: 0 4px 20px rgba(0, 208, 255, 0.15);
}

.modal-content li b {
  display: block;
  margin-bottom: 6px;
  color: #00ffa3;
  text-shadow: 0 0 12px rgba(0, 255, 163, 0.7);
  font-weight: 700;
}

.modal-content li span {
  display: block;
  margin-top: 4px;
  color: #d0f0ff;
  font-size: 17px;
}

/* ----------------- КНОПКА ЗАКРЫТИЯ ----------------- */
.close {
  position: absolute;
  top: 20px;
  right: 28px;
  z-index: 9999;
  pointer-events: auto;
  font-size: 26px;
  color: #00d0ff;
  text-shadow: 0 0 12px rgba(0, 208, 255, 0.5);
  transition: all 0.3s ease;
}

.close:hover {
  color: #ffffff;
  transform: scale(1.2);
  text-shadow: 0 0 25px #00d0ff;
}

/* ----------------- АНИМАЦИИ ----------------- */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ----------------- СКРОЛЛБАР ----------------- */
.modal-content::-webkit-scrollbar {
  width: 15px;
}
.modal-content::-webkit-scrollbar-track {
  background: #0a0a0a;
  border-radius: 10px;
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.8);
}
.modal-content::-webkit-scrollbar-thumb {
  background: linear-gradient(#00aaff, #0066cc);
  border-radius: 10px;
  box-shadow: 
    0 0 12px rgba(0, 170, 255, 0.6),
    inset 0 0 4px rgba(255, 255, 255, 0.1);
}
.modal-content::-webkit-scrollbar-thumb:hover {
  background: #00d0ff;
  box-shadow: 0 0 20px rgba(0, 208, 255, 0.9);
}


/* --- Комбо переключатель --- */
.combo-wrapper {
    position: fixed;
    top: 20px;
    right: 10%;
    text-align: center;
    color: white;
    font-size: 20px;
    user-select: none;
    z-index: 1500;
}

/* Текст "Режим Комбо" */
.combo-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.35);
}

/* Переключатель */
.combo-switch {
    width: 70px;
    height: 32px;
    background: #333;
    border-radius: 20px;
    margin: 10px auto;
    position: relative;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    padding: 0 5px;
    box-shadow: 0 0 8px 2px rgba(255, 255, 255, 0.35);
}

.combo-switch.on {
    background: #1f1f1f;
    box-shadow: 0 0 10px 3px rgba(0, 255, 147, 0.45);
}

.combo-circle {
    width: 26px;
    height: 26px;
    background: #ba3232;
    border-radius: 50%;
    transition: transform 0.3s, background 0.3s;
}

.combo-switch.on .combo-circle {
    background: #22ce78;
    transform: translateX(44px);
}

/* Блок с кнопками сборок — скрыт по умолчанию */
.combo-buttons {
    display: none;
    justify-content: space-between; /* распределяем колонки по краям */
    align-items: flex-start;
    width: 500px; /* фиксированная ширина контейнера */
    max-width: 100%; /* чтобы не вылезало на мобильных */
    margin: 0 auto; /* центрируем контейнер */
    padding: 20px 0; /* отступ сверху и снизу */
    gap: 40px; /* промежуток между колонками */
}

/* Показываем кнопки только при включённом режиме */
.combo-buttons.show {
    display: flex;
}

/* Колонки с билдами */
.build-column {
    width: 230px; /* фиксированная ширина каждой колонки */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 12px; /* расстояние между кнопками внутри колонки */
}
/* Убираем пустые правила CSS */
/* Кнопки билдов */
.build-column button {
    width: 210px;
    padding: 14px 20px;
    border-radius: 16px;
    border: none;
    font-weight: 700;
    font-size: 14px;
    color: #fff;
    cursor: pointer;
    text-align: center;
    background: linear-gradient(135deg, #333, #222);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.build-column button::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: inherit;
    opacity: 0;
    transition: opacity 0.3s;
    filter: brightness(1.4);
    z-index: -1;
}

.build-column button.survivor {
    background: linear-gradient(135deg, #2e8b57, #46a876);
}

.build-column button.killer {
    background: linear-gradient(135deg, #b22222, #e04848);
}

.build-column button:hover {
    transform: translateY(-4px) scale(1.06);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 255, 255, 0.15);
}

.build-column button:hover::before {
    opacity: 1;
}

.build-column button:active {
    transform: translateY(2px) scale(1.02);
    transition: transform 0.1s;
}

/* Фильтры (All / Solo) */
.combo-filters {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.combo-filters button {
    padding: 10px 16px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    color: white;
    background: linear-gradient(135deg, #3a3a3a, #1f1f1f);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
    transition: 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.combo-filters button:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
}

.combo-filters button.active {
    background: linear-gradient(135deg, #22ce78, #158f52);
    box-shadow: 0 0 12px rgba(0, 255, 160, 0.7);
}

/* Мобильная адаптивность */
@media screen and (max-width: 700px) {
    .combo-buttons {
        flex-direction: column;
        gap: 24px;
        padding: 20px;
    }

    .build-column {
        width: 100%;
        max-width: 280px;
    }

    .build-column button {
        width: 100%;
    }
}
/* Модальное окно */
.combo-modal {
   position: fixed;
    inset: 0;
    z-index: 99999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.78);
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.combo-modal.show {
    display: flex;
    opacity: 1;
}

.combo-modal-content {
    background: linear-gradient(145deg, #0d0d17, #141425);
    padding: 35px;
    border-radius: 22px;
    width: 740px;
    color: white;
    text-align: center;
    position: relative;
    border: 2px solid rgba(85, 255, 209, 0.35);
    box-shadow: 0 0 28px rgba(0, 255, 180, 0.35), 0 0 55px rgba(0, 255, 180, 0.22) inset;
    transform: scale(0.85);
    transition: transform 0.35s ease;
     position: relative;
    z-index: 100000;
}

/* Заголовок и описание в модалке */
#combo-title {
    font-size: 32px;
    margin-bottom: 18px;
    font-weight: 700;
    letter-spacing: 1.2px;
    color: #d6fff1;
    text-shadow: 0 0 12px rgba(0, 255, 210, 0.65);
}

#combo-description {
    font-size: 17px;
    opacity: 0.88;
    margin: 15px auto 22px;
    width: 92%;
    line-height: 1.45;
    color: #d4e7ff;
    text-shadow: 0 0 4px rgba(180, 180, 255, 0.3);
}

/* Перки */
.combo-perks {
    display: flex;
    justify-content: center;
    margin: 20px 0 18px;
    gap: 18px;
}

.perk-slot {
    width: 110px;
    height: 110px;
    border-radius: 14px;
    background: #000;
    border: 3px solid #1effd0;
    box-shadow: 0 0 16px rgba(0, 255, 190, 0.45);
    transition: 0.3s;
}

.perk-slot:hover {
    transform: scale(1.1);
}

.perk-slot.loading {
    opacity: 0.2;
    transform: scale(0.8);
    filter: blur(2px);
}

.perk-slot.loaded {
    opacity: 1;
    transform: scale(1);
    filter: none;
}

/* Кнопка генерации */
.generate-btn {
    font-size: 20px;
    padding: 12px 26px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    background: #e84646;
    color: white;
    font-weight: 600;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.generate-btn:hover {
    transform: translateY(-4px) scale(1.03);
    background: #ff5757;
    box-shadow: 0 0 15px rgba(255, 70, 70, 0.7);
}

.generate-btn:active {
    transform: translateY(2px) scale(0.98);
    box-shadow: 0 0 5px rgba(255, 70, 70, 0.4);
}

.generate-btn.pressed {
    animation: pressShake 0.15s;
}

.generate-btn.loading {
    opacity: 0.6;
    pointer-events: none;
    transform: scale(0.95);
    position: relative;
}

.generate-btn.loading::after {
    content: "";
    position: absolute;
    right: 12px;
    top: 50%;
    width: 18px;
    height: 18px;
    border: 3px solid rgba(255, 255, 255, 0.5);
    border-top-color: white;
    border-radius: 50%;
    transform: translateY(-50%);
    animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: translateY(-50%) rotate(360deg); } }

/* --- Перки: загрузка --- */
.perk-slot.loading {
    opacity: 0.2;
    transform: scale(0.8);
    filter: blur(2px);
}

.perk-slot.loaded {
    opacity: 1;
    transform: scale(1);
    filter: none;
}

/* --- Фильтры SOLO --- */
.combo-filters {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-bottom: 18px;
}

.combo-filters button {
    padding: 10px 16px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    color: white;
    background: linear-gradient(135deg, #3a3a3a, #1f1f1f);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
    transition: 0.2s;
}

.combo-filters button:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
}

.combo-filters button.active {
    background: linear-gradient(135deg, #22ce78, #158f52);
    box-shadow: 0 0 12px rgba(0, 255, 160, 0.7);
}

/* Секция с убийцами */
.killers-section {
    display: none;
    margin-top: 40px;
    padding: 30px 20px;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.killers-section.show {
    display: block;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}


.killers-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
    margin-bottom: 30px;
    letter-spacing: 2px;
}

.killers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.killer-icon {
    background: linear-gradient(145deg, #1a1a1a, #2d2d2d);
    border: 2px solid #444;
    border-radius: 12px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.killer-icon:hover {
    transform: translateY(-5px) scale(1.05);
    border-color: #b22222;
    box-shadow: 0 8px 20px rgba(178, 34, 34, 0.4), 0 0 15px rgba(178, 34, 34, 0.3);
    background: linear-gradient(145deg, #2d1a1a, #3d2d2d);
    z-index: 20;
}

.killer-icon:active {
    transform: translateY(-2px) scale(1.02);
    transition: transform 0.1s;
    background: linear-gradient(145deg, #3d2a2a, #4d3d3d);
    border-color: #ff4444;
}

.killer-icon.clicked {
    animation: clickPulse 0.3s ease;
}

@keyframes clickPulse {
    0% { transform: scale(1); }
    50% { transform: scale(0.95); }
    100% { transform: scale(1); }
}

.killer-icon img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    margin-bottom: 10px;
    border: 2px solid #333;
    transition: all 0.3s ease;
    background: #1a1a1a;
    display: block;
}


.killer-icon:hover img {
    border-color: #b22222;
    box-shadow: 0 0 10px rgba(178, 34, 34, 0.5);
}

.killer-name {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

.killer-icon:hover .killer-name {
    color: #ff6b6b;
    text-shadow: 0 0 5px rgba(255, 107, 107, 0.5);
}

/* Адаптивность для мобильных */
@media screen and (max-width: 768px) {
    .killers-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 15px;
        padding: 15px;
    }
    
    .killer-icon {
        padding: 12px;
    }
    
    .killer-icon img {
        width: 70px;
        height: 70px;
    }
    
    .killer-name {
        font-size: 11px;
    }
    
    .killers-title {
        font-size: 24px;
    }
}

@media screen and (max-width: 480px) {
    .killers-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 12px;
    }
    
    .killer-icon img {
        width: 60px;
        height: 60px;
    }
    
    .killer-name {
        font-size: 10px;
    }
}


















































