/* ─────────────────────────────────────────────────────────────
   TANTRAYONI — elegant, feminine, calm
   Palette: blush cream, deep plum, rose gold
   ───────────────────────────────────────────────────────────── */
:root {
  --cream:    #faf4f1;
  --blush:    #f3e3e0;
  --rose:     #c98a8e;
  --rosedeep: #a96367;
  --plum:     #46303c;
  --plumsoft: #6d5260;
  --gold:     #c9a384;
  --white:    #ffffff;
  --shadow:   0 10px 35px rgba(70, 48, 60, .10);
  --radius:   18px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Jost', 'Segoe UI', sans-serif;
  background: var(--cream);
  color: var(--plum);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  line-height: 1.25;
  color: var(--plum);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.35rem; }

a { color: var(--rosedeep); text-decoration: none; transition: color .2s; }
a:hover { color: var(--plum); }

img { max-width: 100%; display: block; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 22px; }

/* ── Header ── */
.site-header {
  background: rgba(250, 244, 241, .92);
  backdrop-filter: blur(8px);
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid rgba(169, 99, 103, .12);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.7rem; font-weight: 700; letter-spacing: .5px;
  color: var(--plum);
}
.logo em { color: var(--rosedeep); font-style: normal; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { font-size: .95rem; letter-spacing: .4px; color: var(--plumsoft); }
.nav a:hover { color: var(--rosedeep); }
.nav .badge {
  background: var(--rosedeep); color: #fff; border-radius: 999px;
  font-size: .72rem; padding: 1px 7px; margin-left: 4px;
}

/* ── Buttons ── */
.btn {
  display: inline-block; cursor: pointer; border: none;
  font-family: 'Jost', sans-serif; font-size: 1rem; letter-spacing: .5px;
  padding: 13px 32px; border-radius: 999px; transition: all .25s;
}
.btn-primary {
  background: linear-gradient(135deg, var(--rosedeep), var(--rose));
  color: #fff; box-shadow: 0 6px 20px rgba(169, 99, 103, .35);
}
.btn-primary:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 10px 26px rgba(169, 99, 103, .45); }
.btn-ghost {
  background: transparent; color: var(--plum);
  border: 1.5px solid var(--rosedeep);
}
.btn-ghost:hover { background: var(--rosedeep); color: #fff; }
.btn-sm { padding: 8px 20px; font-size: .9rem; }

/* ── Hero ── */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(201, 138, 142, .25), transparent),
    radial-gradient(900px 420px at 5% 110%, rgba(201, 163, 132, .22), transparent),
    var(--blush);
  padding: 100px 0 110px;
  text-align: center;
}
.hero .lotus { width: 64px; margin: 0 auto 24px; opacity: .85; }
.hero p.lead {
  max-width: 640px; margin: 22px auto 36px;
  font-size: 1.15rem; color: var(--plumsoft);
}
.hero .cta-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── Sections ── */
.section { padding: 80px 0; }
.section.alt { background: var(--white); }
.section-title { text-align: center; margin-bottom: 12px; }
.section-sub {
  text-align: center; color: var(--plumsoft);
  max-width: 600px; margin: 0 auto 50px;
}

/* ── Feature cards ── */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 28px; }
.feature {
  background: var(--white); border-radius: var(--radius);
  padding: 38px 30px; text-align: center; box-shadow: var(--shadow);
}
.section.alt .feature { background: var(--cream); }
.feature .icon { font-size: 2rem; margin-bottom: 14px; }
.feature h3 { margin-bottom: 10px; }
.feature p { color: var(--plumsoft); font-size: .98rem; }

/* ── City grid ── */
.city-grid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}
.city-card {
  background: var(--white); border-radius: 14px;
  padding: 18px 20px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 2px;
  transition: transform .2s;
}
.city-card:hover { transform: translateY(-3px); }
.city-card .city-name { font-family: 'Cormorant Garamond', serif; font-size: 1.25rem; font-weight: 700; color: var(--plum); }
.city-card .city-country { font-size: .85rem; color: var(--plumsoft); }
.city-card .city-count { font-size: .8rem; color: var(--rosedeep); }

/* ── Member grid ── */
.member-grid {
  display: grid; gap: 24px;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}
