@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800&family=Pacifico&display=swap');

:root {
  --rose:    #E8426A;
  --rose-lt: #FF7096;
  --rose-bg: #FFF0F4;
  --cream:   #FFF8FA;
  --text:    #2D1B25;
  --muted:   #9E7A87;
  --border:  #F0D6DF;
  --white:   #FFFFFF;
  --grad:    linear-gradient(135deg, #E8426A 0%, #FF7096 100%);
  --shadow:  0 2px 16px rgba(232,66,106,0.10);
  --radius:  16px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Nunito', sans-serif; background: var(--cream); color: var(--text); min-height: 100vh; }

/* ── HEADER ── */
.header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
  padding: 0 16px;
}
.header-inner {
  max-width: 680px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 56px;
}
.logo { font-family: 'Pacifico', cursive; color: var(--rose); font-size: 22px; text-decoration: none; }
.nav-icons { display: flex; gap: 4px; }
.nav-btn {
  position: relative; width: 40px; height: 40px;
  border-radius: 50%; border: none; background: transparent;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--muted); font-size: 20px;
  text-decoration: none; transition: background .2s;
}
.nav-btn:hover { background: var(--rose-bg); color: var(--rose); }
.badge {
  position: absolute; top: 4px; right: 4px;
  background: var(--rose); color: white;
  font-size: 10px; font-weight: 700;
  width: 16px; height: 16px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

/* ── LAYOUT ── */
.container { max-width: 680px; margin: 0 auto; padding: 16px; }

/* ── CARDS ── */
.card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-bottom: 12px;
  overflow: hidden;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 20px; border-radius: 50px;
  font-family: 'Nunito', sans-serif; font-weight: 700; font-size: 14px;
  cursor: pointer; border: none; transition: all .2s; text-decoration: none;
}
.btn-primary { background: var(--grad); color: white; }
.btn-primary:hover { opacity: .9; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(232,66,106,.3); }
.btn-outline { background: transparent; border: 2px solid var(--rose); color: var(--rose); }
.btn-outline:hover { background: var(--rose-bg); }
.btn-ghost { background: var(--rose-bg); color: var(--rose); }
.btn-ghost:hover { background: #ffdde6; }
.btn-block { width: 100%; }
.btn-sm { padding: 6px 14px; font-size: 13px; }

/* ── FORM ── */
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-weight: 700; font-size: 13px; margin-bottom: 6px; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; }
.form-control {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--border); border-radius: 12px;
  font-family: 'Nunito', sans-serif; font-size: 15px; color: var(--text);
  background: var(--cream); outline: none; transition: border .2s;
}
.form-control:focus { border-color: var(--rose); background: white; }
.form-control::placeholder { color: var(--muted); }
select.form-control { cursor: pointer; }

