:root {
  --bg-dark: #050505;
  --neon-blue: #00f3ff;
  --neon-purple: #bc13fe;
  --neon-green: #00ff94;
  --neon-red: #ff0055;
}

body {
  background-color: var(--bg-dark);
  color: #fff;
  font-family: "Orbitron", sans-serif;
  margin: 0;
  padding-bottom: 80px;
}

/* --- Header --- */
.cyber-header {
  text-align: center;
  padding: 20px 0;
  background: radial-gradient(circle at center, #1a0b2e 0%, #050505 70%);
  box-shadow: 0 0 20px rgba(188, 19, 254, 0.2);
  border-bottom: 1px solid #333;
}
.cyber-header::before {
  content: "";
  width: 100%;
  height: 111px;
}

.logo-en {
  margin: 0;
  font-size: 2rem;
  color: #fff;
  text-shadow: 0 0 10px var(--neon-purple);
  letter-spacing: 2px;
}
.logo-cn {
  margin: 5px 0 0;
  font-family: "Noto Sans TC", sans-serif;
  font-size: 1rem;
  color: var(--neon-blue);
}
.live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--neon-red);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--neon-red);
  animation: pulse 2s infinite;
  margin-right: 5px;
}

@keyframes pulse {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
  }
}

/* --- Grid --- */
.container {
  padding: 20px;
  max-width: 600px;
  margin: 0 auto;
}
.model-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

/* --- Card --- */
.cyber-card {
  background: #111;
  border: 1px solid #333;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}
.cyber-card.status-green {
  border-color: var(--neon-green);
  box-shadow: 0 0 5px rgba(0, 255, 148, 0.2);
}
.cyber-card.status-red {
  border-color: var(--neon-red);
  box-shadow: 0 0 5px rgba(255, 0, 85, 0.2);
}

.img-wrapper {
  position: relative;
  width: 100%;
  padding-top: 133%;
  background: #222;
}
.img-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.specs-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  color: var(--neon-blue);
  font-size: 0.7rem;
  padding: 5px;
  text-align: center;
  backdrop-filter: blur(4px);
}

.card-info {
  padding: 4px;
}
.name-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 5px;
}
.name-en {
  font-size: 1.1rem;
  font-weight: 900;
}
.name-cn {
  font-family: "Noto Sans TC";
  color: #888;
  font-size: 0.9rem;
}

.price-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  margin-bottom: 10px;
}
.status-green .status-tag {
  color: var(--neon-green);
}
.status-red .status-tag {
  color: var(--neon-red);
}

.btn-cyber {
  display: block;
  width: 100%;
  padding: 8px 0;
  background: transparent;
  border: 1px solid var(--neon-blue);
  color: var(--neon-blue);
  text-align: center;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: bold;
  text-transform: uppercase;
  transition: 0.3s;
}
.btn-cyber:active {
  background: var(--neon-blue);
  color: #000;
  box-shadow: 0 0 15px var(--neon-blue);
}

/* --- Footer --- */
.sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: rgba(5, 5, 5, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--neon-purple);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 100;
}
.bar-btn {
  flex: 1;
  text-align: center;
  text-decoration: none;
  color: #fff;
  font-size: 1rem;
  font-weight: bold;
}
.btn-wa {
  color: var(--neon-green);
}
.bar-divider {
  width: 1px;
  height: 30px;
  background: #333;
}
/* --- Footer --- */
.sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: rgba(5, 5, 5, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--neon-purple);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 100;
}

.bar-btn {
  flex: 1;
  text-align: center;
  text-decoration: none;
  color: #fff;
  font-size: 1rem;
  font-weight: bold;
  /* Добавим line-height чтобы текст был по центру */
  line-height: 60px;
}

.btn-wa {
  color: var(--neon-green);
  text-shadow: 0 0 5px rgba(0, 255, 148, 0.3);
}
.btn-tg {
  color: #0088cc;
  text-shadow: 0 0 5px rgba(0, 136, 204, 0.3);
} /* Telegram Blue */

