/* Основной контейнер */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Форма фильтров */
.filter-form {
  background-color: #f8f9fa;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 15px;
}

.filter-group {
  flex: 1;
  min-width: 200px;
}

.filter-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
}

.filter-group select,
.filter-group input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  background-color: white;
  font-size: 14px;
}

.age-range {
  display: flex;
  align-items: center;
  gap: 10px;
}

.age-range span {
  color: #666;
}

.filter-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.filter-btn {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s;
}

.filter-btn:hover {
  background-color: #0069d9;
}

.reset-btn {
  color: #dc3545;
  text-decoration: none;
  padding: 10px 15px;
  font-weight: 600;
  transition: color 0.3s;
}

.reset-btn:hover {
  color: #bd2130;
  text-decoration: underline;
}

/* Информация о результатах */
.results-info {
  margin-bottom: 20px;
  font-size: 16px;
  color: #6c757d;
}

/* Список моделей */
.models-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}

.model-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.model-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.model-photo {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.model-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.model-card:hover .model-photo img {
  transform: scale(1.05);
}

.online-indicator {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid white;
}

.online-indicator.online {
  background-color: #28a745;
}

.online-indicator.offline {
  background-color: #6c757d;
}

.model-info {
  padding: 20px;
}

.header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.model-name {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  color: #333;
}

.model-age {
  font-size: 16px;
  color: #6c757d;
}

.meta-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  font-size: 14px;
  color: #555;
}