/* ── AVATAR ── */
.avatar { border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.avatar-sm  { width: 36px; height: 36px; }
.avatar-md  { width: 48px; height: 48px; }
.avatar-lg  { width: 80px; height: 80px; }
.avatar-xl  { width: 120px; height: 120px; border: 4px solid white; box-shadow: var(--shadow); }

/* ── POST CARD ── */
.post-header { display: flex; align-items: center; gap: 10px; padding: 14px 16px 10px; }
.post-meta { flex: 1; }
.post-name { font-weight: 800; font-size: 15px; color: var(--text); text-decoration: none; }
.post-name:hover { color: var(--rose); }
.post-info { font-size: 12px; color: var(--muted); margin-top: 1px; }
.post-time { font-size: 12px; color: var(--muted); }
.post-content { padding: 0 16px 12px; font-size: 15px; line-height: 1.6; }
.post-photo { width: 100%; max-height: 480px; object-fit: cover; display: block; }
.post-actions { display: flex; border-top: 1px solid var(--border); }
.post-action-btn {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 5px;
  padding: 10px; font-size: 13px; font-weight: 700; color: var(--muted);
  background: none; border: none; cursor: pointer; transition: all .2s;
}
.post-action-btn:hover { color: var(--rose); background: var(--rose-bg); }
.post-action-btn.active { color: var(--rose); }

/* ── COMPOSE BOX ── */
.compose {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px; background: white;
  border-radius: var(--radius); border: 1px solid var(--border); margin-bottom: 12px;
}
.compose-input {
  flex: 1; border: none; outline: none; font-family: 'Nunito', sans-serif;
  font-size: 15px; color: var(--text); background: var(--rose-bg);
  padding: 10px 16px; border-radius: 50px; cursor: pointer;
}
.compose-input::placeholder { color: var(--muted); }

/* ── PROFILE STRIP ── */
.profile-strip { display: flex; gap: 12px; overflow-x: auto; padding: 16px; scrollbar-width: none; }
.profile-strip::-webkit-scrollbar { display: none; }
.profile-chip { display: flex; flex-direction: column; align-items: center; gap: 6px; flex-shrink: 0; text-decoration: none; }
.profile-chip-ring { padding: 2px; border-radius: 50%; background: var(--grad); }
.profile-chip img { width: 58px; height: 58px; border-radius: 50%; border: 2.5px solid white; object-fit: cover; display: block; }
.profile-chip span { font-size: 12px; font-weight: 700; color: var(--text); max-width: 64px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ── PROFILE PAGE ── */
.profile-cover {
  height: 140px;
  background: var(--grad);
  position: relative;
}
.profile-cover-avatar { position: absolute; bottom: -48px; left: 20px; }
.profile-info-bar { padding: 56px 20px 16px; }
.profile-name { font-size: 22px; font-weight: 800; }
.profile-age-city { color: var(--muted); font-size: 14px; margin-top: 2px; }
.profile-bio { margin-top: 10px; font-size: 15px; line-height: 1.6; }
.profile-actions { display: flex; gap: 8px; margin-top: 14px; }

/* ── MESSAGES ── */
.conv-item { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--border); text-decoration: none; transition: background .15s; }
.conv-item:hover { background: var(--rose-bg); }
.conv-body { flex: 1; min-width: 0; }
.conv-name { font-weight: 700; font-size: 15px; color: var(--text); }
.conv-preview { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.conv-time { font-size: 11px; color: var(--muted); white-space: nowrap; }
.conv-unread .conv-name { color: var(--rose); }
.conv-unread .conv-preview { color: var(--text); font-weight: 700; }
.conv-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--rose); flex-shrink: 0; }

/* ── CHAT ── */
.chat-wrap { display: flex; flex-direction: column; height: calc(100vh - 56px); }
.chat-header { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--border); background: white; }
.chat-messages { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 8px; background: var(--rose-bg); }
.msg-bubble { max-width: 72%; padding: 10px 14px; border-radius: 18px; font-size: 15px; line-height: 1.5; }
.msg-in  { background: white; border-bottom-left-radius: 4px; align-self: flex-start; }
.msg-out { background: var(--grad); color: white; border-bottom-right-radius: 4px; align-self: flex-end; }
.msg-time { font-size: 11px; margin-top: 4px; opacity: .7; text-align: right; }
.chat-input-bar { display: flex; align-items: center; gap: 8px; padding: 10px 16px; background: white; border-top: 1px solid var(--border); }
.chat-input { flex: 1; border: 1.5px solid var(--border); border-radius: 50px; padding: 10px 16px; font-family: 'Nunito', sans-serif; font-size: 15px; outline: none; }
.chat-input:focus { border-color: var(--rose); }
.chat-send { width: 42px; height: 42px; border-radius: 50%; background: var(--grad); border: none; color: white; font-size: 18px; cursor: pointer; display: flex; align-items: center; justify-content: center; }