.bar-divider {
  width: 1px;
  height: 30px;
  background: #333;
}
body {
  background-color: var(--bg-dark);
  /* Кибер-сетка на фоне (CSS Grid pattern) */
  background-image:
    linear-gradient(rgba(0, 243, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 243, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px; /* Размер ячейки сетки */
  background-position: center top;

  color: #fff;
  font-family: "Orbitron", sans-serif;
  margin: 0;
  padding-bottom: 80px;
}
/* --- FILTERS --- */
.filter-bar {
  display: flex;
  justify-content: center;
  gap: 15px;
  padding: 15px 0;
  position: sticky; /* Прилипает при скролле */
  top: 0;
  z-index: 90;
  background: rgba(5, 5, 5, 0.8); /* Полупрозрачность */
  backdrop-filter: blur(5px);
  border-bottom: 1px solid #222;
}

.filter-btn {
  background: transparent;
  border: 1px solid #333;
  color: #888;
  padding: 8px 20px;
  font-family: "Orbitron", sans-serif;
  font-size: 0.8rem;
  cursor: pointer;
  border-radius: 20px;
  transition: 0.3s;
}

.filter-btn.active {
  border-color: var(--neon-blue);
  color: #fff;
  background: rgba(0, 243, 255, 0.1);
  box-shadow: 0 0 10px rgba(0, 243, 255, 0.2);
}

.dot-green {
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: var(--neon-green);
  border-radius: 50%;
  margin-left: 5px;
  vertical-align: middle;
}
/* --- СТИЛИ ДЛЯ ПАНЕЛИ ФИЛЬТРОВ --- */
.filter-wrapper {
  position: sticky;
  top: 100px;
  z-index: 90;
  background: rgba(5, 5, 5, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #333;
}
.filter-top {
  display: flex;
  justify-content: center;
  padding: 10px;
  gap: 10px;
}
.filter-tab {
  background: #111;
  border: 1px solid #333;
  color: #888;
  padding: 8px 15px;
  border-radius: 20px;
  font-family: "Orbitron";
  font-size: 0.8rem;
  cursor: pointer;
}
.filter-tab.active {
  color: #fff;
  border-color: var(--neon-blue);
}

.filter-panel {
  display: none;
  padding: 15px;
  background: #0a0a0a;
  border-top: 1px solid #222;
}
.filter-panel.open {
  display: block;
  animation: slideDown 0.3s;
}
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.filter-row {
  margin-bottom: 10px;
  align-items: center;
  justify-content: space-between;
}
.filter-row label {
  color: var(--neon-blue);
  font-size: 0.9rem;
}
.filter-row select {
  background: #222;
  color: #fff;
  border: 1px solid #444;
  padding: 5px;
  width: 60%;
}

/* --- СТИЛИ ДЛЯ СТРАНИЦЫ МОДЕЛИ --- */
.back-btn {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 100;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  text-decoration: none;
  padding: 8px 15px;
  border-radius: 20px;
  border: 1px solid #fff;
  backdrop-filter: blur(5px);
  font-size: 0.9rem;
}

.gallery-container {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory; /* "Прилипание" фото */
  height: 60vh; /* 60% высоты экрана */
  background: #000;
}
.gallery-item {
  flex: 0 0 100%; /* Каждое фото на ширину экрана */
  scroll-snap-align: center;
  position: relative;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.model-details {
  padding-top: 20px;
}
.detail-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.detail-name-en {
  margin: 0;
  font-size: 2rem;
  color: #fff;
  text-shadow: 0 0 10px var(--neon-purple);
}
.detail-name-cn {
  margin: 0;
  color: var(--neon-blue);
  font-size: 1.2rem;
}
.detail-price {
  font-size: 1.5rem;
  color: var(--neon-green);
  font-weight: bold;
}

.status-bar {
  padding: 10px;
  text-align: center;
  background: #111;
  border: 1px solid #333;
  margin-bottom: 20px;
  font-weight: bold;
}
.status-bar.status-green {
  border-color: var(--neon-green);
  color: var(--neon-green);
}
.status-bar.status-red {
  border-color: var(--neon-red);
  color: var(--neon-red);
}

.specs-grid {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
}
.spec-item {
  background: #111;
  padding: 15px;
  border: 1px solid #333;
  flex: 1;
  margin: 0 5px;
  text-align: center;
  border-radius: 8px;
}
.spec-item .lbl {
  display: block;
  font-size: 0.7rem;
  color: #888;
  margin-bottom: 5px;
}
.spec-item .val {
  font-size: 1.2rem;
  color: #fff;
  font-weight: bold;
}

.description-box h3 {
  color: var(--neon-blue);
  border-bottom: 1px solid #333;
  padding-bottom: 10px;
}
.description-box p {
  line-height: 1.6;
  color: #ccc;
}

.btn-tg-full {
  width: 90%;
  background: var(--neon-blue);
  color: #000;
  margin: 0 auto;
  border-radius: 30px;
  line-height: 40px;
  height: 40px;
  box-shadow: 0 0 15px var(--neon-blue);
}
.card-link-wrapper {
  display: block; /* Чтобы ссылка занимала всю ширину */
  text-decoration: none; /* Убираем подчеркивание */
  color: inherit;
  cursor: pointer;
}
/* --- НОВЫЙ ХЕДЕР --- */
.cyber-header {
  background: radial-gradient(circle at center, #1a0b2e 0%, #050505 90%);
  border-bottom: 1px solid #333;
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* 1-й этаж: Лого и Дом */
.header-main-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  height: 50px;
  gap: 30px;
}
.header-logo {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.logo-en {
  font-size: 1.2rem;
  color: #fff;
  margin: 0;
  line-height: 1;
}
.logo-cn {
  font-size: 0.7rem;
  color: var(--neon-blue);
  margin: 0;
}

.menu-btn {
  color: #fff;
  text-decoration: none;
  font-size: 1.5rem;
  border: 1px solid #333;
  padding: 5px 10px;
  border-radius: 5px;
}

/* 2-й этаж: Навигация моделей */
.header-nav-row {
  display: flex;
  border-top: 1px solid #222;
}
.nav-model-btn {
  flex: 1;
  text-align: center;
  padding: 10px 0;
  color: #888;
  text-decoration: none;
  font-size: 0.9rem;
  background: rgba(0, 0, 0, 0.5);
  transition: 0.3s;
  border: 1px solid #333;
  margin-top: -1px;
}
.nav-model-btn:hover {
  background: #111;
  color: var(--neon-blue);
}
.nav-separator {
  width: 1px;
  background: #333;
}

/* --- НОВАЯ ГАЛЕРЕЯ (СЛАЙДЕР) --- */

ы

/* Стрелки переключения фото (опционально, можно тапать) */
.slider-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 10px;
  transform: translateY(-50%);
  pointer-events: none;
}
.slider-arrow {
  pointer-events: auto;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 1px solid #555;
}

/* --- ПРАЙС ЛИСТ --- */
.price-block {
  margin-top: 20px;
  margin-bottom: 40px;
}
.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #111;
  padding: 10px;
  margin-bottom: 8px;
  border: 1px solid #222;
  border-radius: 6px;
}
.col-time {
  width: 20%;
  color: #888;
  font-size: 0.9rem;
  font-weight: bold;
}
.col-price {
  width: 30%;
  color: var(--neon-green);
  font-size: 1rem;
  text-align: center;
  font-weight: bold;
}
.col-btns {
  width: 45%;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.mini-btn {
  width: 32px;
  height: 32px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.2rem;
  transition: 0.2s;
}
.mini-wa {
  background: rgba(0, 255, 148, 0.1);
  color: var(--neon-green);
  border: 1px solid var(--neon-green);
}
.mini-tg {
  background: rgba(0, 136, 204, 0.1);
  color: #0088cc;
  border: 1px solid #0088cc;
}

/* --- ОПИСАНИЕ --- */
.desc-compact {
  font-size: 0.9rem;
  color: #ccc;
  line-height: 1.4;
  padding: 15px;
  background: #0e0e0e;
  border-radius: 8px;
  border-left: 3px solid var(--neon-purple);
  margin: 15px 0;
}
/* --- КНОПКИ ВНУТРИ ФИЛЬТРА (RESET / APPLY) --- */
.filter-actions {
  display: flex;
  gap: 10px;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #222;
}
.action-btn {
  flex: 1;
  padding: 10px;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  font-family: "Orbitron";
  text-transform: uppercase;
  font-size: 0.8rem;
}
.btn-reset {
  background: transparent;
  border: 1px solid #444;
  color: #888;
}
.btn-apply {
  background: var(--neon-blue);
  border: 1px solid var(--neon-blue);
  color: #000;
}

/* --- СТАТУС NEUTRAL (Если статус пустой) --- */
.cyber-card.status-neutral {
  border-color: #333; /* Просто серая рамка */
  box-shadow: none;
}

/* --- НОВЫЙ ДИЗАЙН ПАРАМЕТРОВ НА СТРАНИЦЕ МОДЕЛИ --- */
.specs-box-container {
  display: flex;
  background: #111;
  border: 1px solid #333;
  border-radius: 12px;
  margin: 20px 0;
  padding: 15px 0;
}

.spec-box {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.border-sides {
  border-left: 1px solid #333;
  border-right: 1px solid #333;
}

.spec-label {
  font-size: 0.7rem;
  color: #666;
  margin-bottom: 5px;
  letter-spacing: 1px;
}

.spec-value {
  font-size: 1.3rem;
  color: #fff;
  font-weight: 700;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.2);
}
/* --- СТИЛИ ДЛЯ КНОПКИ LIVE --- */

/* Контейнер кнопки (ссылка) */
.live-btn {
  display: flex;
  align-items: center; /* Центрируем точку и текст по вертикали */
  text-decoration: none; /* Убираем подчеркивание ссылки */

  /* Цвета и фон */
  background: rgba(255, 0, 85, 0.05); /* Очень легкий красный фон */
  border: 1px solid rgba(255, 0, 85, 0.4); /* Полупрозрачная красная рамка */

  /* Размеры */
  padding: 6px 12px; /* Отступы внутри */
  border-radius: 4px; /* Слегка скругленные углы (техно-стиль) */

  /* Анимация */
  transition: all 0.3s ease; /* Плавное изменение цвета при наведении */
}

/* Эффект при наведении (Hover) */
.live-btn:hover {
  background: rgba(255, 0, 85, 0.2); /* Фон становится ярче */
  border-color: #ff0055; /* Рамка становится ярко-неоновой */
  box-shadow: 0 0 15px rgba(255, 0, 85, 0.5); /* Внешнее свечение */
}

/* Текст внутри кнопки */
.live-text {
  font-family: "Orbitron", sans-serif;
  color: #fff;
  font-size: 0.75rem; /* Размер шрифта (не слишком крупный) */
  font-weight: 700; /* Жирный */
  letter-spacing: 1px; /* Разрядка букв */
  margin-left: 8px; /* Отступ от красной точки */
  white-space: nowrap; /* Запрещаем перенос текста на новую строку */
}

/* Красная пульсирующая точка */
.live-dot {
  display: block;
  width: 8px;
  height: 8px;
  background-color: #ff0055; /* Неоновый красный */
  border-radius: 50%; /* Делаем круг */
  box-shadow: 0 0 5px #ff0055; /* Статичное свечение */
  animation: pulse-red 2s infinite; /* Запуск анимации пульсации */
}

/* Сама анимация пульсации */
@keyframes pulse-red {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 0, 85, 0.7);
  }
  70% {
    box-shadow: 0 0 0 6px rgba(255, 0, 85, 0); /* Волна расходится и исчезает */
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 0, 85, 0);
  }
}

/* АДАПТИВНОСТЬ: На очень маленьких экранах уменьшаем шрифт */
@media (max-width: 380px) {
  .live-text {
    font-size: 0.6rem; /* Чуть меньше шрифт, чтобы влезло */
    letter-spacing: 0;
  }
  .live-btn {
    padding: 5px 8px;
  }
}
/* --- СЕТКА И АДАПТИВ --- */
.container {
  padding: 20px;
  margin: 0 auto;
  /* На мобильном по умолчанию */
  width: 100%;
  box-sizing: border-box;
}

.model-grid {
  display: grid;
  gap: 15px; /* Расстояние между карточками */
  /* ПО УМОЛЧАНИЮ (ТЕЛЕФОН): 2 КОЛОНКИ */
  grid-template-columns: repeat(2, 1fr);
}

/* --- ВЕРСИЯ ДЛЯ ПК (Экраны шире 768px) --- */
@media (min-width: 768px) {
  .container {
    max-width: 1200px; /* Разрешаем широкой экран */
  }
  .model-grid {
    /* НА ПК: 4 КОЛОНКИ */
    grid-template-columns: repeat(4, 1fr);
    gap: 25px; /* Чуть больше воздуха на ПК */
  }
}
/* --- КАРТОЧКА --- */
.cyber-card {
  background: #111;
  border: 1px solid #333;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  /* Убираем лишние анимации размеров, чтобы не дергалось */
  display: flex;
  flex-direction: column;
}

.card-info {
  padding: 10px;
  background: #111;
  flex-grow: 1; /* Растягиваем низ, если нужно */
}

/* СТРОКА ИМЕНИ (Фиксированная высота) */
.name-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
  height: 24px; /* Жесткая высота строки */
  overflow: hidden; /* Скрываем, если вылезает */
}

.name-en {
  font-size: 1.1rem;
  font-weight: 900;
  /* Если имя длинное — обрезаем троеточием */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 60%; /* Оставляем место для китайского имени */
}

.name-cn {
  font-family: "Noto Sans TC";
  color: #888;
  font-size: 0.9rem;
  white-space: nowrap; /* Китайское имя тоже в одну строку */
}

/* СТРОКА ЦЕНЫ (Фиксированная высота) */
.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  margin-bottom: 12px;
  height: 20px; /* Жесткая высота */
}

