
/* ==================== CSS-переменные ==================== */
:root {
  --bg-dark: #121212;
  --bg-input: #242424;
  --accent-pink: #ff5c7c;
  --text-main: #ffffff;
  --text-muted: #ffffff;
  --radius-sm: 8px;
  --radius-lg: 12px;
}

/* ==================== Базовые стили ==================== */
body {
  margin: 0;
  background-color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: black;
}
.profile-title a,
.profile-img-container a {
    text-decoration: none;
    color: inherit;
}
.container {
  max-width: 1240px;
  margin: 0 auto;
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* ==================== Шапка сайта ==================== */
.header {
  position: relative;
  padding-bottom: 10px;
  background-color: #1e1e1e;
  border-bottom: 1px solid #1f1f1f;
  background-image: url("../img/header-bg.svg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.header__inner.new_year:before,
.header__inner.new_year:after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  width: 220px;
  height: 130px;
  background-size: contain;
  z-index: 1;
}


.header-top {
  position: relative;
  display: flex;
  align-items: center;
  gap: 15px;
}

.verified-desktop {
  position: absolute;
  cursor: pointer;
  left: -135px;
  top: -20px;
}

.left-block {
  display: flex;
  align-items: center;
  gap: 12px;
}

.burger-btn {
  background: #24242463;
  border: 1px solid #333;
  width: 42px;
  color: #fff;
  height: 42px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}

.logo {
  font-size: 32px;
  font-weight: 800;
  display: flex;
  align-items: center;
  position: relative;
}

.logo span {
  color: var(--accent-pink);
}

.search-container {
  display: flex;
  flex: 1;
  gap: 8px;
}

.search-wrapper {
  flex: 1;
  position: relative;
  background: var(--bg-input);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  padding: 0 15px;
}
/* Бейджи для профилей */
.profile-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 8px;
    font-weight: bold;
    color: white;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.profile-badge.new {
    background: linear-gradient(135deg, #ff4081, #e91e63);
    box-shadow: 0 2px 4px rgba(233, 30, 99, 0.3);
}

.profile-badge.top {
    background: linear-gradient(135deg, #ff9800, #ff5722);
    box-shadow: 0 2px 4px rgba(255, 87, 34, 0.3);
}

.profile-img-container {
    position: relative;
}

/* Анимация для новых анкет */
@keyframes pulse {
    0% { opacity: 0.7; }
    50% { opacity: 1; }
    100% { opacity: 0.7; }
}

.profile-badge.new {
    animation: pulse 2s infinite;
}

/* Адаптивность для горизонтальных секций */
@media (max-width: 768px) {
    .profiles-grid.horizontal-scroll {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 15px;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
    }

    .profiles-grid.horizontal-scroll .profile-card {
        flex: 0 0 85%;
        min-width: 85%;
        scroll-snap-align: start;
    }

    .profile-badge {
        font-size: 8px;
        padding: 3px 6px;
    }
}

/* Эффект при наведении на карточки */
.profile-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Стили для бейджей в горизонтальных секциях */
.horizontal-section .profile-badge {
    top: 8px;
    left: 8px;
}
.search-wrapper input {
  background: transparent;
  border: none;
  outline: none;
  color: white;
  height: 44px;
  width: 100%;
}

.search-btn {
  background: var(--bg-input);
  border: none;
  border-radius: var(--radius-lg);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
}

.map-link {
  background: var(--bg-input);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 15px;
  text-decoration: none;
  color: white;
  font-size: 14px;
  white-space: nowrap;
}

.badge-center {
  margin: 0 10px;
  flex-shrink: 0;
}

.right-block {
  display: flex;
  align-items: center;
  gap: 15px;
}

.login-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: white;
  text-decoration: none;
  font-size: 15px;
}

.add-btn {
  background: var(--accent-pink);
  color: white;
  border: none;
  border-radius: var(--radius-lg);
  padding: 12px 20px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  white-space: nowrap;
}

.header-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
}

.nav-menu {
  display: flex;
  gap: 18px;
}

.nav-menu a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: white;
}

.sub-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
}

.sub-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: white;
  text-decoration: none;
}

.tg-icon {
  color: #24A1DE;
}

.icon-verified {
  width: 135px;
  height: 80px;
  display: inline-block;
  background: url("../img/icon-verified-desktop.svg?v=3") no-repeat center;
  background-size: contain;
}

svg {
  fill: currentColor;
}

/* ==================== Каталог и заголовки ==================== */
.catalog-header h1 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.online-counter {
  color: #2ecc71;
  font-size: 16px;
  font-weight: normal;
}