.rating-row {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.rating-stars {
  margin-right: 8px;
}

.star {
  font-size: 16px;
}

.star.full {
  color: #ffc107;
}

.star.empty {
  color: #e9ecef;
}

.reviews-count {
  color: #6c757d;
  font-size: 14px;
}

.badges-row {
  display: flex;
  gap: 8px;
  margin-bottom: 15px;
}

.badge {
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}

.badge.verified {
  background-color: #e7f4ff;
  color: #007bff;
}

.badge.vip {
  background-color: #fff8e1;
  color: #ff9800;
}

.view-details-btn {
  display: block;
  width: 100%;
  padding: 10px;
  background-color: #f1f3f5;
  color: #495057;
  text-align: center;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.view-details-btn:hover {
  background-color: #e9ecef;
  color: #212529;
}

/* Пагинация */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 30px;
}

.page-link {
  display: inline-block;
  padding: 8px 15px;
  background-color: #f8f9fa;
  color: #007bff;
  border-radius: 5px;
  text-decoration: none;
  transition: all 0.3s;
  font-weight: 500;
}

.page-link:hover {
  background-color: #e9ecef;
}

.page-link.current-page {
  background-color: #007bff;
  color: white;
  cursor: default;
}

.page-link.prev,
.page-link.next {
  background-color: transparent;
  font-weight: 600;
}

.ellipsis {
  padding: 8px 12px;
  color: #6c757d;
}

/* Адаптивность */
@media (max-width: 768px) {
  .filter-row {
    flex-direction: column;
  }
  
  .models-list {
    grid-template-columns: 1fr;
  }
  
  .filter-buttons {
    flex-direction: column;
    gap: 10px;
  }
  
  .filter-btn {
    width: 100%;
  }
  
  .reset-btn {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .model-photo {
    height: 200px;
  }
  
  .pagination {
    flex-wrap: wrap;
  }
}
/* Стили для возраста */
.model-age {
  font-size: 16px;
  color: #ff6b6b;
  font-weight: 600;
  background: rgba(255, 107, 107, 0.1);
  padding: 3px 8px;
  border-radius: 12px;
  display: inline-block;
}

/* Стили для рейтинга */
.rating-row {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  background: #f8f9fa;
  padding: 8px 12px;
  border-radius: 8px;
}

.rating-stars {
  margin-right: 8px;
  display: flex;
  gap: 2px;
}

.star {
  font-size: 16px;
}

.star.full {
  color: #ffc107;
}

.star.empty {
  color: #e9ecef;
}

.reviews-count {
  color: #6c757d;
  font-size: 14px;
  margin-left: 8px;
}

/* Стиль когда рейтинг недоступен */
.rating-row > span:first-child {
  color: #6c757d;
  font-size: 14px;
  font-style: italic;
}

/* Стили для offer-бейджей */
.badges-row {
  display: flex;
  gap: 8px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.badge {
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Цвета для разных типов offer */
.badge[data-offer="digital"] {
  background-color: #e3f2fd;
  color: #1976d2;
  border: 1px solid #bbdefb;
}

.badge[data-offer="afterparty"] {
  background-color: #f3e5f5;
  color: #7b1fa2;
  border: 1px solid #e1bee7;
}

.badge[data-offer="walking"] {
  background-color: #e8f5e9;
  color: #388e3c;
  border: 1px solid #c8e6c9;
}

.badge[data-offer="trip"] {
  background-color: #fff3e0;
  color: #ef6c00;
  border: 1px solid #ffe0b2;
}

.badge[data-offer="romantic"] {
  background-color: #fce4ec;
  color: #c2185b;
  border: 1px solid #f8bbd0;
}

/* Стили для кнопки "Посмотреть детали" */
.view-details-btn {
  display: block;
  width: 100%;
  padding: 12px;
  background: linear-gradient(to right, #6a11cb 0%, #2575fc 100%);
  color: white;
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(37, 117, 252, 0.3);
  position: relative;
  overflow: hidden;
}

.view-details-btn:hover {
  background: linear-gradient(to right, #2575fc 0%, #6a11cb 100%);
  box-shadow: 0 6px 12px rgba(37, 117, 252, 0.4);
  transform: translateY(-2px);
}

.view-details-btn:active {
  transform: translateY(1px);
}

/* Микро-анимация для кнопки */
.view-details-btn::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -60%;
  width: 20px;
  height: 200%;
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(30deg);
  transition: all 0.6s;
}

.view-details-btn:hover::after {
  left: 120%;
}

/* Адаптивные стили */
@media (max-width: 768px) {
  .model-age {
    font-size: 14px;
  }
  
  .rating-row {
    padding: 6px 10px;
  }
  
  .view-details-btn {
    padding: 10px;
    font-size: 14px;
  }
}

/* Стили для возраста */
.model-age {
  font-size: 16px;
  color: #ff6b6b;
  font-weight: 600;
  background: rgba(255, 107, 107, 0.1);
  padding: 3px 8px;
  border-radius: 12px;
  display: inline-block;
}

/* Стили для рейтинга */
.rating-row {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  background: #f8f9fa;
  padding: 8px 12px;
  border-radius: 8px;
}

.rating-stars {
  margin-right: 8px;
  display: flex;
  gap: 2px;
}

.star {
  font-size: 16px;
}

.star.full {
  color: #ffc107;
}

.star.empty {
  color: #e9ecef;
}

.reviews-count {
  color: #6c757d;
  font-size: 14px;
  margin-left: 8px;
}

/* Стиль когда рейтинг недоступен */
.rating-row > span:first-child {
  color: #6c757d;
  font-size: 14px;
  font-style: italic;
}

/* Стили для offer-бейджей */
.badges-row {
  display: flex;
  gap: 8px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.badge {
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Цвета для разных типов offer */
.badge[data-offer="digital"] {
  background-color: #e3f2fd;
  color: #1976d2;
  border: 1px solid #bbdefb;
}

.badge[data-offer="afterparty"] {
  background-color: #f3e5f5;
  color: #7b1fa2;
  border: 1px solid #e1bee7;
}

.badge[data-offer="walking"] {
  background-color: #e8f5e9;
  color: #388e3c;
  border: 1px solid #c8e6c9;
}

.badge[data-offer="trip"] {
  background-color: #fff3e0;
  color: #ef6c00;
  border: 1px solid #ffe0b2;
}

.badge[data-offer="romantic"] {
  background-color: #fce4ec;
  color: #c2185b;
  border: 1px solid #f8bbd0;
}

/* Стили для кнопки "Посмотреть детали" */
.view-details-btn {
  display: block;
  width: 100%;
  padding: 12px;
  background: linear-gradient(to right, #6a11cb 0%, #2575fc 100%);
  color: white;
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(37, 117, 252, 0.3);
  position: relative;
  overflow: hidden;
}

.view-details-btn:hover {
  background: linear-gradient(to right, #2575fc 0%, #6a11cb 100%);
  box-shadow: 0 6px 12px rgba(37, 117, 252, 0.4);
  transform: translateY(-2px);
}

.view-details-btn:active {
  transform: translateY(1px);
}

/* Микро-анимация для кнопки */
.view-details-btn::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -60%;
  width: 20px;
  height: 200%;
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(30deg);
  transition: all 0.6s;
}

.view-details-btn:hover::after {
  left: 120%;
}

/* Адаптивные стили */
@media (max-width: 768px) {
  .model-age {
    font-size: 14px;
  }
  
  .rating-row {
    padding: 6px 10px;
  }
  
  .view-details-btn {
    padding: 10px;
    font-size: 14px;
  }
}