.price-tag {
  color: #fff;
  /* Обрезаем, если цена длинная */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.price-status-block {
  display: flex;
  flex-direction: column; /* Выстраивает элементы вертикально */
  gap: 4px; /* Расстояние между ценой и статусом */
  margin: 10px 0;
  padding: 8px;
  background: rgba(255, 255, 255, 0.05); /* Легкий фон как на скрине */
  border-radius: 4px;
}

.price-row-item {
  font-size: 14px;
  color: #fff;
}

.status-row-item {
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
}
/* Основной ограничитель для фото на ПК */
.profile-main-section {
  width: 100%;
  max-width: 500px; /* Ограничиваем ширину, чтобы не растягивалось на весь экран */
  margin: 0 auto; /* Центрируем */
  background: #000;
  position: relative;
}

/* Сама галерея */
.gallery-wrapper {
  position: relative;
  width: 100%;
  /* Используем aspect-ratio для сохранения пропорций 3:4 */
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-bottom: 4px solid var(--neon-blue); /* Линия раздела, если нужно */
}

/* Слайды */
.gallery-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
}

.gallery-slide.active {
  display: block;
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Заполняет блок, сохраняя пропорции без деформации */
}

/* Адаптация для мобильных: на телефонах можно сделать чуть шире */
@media (max-width: 768px) {
  .profile-main-section {
    max-width: 100%; /* На мобилках на всю ширину */
  }
}
/* Контейнер всей секции профиля */
.profile-main-section {
  width: 100%;
  max-width: 600px; /* Ограничиваем ширину на ПК, чтобы фото не было на весь монитор */
  margin: 0 auto;
  background: #000;
}

