/* === Стили для ПК (десктоп, ширина > 650px) === */
html {
  height: 100%;
  overflow-x: hidden;
  scrollbar-width: thin; /* Firefox */
  scrollbar-color: #f46e8f #22252a;
}

html::-webkit-scrollbar { width: 7px; }
html::-webkit-scrollbar-track { background: #22252a; }
html::-webkit-scrollbar-thumb {
  background-color: #f46e8f;
  border-radius: 5px;
  border: 2px solid #22252a;
}
html::-webkit-scrollbar-thumb:hover { background-color: #1f8cd1; }

body {
  margin: 0;
  font-family: 'Montserrat', Arial, sans-serif;
  background: #22252a;
  color: #f2f3f5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

.header {
  background: #282b30;
  min-height: 58px;
  padding: 12px 18px;
  position: fixed; /* fixed вместо sticky */
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  border-radius: 0 0 10px 10px;
  box-shadow:
    0 8px 32px -6px rgba(255,255,255,0.1),
    0 2px 10px 0 rgba(50,175,237,0.3);
}
@media (max-width: 1250px) {
  .header { flex-wrap: wrap; gap: 10px; }  
}

.header__logo {
  font-size: 1.7rem;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
  letter-spacing: 1px;
  margin-right: 10px;
  transition: color .22s, text-shadow .22s;
  display: flex;
  align-items: center;
  user-select: none;
}
.header__logo:hover .logo-silk {
  color: #4dc7ff;
  text-shadow: 0 0 8px rgba(77,199,255,0.8), 0 0 14px rgba(77,199,255,0.6);
}
.header__logo:hover .logo-pill {
  color: #ff80a1;
  text-shadow: 0 0 8px rgba(244,110,143,0.8), 0 0 14px rgba(244,110,143,0.6);
}
@media (max-width: 1250px) { .header__logo { margin: 9px 0 5px 2px; } }

.logo-silk { color: #32afed; font-weight: 700; letter-spacing: 1px; }
.logo-pill { color: #f46e8f; font-weight: 700; margin-left: 3px; letter-spacing: 1px; }

.header__menu {
  list-style: none; display: flex; gap: 18px;
  margin: 0 14px 0 0; padding: 0; align-items: center;
}
@media (max-width: 1250px) {
  .header__menu { gap: 7px; margin: 0; }
}
.header__menu li { display: flex; align-items: center; }
.header__menu li a {
  color: #ffffff; text-decoration: none; font-size: 1.08rem;
  padding: 6px 14px 6px 12px; border-radius: 5px;
  border: 2px solid transparent; display: flex; align-items: center; gap: 9px;
  font-weight: 500; transition: background .14s, color .14s, border-color .15s; cursor: pointer;
}
.header__menu li a .fa, .header__menu li a svg {
  font-size: 1.18em; min-width: 21px; min-height: 21px; width: 21px; height: 21px;
  opacity: 0.87; display: inline-block; vertical-align: middle; color: #fff; fill: #fff;
  transition: color .15s, fill .15s;
}
.header__menu li a.is-active { border: 2px solid transparent; color: #ffffff; background: transparent; }
.header__menu li a[href="/"]:hover,
.header__menu li a[href="/"]:focus,
.header__menu li a[href*="t.me"]:hover,
.header__menu li a[href*="t.me"]:focus,
.header__menu li a[href$="contacts.html"]:hover,
.header__menu li a[href$="contacts.html"]:focus,
.header__menu li a[href$="/en/contacts-en.html"]:hover,
.header__menu li a[href$="/en/contacts-en.html"]:focus,
.header__menu li a[href$="donate.html"]:hover,
.header__menu li a[href$="donate.html"]:focus {
  border-color: transparent; background: none; color: #32afed;
}
.header__menu li a[href$="/en/donate-en.html"]:hover,
.header__menu li a[href$="/en/donate-en.html"]:focus {
  border-color: transparent; background: none; color: #32afed;
}
.header__menu li a[href$="donate.html"]:hover,
.header__menu li a[href$="donate.html"]:focus { color: #FFD700; }
.header__menu li a[href$="/en/donate-en.html"]:hover,
.header__menu li a[href$="/en/donate-en.html"]:focus { color: #FFD700; }
.header__menu li a.is-active:hover .fa,
.header__menu li a.is-active:hover svg,
.header__menu li a.is-active:focus .fa,
.header__menu li a.is-active:focus svg,
.header__menu li a:hover .fa, .header__menu li a:hover svg { color: #32afed; fill: #32afed; }

.header__menu li a.menu-stripper { color: #fff; background: transparent; font-weight: 500; font-size: 1.08rem; display: flex; align-items: center; padding: 6px 14px; transition: color .14s; }
.header__menu li a.menu-stripper .fa-fire-flame-curved { color: #f46e8f; font-size: 1.18em; width: 15.3px; height: 21px; display: inline-block; vertical-align: middle; margin: 0; }
.header__menu li a.menu-stripper:hover { color: #f46e8f; }

.header__menu li a.menu-game { color: #fff; background: transparent; font-weight: 500; font-size: 1.08rem; display: flex; align-items: center; padding: 6px 14px; transition: color .14s; }
.header__menu li a.menu-game .fa-bolt { color: #FFD700; font-size: 1.18em; width: 15.3px; height: 21px; display: inline-block; vertical-align: middle; margin: 0; }
.header__menu li a.menu-game:hover { color: #FFD700; }

.header__menu li a.menu-videochat { color: #fff; background: transparent; font-weight: 500; font-size: 1.08rem; display: flex; align-items: center; padding: 6px 14px; transition: color .14s; white-space: nowrap; }
.header__menu li a.menu-videochat .fa-play { color: #32afed; font-size: 1.18em; width: 15.3px; height: 21px; display: inline-block; vertical-align: middle; margin: 0; }
.header__menu li a.menu-videochat:hover { color: #32afed; }

.header__menu li a .fa-house { font-size: 1.18em; width: 21px; height: 21px; display: inline-block; vertical-align: middle; margin-right: 2px; }
.header__menu li a[href$="contacts.html"] .fa-envelope { position: relative; top: 1px; }
.header__menu li a[href$="donate.html"] .fa-coins { color: #FFD700; }
.header__menu li a[href$="/en/contacts-en.html"] .fa-envelope { position: relative; top: 1px; }
.header__menu li a[href$="/en/donate-en.html"] .fa-coins { color: #FFD700; }

.header__search { flex-grow: 1; max-width: 370px; display: flex; align-items: center; margin-left: auto; margin-right: 6px; min-width: 190px; }
@media (max-width: 1250px) { .header__search { max-width: 180px; } }

.header__search-box {
  display: flex; width: 100%; background: #282b30; border-radius: 7px; border: 1px solid #35363a; overflow: hidden; min-width: 190px; margin-right: 4px;
}
.header__search-box input {
  width: 100%; border: none; outline: none; background: transparent; color: #fff; padding: 9px 13px; font-size: 1rem; font-family: inherit;
}
.header__search-box .search-btn {
  background: none; border: none; color: #32afed; padding: 0 13px; font-size: 1.2rem; cursor: pointer; display: flex; align-items: center;
}
.header__search-box .search-btn .fa-search { color: #32afed; transition: color .15s, filter .15s; }
.header__search-box .search-btn:hover .fa-search,
.header__search-box .search-btn:focus .fa-search { color: #4dc7ff; filter: brightness(1.11); }

.container { max-width: 1200px; margin: 0 auto; padding: 20px 0 0 0; flex: 1 0 auto; width: 100%; box-sizing: border-box; }
@media (max-width: 1250px) { .container { padding-left: 20px; padding-right: 20px; } }

.sort-vpn-row {
  padding-top: 0px; display: flex; justify-content: space-between; align-items: center; width: 100%; max-width: 1200px; margin: 0px auto 0 auto; box-sizing: border-box;
}
@media (max-width: 1250px) {
  .sort-vpn-row { flex-direction: column; align-items: stretch; gap: 6px; }
  .sort-vpn-row { padding-top: 20px; }
}
.sort-vpn-left { flex: 0 0 auto; }
@media (max-width: 1250px) { .sort-vpn-left { margin-right: 0; } }

.sort-vpn-link {
  color: #fff; font-weight: 500; font-size: 1.08rem; text-decoration: none !important; background: none; border: none; border-radius: 6px; padding: 5px 0; cursor: pointer; transition: color .18s; outline: none; display: inline-block;
}
.sort-vpn-link:hover, .sort-vpn-link:focus { color: #ffd700; text-decoration: none !important; }
.sort-vpn-link .fa-shield-alt {
  font-size: 1.18em; width: 21px; height: 21px; min-width: 21px; min-height: 21px; max-width: 21px; max-height: 21px;
  display: inline-block; vertical-align: middle; color: #ffd700; opacity: .97; margin-right: 5px; transition: color .18s, filter .28s;
}

.star-icon { color: #FFD700; font-size: 1.2rem; vertical-align: middle; display: inline-block; }
/* Для счетчика */
#models-total-counter { font-size: 1.2rem; color: #fff; }

.sort-nav { display: flex; align-items: center; gap: 14px; font-size: 1.08rem; font-weight: 500; padding: 0; margin: 0; }
@media (max-width: 1250px) { .sort-nav { justify-content: flex-end; } }

.sort-label { color: #fff; font-weight: 500; font-size: inherit; letter-spacing: .01em; }
.sort-list { display: flex; gap: 10px; margin: 0; padding: 0; list-style: none; align-items: center; }

.sort-link {
  color: #ffffff; background: transparent; text-decoration: none; padding: 5px 0px; border-radius: 6px; border: none; transition: color .18s; font-weight: 500; cursor: pointer; display: flex; align-items: center; gap: 7px; font-size: inherit;
}
.sort-link:hover, .sort-link:focus { color: #32afed; background: transparent; border: none; }
.sort-link.active { color: #32afed; }
.sort-link svg.sort-arrow {
  width: 18px; height: 18px; vertical-align: middle; margin-right: 2px; fill: currentColor; flex-shrink: 0; transition: fill .18s, transform .15s; opacity: .88; display: inline-block; position: relative; top: 1.5px;
}
.sort-link .sort-arrow { transition: transform .15s; transform: rotate(0deg); }
.sort-link.active .sort-arrow { transform: rotate(180deg); }

.model-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; padding: 0 0 20px 0; overflow: visible; }
@media (max-width: 1250px) { .model-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

.model-card {
  border: 1px solid #32343b; border-radius: 10px; padding: 0; text-align: center; box-shadow: 0 2px 4px rgba(0,0,0,0.18);
  transition: transform .2s ease; cursor: pointer; min-height: 380px; display: flex; flex-direction: column; position: relative; z-index: 20; overflow: hidden; background: #23262b;
}
.model-card a { display: flex; flex-direction: column; width: 100%; height: 100%; text-decoration: none; color: inherit; }
.model-card:hover { transform: scale(1.02); box-shadow: 0 0 32px -6px rgba(244,110,143,0.16), 0 0 10px 0 rgba(244,110,143,0.34); }

.model-card .image-placeholder { width: 100%; background-size: cover; background-position: center; border-bottom: none; position: relative; flex-grow: 1; overflow: hidden; }
.model-card .name-box {
  background: #282b30; padding: 0 10px; border-radius: 0 0 10px 10px; color: #fff; transition: color .3s ease; margin-top: 0; border-top: none; text-align: center;
  position: relative; height: 50px !important; min-height: 50px !important; max-height: 50px !important; line-height: 50px !important; white-space: nowrap; text-overflow: ellipsis; box-sizing: border-box; overflow: hidden; display: flex; align-items: center; justify-content: center; font-size: 1.15rem !important; flex-shrink: 0;
}
.model-card:hover .name-box { color: #f46e8f; }

.model-card .views, .model-card .photo-count, .model-card .video-count, .model-card .popularity {
  position: absolute; display: flex; align-items: center; background: rgba(0, 0, 0, 0.6); color: #fff; font-family: 'Montserrat', Arial, sans-serif; font-size: 1rem; padding: 6px 10px; border-radius: 10px; z-index: 2; box-sizing: border-box; box-shadow: 0 2px 6px rgba(50,175,237,0.09); transition: color .18s;
}
.model-card .views { top: 13px; left: 13px; }
.model-card .photo-count { bottom: 53px; left: 13px; }
.model-card .video-count { bottom: 13px; left: 13px; }
.model-card .popularity { top: 13px; right: 13px; }

.model-card .views svg, .model-card .photo-count svg, .model-card .video-count svg {
  width: 1em; height: 1em; margin-right: 7px; fill: #fff; flex-shrink: 0; transition: fill .18s; display: inline-block; opacity: .83; vertical-align: middle;
}
.model-card .views i.fa-eye, .model-card .photo-count i.fa-camera, .model-card .video-count i.fa-video, .model-card .popularity i.fa-heart {
  font-size: .95em; width: 1em; height: 1em; margin-right: 7px; vertical-align: middle; display: inline-block; line-height: 1; margin-right: 10px;
}

.no-results { text-align: center; font-size: 1rem; color: #99b5d1; padding: 5px 0; margin: 0; grid-column: 1 / -1; line-height: 1.4; }
.no-results-msg {
  display: block; width: 100%; max-width: 500px; text-align: center; color: #fff; font-size: 1.2rem; font-weight: 600; margin: 40px auto 0px auto; user-select: none; line-height: 2.5; letter-spacing: .01em; position: relative; z-index: 1;
}

.pagination-simple {
  display: flex; justify-content: center; align-items: center; gap: 5px; padding: 20px 0 0 0; font-size: 1.03rem; user-select: none; flex-wrap: wrap;
}
.page-link {
  color: #fff; background: transparent; text-decoration: none; border: none; padding: 7px 13px; border-radius: 6px; margin: 0 2px; font-weight: 500;
  transition: color .18s, background .16s; cursor: pointer; font-family: inherit; display: flex; align-items: center; justify-content: center; min-width: 38px; min-height: 38px; box-sizing: border-box;
}
.page-link.active { background: #f46e8f; color: #fff; pointer-events: none; }
.page-link:hover:not(.active) { color: #fff; background: rgba(244,110,143,0.13); }
.page-link[disabled], .page-link.disabled { opacity: .55; pointer-events: none; cursor: default; background: transparent; color: #bbb; }

.footer-text {
  margin-top: 20px; margin-bottom: 0px; color: #fff; font-size: 1rem; text-align: justify; width: 100%; box-sizing: border-box; max-width: 1200px; margin-left: auto; margin-right: auto; line-height: 1.4;
}

.footer-black {
  width: 100%; max-width: 1236px; margin: 20px auto 0 auto; background: #282b30; border-radius: 10px 10px 0 0; min-height: 58px; display: flex; align-items: center; justify-content: space-between; padding: 20px; box-sizing: border-box;
  box-shadow: 0 -8px 32px -6px rgba(255,255,255,0.1), 0 -2px 10px 0 rgba(50,175,237,0.3);
  flex-shrink: 0; position: relative;
}
.footer-black .age-restriction { flex-shrink: 0; margin-right: 24px; display: flex; align-items: center; }
.footer-black .age-restriction-img { height: 40px; width: auto; object-fit: contain; display: block; }
.footer-black .footer-content { flex-grow: 1; display: flex; align-items: center; justify-content: center; text-align: center; margin-left: 0; margin-right: 0; padding-right: 20px; }
.footer-black .footer-content p { font-size: 0.8rem; margin: 0; line-height: 1.5; color: #fff; text-align: center; width: 100%; }

.lang-switcher-footer { display: flex; align-items: center; gap: 7px; }
.lang-switcher-flag { width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; }
.lang-switcher-flag img { height: 18px; width: 29px; object-fit: cover; display: block; }

.lang-switcher-oval {
  position: relative; width: 42px; height: 25px; background: #282b30; border: 2px solid #fff; border-radius: 18px; display: flex; align-items: center; justify-content: space-between; padding: 0 6px; box-sizing: border-box; cursor: pointer;
}
.lang-switcher-knob {
  position: absolute; left: 2px; width: 13px; height: 13px; background: #304552; border: 2px solid #fff; border-radius: 50%;
  transition: left .25s cubic-bezier(.44,.06,.51,1), background .15s; z-index: 2;
}
.lang-switcher-oval.active .lang-switcher-knob { left: 19px; }

.donate-coin-anim, .fa-coins.donate-coin-anim {
  display: inline-block; animation: coin-jump 5s ease-in-out infinite; will-change: transform; color: #FFD700; vertical-align: middle;
}
@keyframes coin-jump {
  0%, 92%, 100% { transform: translateY(0); }
  95% { transform: translateY(-7px); }
  97% { transform: translateY(0); }
}

a.donate-link { color: #FFD700; text-decoration: none; font-weight: bold; transition: color .15s, filter .15s; }
a.donate-link:hover, a.donate-link:focus-visible { color: #FFD700; filter: brightness(1.16); text-decoration: none; }

a.telegram-link { color: #32afed; text-decoration: none; font-weight: bold; transition: color .15s, filter .15s; }
a.telegram-link:hover, a.telegram-link:focus-visible { color: #4dc7ff; text-decoration: none; filter: brightness(1.11); }

.stripper-link { color: #f46e8f; font-weight: 700; text-decoration: none; transition: color .15s, filter .15s; }
.stripper-link:hover,
.stripper-link:focus-visible {
  color: #f46e8f;
  filter: brightness(1.16);
  text-decoration: none;
}


a.vpn-link { color: #FFD700; font-weight: 600; text-decoration: none; transition: color .15s, filter .15s; }
a.vpn-link:hover, a.vpn-link:focus-visible { color: #FFD700; filter: brightness(1.16); text-decoration: none; }

/* === Стили для мобильных устройств (ширина ≤ 650px) === */
@media (max-width: 650px) {
  * { -webkit-tap-highlight-color: transparent !important; outline: none !important; }

  .header {
    display: none !important; flex-direction: column; align-items: stretch; padding: 0 2vw; gap: 0; min-height: 0; flex-wrap: wrap; position: static; box-shadow: none; border-radius: 0;
  }
  .header__menu { flex-direction: column; align-items: stretch; gap: 2px; margin: 0 0 8px 0; width: 100%; justify-content: center; font-size: .96rem; }
  .header__menu li a { font-size: 1rem; padding: 8px 8px; justify-content: flex-start; border-radius: 4px; }

  .header__search { margin: 6px 0 12px 0; max-width: 100%; width: 100%; }

  .mobile-header {
    display: block; position: fixed; top: 0; left: 0; right: 0; z-index: 2000; background: #282b30; padding: 0 0px;
    box-shadow: 0 6px 24px -6px rgba(50,175,237,0.20); border-radius: 0 !important;
  }
  .mobile-header-row {
    display: flex; align-items: center; justify-content: space-between; min-height: 70px; width: 100%; padding-left: 18px; padding-right: 18px; box-sizing: border-box; gap: 8px;
  }
  .mobile-logo {
    line-height: 40px; transform: scaleY(1.15); font-size: 1.6rem; font-weight: bold; color: #fff; display: flex; align-items: center; user-select: none; flex: 0 0 auto; margin-right: 0; padding-left: 2px; text-decoration: none;
  }
  .mobile-header-actions { display: flex; align-items: center; justify-content: flex-end; flex: 1 1 auto; gap: 7px; min-width: 0; }

  .mobile-btn {
    background: none; border: none; color: #fff; font-size: 1.37rem; margin: 0; padding: 8px 8px; padding-right: 0 !important;
    border-radius: 6px; cursor: pointer; display: flex; align-items: center; justify-content: center; min-width: 40px; min-height: 40px; box-sizing: border-box;
    transition: background .16s, color .18s, box-shadow .18s; position: relative; z-index: 2010;
  }
  .mobile-btn i { font-size: 1.37rem; width: 1em; height: 1em; display: inline-block; vertical-align: middle; }
  .mobile-btn.mobile-burger i { color: #fff; font-size: 2rem !important; width: 1.15em; height: 1.15em; position: relative; top: 1px; }
  .mobile-btn.mobile-stripper i { color: #f46e8f; }
  .mobile-btn.mobile-donate i { color: #FFD700; animation: coin-jump 5s ease-in-out infinite !important; }
  .mobile-btn.mobile-search-toggle i { color: #32afed; }

  .mobile-search-form { border-top: 1px solid #35363a; display: none; padding: 15px; animation: dropdown-search .23s cubic-bezier(.51,.02,.49,.98); background: #282b30; }
  .mobile-search-form.active { display: block; }
  @keyframes dropdown-search { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

  .mobile-nav-menu {
    display: none; position: fixed; top: 57px; left: 0; right: 0; background: #23262b; z-index: 1999;
    box-shadow: 0 14px 24px -10px #000a; animation: navmenu-slide .21s cubic-bezier(.51,.02,.49,.98); border-radius: 0 0 10px 10px; padding: 12px 0 4px 0;
  }
  .mobile-nav-menu.active { display: block; }
  @keyframes navmenu-slide { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: translateY(0); } }

  .mobile-nav-menu ul { list-style: none; margin: 0; padding: 0 9px; }
  .mobile-nav-menu li { margin: 0; border-bottom: 1px solid #30333a44; }
  .mobile-nav-menu li:last-child { border-bottom: none; }
  .mobile-nav-menu a {
    display: flex; align-items: center; gap: 12px; color: #ffffff; text-decoration: none; font-size: 1.1rem; padding: 15px 12px;
    transition: background .14s, color .13s; border-radius: 0px;
  }
  .mobile-nav-menu a i { font-size: 1.14em; width: 22px; min-width: 22px; text-align: center; }
  .mobile-nav-menu a:hover, .mobile-nav-menu a:focus { color: #32afed; background: #24272c; }
  .mobile-nav-menu a[href$="donate.html"] .fa-coins { color: #FFD700; }
  .mobile-nav-menu a[href$="/en/donate-en.html"] .fa-coins { color: #FFD700; }
  .mobile-nav-menu a[href$="stripper.html"] .fa-fire-flame-curved { color: #f46e8f; }
  .mobile-nav-menu a .fa-shield-alt { color: #FFD700; }

  .mobile-sort {
    display: flex !important; flex-direction: row !important; justify-content: space-between !important; align-items: center !important;
    width: 100% !important; padding: 0 18px !important; margin: 0 0 8px 0 !important; min-height: 40px; box-sizing: border-box; background: transparent;
  }
  .mobile-sort-text {
    display: flex; align-items: center; gap: 8px; margin: 0; padding: 0; transform: translateY(-4px); margin-right: 16px;
  }
  .mobile-sort-text .mobile-sort-label {
    margin-right: 0 !important; font-size: 1.13rem; line-height: 1; color: #fff; font-weight: 500; letter-spacing: .01em; white-space: nowrap; flex-shrink: 0;
  }
  .mobile-sort-text .star-icon { font-size: 1.2rem; color: #FFD700; vertical-align: middle; display: inline-block; line-height: 1; }
  .mobile-sort-text #models-total-counter-mobile { font-size: 1.2rem; color: #fff; line-height: 1; }

  .mobile-sort-icons { display: flex; align-items: center; gap: 8px; }
  .mobile-sort-icon {
    color: #fff; background: none; border: none; outline: none; border-radius: 6px; padding: 6px 1px 6px 0px; margin: 0;
    transition: color .14s, background .13s; display: flex !important; align-items: center !important; cursor: pointer; text-decoration: none !important;
    font-size: 1.36rem !important; min-width: 39px; min-height: 39px; justify-content: center;
  }
  .mobile-sort-icon:last-child { margin-right: 0 !important; }
  .mobile-sort-icon:focus, .mobile-sort-icon:hover:not(.active) { color: #32afed; }
  .mobile-sort-icon i { pointer-events: none; line-height: 1; font-size: 1.13rem !important; width: 1.15em !important; height: 1.15em !important; display: inline-block !important; vertical-align: middle !important; }
  .mobile-sort-icon i.fa-heart { position: relative; left: 2px; }
}

@media (max-width: 650px) {
  :root { --accent-pink: #f46e8f; }
  .mobile-sort-icon { color: #fff; background: transparent !important; box-shadow: none !important; outline: none !important; border: none !important; }
  .mobile-sort-icon:hover, .mobile-sort-icon:focus, .mobile-sort-icon:active { color: #fff !important; background: transparent !important; box-shadow: none !important; outline: none !important; }
  .mobile-sort-icon.active { color: var(--accent-pink) !important; }
  .mobile-sort-icon.active > i { color: inherit !important; }
  .sort-vpn-row {
    display: none !important; flex-direction: column; align-items: stretch; gap: 7px; padding-top: 74px; margin-top: 10px; padding-top: 20px;
  }
  .sort-nav { justify-content: flex-start; gap: 7px; font-size: .98rem; }
  .mobile-sort {
    display: flex !important; flex-direction: row !important; justify-content: space-between !important; align-items: center !important; width: 100% !important; padding: 0 18px !important; margin: 0 0 1px 0 !important; min-height: 40px; box-sizing: border-box; background: transparent;
  }
  .mobile-sort-text { display: flex; align-items: center; gap: 12px; margin: 0; padding: 0; transform: translateY(-2px); }
  .mobile-sort-text .mobile-sort-label { margin-right: 0 !important; font-size: 1.13rem; line-height: 1; color: #fff; font-weight: 500; letter-spacing: .01em; white-space: nowrap; flex-shrink: 0; }
  .mobile-sort-text .star-icon { font-size: 1.2rem; color: #FFD700; vertical-align: middle; display: inline-block; line-height: 1; }
  .mobile-sort-text #models-total-counter-mobile { font-size: 1.2rem; color: #fff; line-height: 1; font-weight: 500; }

  .container { padding-left: 12px; padding-right: 12px; padding-top: 6px; max-width: 100%; }
  .model-grid { grid-template-columns: 1fr; gap: 12px; }
  .model-card .name-box { font-size: 1.2rem !important; height: 44px !important; min-height: 44px !important; max-height: 44px !important; padding: 0 5px; }

  .pagination-simple {
    font-size: 1.19rem; gap: 13px; padding-top: 18px; flex-wrap: wrap; max-width: 100%;
    box-sizing: border-box; justify-content: center; margin: 0 auto; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .pagination-simple::-webkit-scrollbar { display: none; }

  .page-link {
    min-width: 42px; min-height: 42px; padding: 0; border-radius: 6px; font-size: 1.17rem; margin: 0; box-sizing: border-box;
    display: flex; align-items: center; justify-content: center; font-weight: 500; border: none; background: transparent; outline: none; transition: background .13s, color .15s;
  }
  .page-link.active { background: #f46e8f; color: #fff; font-weight: 700; box-shadow: none; }
  .page-link:hover:not(.active) { background: rgba(244,110,143,0.19); color: #fff; }

  .footer-text {
    font-size: 1rem; padding-left: 15px; padding-right: 15px; box-sizing: border-box; max-width: 100%; width: 100%; margin-left: 0; margin-right: 0; margin-top: 15px;
  }

  .footer-black {
    flex-direction: column; align-items: stretch; text-align: center; padding: 10px 15px 15px 15px; min-height: unset;
    border-radius: 0 !important; margin-left: 0 !important; margin-right: 0 !important; max-width: 100% !important; width: 100% !important; box-sizing: border-box; margin-top: 17px !important;
  }
  .footer-black .footer-content { order: 2; margin-top: 10px; width: 100%; text-align: center; padding: 0; }
  .footer-black .footer-content p { font-size: .75rem; line-height: 1.4; }
  .footer-black .footer-content br { display: none; }
  .footer-black .age-restriction, .footer-black .lang-switcher-footer { order: 1; display: inline-flex; align-items: center; margin-bottom: 0; margin-right: 0; }

  .footer-black .footer-top-row-mobile {
    display: flex; flex-direction: row; justify-content: center; align-items: center; width: 100%; margin-top: 5px; margin-bottom: 5px; gap: 82px;
  }

  .mobile-header-spacer { height: 0px; width: 100%; display: none; }
}

@media (min-width: 651px) {
  .mobile-sort, .mobile-header, .mobile-nav-menu { display: none !important; }
}

@media (min-width: 651px) and (max-width: 1250px) {
  .header__logo { cursor: pointer; }
  .header {
    display: grid !important; grid-template-columns: auto 1fr auto; align-items: center; width: 100%; max-width: 100%;
    padding: 15px 20px; background: #282b30; min-height: 50px; box-shadow: 0 6px 24px -6px rgba(50,175,237,0.18); border-radius: 0; box-sizing: border-box; position: fixed !important; top: 0; left: 0; right: 0; z-index: 1000;
  }
  .header__logo {
    grid-column: 1; font-size: 2rem; font-weight: bold; color: #fff; display: flex; align-items: center; user-select: none; margin-right: 0; justify-self: start; min-width: 130px;
  }
  .header__menu {
    grid-column: 2; display: flex !important; flex-direction: row; justify-content: space-evenly !important; align-items: center !important;
    width: 100% !important; max-width: none !important; margin: 0 !important; padding: 0 !important;
  }
  .header__menu li { flex: 0 0 auto; display: flex; justify-content: center; align-items: center; margin: 0; padding: 0; }
  .header__menu li a {
    width: 48px; height: 48px; min-width: 48px; min-height: 48px; max-width: 48px; max-height: 48px; border-radius: 50%;
    padding: 0 !important; font-size: 0 !important; display: flex; align-items: center; justify-content: center; background: none; color: #fff !important; position: relative; overflow: hidden; border: none; transition: background .13s, color .14s;
  }
  .header__menu li a *:not(.fa):not(svg):not(.fa-solid):not(.fa-paper-plane):not(.fa-envelope):not(.fa-coins):not(.fa-fire-flame-curved):not(.fa-house) { display: none !important; }
  .header__menu li a .fa, .header__menu li a .fa-solid, .header__menu li a svg {
    display: inline-block !important; font-size: 1.6rem !important; margin: 0 !important; color: inherit !important; vertical-align: middle; pointer-events: none; transition: color .15s;
  }
  .header__logo, .header__menu { transform: translateY(-2px); }
  .header__menu li a.menu-stripper { margin-right: -5px !important; }
  .header__menu li a.menu-stripper .fa-fire-flame-curved { color: #f46e8f !important; }
  .header__menu li a.menu-game .fa-bolt { color: #FFD700 !important; }
  .header__menu li a.menu-videochat .fa-play { color: #32afed !important; }
  .header__menu li a[href$="donate.html"] .fa-coins { color: #FFD700 !important; }
  .header__menu li a[href$="contacts.html"] .fa-envelope { color: #fff !important; }
  .header__menu li a[href$="/en/donate-en.html"] .fa-coins { color: #FFD700 !important; }
  .header__menu li a[href$="/en/contacts-en.html"] .fa-envelope { color: #fff !important; }

  .header__menu li a.menu-stripper:hover,
  .header__menu li a.menu-stripper:focus,
  .header__menu li a.menu-game:hover,
  .header__menu li a.menu-game:focus,
  .header__menu li a.menu-videochat:hover,
  .header__menu li a.menu-videochat:focus,
  .header__menu li a[href$="donate.html"]:hover,
  .header__menu li a[href$="donate.html"]:focus,
  .header__menu li a[href$="contacts.html"]:hover,
  .header__menu li a[href$="contacts.html"]:focus
  .header__menu li a[href$="/en/donate-en.html"]:hover,
  .header__menu li a[href$="/en/donate-en.html"]:focus,
  .header__menu li a[href$="/en/contacts-en.html"]:hover,
  .header__menu li a[href$="/en/contacts-en.html"]:focus,  {
	  
    background: none !important; color: #fff !important;
  }

  .header__menu li a.menu-stripper:hover .fa-fire-flame-curved,
  .header__menu li a.menu-stripper:focus .fa-fire-flame-curved { color: #f46e8f !important; }
  .header__menu li a.menu-game:hover .fa-bolt,
  .header__menu li a.menu-game:focus .fa-bolt { color: #FFD700 !important; }
  .header__menu li a.menu-videochat:hover .fa-play,
  .header__menu li a.menu-videochat:focus .fa-play { color: #32afed !important; }
  .header__menu li a[href$="donate.html"]:hover .fa-coins,
  .header__menu li a[href$="donate.html"]:focus .fa-coins { color: #FFD700 !important; }
  .header__menu li a[href$="contacts.html"]:hover .fa-envelope,
  .header__menu li a[href$="contacts.html"]:focus .fa-envelope { color: #fff !important; }
  .header__menu li a[href$="/en/donate-en.html"]:hover .fa-coins,
  .header__menu li a[href$="/en/donate-en.html"]:focus .fa-coins { color: #FFD700 !important; }
  .header__menu li a[href$="/en/contacts-en.html"]:hover .fa-envelope,
  .header__menu li a[href$="/en/contacts-en.html"]:focus .fa-envelope { color: #fff !important; }

  .header__search { grid-column: 3; max-width: 240px; min-width: 120px; margin-left: 0; margin-right: 0; display: flex; align-items: center; justify-self: end; }
  .header__search-box { width: 100%; background: #282b30; border-radius: 7px; border: 1px solid #35363a; overflow: hidden; box-sizing: border-box; display: flex; align-items: center; max-width: 100%; margin-right: 0; }
  .header__search-box input { width: 100%; border: none; outline: none; background: transparent; color: #fff; padding: 10px 13px; font-size: 1.1rem; font-family: inherit; box-sizing: border-box; }
  .header__search-box .search-btn { background: none; border: none; color: #32afed; padding: 0 13px; font-size: 1.6rem; cursor: pointer; display: flex; align-items: center; box-sizing: border-box; flex-shrink: 0; }
  .header__search-box .fa-search { color: #32afed; }  

  .sort-vpn-row {
    display: flex !important; flex-wrap: nowrap !important; align-items: center !important; padding: 0px 20px 6px 20px !important; gap: 20px !important; flex-direction: row !important;
  }
  .sort-vpn-left, .sort-nav { flex: 0 0 auto !important; white-space: nowrap !important; }

  .sort-vpn-left .sort-vpn-link { display: inline-flex !important; align-items: center !important; font-size: 0 !important; gap: 2px !important; }
  .sort-vpn-left .sort-vpn-link .fa-shield-alt { font-size: 1.2rem !important; }
  .sort-vpn-left .sort-vpn-link::after { content: "Подключить VPN" !important; font-size: 1.15rem !important; color: #fff !important; }
  html[lang="en"] .sort-vpn-left .sort-vpn-link::after { content: "Connect VPN" !important; }
  .sort-vpn-row .sort-label { font-size: 0 !important; }
  .sort-vpn-row .sort-label::after { content: "Моделей" !important; font-size: 1.15rem !important; color: #fff !important; }
  html[lang="en"] .sort-vpn-row .sort-label::after { content: "Total models" !important; }

  .star-icon { color: #FFD700; font-size: 1.2rem; vertical-align: middle; display: inline-block; }

  .sort-vpn-row .sort-nav { display: inline-flex !important; align-items: center !important; gap: 12px !important; margin-left: auto !important; }
  .sort-nav { font-size: 1.1rem !important; }
  .sort-nav .sort-link { font-size: 1.09rem !important; }

  #models-total-counter-desktop { font-size: 1.1rem !important; }
  .container { min-height: auto !important; height: auto !important; flex: 0 0 auto !important; padding-top: 15px !important; }

  .pagination-simple { font-size: 1.2rem !important; gap: 10px; }
  .footer-text { padding-left: 20px !important; padding-right: 20px !important; }
}

.header, .mobile-header{
  background-color: rgba(40, 43, 48, 0.92) !important;
  backdrop-filter: blur(8px) saturate(125%);
  -webkit-backdrop-filter: blur(8px) saturate(125%); /* Safari */
}
@supports not ((backdrop-filter: blur(1px))){
  .header, .mobile-header{ background-color: rgba(40,43,48,0.92) !important; }
}

@media (max-width: 650px){
  .model-card .views i.fa-eye,
  .model-card .photo-count i.fa-camera,
  .model-card .video-count i.fa-video,
  .model-card .popularity i.fa-heart{
    font-size: 0.97em; margin-right: 12px;
  }
  .model-card .views,
  .model-card .photo-count,
  .model-card .video-count,
  .model-card .popularity{
    font-size: 1.13rem;
  }
}

.model-card{ contain-intrinsic-size: 380px 300px; }
.model-card .image-placeholder{ aspect-ratio: 4 / 5; position: relative; overflow: hidden; }
.model-card .image-placeholder img{ width: 100%; height: 100%; object-fit: cover; display: block; }

.model-card .views, .model-card .photo-count, .model-card .video-count, .model-card .popularity{ line-height: 1; align-items: baseline; }
.model-card .views i.fa-eye, .model-card .photo-count i.fa-camera, .model-card .video-count i.fa-video, .model-card .popularity i.fa-heart{
  line-height: 1; font-size: 1em;
}

/* --- Keep envelope icon white on hover (RU & EN contacts) --- */
.header__menu li a[href$="contacts.html"]:hover .fa-envelope,
.header__menu li a[href$="/en/contacts-en.html"]:hover .fa-envelope,
.header__menu li a[href$="contacts.html"]:focus .fa-envelope,
.header__menu li a[href$="/en/contacts-en.html"]:focus .fa-envelope {
  color: #fff !important;
  fill: #fff !important;
}

/* === Стили под заголовок h1 === */      
  .header { position: fixed; }
      body { padding-top: 100px; }       

	.page-title{
	  margin: 10px 0 9px;
	  font-weight: 800;
	  line-height: 1.18;
	  letter-spacing: .2px;
	  text-align: center;
	  font-size: 1.5rem;          
	  color: #e3e3e5;
	}

	.h1-text{   
	  box-sizing: border-box; 
	  max-width: 100%; 
	  width: 100%; 
	  font-size: 1rem;
	  line-height: 1.45;
	  margin-top: 0px !important;
	  color: #fff; 
	  text-align: justify; 
	  max-width: 1200px; 
	  margin-left: auto; 
	  margin-right: auto; 
	  line-height: 1.4;
	}
 .h1-text p {       
    margin-bottom: 13px;
  }

/* ===== Планшеты: 651–1250px ===== */
@media (min-width: 651px) and (max-width: 1250px) {
   .header { position: fixed; }
    body { padding-top: 105px; }   
 
  .page-title{
    display: flex;
    flex-direction: column;   /* ставим lead и sub столбиком */
    align-items: center;
    margin: 3px 0 5px;
    text-align: center;
	gap: 10px;
  }

  .page-title__lead{
    display: block;
    white-space: nowrap;      /* первая фраза — строго в одну линию */
  }

  .page-title__sub{
    display: block;
    white-space: normal !important;   /* вторая — можно переносить */
    line-height: 1.2;
  }

  /* Текстовый блок под h1 — по 20px слева/справа */
  .h1-text{
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}

@media (max-width: 650px){
    .header { display: none !important; }
    .mobile-header { display: block; position: fixed; top: 0; left: 0; right: 0; }
      body { padding-top: 80px; }  	
	  
	 .page-title{
	  margin: 10px 0 10px;	  
	  line-height: 1.5;
	  letter-spacing: .2px;
	  text-align: center;
	  font-size: 1.5rem;          
	  color: #e3e3e5;
	}
      
  .h1-text p {       
    margin: 0;
  }
  .h1-text {         
    margin-bottom: 5px;     
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}

/* ==== Универсальная модалка .sp-modal (ровный крестик, тонкий скролл) ==== */

/* Без «прыжка» макета при фиксации body */
html { scrollbar-gutter: stable; }

/* Лок скролла без скрытия полосы */
body.modal-lock{
  position: fixed;
  top: var(--lock-top, 0);
  left: 0; right: 0;
  width: 100%;
}

/* Корень модалки */
.sp-modal{
  position: fixed; inset: 0; z-index: 4000;
  display: none;                       /* скрыта по умолчанию */
  align-items: center; justify-content: center;
}
.sp-modal.is-open{ display: flex; }

/* Затемнение */
.sp-modal .sp-modal__backdrop{
  position: absolute; inset: 0;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(2px);
}

/* Диалог */
.sp-modal .sp-modal__dialog{
  position: relative;                   /* якорь для крестика */
  background: #282b30; color: #fff;
  width: min(920px, 94vw); max-height: 86vh;
  border: 1px solid #35363a; border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,.45);
  display: flex; flex-direction: column; overflow: hidden;
}

/* Заголовок */
.sp-modal .sp-modal__title{
  margin: 0; text-align: center;
  padding: 14px 56px;                  /* запас под крест справа */
  border-bottom: 1px solid #35363a;
  color: #e9eaec; font-size: 1.15rem; line-height: 1.3;
}

/* Тело + тонкий скролл как на странице */
.sp-modal .sp-modal__body{
  padding: 14px 16px 16px; overflow: auto;
  scrollbar-width: thin; scrollbar-color: #f46e8f #22252a;
}
.sp-modal .sp-modal__body::-webkit-scrollbar{ width: 7px; }
.sp-modal .sp-modal__body::-webkit-scrollbar-track{ background:#22252a; }
.sp-modal .sp-modal__body::-webkit-scrollbar-thumb{
  background-color:#f46e8f; border-radius:5px; border:2px solid #22252a;
}
.sp-modal .sp-modal__body::-webkit-scrollbar-thumb:hover{ background-color:#1f8cd1; }

/* Текст в теле */
.sp-modal__body .legal-copy p{ margin:0 0 10px; }
.sp-modal__body .legal-copy ul{ margin:0 0 10px 1.2em; padding-left:1.2em; }
.sp-modal__body .legal-copy li{ margin:6px 0; }

/* === Крестик без круга — ВСЕГДА в правом верхнем углу шапки === */
/* Позиционируем относительно .sp-modal__dialog, а не заголовка */
.sp-modal .sp-modal__close{
  --head-pad-x: 7px;                  /* правый отступ (ПК) */
  --head-pad-y: 9px;                  /* верхний отступ (ПК) */
  position: absolute;
  top: var(--head-pad-y);
  right: var(--head-pad-x);
  width: 36px; height: 36px;           /* удобная зона клика */
  background: transparent; border: 0; padding: 0; margin: 0;
  cursor: pointer; outline: none; appearance: none;
  color: transparent; font-size: 0; line-height: 0; text-indent: -9999px;
  --x-scale: 1;
}

/* Сам «Х» рисуем двумя полосками по центру кнопки */
.sp-modal .sp-modal__close::before,
.sp-modal .sp-modal__close::after{
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 18px; height: 2px;
  background: #fff; border-radius: 2px;
  transform-origin: center; transition: transform .14s ease;
}
.sp-modal .sp-modal__close::before{ transform: translate(-50%,-50%) rotate(45deg)  scale(var(--x-scale)); }
.sp-modal .sp-modal__close::after { transform: translate(-50%,-50%) rotate(-45deg) scale(var(--x-scale)); }

.sp-modal .sp-modal__close:hover,
.sp-modal .sp-modal__close:focus-visible{ --x-scale: 1.12; }
.sp-modal .sp-modal__close:active{ --x-scale: 1.06; }

/* Меньше анимаций, если пользователь так хочет */
@media (prefers-reduced-motion: reduce){
  .sp-modal .sp-modal__close::before,
  .sp-modal .sp-modal__close::after{ transition: none; }
}

/* Мобайл: больше зона клика, аккуратные одинаковые отступы */
@media (max-width: 650px){
  .sp-modal .sp-modal__dialog{ width: 96vw; max-height: 88vh; border-radius: 10px; }
  .sp-modal .sp-modal__title{ padding: 12px 48px; font-size: 1rem; }
  .sp-modal .sp-modal__close{
    --head-pad-x: 3px;
    --head-pad-y: 3px;
    width: 40px; height: 40px;
  }
  .sp-modal .sp-modal__close::before,
  .sp-modal .sp-modal__close::after{ width: 18px; height: 2px; }
}

/* после клика фокус-рамка на ссылках не «залипает» */
a:focus:not(:focus-visible){ outline: none; }

/* === Настройки (меняй под себя) === */
:root{
  --doodles-size: 420px;     /* плотность узора */
  --doodles-alpha: .05;       /* ВИДИМОСТЬ: 0.06–0.16 обычно ок */
  --doodles-color: #cfd6e4;   /* мягкий серо-голубой под тёмную тему */
}

/* База страницы */
body{
  position: relative;
  background:#1e2228;
}
body > *{ position: relative; z-index: 1; }

/* Узоры поверх фона — основной путь (через маску) */
body::before{
  content:"";
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: var(--doodles-color);
  opacity: var(--doodles-alpha);
  -webkit-mask: url("/assets/bg/silkpill-doodles.svg") 0 0 /
                var(--doodles-size) var(--doodles-size) repeat;
          mask: url("/assets/bg/silkpill-doodles.svg") 0 0 /
                var(--doodles-size) var(--doodles-size) repeat;
}

/* Fallback: если mask не поддерживается — просто картинка с той же прозрачностью */
@supports not (-webkit-mask: url("")) {
  body::before{
    background: url("/assets/bg/silkpill-doodles.svg") 0 0 /
                var(--doodles-size) var(--doodles-size) repeat;
    /* можно чуть поджать линии, если бледно:
       filter: contrast(1.08) brightness(1.06); */
  }
}

/* Мобилка: чуть тише и плотнее */
@media (max-width:650px){
  :root{
    --doodles-size: 360px;
    --doodles-alpha: .10;
  }
}





