/* eşleşelim — ana stil dosyası (açık tema, gül kurusu aksan) */
:root {
  --bg: #faf7f8;
  --card: #ffffff;
  --ink: #221a20;
  --muted: #7d7480;
  --accent: #e0446a;
  --accent-dark: #c93559;
  --accent-soft: #fdeef2;
  --accent-soft2: #fce4ea;
  --ok: #1f9d55;
  --ok-soft: #e8f7ee;
  --warn: #b7791f;
  --border: #efe3e8;
  --shadow: 0 6px 24px rgba(80, 30, 50, .08);
  --shadow-lg: 0 14px 44px rgba(80, 30, 50, .14);
  --radius: 16px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  font-size: 15.5px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .5rem; }
h1 { font-size: 1.7rem; }
h2 { font-size: 1.3rem; }
h3 { font-size: 1.05rem; }
p { margin: 0 0 .8rem; }
[hidden] { display: none !important; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.center { text-align: center; }
.mt1 { margin-top: .5rem; } .mt2 { margin-top: 1rem; } .mt3 { margin-top: 1.6rem; }
.row { display: flex; gap: .6rem; align-items: center; }
.spread { display: flex; justify-content: space-between; align-items: center; gap: .6rem; }
.wrap { flex-wrap: wrap; }

/* ============ düzen ============ */
.container { max-width: 1120px; margin: 0 auto; padding: 0 18px; }
.page { padding: 22px 0 90px; }
.page-narrow { max-width: 680px; margin: 0 auto; }
.spacer-nav { height: 66px; }

/* ============ header ============ */
header.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.top-inner { max-width: 1120px; margin: 0 auto; padding: 0 18px; height: 62px; display: flex; align-items: center; gap: 18px; }
.logo { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 1.12rem; color: var(--ink); letter-spacing: -.3px; }
.logo:hover { text-decoration: none; }
.logo .logo-img { height: 42px; width: auto; display: block; }
nav.mainnav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
nav.mainnav a {
  color: var(--muted); font-weight: 600; font-size: .92rem;
  padding: 8px 12px; border-radius: 10px; position: relative;
}
nav.mainnav a:hover { background: var(--accent-soft); color: var(--accent-dark); text-decoration: none; }
nav.mainnav a.active { color: var(--accent-dark); background: var(--accent-soft); }
nav.mainnav a .badge {
  position: absolute; top: 2px; right: 2px; background: var(--accent); color: #fff;
  font-size: .66rem; font-weight: 700; min-width: 17px; height: 17px; border-radius: 9px;
  display: inline-flex; align-items: center; justify-content: center; padding: 0 4px;
}
nav.mainnav a.nav-cta { background: var(--accent); color: #fff; }
nav.mainnav a.nav-cta:hover { background: var(--accent-dark); color: #fff; }
.userchip { display: flex; align-items: center; gap: 8px; margin-left: 8px; font-weight: 600; font-size: .9rem; color: var(--ink); }
.avatar { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; background: var(--accent-soft2); border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.12); }
.avatar.sm { width: 26px; height: 26px; }
.avatar.lg { width: 74px; height: 74px; }
.premium-star { color: #f5a623; }

/* mobil alt menü */
.bottomnav { display: none; }

/* ============ butonlar ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  border: 1.5px solid var(--border); background: #fff; color: var(--ink);
  font: inherit; font-weight: 650; padding: 10px 18px; border-radius: 12px;
  cursor: pointer; transition: all .15s ease; text-decoration: none !important;
}
.btn:hover { border-color: #dcd0d6; box-shadow: var(--shadow); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn-outline { border-color: var(--accent); color: var(--accent-dark); background: #fff; }
.btn-outline:hover { background: var(--accent-soft); }
.btn-ghost { border-color: transparent; background: transparent; color: var(--muted); }
.btn-ghost:hover { background: var(--accent-soft); color: var(--accent-dark); box-shadow: none; }
.btn-danger { border-color: #f3c1cb; color: #c93559; background: #fff; }
.btn-danger:hover { background: #fdeef2; }
.btn-block { width: 100%; }
.btn-sm { padding: 6px 12px; font-size: .86rem; border-radius: 10px; }
.btn-lg { padding: 13px 26px; font-size: 1.02rem; border-radius: 14px; }
.btn:disabled { opacity: .55; cursor: not-allowed; }

/* ============ form ============ */
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 650; font-size: .9rem; margin-bottom: 5px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; padding: 10px 12px; border: 1.5px solid var(--border);
  border-radius: 11px; background: #fff; color: var(--ink); outline: none;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.form-grid .full { grid-column: 1 / -1; }
.hint { font-size: .8rem; color: var(--muted); margin-top: 4px; }
.check-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.check-grid label {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px;
  border: 1.5px solid var(--border); border-radius: 999px; font-size: .88rem; cursor: pointer; background: #fff;
}
.check-grid input { accent-color: var(--accent); }
.check-grid label:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-dark); font-weight: 650; }

/* ============ uyarılar ============ */
.alert { padding: 12px 15px; border-radius: 12px; margin-bottom: 14px; font-size: .93rem; }
.alert-error { background: #fdeef2; color: #a12546; border: 1px solid #f5c6d2; }
.alert-ok { background: var(--ok-soft); color: #14683a; border: 1px solid #bfe8cd; }
.alert-info { background: #eef4fe; color: #29527e; border: 1px solid #cbdcf7; }
.alert-warn { background: #fdf6e7; color: #8a6414; border: 1px solid #f2e2b8; }

/* ============ kart ızgarası ============ */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.pcard {
  background: var(--card); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow); transition: transform .15s ease;
  display: block; color: var(--ink);
}
.pcard:hover { transform: translateY(-3px); text-decoration: none; box-shadow: var(--shadow-lg); }
.pcard-imgwrap { position: relative; aspect-ratio: 4 / 5; background: var(--accent-soft2); }
.pcard-imgwrap img { width: 100%; height: 100%; object-fit: cover; }
.pcard-imgwrap .chip-pos { position: absolute; top: 8px; left: 8px; }
.pcard-imgwrap .chip-posr { position: absolute; top: 8px; right: 8px; }
.pcard-body { padding: 10px 12px 12px; }
.pcard-name { font-weight: 750; font-size: .98rem; }
.pcard-meta { color: var(--muted); font-size: .84rem; margin-top: 1px; }

/* ============ chip'ler ============ */
.chip {
  display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px;
  border-radius: 999px; font-size: .74rem; font-weight: 700; background: var(--accent-soft); color: var(--accent-dark);
}
.chip-ai { background: #f1ebff; color: #6d3ff2; }
.chip-online { background: var(--ok-soft); color: #157347; }
.chip-verified { background: #e8f1ff; color: #2262c6; }
.chip-premium { background: #fff6e0; color: #b07b12; }
.chip-super { background: #e9f4ff; color: #1d6fd1; }
.chip-gray { background: #f3f0f2; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); display: inline-block; }

/* ============ swipe destesi ============ */
.deckwrap { max-width: 430px; margin: 0 auto; position: relative; }
.deck { position: relative; height: min(560px, calc(100vh - 230px)); min-height: 400px; }
.swipecard {
  position: absolute; inset: 0; border-radius: 22px; overflow: hidden;
  background: var(--card); box-shadow: var(--shadow-lg); border: 1px solid var(--border);
  cursor: grab; user-select: none; touch-action: none;
  transition: transform .25s ease, opacity .25s ease;
}
.swipecard img.cardimg { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.swipecard .card-shade {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(20,8,14,.82) 0%, rgba(20,8,14,.25) 34%, rgba(20,8,14,0) 55%);
}
.swipecard .card-text { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 18px 16px; color: #fff; pointer-events: none; }
.swipecard .card-text .nm { font-size: 1.5rem; font-weight: 800; letter-spacing: -.4px; text-shadow: 0 2px 10px rgba(0,0,0,.35); }
.swipecard .card-text .sn { opacity: .92; font-size: .92rem; margin-top: 2px; }
.swipecard .card-text .bio { font-size: .88rem; opacity: .88; margin-top: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.swipecard .card-top { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; justify-content: space-between; pointer-events: none; }
.stamp {
  position: absolute; top: 26px; padding: 8px 16px; border: 4px solid; border-radius: 12px;
  font-size: 1.7rem; font-weight: 900; letter-spacing: 2px; opacity: 0; transition: opacity .12s;
  pointer-events: none; text-transform: uppercase;
}
.stamp-like { left: 20px; color: #1f9d55; border-color: #1f9d55; transform: rotate(-14deg); }
.stamp-nope { right: 20px; color: #d1344d; border-color: #d1344d; transform: rotate(14deg); }
.swipecard.super .stamp { color: #1d6fd1; border-color: #1d6fd1; }
.deck-actions { display: flex; justify-content: center; gap: 18px; margin-top: 22px; }
.deck-btn {
  width: 62px; height: 62px; border-radius: 50%; border: 2px solid var(--border); background: #fff;
  font-size: 1.5rem; cursor: pointer; box-shadow: var(--shadow); display: flex; align-items: center; justify-content: center;
  transition: transform .12s ease;
}
.deck-btn:hover { transform: scale(1.08); }
.deck-btn.pass { color: #d1344d; }
.deck-btn.like { color: var(--accent); }
.deck-btn.super { color: #1d6fd1; width: 52px; height: 52px; font-size: 1.2rem; align-self: center; }
.deck-empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.deck-progress { text-align: center; color: var(--muted); font-size: .84rem; margin-top: 14px; }

/* ============ profil sayfası ============ */
.profile-hero { display: grid; grid-template-columns: 380px 1fr; gap: 26px; align-items: start; }
.pgallery-main { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); background: var(--accent-soft2); }
.pgallery-main img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.pgallery-thumbs { display: flex; gap: 8px; margin-top: 10px; }
.pgallery-thumbs img { width: 72px; height: 88px; object-fit: cover; border-radius: 12px; cursor: pointer; border: 2px solid transparent; }
.pgallery-thumbs img.active { border-color: var(--accent); }
.info-grid { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; font-size: .95rem; margin: 14px 0; }
.info-grid dt { color: var(--muted); font-weight: 600; }
.info-grid dd { margin: 0; font-weight: 600; }
.profile-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.ai-notice { background: #f1ebff; border: 1px solid #ded1ff; color: #5b34c9; padding: 10px 14px; border-radius: 12px; font-size: .88rem; margin-top: 12px; }

/* ============ sohbet ============ */
.chatpage { display: flex; flex-direction: column; height: calc(100vh - 170px); max-width: 760px; margin: 0 auto; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 12px 6px; border-bottom: 1px solid var(--border); }
.chat-body { flex: 1; overflow-y: auto; padding: 16px 6px; display: flex; flex-direction: column; gap: 8px; }
.msg { max-width: 78%; padding: 9px 13px; border-radius: 16px; font-size: .95rem; box-shadow: 0 1px 3px rgba(0,0,0,.05); position: relative; }
.msg.other { background: #fff; border: 1px solid var(--border); align-self: flex-start; border-bottom-left-radius: 5px; }
.msg.me { background: var(--accent); color: #fff; align-self: flex-end; border-bottom-right-radius: 5px; }
.msg .t { font-size: .68rem; opacity: .6; margin-top: 3px; text-align: right; }
.typing { align-self: flex-start; background: #fff; border: 1px solid var(--border); border-radius: 16px; border-bottom-left-radius: 5px; padding: 11px 15px; display: inline-flex; gap: 4px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: #c9bcc3; animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; } .typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 60%, 100% { opacity: .3; } 30% { opacity: 1; } }
.chat-input { display: flex; gap: 9px; padding: 10px 6px; border-top: 1px solid var(--border); }
.chat-input input { flex: 1; font: inherit; padding: 11px 14px; border: 1.5px solid var(--border); border-radius: 999px; outline: none; }
.chat-input input:focus { border-color: var(--accent); }
.paywall-banner { background: linear-gradient(120deg, #fff0f4, #fdeef2); border: 1px solid #f5c9d5; border-radius: 14px; padding: 14px 16px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 8px 6px; }

/* eşleşme listesi */
.convo-list { display: flex; flex-direction: column; }
.convo { display: flex; align-items: center; gap: 13px; padding: 13px 14px; border-radius: 14px; color: var(--ink); }
.convo:hover { background: #fff; box-shadow: var(--shadow); text-decoration: none; }
.convo .cbody { flex: 1; min-width: 0; }
.convo .cname { font-weight: 700; }
.convo .clast { color: var(--muted); font-size: .88rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.convo .cright { text-align: right; font-size: .78rem; color: var(--muted); }
.convo .cright .badge { background: var(--accent); color: #fff; border-radius: 999px; padding: 2px 8px; font-weight: 700; }

/* ============ beğeniler ============ */
.blurred { filter: blur(14px); pointer-events: none; }
.lockbox { position: relative; }
.lockbox .lock-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 8px; background: rgba(250,247,248,.25); border-radius: var(--radius);
}

/* ============ premium ============ */
.price-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; align-items: start; }
.price-card { background: var(--card); border-radius: 22px; border: 1px solid var(--border); box-shadow: var(--shadow-lg); padding: 28px; }
.price-tag { font-size: 2.6rem; font-weight: 850; letter-spacing: -1px; color: var(--ink); }
.price-tag small { font-size: 1rem; color: var(--muted); font-weight: 600; }
.price-features { list-style: none; padding: 0; margin: 18px 0; }
.price-features li { padding: 8px 0; display: flex; gap: 10px; align-items: flex-start; border-bottom: 1px dashed var(--border); }
.price-features li:last-child { border-bottom: none; }
.price-features .ck { color: var(--ok); font-weight: 800; }

/* ============ admin ============ */
.admin-nav { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 18px; }
.admin-nav a { padding: 8px 14px; border-radius: 10px; font-weight: 650; color: var(--muted); background: #fff; border: 1px solid var(--border); }
.admin-nav a.active { background: var(--accent); color: #fff; border-color: var(--accent); }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 20px; }
.stat-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 16px; box-shadow: var(--shadow); }
.stat-card .num { font-size: 1.7rem; font-weight: 850; }
.stat-card .lbl { color: var(--muted); font-size: .84rem; }
table.table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.table th, .table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); font-size: .9rem; }
.table th { background: #faf6f8; font-size: .8rem; text-transform: uppercase; letter-spacing: .4px; color: var(--muted); }

/* ============ modal & toast ============ */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(30,10,20,.45); z-index: 100;
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.modal { background: #fff; border-radius: 22px; padding: 26px; max-width: 420px; width: 100%; box-shadow: var(--shadow-lg); text-align: center; }
.modal h3 { font-size: 1.3rem; }
.toast {
  position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%);
  background: #241a20; color: #fff; padding: 11px 20px; border-radius: 999px; z-index: 120;
  font-size: .92rem; box-shadow: var(--shadow-lg); opacity: 0; transition: opacity .25s;
}
.toast.show { opacity: 1; }

/* ============ landing ============ */
.hero { padding: 60px 0 40px; text-align: center; background:
  radial-gradient(60% 90% at 50% 0%, #ffe9f0 0%, rgba(255,233,240,0) 70%); }
.hero h1 { font-size: 2.6rem; letter-spacing: -1.2px; max-width: 720px; margin: 0 auto 14px; }
.hero h1 b { color: var(--accent); }
.hero-sub { color: var(--muted); font-size: 1.12rem; max-width: 560px; margin: 0 auto 26px; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 30px; justify-content: center; margin-top: 34px; color: var(--muted); }
.hero-stats b { display: block; font-size: 1.5rem; color: var(--ink); }
.feature-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 46px 0; }
.feature { background: #fff; border-radius: 18px; padding: 22px; border: 1px solid var(--border); box-shadow: var(--shadow); }
.feature .fi { font-size: 1.7rem; margin-bottom: 8px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 12px; }
.step { text-align: center; padding: 10px; }
.step .sn { width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 10px; }
footer.site { border-top: 1px solid var(--border); margin-top: 60px; padding: 26px 0 40px; color: var(--muted); font-size: .88rem; }
footer.site .container { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }

/* ============ duyarlı ============ */
@media (max-width: 860px) {
  .profile-hero { grid-template-columns: 1fr; }
  .pgallery-main img { max-height: 62vh; }
  .price-grid { grid-template-columns: 1fr; }
  .feature-row, .steps { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2rem; }
}
@media (max-width: 720px) {
  nav.mainnav { display: none; }
  .userchip .uname { display: none; }
  .bottomnav {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
    background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-top: 1px solid var(--border);
    justify-content: space-around; padding: 7px 4px calc(7px + env(safe-area-inset-bottom));
  }
  .bottomnav a { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: .68rem; font-weight: 650; color: var(--muted); position: relative; padding: 4px 10px; border-radius: 10px; }
  .bottomnav a.active { color: var(--accent-dark); }
  .bottomnav a .ic { font-size: 1.25rem; line-height: 1; }
  .bottomnav a .badge { position: absolute; top: 0; right: 2px; background: var(--accent); color: #fff; font-size: .6rem; min-width: 15px; height: 15px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; padding: 0 3px; }
  .page { padding-bottom: 110px; }
  .deck { height: 63vh; max-height: 560px; }
  .form-grid { grid-template-columns: 1fr; }
}