/* Оболочка самой галереи */
.gallery-wrapper {
  position: relative;
  width: 100%;
  height: 75vh; /* Фото будет занимать 75% высоты экрана (удобно для мобилок) */
  min-height: 400px;
  overflow: hidden;
  background: #000;
}

/* Слайд (каждый отдельный кадр) */
.gallery-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.gallery-slide.active {
  opacity: 1;
  z-index: 2;
}

/* САМОЕ ВАЖНОЕ: Правила для картинки */

/* Навигация поверх фото */
.slider-nav {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
  pointer-events: none; /* Чтобы клик проходил сквозь контейнер на кнопки */
}

.slider-arrow {
  pointer-events: auto; /* Возвращаем кликабельность кнопкам */
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  padding: 20px 15px;
  cursor: pointer;
  font-size: 24px;
  user-select: none;
  transition: 0.3s;
}

.slider-arrow:hover {
  background: var(--neon-blue);
  color: #000;
}
/* Контейнер для фото в профиле */
.gallery-wrapper {
  position: relative;
  width: 100%;
  height: 80vh; /* Занимает 80% высоты экрана */
  background: #000;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  display: none; /* Скрыты по умолчанию */
  align-items: center;
  justify-content: center;
}

.gallery-slide.active {
  display: flex; /* Показываем только активный слайд */
}

