/* amourchat — світла тема */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: #f7f5f9;
  color: #322c3c;
  font: 15px/1.5 "Segoe UI", Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 16px; }
a { color: inherit; }
img { display: block; }

/* кнопки */
.btn {
  display: inline-block;
  background: #c2456b;
  color: #fff;
  border: 1px solid #c2456b;
  border-radius: 10px;
  padding: 10px 20px;
  font: 600 14px/1.2 inherit;
  text-decoration: none;
  cursor: pointer;
  transition: background .18s, border-color .18s, box-shadow .18s, transform .18s;
  box-shadow: 0 1px 2px rgba(50, 20, 35, .12);
}
.btn:hover { background: #a83a5a; border-color: #a83a5a; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(194, 69, 107, .25); }
.btn--sec {
  background: #fff;
  color: #57506a;
  border-color: #ddd7e6;
  box-shadow: none;
}
.btn--sec:hover { background: #f4f1f8; border-color: #c9c1d8; box-shadow: 0 2px 8px rgba(80, 60, 100, .08); }
.btn--s { padding: 8px 14px; font-size: 13px; border-radius: 9px; }
.btn--lg { padding: 13px 28px; font-size: 15px; }
.btn--full { width: 100%; }
.btn--link {
  background: none; border: none; color: #8b8398;
  font: 13px inherit; cursor: pointer; text-decoration: underline;
}
.btn--link:hover { color: #57506a; }

/* вік 18 */
.agegate {
  position: fixed; inset: 0; z-index: 200;
  background: #f7f5f9;
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.agegate.hidden { display: none; }
.agegate__in {
  max-width: 390px; border: 1px solid #e5dff0; padding: 30px;
  background: #fff; border-radius: 16px;
  box-shadow: 0 10px 34px rgba(60, 40, 80, .10);
}
.agegate__in p { margin-bottom: 12px; color: #57506a; }
.agegate__in b { color: #322c3c; }
.agegate__btns { display: flex; gap: 10px; margin: 18px 0 6px; }
.agegate__err { color: #b3445e; font-size: 13px; }

/* шапка */
.hdr {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e9e4f2;
  position: sticky; top: 0; z-index: 100;
}
.hdr__in { display: flex; align-items: center; gap: 26px; height: 58px; }
.brand {
  font-size: 20px; font-weight: 700; letter-spacing: .2px;
  text-decoration: none; color: #322c3c; text-transform: lowercase;
}
.brand span { color: #c2456b; }
.brand--f { font-size: 17px; }
.menu { display: flex; gap: 18px; }
.menu a { color: #7b7488; text-decoration: none; font-size: 14px; transition: color .15s; }
.menu a:hover { color: #322c3c; }
.hdr__r { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.online { color: #5c8a4a; font-size: 13px; }

/* верхній блок */
.top { padding: 52px 0 16px; }
.top h1 { font-size: 32px; font-weight: 700; margin-bottom: 12px; color: #2c2637; letter-spacing: -.3px; }
.top__t { max-width: 620px; color: #7b7488; margin-bottom: 24px; font-size: 16px; }
.top__btns { display: flex; gap: 10px; flex-wrap: wrap; }
.top__st { margin-top: 18px; color: #8b8398; font-size: 14px; }
.top__st b { color: #4f4760; font-weight: 600; }

/* список анкет */
.list { padding: 36px 0 24px; }
.filters {
  display: flex; gap: 8px; align-items: center; flex-wrap: wrap;
  background: #fff; border: 1px solid #e9e4f2; border-radius: 14px;
  padding: 10px 12px; margin-bottom: 12px;
  box-shadow: 0 1px 3px rgba(60, 40, 80, .05);
}
.filters select, .filters input[type=text], .filters input[type=number] {
  background: #f7f5f9; color: #322c3c;
  border: 1px solid #e2dcec; border-radius: 9px;
  padding: 9px 11px; font: 14px inherit; outline: none;
  transition: border-color .15s, background .15s;
}
.filters select:focus, .filters input:focus { border-color: #c9a3b3; background: #fff; }
.filters select { min-width: 150px; }
.filters input[type=number] { width: 66px; }
.filters__age { display: flex; align-items: center; gap: 6px; color: #8b8398; }
.hint { color: #8b8398; font-size: 13px; margin-bottom: 14px; }

/* плитка */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(176px, 1fr));
  gap: 12px;
}
.card {
  background: #fff;
  border: 1px solid #e9e4f2;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  box-shadow: 0 1px 2px rgba(60, 40, 80, .04);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(60, 40, 80, .13);
  border-color: #dcd3e8;
}
.card__ph { position: relative; aspect-ratio: 3/4; overflow: hidden; background: #efeaf4; }
.card__ph img {
  width: 100%; height: 100%; object-fit: cover; object-position: var(--pp, 50% 20%);
  filter: brightness(var(--br, 1)) saturate(var(--st, 1));
  transition: transform .25s ease;
}
.card:hover .card__ph img { transform: scale(1.04); }
.card__on {
  position: absolute; top: 8px; left: 8px;
  background: rgba(63, 92, 51, .92); color: #e7f2df;
  font-size: 11px; padding: 3px 7px; border-radius: 6px;
}
.card__18 {
  position: absolute; top: 8px; right: 8px;
  background: rgba(194, 69, 107, .88); color: #fff;
  font-size: 11px; padding: 3px 7px; border-radius: 6px;
}
.card__phn {
  position: absolute; right: 8px; bottom: 8px;
  background: rgba(25, 18, 32, .62);
  color: #f1edf6;
  font-size: 11px; padding: 3px 7px; border-radius: 6px;
}
.card__i { padding: 9px 11px 10px; }
.card__n { font-size: 14px; color: #372f42; }
.card__n b { font-weight: 600; }
.card__c { font-size: 12px; color: #8b8398; margin-top: 2px; }

.more__wrap { text-align: center; padding: 24px 0 6px; }

/* застосунок */
.appsec {
  border-top: 1px solid #e9e4f2; border-bottom: 1px solid #e9e4f2;
  background: #fff; padding: 52px 0;
}
.appsec__in { display: grid; grid-template-columns: 1fr 250px; gap: 46px; }
.appsec h2 { font-size: 25px; color: #2c2637; margin-bottom: 10px; letter-spacing: -.2px; }
.appsec__t { color: #7b7488; max-width: 560px; margin-bottom: 22px; }
.adv { list-style: none; margin-bottom: 26px; }
.adv li {
  padding: 10px 0 10px 16px;
  border-left: 2px solid #ecd5de;
  margin-bottom: 6px; color: #57506a; font-size: 14px;
}
.adv li b { color: #372f42; font-weight: 600; }
.dl { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 24px; }
.dl__meta { color: #8b8398; font-size: 13px; }
.steps { display: grid; gap: 7px; color: #8b8398; font-size: 13px; max-width: 480px; }
.steps b { color: #57506a; }

/* мокап */
.appsec__side { display: flex; justify-content: center; }
.ph {
  width: 212px; border: 7px solid #2b2433; background: #0f0d15;
  border-radius: 22px; overflow: hidden;
  box-shadow: 0 18px 44px rgba(60, 40, 80, .22);
}
.ph__scr { aspect-ratio: 9/16; overflow: hidden; position: relative; }
.ph__scr img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%;
  filter: blur(7px);
}
.ph__scr::after {
  content: "фото приховано\A реєстрація — в застосунку";
  white-space: pre;
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  text-align: center; color: #efeaf4; font-size: 12px; line-height: 1.6;
  background: rgba(15, 13, 21, .25);
}
.ph__cap {
  padding: 10px 12px; font-size: 12px; color: #8b8398; text-align: center;
  border-top: 1px solid #e9e4f2; background: #fff;
}
.ph__lnk { color: #c2456b; }

/* правила */
.rules { padding: 44px 0; }
.rules h2 { font-size: 19px; margin-bottom: 12px; color: #372f42; }
.rules p { color: #8b8398; font-size: 14px; max-width: 720px; margin-bottom: 10px; }

/* футер */
.ftr { border-top: 1px solid #e9e4f2; background: #fff; padding: 26px 0 34px; font-size: 13px; color: #8b8398; }
.ftr__in { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.ftr__copy { margin-top: 6px; }
.ftr__links { display: flex; gap: 16px; }
.ftr__links a { color: #7b7488; text-decoration: none; }
.ftr__links a:hover { text-decoration: underline; }
.ftr__18 { margin-left: auto; border: 1px solid #dfb6c4; color: #b3445e; padding: 3px 9px; border-radius: 7px; }

/* модалки */
.modal {
  position: fixed; inset: 0; z-index: 150; display: none;
  background: rgba(35, 27, 45, .45);
  align-items: center; justify-content: center; padding: 18px;
}
.modal.open { display: flex; }
.modal__box {
  background: #fff; border: 1px solid #e9e4f2;
  width: 100%; max-width: 600px; max-height: 88vh; overflow-y: auto;
  position: relative; padding: 0 0 20px;
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(40, 25, 55, .25);
  animation: mpop .18s ease;
}
.modal__box--s { max-width: 400px; }
@keyframes mpop { from { transform: translateY(8px) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }
.modal__x {
  position: absolute; top: 10px; right: 12px; z-index: 5;
  background: rgba(255,255,255,.85); border: none; color: #7b7488; cursor: pointer; font: 13px inherit;
  border-radius: 7px; padding: 4px 8px;
}
.modal__x:hover { color: #322c3c; }

/* профіль: головне фото — повністю, вписується у вікно без обрізання */
.pmain { position: relative; display: flex; justify-content: center; background: #efeaf4; }
.pmain img { max-width: 100%; max-height: 66vh; width: auto; height: auto; }
.pmain .card__18 { top: 10px; right: auto; left: 10px; }
.pgal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 6px 6px 0; }
.pgal .gi { aspect-ratio: 1; overflow: hidden; background: #efeaf4; border-radius: 10px; position: relative; }
.pgal .gi img {
  width: 100%; height: 100%; object-fit: cover; object-position: var(--pp, 50% 50%);
  filter: blur(6px) brightness(var(--br, 1)) saturate(var(--st, 1));
}
.pgal .gi::after {
  content: "у застосунку";
  position: absolute; left: 50%; bottom: 6px; transform: translateX(-50%);
  color: #fff; font-size: 10px; background: rgba(25,18,32,.55);
  padding: 2px 6px; border-radius: 5px; white-space: nowrap;
}
.phead { display: flex; align-items: baseline; gap: 10px; padding: 14px 18px 2px; }
.phead h3 { font-size: 20px; color: #2c2637; }
.phead span { color: #c2456b; font-size: 16px; font-weight: 600; }
.pmeta { padding: 0 18px; color: #8b8398; font-size: 13px; }
.pabout { padding: 10px 18px 0; color: #57506a; font-size: 14px; }
.pabout p { white-space: pre-line; }
.pcta {
  margin: 16px 18px 0; border: 1px solid #ecd5de; background: #fdf4f7;
  padding: 14px 16px; font-size: 14px; color: #6d4350;
  border-radius: 12px;
}
.pcta b { color: #3f2b35; }
.pcta .btn { margin: 12px 6px 0 0; }

/* авторизація */
.tabs { display: flex; border-bottom: 1px solid #e9e4f2; }
.tab {
  flex: 1; background: none; border: none; color: #8b8398;
  padding: 14px; font: 600 14px inherit; cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
}
.tab.on { color: #322c3c; border-bottom-color: #c2456b; }
.frm { padding: 18px 20px 20px; }
.frm.frm--hide { display: none; }
.frm label { display: block; font-size: 13px; color: #8b8398; margin-bottom: 12px; }
.frm input {
  display: block; width: 100%; margin-top: 5px;
  background: #f7f5f9; border: 1px solid #e2dcec; border-radius: 10px;
  color: #322c3c; padding: 10px 12px; font: 14px inherit; outline: none;
  transition: border-color .15s, background .15s;
}
.frm input:focus { border-color: #c9a3b3; background: #fff; }
.frm__g { display: flex; gap: 8px; }
.rd {
  flex: 1; display: flex; gap: 7px; align-items: center;
  border: 1px solid #e2dcec; border-radius: 10px; padding: 10px;
  color: #57506a; font-size: 13px; cursor: pointer;
}

/* тех. роботи */
.tw {
  display: none; margin: 0 20px 20px; border: 1px solid #e8d9b0;
  background: #fdf8ea; padding: 14px 16px; border-radius: 12px;
}
.tw.on { display: block; }
.tw p { color: #7a6636; font-size: 14px; margin-bottom: 12px; }
.tw__s { font-size: 12px !important; color: #a19067 !important; margin: 10px 0 0 !important; }

/* cookie */
.cookie {
  position: fixed; left: 14px; bottom: 14px; z-index: 140;
  background: #fff; border: 1px solid #e9e4f2;
  padding: 10px 12px; display: flex; gap: 12px; align-items: center;
  font-size: 13px; color: #7b7488; max-width: 380px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(60, 40, 80, .12);
}
.cookie.hidden { display: none; }

@media (max-width: 900px) {
  .appsec__in { grid-template-columns: 1fr; gap: 30px; }
  .appsec__side { display: none; }
  .menu { display: none; }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: repeat(auto-fill, minmax(146px, 1fr)); }
  .hdr__r .btn--sec { display: none; }
  .pgal { grid-template-columns: repeat(2, 1fr); }
  .top { padding-top: 32px; }
  .top h1 { font-size: 25px; }
}