/* ── PACKAGES ── */
.pkg-card { border: 2px solid var(--border); border-radius: var(--radius); padding: 20px; text-align: center; transition: all .2s; }
.pkg-card:hover, .pkg-card.featured { border-color: var(--rose); background: var(--rose-bg); }
.pkg-card.featured { position: relative; }
.pkg-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--grad); color: white; font-size: 11px; font-weight: 800; padding: 3px 12px; border-radius: 50px; }
.pkg-icon { font-size: 36px; margin-bottom: 8px; }
.pkg-name { font-size: 18px; font-weight: 800; margin-bottom: 4px; }
.pkg-credits { font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.pkg-price { font-size: 28px; font-weight: 800; color: var(--rose); margin-bottom: 16px; }

/* ── ALERTS ── */
.alert { padding: 12px 16px; border-radius: 12px; font-size: 14px; font-weight: 600; margin-bottom: 16px; }
.alert-danger  { background: #ffe4e8; color: #c0392b; border: 1px solid #f5c6cb; }
.alert-success { background: #e4f9f0; color: #1a7a4a; border: 1px solid #b8e8d2; }
.alert-info    { background: var(--rose-bg); color: var(--rose); border: 1px solid var(--border); }

/* ── AUTH PAGES ── */
.auth-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; background: var(--rose-bg); }
.auth-box { background: white; border-radius: 24px; padding: 36px 28px; width: 100%; max-width: 420px; box-shadow: 0 8px 48px rgba(232,66,106,.12); }
.auth-logo { text-align: center; margin-bottom: 8px; font-family: 'Pacifico', cursive; color: var(--rose); font-size: 32px; }
.auth-subtitle { text-align: center; color: var(--muted); font-size: 14px; margin-bottom: 28px; }

/* ── TABS ── */
.tabs { display: flex; background: var(--rose-bg); border-radius: 12px; padding: 4px; margin-bottom: 16px; }
.tab-btn { flex: 1; padding: 9px; border: none; background: none; border-radius: 10px; font-family: 'Nunito', sans-serif; font-weight: 700; font-size: 14px; color: var(--muted); cursor: pointer; transition: all .2s; }
.tab-btn.active { background: white; color: var(--rose); box-shadow: 0 2px 8px rgba(0,0,0,.08); }

/* ── BOTTOM NAV ── */
.bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: white; border-top: 1px solid var(--border);
  display: flex; z-index: 100;
  padding-bottom: env(safe-area-inset-bottom);
}
.bnav-btn {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  padding: 8px 4px; text-decoration: none;
  color: var(--muted); font-size: 10px; font-weight: 700; gap: 3px;
  transition: color .2s; position: relative;
}
.bnav-btn .icon { font-size: 22px; }
.bnav-btn.active, .bnav-btn:hover { color: var(--rose); }
.bnav-badge { position: absolute; top: 6px; right: calc(50% - 14px); background: var(--rose); color: white; font-size: 9px; font-weight: 800; width: 15px; height: 15px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
body { padding-bottom: 70px; }

/* ── CREDIT INFO ── */
.credit-bar { display: flex; align-items: center; gap: 6px; background: var(--rose-bg); border: 1px solid var(--border); border-radius: 50px; padding: 6px 14px; font-size: 13px; font-weight: 700; color: var(--rose); }

/* ── EMPTY STATE ── */
.empty { text-align: center; padding: 48px 24px; color: var(--muted); }
.empty-icon { font-size: 48px; margin-bottom: 12px; }
.empty h3 { font-size: 18px; font-weight: 800; margin-bottom: 6px; color: var(--text); }

/* ── GRID ── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }

@media (max-width: 480px) {
  .grid-2 { grid-template-columns: 1fr; }
}

/* ── ONLINE GÖSTERGE ── */
.online-dot {
  display: inline-block;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #22c55e;
  border: 2px solid white;
  box-shadow: 0 0 0 2px rgba(34,197,94,.3);
  animation: pulse-green 2s infinite;
}
@keyframes pulse-green {
  0%,100% { box-shadow: 0 0 0 2px rgba(34,197,94,.3); }
  50%      { box-shadow: 0 0 0 5px rgba(34,197,94,.1); }
}

/* ── DROPDOWN MENU ── */
.dropdown { position: relative; }
.dropdown-menu {
  display: none;
  position: absolute;
  right: 0; top: 42px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,.12);
  min-width: 160px;
  z-index: 200;
  overflow: hidden;
}
.dropdown-menu.show { display: block; }
.dropdown-item {
  display: block;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  text-decoration: none;
  transition: background .15s;
}
.dropdown-item:hover { background: var(--rose-bg); }
.dropdown-item + .dropdown-item { border-top: 1px solid var(--border); }

/* ── ENGELLEME BANNER ── */
.blocked-banner {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  color: #dc2626;
  font-weight: 700;
  margin-bottom: 12px;
}