/* Сама картинка */
.model-profile-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain; /* Картинка вписывается полностью без обрезки */
  display: block;
}

/* Стрелки навигации */
.slider-nav {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none; /* Чтобы не мешать клику по центру фото */
  z-index: 10;
}

.slider-arrow {
  pointer-events: auto;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  padding: 20px 15px;
  cursor: pointer;
  font-size: 2rem;
  transition: 0.3s;
}

.slider-arrow:hover {
  background: var(--neon-blue);
  color: black;
}
.btn-online-toggle.active {
  background: var(--neon-blue);
  color: #000;
  box-shadow: 0 0 15px var(--neon-blue);
}

.filter-wrapper {
  margin-bottom: 20px;
  padding: 0 10px;
}

.filter-top {
  display: flex;
  gap: 10px;
}

.filter-tab {
  background: #1a1a1a;
  border: 1px solid #333;
  color: #fff;
  padding: 10px 15px;
  cursor: pointer;
  font-size: 13px;
  text-transform: uppercase;
}

.filter-panel {
  background: #111;
  border: 1px solid var(--neon-blue);
  padding: 15px;
  margin-top: 10px;
}
.live-btn {
  display: flex;
  align-items: center; /* Выравнивание точки и текста по центру */
  gap: 8px;
}

.btn-labels {
  display: flex;
  flex-direction: column; /* Ставит спаны друг под друга */
}

.live-text {
  display: block;
  line-height: 1.2; /* Чтобы строки не слипались */
}

.price-status-block {
  display: flex;
  flex-direction: column; /* Элементы друг под другом */
  gap: 4px;

  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.specs-mini-row {
  display: flex;
  justify-content: space-between; /* Характеристики в ряд */
  font-size: 10px;
  color: #aaa;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.dot-sep {
  color: var(--neon-blue);
  opacity: 0.6;
}

.price-row-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price-tag {
  font-size: 13px;
  color: #fff;
  font-weight: 700;
}

/* Маленькая светящаяся точка статуса вместо громоздкого текста */
.status-indicator {
  width: 6px;
  height: 6px;
  background: #444;
  border-radius: 50%;
  position: relative;
}

.status-indicator.online {
  background: #00ff88;
  box-shadow: 0 0 8px #00ff88;
}

.status-indicator.online::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: inherit;
  border-radius: inherit;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(3);
    opacity: 0;
  }
}
/* Общие стили для Happy Hours */
.neon-red {
  color: #ff3131 !important;
  text-shadow: 0 0 5px rgba(255, 49, 49, 0.5);
}

/* Группа 1 */
.happy-display-g1 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.old-price-label {
  font-size: 11px;
  color: #777;
  text-decoration: line-through;
  margin-bottom: -2px;
}
.price-tag-row {
  display: flex;
  align-items: center;
  gap: 6px;
}
.discount-badge-g1 {
  background: #ff3131;
  color: #fff;
  font-size: 10px;
  padding: 1px 4px;
  border-radius: 2px;
  font-weight: bold;
}