.online-status {
  font-size: 16px;
  font-weight: 700;
  color: #1e1e1e;
  margin-left: 2px;
  display: inline-flex;
  align-items: center;
}
.footer {
    background: #0f0f0f;
    color: #bbb;
    padding: 50px 0 25px;
    margin-top: 60px;
    font-size: 14px;
}

.footer__inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-column h4 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 15px;
}

.footer-column a {
    display: block;
    color: #bbb;
    margin-bottom: 8px;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-column a:hover {
    color: #fff;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 15px;
}

.footer-desc {
    max-width: 260px;
    line-height: 1.5;
}

.footer-bottom {
    border-top: 1px solid #222;
    margin-top: 40px;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.age-limit {
    border: 1px solid #444;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: bold;
}

.online-dot {
  width: 16px;
  height: 16px;
  background-color: #2ecc71;
  border-radius: 50%;
  margin-right: 8px;
}

.load-more-btn {
  display: flex;          /* показываем кнопку */
  justify-content: center;
  align-items: center;
  margin: 40px auto;      /* центрирование по горизонтали */
  padding: 10px 20px;

  font-size: 14px;
  font-weight: 500;
  color: #333;

  background: transparent;
  border: 1px solid #ccc;
  border-radius: 6px;

  cursor: pointer;
  transition: all 0.2s ease;
}

/* ==================== GIF-галерея ==================== */
.gif-scroll,
.gif-scroll * {
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  -webkit-user-drag: none;
  user-drag: none;
}

.gif-scroll {
  cursor: grab;
  overflow-x: auto;
  white-space: nowrap;
  background: #fff;
  border-radius: 12px;
}

.gif-scroll.active {
  cursor: grabbing;
}

.gif-scroll::-webkit-scrollbar {
  display: none;
}

.gif-scroll img {
  user-select: none;
  -webkit-user-drag: none;
  user-drag: none;
  pointer-events: none;
}

.gif-scroll-inner {
  display: flex;
  gap: 15px;
  padding: 40px;
  position: relative;
}

.gif-scroll-inner::before,
.gif-scroll-inner::after {
  content: '';
  flex: 0 0 540px;
  display: block;
}

.gif-scroll-inner img {
  display: inline-block;
  width: 270px;
  height: 190px;
  margin-right: 15px;
  border-radius: 10px;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

/* ==================== Сетка профилей ==================== */
.profiles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 15px;
}

.profiles-section h1 {
  font-weight: 800;
  font-size: 26px;
  line-height: 1;
  color: #1e1e1e;
  margin-bottom: 0px;
}

/* ==================== Карточка профиля ==================== */
.profile-card {
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  width: 100%;
  max-width: 380px;
  box-sizing: border-box;
}

.card-main-content,
.profile-main-layout {
  display: flex;
  gap: 16px;
  flex-wrap: nowrap;  /* чтобы элементы не выходили за контейнер */
  width: 100%;
  box-sizing: border-box;
}

.profile-top-info {
  display: flex;
  gap: 15px;
  margin-bottom: 12px;
}

.profile-img-container {
  flex: 0 0 140px; /* фиксированная ширина фото */
  width: 140px;
  height:220px;
}

.main-photo {
  width: 140px;
  height:220px;
  max-width: 140px;
  max-height: 220px;
  min-width: 140px;
  min-height: 220px;
  object-fit: cover; /* сохраняет заполнение контейнера без искажения */
  border-radius: 12px;
  display: block;
}



.photo-count {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(255, 100, 124, 0.8);
  color: #fff;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.profile-img-wrap {
  flex: 0 0 140px;
}

.profile-img-wrap img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 10px;
}

.profile-stats-container {
  flex: 1;           /* занимает оставшееся место */
  min-width: 0;      /* ключевое! чтобы flex-элемент не вылезал за рамки */
  display: flex;
  flex-direction: column;
}
.stats-side {
  flex: 1;
  color: #666;
  font-size: 14px;
}

.stats-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 15px;
  color: #8e8e93;
}

.stats-list div {
  display: flex;
  justify-content: space-between;
}

.stats-list b {
  color: #2c2c2e;
  font-weight: 500;
}

.stat-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
  border-bottom: 1px solid #f0f0f0;
}

.stat-row span {
  font-weight: bold;
  color: #333;
}

.info-grid {
  margin-bottom: 12px;
}

.info-item {
  font-size: 16px;
  color: #999;
  margin-bottom: 6px;
  display: flex;
  justify-content: space-between;
}