.member-card {
  background: var(--white); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
  transition: transform .2s; text-align: center;
}
.member-card:hover { transform: translateY(-4px); }
.member-card .photo {
  aspect-ratio: 1/1; width: 100%; object-fit: cover;
  background: var(--blush);
}
.member-card .info { padding: 16px 14px 20px; }
.member-card .name { font-family: 'Cormorant Garamond', serif; font-size: 1.25rem; font-weight: 700; }
.member-card .meta { font-size: .85rem; color: var(--plumsoft); margin-bottom: 4px; }
.member-card .bio {
  font-size: .88rem; color: var(--plumsoft);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* ── Forms ── */
.form-card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 44px 40px;
  max-width: 480px; margin: 0 auto;
}
.form-card.wide { max-width: 640px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: .88rem; letter-spacing: .4px;
  color: var(--plumsoft); margin-bottom: 6px;
}
input[type=text], input[type=email], input[type=password], input[type=number],
select, textarea {
  width: 100%; padding: 13px 16px;
  border: 1.5px solid var(--blush); border-radius: 12px;
  background: var(--cream); font-family: 'Jost', sans-serif; font-size: 1rem;
  color: var(--plum); transition: border .2s;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--rose);
  background: #fff;
}
textarea { min-height: 130px; resize: vertical; }

.alert { border-radius: 12px; padding: 14px 18px; margin-bottom: 22px; font-size: .95rem; }
.alert-error   { background: #fdeaea; color: #93363c; border: 1px solid #f3c8cb; }
.alert-success { background: #ecf7ee; color: #2e6b3c; border: 1px solid #c8e8cf; }

/* ── Page head (city / profile pages) ── */
.page-head {
  background:
    radial-gradient(900px 400px at 85% -20%, rgba(201, 138, 142, .22), transparent),
    var(--blush);
  padding: 64px 0 56px; text-align: center;
}
.page-head p { max-width: 720px; margin: 16px auto 0; color: var(--plumsoft); }
.breadcrumbs { font-size: .85rem; color: var(--plumsoft); margin-bottom: 14px; }

/* ── Profile page ── */
.profile-wrap {
  display: grid; grid-template-columns: 300px 1fr; gap: 40px;
  align-items: start;
}
.profile-photo {
  width: 100%; aspect-ratio: 1/1; object-fit: cover;
  border-radius: var(--radius); box-shadow: var(--shadow); background: var(--blush);
}
@media (max-width: 720px) { .profile-wrap { grid-template-columns: 1fr; } }

/* ── Messages ── */
.thread-list { display: flex; flex-direction: column; gap: 10px; }
.thread-item {
  display: flex; align-items: center; gap: 16px;
  background: var(--white); padding: 14px 18px;
  border-radius: 14px; box-shadow: var(--shadow);
}
.thread-item img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.thread-item .preview { color: var(--plumsoft); font-size: .9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 420px; }
.thread-item.unread .preview { font-weight: 600; color: var(--plum); }

.chat-box { display: flex; flex-direction: column; gap: 10px; margin: 26px 0; }
.bubble {
  max-width: 75%; padding: 12px 18px; border-radius: 18px; font-size: .97rem;
}
.bubble.me   { align-self: flex-end; background: linear-gradient(135deg, var(--rosedeep), var(--rose)); color: #fff; border-bottom-right-radius: 4px; }
.bubble.them { align-self: flex-start; background: var(--white); box-shadow: var(--shadow); border-bottom-left-radius: 4px; }
.bubble time { display: block; font-size: .72rem; opacity: .7; margin-top: 4px; }

/* ── Footer ── */
.site-footer {
  background: var(--plum); color: #d9c6cf;
  padding: 56px 0 36px; margin-top: 80px;
  font-size: .92rem;
}
.site-footer a { color: #e9d6de; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 34px; }
.footer-grid h4 { color: #fff; margin-bottom: 12px; font-size: 1.1rem; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 7px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px; text-align: center; font-size: .82rem; color: #b89aa8; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; } }

/* ── Misc ── */
.text-center { text-align: center; }
.mt-2 { margin-top: 20px; } .mt-4 { margin-top: 40px; }
.muted { color: var(--plumsoft); }
.prose { max-width: 760px; margin: 0 auto; }
.prose p { margin-bottom: 18px; }
.prose h2 { margin: 36px 0 14px; }
.empty-note {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 44px 30px; text-align: center; color: var(--plumsoft);
}