/* Группа 2 */
.happy-display-g2 {
  display: flex;
  align-items: center;
  gap: 8px;
}
.discount-badge-g2 {
  color: #39ff14;
  font-size: 11px;
  font-weight: bold;
  border: 1px solid #39ff14;
  padding: 1px 5px;
  border-radius: 2px;
  text-transform: uppercase;
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
  }
}

/* Верхняя плашка в хедере */
.happy-hour-top-bar {
  background: linear-gradient(90deg, #ff3131, #ff914d);
  color: #fff;
  text-align: center;
  padding: 8px 10px;
  font-size: 13px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
}
/* Плашка в самом верху */
.happy-hour-top-bar {
  background: linear-gradient(90deg, #ff3131, #8c52ff);
  color: white;
  text-align: center;
  padding: 10px;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(255, 49, 49, 0.4);
}

.lightning-icon {
  animation: blink 0.8s infinite;
  margin-right: 5px;
}

/* Скидки в таблице цен на странице модели */
.rate-discount {
  background: #ff3131;
  color: #fff;
  font-size: 10px;
  padding: 2px 5px;
  border-radius: 4px;
  margin-left: 8px;
  vertical-align: middle;
}

.happy-row {
  border-left: 3px solid #ff3131 !important;
  background: rgba(255, 49, 49, 0.05);
}
/* Старая цена внутри строки прайса */
.old-price-inline {
  text-decoration: line-through;
  color: #666;
  font-size: 12px;
  margin-right: 8px;
  font-weight: 400;
}

.current-price {
  font-weight: 700;
  color: #fff;
}

/* Выделение строки со скидкой */
.price-row.happy-row {
  background: rgba(255, 49, 49, 0.08);
  border-left: 2px solid #ff3131;
  position: relative;
  overflow: hidden;
}

.rate-discount {
  background: #ff3131;
  color: #fff;
  font-size: 9px;
  padding: 1px 4px;
  border-radius: 2px;
  margin-left: 5px;
  font-weight: 900;
  text-transform: uppercase;
}
/* Выравнивание строки цен */
.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 10px;
  border-bottom: 1px solid #222;
}

.col-time {
  flex: 0 0 30%; /* Ограничиваем ширину блока времени */
  display: flex;
  align-items: center;
  font-weight: bold;
}

.rate-discount {
  color: #d8d8d8;
  font-size: 11px;
  margin-left: 5px;
  font-weight: 800;
}

.col-price {
  flex: 1;
  text-align: right;
  padding-right: 15px;
  white-space: nowrap; /* Валюта не переносится */
}

.current-price {
  font-family: "Orbitron", sans-serif;
  color: #fff;
  font-size: 15px;
}

.old-price-inline {
  text-decoration: line-through;
  color: #555;
  font-size: 11px;
  margin-right: 5px;
}

.col-btns {
  display: flex;
  gap: 8px;
}

.mini-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  color: white;
  text-decoration: none;
  font-size: 16px;
}

.mini-tg {
  background: #0088cc;
}
.mini-wa {
  background: #25d366;
}
.filter-tab.btn-sale-toggle.active {
  background: #ff3131 !important;
  border-color: #ff3131;
  color: #fff !important;
  box-shadow: 0 0 10px rgba(255, 49, 49, 0.5);
}