.info-item span {
  color: #333;
  font-weight: 500;
}

/* Теги */
.tags-header {
  font-size: 14px;
  color: #666;
  margin-bottom: 6px;
  font-weight: 500;
}

.tags-stack {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 140px;       /* фиксированная ширина */
  height: 100px;      /* фиксированная высота */
  padding-left: 5px;
  overflow: hidden;   /* скрываем лишнее */
  position: relative;
}
.tags-stack::after {
  position: absolute;
  bottom: 4px;
  right: 4px;
  font-size: 16px;
  color: #999;
}
.tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 0;      /* убираем лишнее смещение */
}
.main-tag {
  background: linear-gradient(135deg, #ff5c7c, #ff3366);
  color: white;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  box-shadow: 0 2px 8px rgba(255, 92, 124, 0.3);
}
.tag-badge {
  display: inline-flex;    /* flex для горизонтального и вертикального центрирования */
  align-items: center;     /* вертикальный центр */
  justify-content: center; /* горизонтальный центр */
  min-width: 60px;
  max-width: 100px;
  padding: 6px 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  box-sizing: border-box;
}

.tag-badge.dark { background: #34495e; color: #fff; }
.tag-badge.light { background: #8eace8; color: #fff; }
.tag-badge.accent { background: #ff5c7c; color: #fff; }

.tag {
  background: #426ed1;
  color: white;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
}

.tag.blue,
.tag.dark {
  background: #4a76d1;
  color: #fff;
}

/* Нижняя часть карточки */
.profile-bottom {
  border-top: 1px solid #f2f2f7;
  padding-top: 10px;
}

.profile-title {
  font-size: 20px;
  color: #4a76d1;
  margin: 0 0 4px 0;
}

.profile-title span {
  font-weight: normal;
}

.profile-name {
  font-size: 20px;
  font-weight: 700;
  color: #4a76d1;
  text-decoration: none;
  display: block;
  margin-bottom: 4px;
}

.profile-sub-location {
  color: #4a76d1;
  font-size: 14px;
  margin-bottom: 15px;
  margin-top: 4px;
}

.profile-location {
  font-size: 13px;
  color: #4a76d1;
  margin-bottom: 12px;
}

/* Кнопки действий */
.actions-row {
  display: flex;
  gap: 8px;
  margin-bottom: 15px;
}

.contact-actions {
  display: flex;
  gap: 8px;
  margin-bottom: 15px;
}
.phone-text {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 8px;
  background: #426ed1;
  color: #fff;
  font-weight: 600;
  user-select: text;
  cursor: text;
}
.call-button,
.btn-phone {
  flex: 1;
  background: #426ed1;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  padding: 10px 14px;
  text-decoration: none;
  box-sizing: border-box;
}
.call-button.shown {
  background: #426ed1;
}

.call-button a {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.btn-phone {
  padding: 10px;
}

.contact-row {
  display: flex;
  gap: 5px;
  margin-bottom: 10px;
}

.social-btn {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background-color: #5382e3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-icons {
  display: flex;
  gap: 8px;
}

.social-btn span {
  pointer-events: none;
}
.icon-telegram-white {
  background: url(../img/sprite.svg?v1725041088975) 73.4375% 64.2424242424% no-repeat;
  width: 23px;
  height: 20px;
}

.icon-whatsapp-white {
  background: url(../img/sprite.svg?v1725041088975) 84.9740932642% 53.9877300613% no-repeat;
  width: 22px;
  height: 22px;
}
.icon-telegram-white,
.icon-whatsapp-white {
  display: block;
}
.tg-btn,
.tg {
  background: #426ed1;
}

.wa-btn,
.wa {
  background: #426ed1;
}

/* Цены и футер */
.price-footer {
  display: flex;
  flex-direction: column; /* вертикальный стек */
  gap: 6px;
}
.price-row {
  display: flex;
  gap: 10px;
}
.prices-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  padding-top: 15px;
  border-top: 1px solid #f2f2f7;
  margin-top: 10px;
}

.prices-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}

.price-box,
.price-item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.price-item {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  min-width: 45%; /* Для двух колонок */
}

.price-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-repeat: no-repeat;
  background-position: center;
  font-size: 13px;
  color: #ff6b81;
  font-weight: bold;
}

.price-icon.hour {
  background-image: url(../img/alert.svg);
}

.price-icon.two-hour {
  background-image: url(../img/alert.svg);
}

.price-icon.night {
  background-image: url(../img/night.svg);
  border-radius: 50%;
  color: white;
}

.price-label {
  color: #ff5c7c;
  font-size: 14px;
  white-space: nowrap;
  flex-grow: 1;
}

.price-value {
  color: #ff5c7c;
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
}

/* ==================== Иконки ==================== */
.icon-phone-white {
  background: url(../img/sprite.svg?v1725041088975) 74.1293532338% 78.7878787879% no-repeat;
  width: 14px;
  height: 20px;
  display: inline-block;
}

.icon-alert-red {
  display: inline-block;
  width: 16px;
  height: 16px;
  background-image: url(../img/alert.svg);
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
  margin-right: 4px;
}

/* ==================== Медиа-запросы ==================== */
@media screen and (min-width: 1121px) {
  .verified-desktop {
    left: -169px;
  }
}

@media (max-width: 1100px) {
  .badge-center,
  .sub-actions,
  .map-link {
    display: none;
  }
}

@media (max-width: 1024px) {
  .container {
    padding: 0 15px;
  }

  .search-container {
    flex: 1;
  }

  .map-link,
  .sub-actions,
  .badge-center {
    display: none;
  }

  .nav-menu {
    display: none;
  }

  .header-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .header-top {
    flex-wrap: wrap;
    gap: 10px;
  }
}

@media (max-width: 768px) {
  /* Заголовки */
  .catalog-header h1,
  .profiles-section h1 {
    font-weight: 800;
    font-size: 26px;
    line-height: 1;
    color: #1e1e1e;
    margin-bottom: 0px;
  }

  /* Праздничный декор */
  .header__inner.new_year:before,
  .header__inner.new_year:after {
    width: 100px;
    height: 70px;
    z-index: 0;
  }

  .container {
    padding: 0 10px;
  }

  /* Шапка */
  .header-top {
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0;
    flex-wrap: nowrap;
    z-index: 2;
  }

  .left-block {
    display: flex;
    align-items: center;
    order: 1;
    flex: 1;
  }

  .burger-btn {
    background: #24242463;
    border: 1px solid #333;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
  }

  .logo {
    margin: 0 auto;
  }

  .logo img {
    width: auto;
    display: block;
  }

  /* Верификация */
  .icon-verified {
    display: block !important;
    position: relative;
    order: 2;
    width: 135px;
    height: 70px;
    flex-shrink: 0;
    align-self: flex-start;
    margin-top: -10px;
    background: url("../img/icon-verified-desktop.svg") no-repeat center top;
    background-size: contain;
    z-index: 2;
  }

  /* Поиск */
  .search-container {
    order: 3;
    flex: 1;
    display: flex;
    justify-content: flex-end;
  }

  .search-wrapper {
    display: none;
  }

  .search-btn {
    background: #242424;
    border: 1px solid #333;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  /* Скрытые элементы */
  .right-block,
  .map-link,
  .sub-actions {
    display: none !important;
  }

  .header-bottom {
    display: block;
    margin-top: 5px;
  }

  /* Навигация */
  .nav-menu {
    display: flex !important;
    overflow-x: auto;
    white-space: nowrap;
    gap: 15px;
    padding: 10px 5px;
    scrollbar-width: none;
  }

  .nav-menu::-webkit-scrollbar {
    display: none;
  }

  .nav-menu a {
    font-size: 15px;
    color: #fff;
  }

  /* GIF-галерея */
  .gif-scroll-inner::before,
  .gif-scroll-inner::after {
    content: none;
    flex: 0;
  }

  .gif-scroll {
    cursor: grab;
    overflow-x: auto;
    white-space: nowrap;
    background: #fff;
    border-radius: 12px;
  }

  .gif-scroll-inner {
    padding: 15px;
    gap: 5px;
  }

  .gif-scroll-inner img {
    display: inline-block;
    width: 144px;
    height: 101px;
    margin-right: 15px;
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
  }

  /* Сетка профилей */
  .profiles-grid {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding: 20px 0;
    scrollbar-width: none;
  }

  .profiles-grid::-webkit-scrollbar {
    display: none;
  }

  .profile-card {
    flex: 0 0 280px;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 4px;
  }

  /* Кнопка "Загрузить еще" */
  .load-more-btn {
    display: none;
  }
}
@media (min-width: 1024px) {
  .catalog-header {
    display: flex;
    align-items: center;
    gap: 14px;
  }

.online-status {
    font-size: 20px;
    font-weight: 800;
    color: #1e1e1e;
    margin-top: -6px;
    display: inline-flex;
    align-items: center;
}

  .online-dot {
    margin-top: 1px;
  }
}