.dot-red {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #ff3131;
  border-radius: 50%;
  margin-left: 5px;
  box-shadow: 0 0 5px #ff3131;
}
.happy-hour-info-box {
  background: rgba(255, 49, 49, 0.1);
  border: 1px solid rgba(255, 49, 49, 0.3);
  color: #ff3131;
  padding: 12px;
  font-size: 13px;
  margin-bottom: 15px; /* Отступ до кнопок фильтров */
  border-radius: 4px;
  text-align: center;
  line-height: 1.4;
  font-family: "Orbitron", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pulse-icon {
  display: inline-block;
  margin-right: 5px;
  animation: pulse-fire 1.5s infinite;
}

@keyframes pulse-fire {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.7;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Фиксация всего блока фильтров при скролле (опционально) */
/* Фиксация всего блока управления вверху */
.filter-wrapper {
  position: sticky;
  top: 100px; /* Если у вас есть хедер, подберите значение, например 60px */
  z-index: 100;
  background: #000; /* Плотный фон, чтобы модели не просвечивали */
  padding: 10px;
  border-bottom: 1px solid #222;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

/* Настройка инфо-бокса (сделаем его компактнее) */
.happy-hour-info-box {
  background: rgba(255, 49, 49, 0.1);
  border: 1px solid rgba(255, 49, 49, 0.3);
  color: #ff3131;
  padding: 8px;
  font-size: 11px;
  margin-bottom: 10px;
  border-radius: 4px;
  text-align: center;
  text-transform: uppercase;
}

/* Чтобы панель выбора (Age, Height) не раздвигала страницу, 
   а выпадала поверх с абсолютным позиционированием */
.filter-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%; /* Выпадает сразу под кнопками */
  background: #0a0a0a;
  border-bottom: 2px solid var(--neon-blue);
  padding: 15px;
  z-index: 101;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.8);
}

/* Отступ для основного контента, чтобы первая линия моделей не пряталась под фильтром */
.container {
  margin-top: 10px;
}
/* Контейнер для трех основных кнопок */
.filter-top {
  display: flex;
  justify-content: space-between; /* Распределяет кнопки по краям */
  gap: 8px; /* Расстояние между кнопками */
  width: 100%;
  padding: 0 10px; /* Отступы по бокам от края экрана */
  box-sizing: border-box;
}

/* Сами кнопки-табы */
.filter-tab {
  flex: 1; /* ГЛАВНОЕ: заставляет все три кнопки быть одинаковой ширины */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 5px;
  background: #000;
  border: 1px solid #333;
  color: #fff;
  font-family: "Orbitron", sans-serif;
  font-size: 11px; /* Чуть меньше шрифт, чтобы всё влезло на мобильных */
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.3s ease;
  white-space: nowrap; /* Чтобы текст не переносился */
}

/* Активное состояние (нажатая кнопка) */
.filter-tab.active {
  border-color: var(--neon-blue);
  box-shadow: 0 0 10px rgba(0, 243, 255, 0.3);
}

/* Стилизация точек внутри кнопок */
.dot-red,
.dot-green {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-left: 6px;
  display: inline-block;
}
.dot-red {
  background: #ff3131;
  box-shadow: 0 0 5px #ff3131;
}
.dot-green {
  background: #39ff14;
  box-shadow: 0 0 5px #39ff14;
}

/* Адаптив: на совсем маленьких экранах уменьшаем шрифт еще немного */
@media (max-width: 360px) {
  .filter-tab {
    font-size: 9px;
  }
}
/* --- Стили для страницы модели (model.php) --- */

/* Контейнер галереи */
.gallery-wrapper {
  position: relative; /* Для позиционирования стрелок */
  width: 100%;
  max-width: 400px; /* Ограничиваем общую ширину контейнера */
  margin: 0 auto 20px auto; /* Центрируем */
  height: 480px; /* Фиксируем высоту */
  background: #000;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

/* Слайды */
.gallery-slide {
  display: none;
  height: 100%;
  width: 100%;
  justify-content: center;
  align-items: center;
}

.gallery-slide.active {
  display: flex; /* Используем flex для центрирования фото внутри */
}

/* Само фото (Ограничение 280x480) */
.model-profile-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain; /* Чтобы фото не обрезалось, а вписывалось */
  /* Если нужно строго 280x480 даже с обрезкой, используйте object-fit: cover; */
}

/* Навигация (стрелки) */
.slider-nav {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 10px;
  pointer-events: none; /* Чтобы клики проходили сквозь контейнер, если он пустой */
  box-sizing: border-box;
}

.slider-arrow {
  background: rgba(0, 0, 0, 0.5); /* Полупрозрачный черный фон */
  color: var(--neon-blue, #00f3ff); /* Ваш неоновый цвет или дефолтный */
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  border: 1px solid var(--neon-blue, #00f3ff);
  pointer-events: auto; /* Включаем клики для кнопок */
  transition: all 0.3s ease;
  user-select: none;
}

.slider-arrow:hover {
  background: var(--neon-blue, #00f3ff);
  color: #000;
  box-shadow: 0 0 10px var(--neon-blue, #00f3ff);
}
.gallery-wrapper {
  /* ... ваши существующие стили ... */
  touch-action: pan-y; /* Разрешаем браузеру скроллить только по вертикали */
}

.header-buttons__wrapper {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0 0 0 auto;
}

.header-buttons__button-whatsapp,
.header-buttons__button-telegram {
  padding: 9px 16px;
  background: rgba(255, 0, 85, 0.05);
  border: 1px solid rgba(255, 0, 85, 0.4);
  border-radius: 2px;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: bold;
}
.header-buttons__button-whatsapp {
  color: var(--neon-green);
}
.header-buttons__button-telegram {
  color: #0088cc;
}
.header-buttons__button-whatsapp > svg,
.header-buttons__button-telegram > svg {
  display: none;
}

@media (max-width: 650px) {
  .header-buttons__button-whatsapp > span,
  .header-buttons__button-telegram > span {
    display: none;
  }

  .header-buttons__button-whatsapp > svg,
  .header-buttons__button-telegram > svg {
    display: block;
  }

  .header-buttons__button-whatsapp,
  .header-buttons__button-telegram {
    border-radius: 50%;
    padding: 6px;
  }
  .header-buttons__wrapper {
    gap: 15px;
    margin: 0 0 0 auto;
  }

  .header-main-row {
    gap: 20px;
  }

  .cyber-header {
    padding: 0;
  }

  .filter-top {
  }
  .cyber-header::before {
    height: 40px;
  }
  .filter-wrapper {
    top: 56px;
  }
}

@media (max-width: 450px) {
  .header-buttons__wrapper {
    gap: 10px;
  }

  .header-main-row {
    gap: 15px;
  }

  .logo-en {
    font-size: 16px;
  }
}

@media (max-width: 400px) {
  .header-buttons__wrapper {
    gap: 7px;
  }

  .header-main-row {
    gap: 10px;
  }

  .logo-en {
    font-size: 13px;
  }
}
/* --- PAGINATION STYLES --- */
.pagination-container {
  margin: 40px 0;
  display: flex;
  justify-content: center;
}

.cyber-pagination {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Orbitron", sans-serif;
}

.pag-btn {
  align-self: flex-start;
  padding: 10px 18px;
  background: #111;
  border: 1px solid var(--neon-purple);
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 2px;
}
.pag-btn span {
  margin-top: -1px;
  display: flex;
  align-items: center;
  font-size: 13px;
}

.pag-btn:hover:not(.disabled) {
  background: var(--neon-purple);
  color: #000;
  box-shadow: 0 0 15px var(--neon-purple);
}

.pag-btn.disabled {
  border-color: #333;
  color: #555;
  cursor: not-allowed;
}

.page-numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pag-num {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #111;
  border: 1px solid #333;
  color: #888;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
  border-radius: 4px;
}

.pag-num:hover:not(.active) {
  border-color: var(--neon-blue);
  color: #fff;
}

.pag-num.active {
  border-color: var(--neon-blue);
  color: var(--neon-blue);
  background: rgba(0, 243, 255, 0.1);
  box-shadow: 0 0 10px rgba(0, 243, 255, 0.4);
}

@media (max-width: 480px) {
  .cyber-pagination {
    gap: 6px;
  }
  .pag-btn {
    padding: 8px 12px;
    font-size: 10px;
  }
  .pag-num {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }
}

.status-red {
  border-color: #ff3131 !important;
  box-shadow: 0 0 10px rgba(255, 49, 49, 0.2);
}
.status-red .status-tag {
  color: #ff3131;
  border: 1px solid #ff3131;
  background: rgba(255, 49, 49, 0.1);
}
.filter-tab.active {
  background-color: #222;
  border-color: var(--neon-blue, #00f3ff);
  color: #fff;
}

.copyright {
  display: flex;
  justify-content: center;
  text-align: center;
  line-height: 1.3;
}
/* Если у тебя не задана переменная --neon-blue в корне (:root), добавь её. 
   Например: :root { --neon-blue: #00ffff; } */

.container-tg {
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.specs-mini-row-tg {
  display: flex;
  justify-content: space-around;
  align-items: center; /* Центрируем элементы по вертикали */
  font-size: 25px;
  color: #aaa;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* --- Настройка кнопки --- */
.btn-cyber-tg {
  display: flex; /* Flex для идеального центрирования текста */
  align-items: center;
  justify-content: center;

  padding: 12px 0;
  background: transparent;
  border: 1px solid var(--neon-blue);
  color: var(--neon-blue);
  text-decoration: none;
  font-size: 1rem;
  font-weight: bold;
  text-transform: uppercase;
  transition: 0.3s;
  
  /* Эффект свечения для выделения кнопки */
  box-shadow: 0 0 10px var(--neon-blue), inset 0 0 10px rgba(0, 255, 255, 0.2);
  text-shadow: 0 0 5px var(--neon-blue);
  border-radius: 4px; /* Немного сгладим углы, если нужно */
}

/* Эффект при наведении (кнопка загорается полностью) */
.btn-cyber-tg:hover {
  background: var(--neon-blue);
  color: #000; /* Темный текст на светящемся фоне */
  box-shadow: 0 0 20px var(--neon-blue), 0 0 40px var(--neon-blue);
  text-shadow: none;
}

/* --- Настройка смайлов --- */
.smail {
  display: inline-block; /* Обязательно для работы transform */
  font-size: 28px; /* 1) Увеличили размер (было 11px) */
  padding: 10px 5px;
}

/* 2) Анимация для левого пальца (движется вправо) */
.smail-left {
  animation: pointRight 1s ease-in-out infinite;
}

/* 2) Анимация для правого пальца (движется влево) */
.smail-right {
  animation: pointLeft 1s ease-in-out infinite;
}

/* --- Ключевые кадры анимации (Keyframes) --- */
@keyframes pointRight {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(12px); } /* Смещение на 12px в сторону кнопки */
}

@keyframes pointLeft {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(-12px); } /* Смещение на -12px в сторону кнопки */
}
