
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

:root {
  --p:  #f97316;
  --p2: #ea580c;
  --p3: #fff7ed;
  --pl: #ffedd5;
  --pb: #fed7aa;

  --bg:     #f4f6f9;
  --white:  #ffffff;
  --text:   #1a1a2e;
  --text2:  #4a5568;
  --text3:  #9aa5b4;
  --border: #e8ecf0;
  --border2:#d1d9e0;

  --r:  12px;
  --r2: 99px;
  --shadow:    0 1px 3px rgba(0,0,0,.06), 0 1px 8px rgba(0,0,0,.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.14);
  --transition: all .18s ease;
  --font: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-display: 'Plus Jakarta Sans', 'Inter', -apple-system, system-ui, sans-serif;
}

/* ── DARK MODE ───────────────────────────────────────── */
[data-theme="dark"] {
  color-scheme: dark;
  --bg:      #111318;
  --white:   #1e2130;
  --text:    #e2e8f0;
  --text2:   #94a3b8;
  --text3:   #64748b;
  --border:  #2d3348;
  --border2: #3d4460;
  --shadow:    0 1px 3px rgba(0,0,0,.4), 0 1px 8px rgba(0,0,0,.3);
  --shadow-md: 0 4px 16px rgba(0,0,0,.5);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.7);
  --p3: #2a1810;
  --pl: #2a1810;
  --pb: #7c3012;
}

[data-theme="dark"] .hero-card {
  background: linear-gradient(150deg, #1e2130 0%, #22202e 55%, #1e2130 100%);
  border-color: var(--border);
}
[data-theme="dark"] .hc-stats { background: rgba(255,255,255,.03); border-color: var(--border); }
[data-theme="dark"] .hc-orb { background: radial-gradient(circle, rgba(249,115,22,.12) 0%, transparent 70%); }

[data-theme="dark"] .post-right-head { background: #181b24; }
[data-theme="dark"] .post-body tr:nth-child(even) td { background: #181b24; }
[data-theme="dark"] .post-body code { color: #fb923c; }

[data-theme="dark"] .hs-btn-outline { background: var(--white); border-color: var(--border2); color: var(--text2); }
[data-theme="dark"] .sk-filtre { background: var(--white); }
[data-theme="dark"] .sk-filtre.active { background: var(--text); color: var(--bg); border-color: var(--text); }
[data-theme="dark"] .sk-kart, [data-theme="dark"] .sk-stat-kart { background: var(--white); }

[data-theme="dark"] .hpet-1 { background: linear-gradient(135deg, #2d2a1a, #3d3510); }
[data-theme="dark"] .hpet-2 { background: linear-gradient(135deg, #2a1f28, #3d2535); }
[data-theme="dark"] .hpet-3 { background: linear-gradient(135deg, #152130, #1a3045); }

[data-theme="dark"] input, [data-theme="dark"] textarea, [data-theme="dark"] select {
  background: var(--white);
  color: var(--text);
  border-color: var(--border2);
}
[data-theme="dark"] input::placeholder, [data-theme="dark"] textarea::placeholder { color: var(--text3); }

[data-theme="dark"] .kat-thread { background: var(--white); }
[data-theme="dark"] .kat-thread:hover { background: var(--bg); }
[data-theme="dark"] .kat-thread-list { background: var(--white); border-color: var(--border); }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.5;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: var(--font); }
input, textarea, select { font-family: var(--font); }
a { text-decoration: none; color: inherit; }

/* ── NAVBAR ────────────────────────────────────── */
.nav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
}

.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  height: 56px;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  box-sizing: border-box;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  min-width: 0;
  margin-right: 8px;
  text-decoration: none;
}

.nav-center {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  justify-content: center;
}

.nav-right {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-left: 8px;
}

.logo-icon { width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; }

.logo-text {
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.4px;
  white-space: nowrap;
}

.logo-text em { font-style: normal; color: var(--p); }



.nav-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  cursor: text;
  transition: width .2s ease, border-color .18s, box-shadow .18s;
  width: 260px;
  max-width: 100%;
  position: relative;
}

.nav-search:focus-within { border-color: var(--p); background: var(--white); box-shadow: 0 0 0 3px rgba(249,115,22,.1); }
.nav-search svg { color: var(--text3); flex-shrink: 0; width: 14px; height: 14px; }
.nav-search input { border: none; outline: none; background: transparent; font-size: 13px; color: var(--text); width: 100%; }
.nav-search input::placeholder { color: var(--text3); }

/* ── SEARCH DROPDOWN ──────────────────────────────── */
.search-drop {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  max-width: 96vw;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,.13);
  z-index: 500;
  overflow: hidden;
  max-height: 440px;
  overflow-y: auto;
}
.search-drop.open { display: block; }

.sd-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  cursor: pointer;
  border-bottom: 1px solid var(--border);
  transition: background .1s;
}
.sd-item:last-child { border-bottom: none; }
.sd-item:hover { background: var(--bg); }

.sd-item-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--pl);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 17px;
}

.sd-item-info { flex: 1; min-width: 0; }

.sd-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}
.sd-title mark {
  background: #ffedd5;
  color: var(--p2);
  border-radius: 3px;
  padding: 0 2px;
  font-style: normal;
}

.sd-meta {
  font-size: 11.5px;
  color: var(--text3);
  margin-top: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sd-yanit {
  font-size: 11.5px;
  color: var(--text3);
  flex-shrink: 0;
  white-space: nowrap;
  text-align: right;
}

.sd-empty, .sd-loading {
  padding: 22px 16px;
  text-align: center;
  color: var(--text3);
  font-size: 13px;
}
.sd-loading::before { content: '🔍 '; }
.sd-empty::before   { content: '😕 '; }

.nav-icon-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text2);
  transition: var(--transition);
  cursor: pointer;
  flex-shrink: 0;
}

.nav-icon-btn:hover { border-color: var(--p); color: var(--p); }

.nav-user-info {
  display: flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  padding: 4px 4px;
  border-radius: var(--r2);
  transition: var(--transition);
}

.nav-user-info:hover { background: var(--bg); }

.nav-av {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--pl);
  border: 2px solid var(--pb);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--p);
  flex-shrink: 0;
  overflow: hidden;
}

.nav-username {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.nav-btn {
  padding: 7px 15px;
  border-radius: var(--r2);
  border: 1px solid var(--border2);
  background: var(--white);
  font-size: 13px;
  font-weight: 500;
  color: var(--text2);
  transition: var(--transition);
}

.nav-btn:hover { border-color: var(--p); color: var(--p); }

.nav-btn-primary {
  background: var(--p);
  color: #fff !important;
  border-color: var(--p);
  box-shadow: 0 1px 4px rgba(249,115,22,.3);
}

.nav-btn-primary:hover { background: var(--p2); border-color: var(--p2); }

/* ── LAYOUT ─────────────────────────────────────── */
.layout {
  max-width: 1160px;
  margin: 0 auto;
  padding: 24px 20px 60px;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 20px;
  min-width: 0;
  box-sizing: border-box;
  width: 100%;
}

/* Grid çocuklarının minimum genişliği 0 olmalı, yoksa taşar */
.main    { min-width: 0; }
.sidebar { min-width: 0; display: flex; flex-direction: column; gap: 14px; }

/* ── FOOTER ──────────────────────────────────────── */
.site-footer {
  margin-top: 60px;
  border-top: 1px solid var(--border);
  background: var(--white);
}

.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 40px 20px 32px;
  display: flex;
  gap: 48px;
  align-items: flex-start;
}

.footer-brand { flex: 1; min-width: 0; }

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}
.footer-logo em { font-style: normal; color: var(--p); }

.footer-desc {
  font-size: 13px;
  color: var(--text3);
  line-height: 1.6;
  max-width: 240px;
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 48px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 100px;
}

#footer-hesap-col { display: none; } /* JS açana kadar gizli */
#fab-btn { display: none; } /* Giriş yapmadan gizli */
#mob-yeni-konu { display: none; } /* Giriş yapmadan gizli */

.footer-col-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 2px;
}

.footer-col a {
  font-size: 13px;
  color: var(--text3);
  text-decoration: none;
  transition: color .15s;
}
.footer-col a:hover { color: var(--p); }

.footer-bottom {
  max-width: 1160px;
  margin: 0 auto;
  padding: 16px 20px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text3);
}

@media (max-width: 600px) {
  .footer-inner  { flex-direction: column; gap: 28px; }
  .footer-links  { gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 4px; text-align: center; }
}

/* ── HERO BAR ────────────────────────────────────── */
.hero-bar {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.hero-left { min-width: 0; }

.hero-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 7px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  color: var(--text3);
  flex-wrap: wrap;
}

.hero-stats b {
  color: var(--p);
  font-weight: 700;
}

.hstat-dot { color: var(--border); font-size: 14px; }

.hero-btn {
  background: var(--p);
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background .15s, transform .1s;
}
.hero-btn:hover { background: var(--p2); }
.hero-btn:active { transform: scale(.97); }

/* ── SECTION HEADERS ────────────────────────────── */
.sec-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.sec-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 7px;
}

.sec-more {
  font-size: 12px;
  font-weight: 600;
  color: var(--p);
  background: var(--p3);
  padding: 5px 13px;
  border-radius: var(--r2);
  border: 1px solid var(--pl);
  transition: var(--transition);
}

.sec-more:hover { background: var(--pl); }

/* ── FEATURED PETS SLIDER ───────────────────────── */
.slider-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 20px;
  margin-bottom: 16px;
  overflow: hidden;
  min-width: 0;
}

.slider-track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 2px;
  margin-top: 14px;
}

.slider-track::-webkit-scrollbar { display: none; }

.pet-card {
  flex-shrink: 0;
  width: 156px;
  scroll-snap-align: start;
  cursor: pointer;
}

.pet-card-img {
  width: 156px;
  height: 126px;
  border-radius: 12px;
  object-fit: cover;
  background: var(--bg);
  margin-bottom: 8px;
  transition: transform .2s ease;
  overflow: hidden;
}

.pet-card:hover .pet-card-img { transform: scale(1.03); }

.pet-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 5px;
}

.pet-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pet-badge {
  font-size: 10.5px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--r2);
}

.pet-badge-kopek   { background: #fff7ed; color: #c2410c; }
.pet-badge-kedi    { background: #f5f3ff; color: #6d28d9; }
.pet-badge-kus     { background: #e0f2fe; color: #0369a1; }
.pet-badge-tavsan  { background: #fce7f3; color: #9d174d; }
.pet-badge-default { background: var(--bg); color: var(--text2); }

.pet-likes {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 11.5px;
  color: var(--text3);
  font-weight: 500;
}

/* ── CATEGORY QUICK ICONS ───────────────────────── */
.cat-icons {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 2px 0 6px;
  margin-bottom: 18px;
}

.cat-icons::-webkit-scrollbar { display: none; }

.cat-icon-item {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 11px 15px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  transition: var(--transition);
  min-width: 70px;
}

.cat-icon-item:hover { border-color: var(--p); background: var(--p3); transform: translateY(-1px); }
.cat-icon-item.active { border-color: var(--p); background: var(--p3); }

.cat-icon-emoji { font-size: 22px; line-height: 1; }
.cat-icon-label { font-size: 11.5px; font-weight: 600; color: var(--text2); white-space: nowrap; }
.cat-icon-item:hover .cat-icon-label,
.cat-icon-item.active .cat-icon-label { color: var(--p); }

/* ── FORUM CATEGORIES LIST ──────────────────────── */
.forum-cats {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.forum-grup {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.forum-grup-baslik {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}

.forum-grup[data-tip="hayvan"] .forum-grup-baslik {
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
}
.forum-grup[data-tip="topluluk"] .forum-grup-baslik {
  background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
}

.fgb-ikon-wrap {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.forum-grup[data-tip="hayvan"]   .fgb-ikon-wrap { background: #fed7aa; }
.forum-grup[data-tip="topluluk"] .fgb-ikon-wrap { background: #ddd6fe; }

.fgb-text { flex: 1; }
.fgb-ad {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -.01em;
}
.forum-grup[data-tip="hayvan"]   .fgb-ad { color: #c2410c; }
.forum-grup[data-tip="topluluk"] .fgb-ad { color: #6d28d9; }

.fgb-alt {
  font-size: 12px;
  margin-top: 2px;
}
.forum-grup[data-tip="hayvan"]   .fgb-alt { color: #ea580c99; }
.forum-grup[data-tip="topluluk"] .fgb-alt { color: #7c3aed99; }

.forum-cats-inner { background: var(--white); }

.forum-cat-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background .12s;
}

.forum-cat-row:last-of-type { border-bottom: none; }
.forum-cat-row:hover { background: #fafbfc; }

.forum-cat-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.forum-cat-info { flex: 1; min-width: 0; }

.forum-cat-name {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}

.forum-cat-desc {
  font-size: 12px;
  color: var(--text3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.forum-cat-stats {
  display: flex;
  gap: 20px;
  flex-shrink: 0;
  width: 130px;
  justify-content: center;
}

.forum-cat-stat { text-align: center; width: 54px; }


.fcs-num {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

.fcs-lbl {
  font-size: 10px;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 500;
}

.forum-cat-latest {
  flex-shrink: 0;
  width: 210px;
  min-width: 210px;
  padding-left: 16px;
  border-left: 1px solid var(--border);
}

.fcl-user {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 3px;
}

.fcl-av {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  font-size: 7px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.fcl-name { font-size: 11px; font-weight: 600; color: var(--text2); }
.fcl-time { font-size: 10px; color: var(--text3); }

.fcl-title {
  font-size: 12px;
  color: var(--text2);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.see-more-row {
  text-align: center;
  padding: 13px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
  color: var(--p);
  cursor: pointer;
  transition: background .12s;
}

.see-more-row:hover { background: var(--p3); }

/* ── AKTİVİTE TABS ───────────────────────────────── */
/* ── SON AKTİVİTELER KARTI ──────────────────────── */
.sa-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}

.sa-head-kf {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--border);
}

.sa-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  flex-shrink: 0;
}

.sa-pulse-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--p3);
  color: var(--p);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sa-kf-inner {
  width: 100%;
  min-width: 0;
  overflow: hidden;
}

.sa-kf-inner .kat-filtre {
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  margin-bottom: 0;
  gap: 6px;
  justify-content: flex-start;
}

.sa-kf-inner .kat-filtre::-webkit-scrollbar { display: none; }

.sa-kf-inner .kf-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.sa-kf-inner .kf-extra { display: none; }

.sa-kf-wrap .kat-filtre {
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  margin-bottom: 0;
  gap: 6px;
}

.sa-kf-wrap .kat-filtre::-webkit-scrollbar { display: none; }

.sa-kf-wrap .kf-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.sa-kf-wrap .kf-extra { display: none; }

.aktivite-tabs {
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid var(--border);
  padding: 0 16px;
  gap: 6px;
}

.akt-tab {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 13px 10px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text3);
  border-bottom: 2.5px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
  transition: color .15s, border-color .15s;
  user-select: none;
  white-space: nowrap;
}

.tab-icon { transition: color .15s; flex-shrink: 0; }

.akt-tab.active { color: var(--p); border-bottom-color: var(--p); font-weight: 600; }
.akt-tab.active .tab-icon { color: var(--p); }
.akt-tab:hover:not(.active) { color: var(--text2); }
.akt-tab:hover:not(.active) .tab-icon { color: var(--text2); }

/* ── KATEGORİ FİLTRE CHİPS ──────────────────────── */
.kat-filtre {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.kf-chip {
  padding: 7px 15px;
  border-radius: 20px;
  background: var(--white);
  border: 1.5px solid var(--border);
  font-size: 13px;
  font-weight: 500;
  color: var(--text2);
  cursor: pointer;
  transition: all .15s;
  user-select: none;
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.kf-chip:hover { border-color: var(--p); color: var(--p); }
.kf-chip.active { background: var(--p); border-color: var(--p); color: #fff; font-weight: 600; box-shadow: 0 2px 8px rgba(249,115,22,.25); }
.kf-extra { display: none; }

.kf-daha-btn {
  padding: 6px 13px;
  border-radius: 20px;
  border: 1.5px solid var(--pl);
  background: var(--p3);
  font-size: 12px;
  font-weight: 600;
  color: var(--p);
  cursor: pointer;
  font-family: var(--font);
  white-space: nowrap;
  transition: all .15s;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.kf-daha-btn:hover { border-color: var(--p); background: var(--pl); }

/* ── SIDEBAR MİNİ TABS ───────────────────────────── */
.card-mini-tabs {
  display: flex;
  gap: 14px;
}

.cmt {
  font-size: 13px;
  font-weight: 500;
  color: var(--text3);
  cursor: pointer;
  transition: color .15s;
  user-select: none;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
}
.cmt.active { color: var(--p); font-weight: 600; border-bottom-color: var(--p); }
.cmt:hover:not(.active) { color: var(--text2); }

.akt-daha {
  text-align: center;
  padding: 13px;
  font-size: 13px;
  font-weight: 600;
  color: var(--p);
  cursor: pointer;
  border-top: 1px solid var(--border);
  background: var(--white);
  transition: background .12s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.akt-daha:hover { background: var(--bg); }

.akk-row {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background .12s;
}
.akk-row:last-child { border-bottom: none; }
.akk-row:hover { background: var(--bg); }

.akk-av {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.akk-body { flex: 1; min-width: 0; }

.akk-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 5px;
}

.akk-meta {
  font-size: 12px;
  color: var(--text3);
  display: flex;
  align-items: center;
  gap: 5px;
  overflow: hidden;
}

.akk-sep { color: var(--border2); flex-shrink: 0; }

.akk-meta-author,
.akk-meta-time {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.akk-cat-tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 9px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}

.akk-yeni-badge {
  padding: 1px 8px;
  border-radius: 20px;
  font-size: 10.5px;
  font-weight: 700;
  background: #dcfce7;
  color: #16a34a;
  white-space: nowrap;
  flex-shrink: 0;
}

.akk-reply-pill {
  display: flex;
  align-items: center;
  gap: 5px;
  background: var(--p3);
  color: var(--p);
  border-radius: 20px;
  padding: 5px 11px;
  font-size: 12px;
  font-weight: 600;
  flex-shrink: 0;
  white-space: nowrap;
}

.akk-reply-lbl {
  font-size: 11px;
  font-weight: 500;
  color: var(--p);
  opacity: 0.7;
}

/* ── THREADS (konu sayfası için) ────────────────── */
.threads {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
}

.thread {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 15px 20px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background .12s;
  position: relative;
}

.thread::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--p);
  transform: scaleY(0);
  transition: transform .2s ease;
  border-radius: 0 2px 2px 0;
}

.thread:last-child { border-bottom: none; }
.thread:hover { background: #fafcff; }
.thread:hover::before { transform: scaleY(1); }
.thread:hover .th-title { color: var(--p); }

.th-av {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.th-body { flex: 1; min-width: 0; }

.th-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
  line-height: 1.4;
  transition: color .15s;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.th-preview {
  font-size: 13px;
  color: var(--text3);
  line-height: 1.5;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.th-meta {
  font-size: 12px;
  color: var(--text3);
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}

.th-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--border2);
  flex-shrink: 0;
}

.th-cat {
  background: var(--p3);
  color: var(--p2);
  padding: 2px 8px;
  border-radius: var(--r2);
  font-size: 11px;
  font-weight: 600;
}

.th-right {
  text-align: center;
  flex-shrink: 0;
  min-width: 52px;
  padding-top: 4px;
}

.th-num {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  margin-bottom: 3px;
  font-variant-numeric: tabular-nums;
}

.th-lbl {
  font-size: 10px;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 500;
}

.thread-loading {
  padding: 32px;
  text-align: center;
  color: var(--text3);
  font-size: 13px;
}

/* ── SIDEBAR ─────────────────────────────────────── */

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.card-head {
  padding: 13px 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.ch-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  font-size: 14px;
  flex-shrink: 0;
  border: 1px solid rgba(0,0,0,.06);
}

.card-more {
  font-size: 12px;
  font-weight: 600;
  color: var(--p);
  transition: var(--transition);
}

.card-more:hover { text-decoration: underline; }

/* En Aktif Üyeler */
.member-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background .12s;
}

.member-item:last-child { border-bottom: none; }
.member-item:hover { background: var(--bg); }

.member-av {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

.member-info { flex: 1; min-width: 0; }

.member-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 5px;
}

.member-badge {
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: var(--r2);
  background: #e0f2fe;
  color: #0369a1;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.member-count {
  font-size: 12.5px;
  color: var(--text3);
  font-weight: 500;
  flex-shrink: 0;
}

/* Rozetler */
.badges-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 14px 14px;
}

.badge-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.badge-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  background: var(--bg);
  transition: transform .2s;
}

.badge-item:hover .badge-icon { transform: scale(1.1) rotate(-5deg); }
.badge-name { font-size: 10px; color: var(--text3); font-weight: 500; text-align: center; line-height: 1.3; }

/* Günün Dostu */
.pet-of-day { padding: 13px 15px; }

.pod-img {
  width: 100%;
  height: 136px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 10px;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
}

.pod-quote {
  font-size: 12px;
  color: var(--text2);
  margin-bottom: 8px;
  line-height: 1.5;
}

.pod-info {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.pod-name { font-size: 14px; font-weight: 700; color: var(--text); }

.pod-btn {
  width: 100%;
  padding: 9px;
  border-radius: var(--r2);
  background: transparent;
  border: 1.5px solid var(--p);
  color: var(--p);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
}

.pod-btn:hover { background: var(--p3); }

/* Trend Konular */
.trend-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background .12s;
}

.trend-item:last-child { border-bottom: none; }
.trend-item:hover { background: var(--bg); }

.trend-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--p3);
  color: var(--p2);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.trend-img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.trend-content { flex: 1; min-width: 0; }

.trend-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 3px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.trend-cat { font-size: 11.5px; color: var(--text3); font-weight: 500; }

.trend-yanit {
  font-size: 12px;
  font-weight: 600;
  color: var(--text3);
  flex-shrink: 0;
  text-align: right;
  white-space: nowrap;
}

/* AI Section */
.ai-card {
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.ai-img {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}

.ai-text { flex: 1; }
.ai-title { font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.ai-sub { font-size: 11px; color: var(--text3); line-height: 1.4; margin-bottom: 8px; }

.ai-btn {
  padding: 7px 16px;
  background: var(--p);
  color: #fff;
  border: none;
  border-radius: var(--r2);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.ai-btn:hover { background: var(--p2); }

/* ── BUTTONS ─────────────────────────────────────── */
.btn {
  padding: 10px 22px;
  border-radius: var(--r2);
  font-size: 13px;
  font-weight: 600;
  transition: var(--transition);
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-family: var(--font);
}

.btn-primary {
  background: var(--p);
  color: #fff;
  border-color: var(--p);
  box-shadow: 0 2px 8px rgba(249,115,22,.3);
}

.btn-primary:hover { background: var(--p2); border-color: var(--p2); transform: translateY(-1px); }

.btn-outline {
  background: var(--white);
  border-color: var(--border2);
  color: var(--text2);
}

.btn-outline:hover { border-color: var(--p); color: var(--p); }

.btn-ghost {
  background: transparent;
  border-color: transparent;
  color: var(--text2);
}

.btn-ghost:hover { background: var(--bg); color: var(--text); }

.btn-sm  { padding: 6px 14px;  font-size: 12px; }
.btn-lg  { padding: 12px 28px; font-size: 14px; }

/* ── PILLS ───────────────────────────────────────── */
.pill { display: inline-block; padding: 2px 8px; border-radius: var(--r2); font-size: 10px; font-weight: 600; }
.pill-hot { background: #fff7ed; color: #c2410c; }
.pill-new { background: var(--p3); color: var(--p); }

/* ── MODAL ───────────────────────────────────────── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(4px);
}

.modal-overlay.open { display: flex; }

.modal {
  background: var(--white);
  border-radius: 20px;
  width: 100%;
  max-width: 520px;
  box-shadow: var(--shadow-lg);
  animation: modalIn .2s cubic-bezier(.16,1,.3,1);
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(20px) scale(.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-head {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title { font-size: 17px; font-weight: 700; color: var(--text); }

.modal-close {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: var(--bg);
  color: var(--text2);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.modal-close:hover { background: var(--border); color: var(--text); }

.modal-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.field-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text2);
  margin-bottom: 6px;
  display: block;
}

.field-input {
  width: 100%;
  padding: 11px 15px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  color: var(--text);
  font-size: 14px;
  outline: none;
  transition: var(--transition);
}

.field-input:focus { border-color: var(--p); box-shadow: 0 0 0 3px rgba(249,115,22,.1); }

.field-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%2394a3b8' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.field-ta { min-height: 140px; resize: vertical; line-height: 1.65; }

.modal-foot {
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

/* ── TOAST ───────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: var(--text);
  color: #fff;
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 500;
  z-index: 300;
  opacity: 0;
  transform: translateY(12px);
  transition: all .28s cubic-bezier(.16,1,.3,1);
  pointer-events: none;
  max-width: 300px;
  box-shadow: var(--shadow-md);
}

.toast.show { opacity: 1; transform: translateY(0); }

/* ── FAB ─────────────────────────────────────────── */
.fab {
  display: none;
  position: fixed;
  bottom: 76px;
  right: 20px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--p);
  border: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(249,115,22,.45);
  z-index: 99;
  transition: var(--transition);
}

.fab:hover { background: var(--p2); transform: scale(1.08); }
.fab svg { color: #fff; }

/* ── MOBILE NAV ──────────────────────────────────── */
.mob-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  z-index: 100;
}

.mob-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 10px 0 14px;
  cursor: pointer;
  border-top: 2px solid transparent;
  color: var(--text3);
  transition: var(--transition);
}

.mob-item.active { color: var(--p); border-top-color: var(--p); }
.mob-item svg { width: 20px; height: 20px; }
.mob-item span { font-size: 10px; font-weight: 600; letter-spacing: .02em; }

.mob-item-kayit { color: var(--p); }

/* ── BİLDİRİM PANELİ ─────────────────────────────── */
.bildirim-panel {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 320px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(0,0,0,.12);
  z-index: 999;
  overflow: hidden;
}
.bildirim-panel.open { display: block; }

.bld-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}
.bld-oku-btn {
  background: none;
  border: none;
  font-size: 11px;
  color: var(--p);
  cursor: pointer;
  font-family: var(--font);
}
.bld-oku-btn:hover { text-decoration: underline; }

.bld-liste { max-height: 340px; overflow-y: auto; }

.bld-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background .12s;
}
.bld-item:last-child { border-bottom: none; }
.bld-item:hover { background: var(--bg); }
.bld-item.okunmamis { background: var(--p3); }
.bld-item.okunmamis:hover { background: #fde8d4; }

.bld-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: transparent;
  flex-shrink: 0;
  margin-top: 5px;
}
.bld-item.okunmamis .bld-dot { background: var(--p); }

.bld-icerik { flex: 1; min-width: 0; }
.bld-mesaj  { font-size: 13px; color: var(--text); line-height: 1.45; }
.bld-zaman  { font-size: 11px; color: var(--text3); margin-top: 3px; }

.bld-loading, .bld-bos {
  padding: 24px;
  text-align: center;
  font-size: 13px;
  color: var(--text3);
}

/* ── RESPONSIVE ──────────────────────────────────── */

/* Dar laptop/tablet: forum latest gizle, sidebar kapat */
@media (max-width: 960px) {
  .layout { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .forum-cat-latest { display: none; }
  .forum-cat-stats { gap: 12px; }
}

/* Tablet */
@media (max-width: 768px) {
  .layout { padding: 16px 14px 80px; }
  .mob-nav { display: flex; }
  /* fab görünürlüğü JS tarafından yönetilir (sadece giriş yapanlara) */
  .forum-cat-stats { display: none; }
}

/* Mobil */
@media (max-width: 480px) {
  .nav-inner { padding: 0 12px; gap: 6px; }
  .nav-logo { flex-shrink: 0; min-width: 0; }
  .logo-text { font-size: 15px; letter-spacing: -.2px; }
  .logo-icon { width: 24px; height: 24px; }
  .logo-icon svg { width: 24px; height: 24px; }
  .nav-center { flex: 0 1 auto; min-width: 0; }
  .nav-search { width: 95px; min-width: 75px; padding: 6px 10px; }
  .nav-username { display: none; }
  .nav-btn { padding: 7px 11px; font-size: 12px; }
  .pet-card { width: 136px; }
  .pet-card-img { width: 136px; height: 108px; }
  .layout { padding: 12px 12px 80px; }
  .cat-icon-item { min-width: 62px; padding: 9px 10px; }
  .cat-icon-emoji { font-size: 20px; }
  .cat-icon-label { font-size: 11px; }
}

/* Çok küçük ekran (360px ve altı) */
@media (max-width: 360px) {
  .logo-text { display: none; }
  .nav-search { width: 80px; }
  .nav-btn { padding: 6px 9px; font-size: 11.5px; }
}

/* ── HERO SECTION ────────────────────────────────── */
.hs {
  background: linear-gradient(135deg, #fffbf5 0%, #fff7ed 40%, #fffcf7 100%);
  border-bottom: 1px solid var(--border);
  width: 100%;
}

.hs-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Top: text + visual */
.hs-top {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 44px 0 36px;
}

.hs-text { flex: 1; min-width: 0; }

.hs-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--pl);
  color: var(--p2);
  font-size: 10.5px;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: 99px;
  margin-bottom: 10px;
  letter-spacing: .04em;
  text-transform: uppercase;
  border: 1px solid var(--pb);
}

.hs-heading {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -.04em;
  color: var(--text);
  margin-bottom: 16px;
}

.hs-heading em {
  font-style: italic;
  background: linear-gradient(135deg, #f97316 0%, #fb923c 50%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hs-desc {
  font-size: 15.5px;
  color: var(--text2);
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 400px;
}

.hs-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hs-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  background: var(--p);
  color: #fff;
  border: none;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font);
  box-shadow: 0 3px 14px rgba(249,115,22,.38);
  transition: background .15s, transform .1s, box-shadow .15s;
}

.hs-btn-primary:hover { background: var(--p2); transform: translateY(-1px); box-shadow: 0 6px 22px rgba(249,115,22,.45); }
.hs-btn-primary:active { transform: scale(.97); }

.hs-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 12px 22px;
  background: var(--white);
  color: var(--text2);
  border: 1.5px solid var(--border2);
  border-radius: 99px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font);
  text-decoration: none;
  transition: border-color .15s, color .15s, transform .1s;
}

.hs-btn-outline:hover { border-color: var(--p); color: var(--p); transform: translateY(-1px); }

.hs-btn-register {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #fff;
  border: none;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font);
  box-shadow: 0 3px 16px rgba(16,185,129,.36);
  transition: transform .15s, box-shadow .15s;
  position: relative;
  overflow: hidden;
  letter-spacing: .01em;
}

.hs-btn-register::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 55%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent);
  animation: btnShimmer 2.8s ease-in-out infinite;
}

@keyframes btnShimmer {
  0%   { left: -100%; }
  100% { left: 250%; }
}

.hs-btn-register:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(16,185,129,.52); }
.hs-btn-register:active { transform: scale(.97); }

/* Visual: pet cards */
.hs-visual {
  position: relative;
  width: 300px;
  height: 230px;
  flex-shrink: 0;
}

.hpet {
  position: absolute;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 36px rgba(0,0,0,.1), 0 2px 8px rgba(0,0,0,.06);
  transition: transform .3s ease;
}

.hpet:hover { transform: translateY(-4px) rotate(0deg) !important; }

.hpet-1 {
  width: 150px;
  height: 150px;
  background: linear-gradient(135deg, #fef9c3, #fde68a);
  bottom: 0;
  left: 0;
  font-size: 80px;
  transform: rotate(-4deg);
  z-index: 1;
}

.hpet-2 {
  width: 130px;
  height: 130px;
  background: linear-gradient(135deg, #fce7f3, #f9a8d4);
  bottom: 28px;
  left: 96px;
  font-size: 66px;
  transform: rotate(3deg);
  z-index: 2;
}

.hpet-3 {
  width: 112px;
  height: 112px;
  background: linear-gradient(135deg, #e0f2fe, #7dd3fc);
  top: 0;
  right: 0;
  font-size: 56px;
  transform: rotate(-2deg);
  z-index: 3;
}

.hpet-float {
  position: absolute;
  font-size: 22px;
  animation: heroFloat 3.2s ease-in-out infinite;
  z-index: 4;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.12));
}

.hpet-float { top: 18px; left: 52%; }
.hpet-float-2 { top: auto; bottom: 12px; right: 2px; font-size: 18px; animation-delay: -1.6s; animation-duration: 4s; }

@keyframes heroFloat {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50%       { transform: translateY(-10px) rotate(5deg); }
}

/* Stats bar */
.hs-stats {
  display: flex;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 0;
}

.hs-stat {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 18px 22px;
}

.hs-stat-sep {
  width: 1px;
  height: 36px;
  background: var(--border);
  flex-shrink: 0;
}

.hs-stat-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.hs-stat-num {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
  margin-bottom: 3px;
  font-variant-numeric: tabular-nums;
}

.hs-stat-lbl {
  font-size: 11px;
  color: var(--text3);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .05em;
}

/* ── HERO RESPONSIVE ─────────────────────────────── */
@media (max-width: 900px) {
  .hs-top     { gap: 24px; padding: 32px 0 28px; }
  .hs-visual  { width: 220px; height: 180px; }
  .hpet-1     { width: 118px; height: 118px; font-size: 62px; }
  .hpet-2     { width: 104px; height: 104px; font-size: 52px; left: 72px; }
  .hpet-3     { width: 88px; height: 88px; font-size: 44px; }
  .hs-heading { font-size: 32px; }
}

@media (max-width: 680px) {
  .hs-top     { flex-direction: column; align-items: center; padding: 24px 0 20px; gap: 12px; }
  .hs-text    { text-align: center; }
  .hs-actions { justify-content: center; }
  .hs-visual  { width: 160px; height: 122px; flex-shrink: 0; }
  .hpet-1     { width: 80px; height: 80px; font-size: 42px; }
  .hpet-2     { width: 69px; height: 69px; bottom: 15px; left: 51px; font-size: 35px; }
  .hpet-3     { width: 60px; height: 60px; font-size: 30px; }
  .hpet-float { font-size: 12px; top: 10px; }
  .hpet-float-2 { font-size: 10px; }
  .hs-heading { font-size: 26px; }
  .hs-desc    { font-size: 14px; }
  .hs-stat    { padding: 14px 14px; gap: 10px; }
  .hs-stat-icon { width: 36px; height: 36px; font-size: 17px; }
  .hs-stat-num  { font-size: 18px; }
  .hs-ticker    { gap: 10px; padding: 9px 14px; }
  .hs-ticker-items { gap: 16px; }
}

@media (max-width: 480px) {
  .hs-top  { padding: 24px 0 20px; }
  .hs-stats { border-radius: 12px; }
  .hs-stat-sep { height: 28px; }
  .hs-ticker-item:nth-child(n+3) { display: none; }
}

/* ── HERO CARD (col-width) ───────────────────────── */
.hero-card {
  background: linear-gradient(150deg, #fffbf5 0%, #fff7ed 55%, #fffdf9 100%);
  border: 1px solid #fed7aa;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 20px;
}

.hc-body {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px 20px;
}

.hc-text { flex: 1; min-width: 0; }

.hc-heading {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.03em;
  color: var(--text);
  margin: 10px 0 8px;
}

.hc-heading em {
  font-style: italic;
  background: linear-gradient(135deg, #f97316 0%, #fb923c 50%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hc-desc {
  font-size: 13px;
  color: var(--text2);
  line-height: 1.55;
  margin-bottom: 14px;
}

.hc-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.hc-visual {
  position: relative;
  width: 200px;
  height: 158px;
  flex-shrink: 0;
}

.hc-orb {
  position: absolute;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, #fed7aa50 0%, #fff7ed30 55%, transparent 80%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}

.hc-visual .hpet-1 { width: 98px; height: 98px; font-size: 52px; bottom: 0; left: 0; z-index: 1; }
.hc-visual .hpet-2 { width: 86px; height: 86px; font-size: 44px; bottom: 18px; left: 62px; z-index: 2; }
.hc-visual .hpet-3 { width: 74px; height: 74px; font-size: 38px; top: 0; right: 0; z-index: 3; }
.hc-visual .hpet-float     { font-size: 16px; top: 14px; left: 44%; z-index: 4; }
.hc-visual .hpet-float-2   { font-size: 14px; bottom: 6px; right: 2px; top: auto; z-index: 4; }

.hc-stats {
  display: flex;
  align-items: center;
  padding: 8px 22px;
  border-top: 1px solid #fed7aa;
  background: rgba(255,255,255,.55);
}

.hc-stat {
  display: flex;
  align-items: center;
  gap: 5px;
  flex: 1;
  justify-content: center;
}

.hc-stat-icon { font-size: 15px; line-height: 1; }

.hc-stat-num {
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
}

.hc-stat-lbl {
  font-size: 12px;
  color: var(--text3);
  font-weight: 500;
}

.hc-stat-sep {
  width: 1px;
  height: 18px;
  background: #fed7aa;
}

@media (max-width: 860px) {
  .hc-visual { width: 158px; height: 126px; }
  .hc-visual .hpet-1 { width: 78px; height: 78px; font-size: 40px; }
  .hc-visual .hpet-2 { width: 68px; height: 68px; font-size: 35px; left: 50px; }
  .hc-visual .hpet-3 { width: 58px; height: 58px; font-size: 30px; }
  .hc-heading { font-size: 21px; }
}

@media (max-width: 600px) {
  .hc-body { flex-direction: column; align-items: flex-start; padding: 16px 16px 12px; gap: 10px; }
  .hc-visual { width: 100%; height: 100px; }
  .hc-visual .hpet-1 { width: 78px; height: 78px; font-size: 40px; bottom: 0; left: auto; right: 90px; top: auto; }
  .hc-visual .hpet-2 { width: 68px; height: 68px; font-size: 35px; bottom: 12px; left: auto; right: 44px; }
  .hc-visual .hpet-3 { width: 58px; height: 58px; font-size: 30px; top: 0; right: 0; }
  .hc-heading { font-size: 19px; }
  .hc-stats { padding: 7px 16px; flex-wrap: wrap; gap: 4px; }
  .hc-stat { gap: 3px; }
  .hc-stat-num { font-size: 13px; }
  .hc-stat-lbl { font-size: 10px; }
}

/* ── KULLANICI DROPDOWN ──────────────────────────── */
.user-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(0,0,0,.11);
  min-width: 168px;
  z-index: 999;
  overflow: hidden;
  animation: dropdownIn .15s cubic-bezier(.16,1,.3,1);
}

.user-dropdown.open { display: block; }

@keyframes dropdownIn {
  from { opacity: 0; transform: translateY(-6px) scale(.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.udropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text2);
  cursor: pointer;
  transition: background .12s;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  font-family: var(--font);
  text-decoration: none;
}

.udropdown-item:hover { background: var(--bg); color: var(--text); }
.udropdown-danger     { color: #dc2626; }
.udropdown-danger:hover { background: #fef2f2; color: #dc2626; }

.udropdown-divider {
  height: 1px;
  background: var(--border);
  margin: 3px 0;
}

/* ── AUTH MODALS (am) ────────────────────────────── */
.modal.am {
  max-width: 400px;
  padding: 0;
  overflow: hidden;
  position: relative;
  border-radius: 20px;
}

.am-top-bar {
  height: 5px;
  background: linear-gradient(90deg, #f97316 0%, #fb923c 100%);
}

.am-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text3);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: background .13s, color .13s;
}
.am-close:hover { background: var(--border); color: var(--text); }

.am-inner {
  padding: 28px 32px 32px;
}

.am-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.am-brand-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #f97316 0%, #c2410c 100%);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.am-brand-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.025em;
}
.am-brand-name em { font-style: normal; color: var(--p); }

.am-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.03em;
  margin-bottom: 5px;
}

.am-sub {
  font-size: 13.5px;
  color: var(--text3);
  margin-bottom: 22px;
  line-height: 1.5;
}

.am-fields {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 18px;
}

.am-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.am-label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text2);
  display: flex;
  align-items: center;
  gap: 6px;
}

.am-hint {
  font-size: 11px;
  font-weight: 400;
  color: var(--text3);
}

.am-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.am-icon {
  position: absolute;
  left: 13px;
  color: var(--text3);
  pointer-events: none;
  flex-shrink: 0;
}

.am-input {
  width: 100%;
  height: 44px;
  padding: 0 14px 0 40px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  transition: border-color .15s, box-shadow .15s;
  outline: none;
  box-sizing: border-box;
}
.am-input:focus {
  border-color: var(--p);
  box-shadow: 0 0 0 3px rgba(249,115,22,.12);
}

.am-pw { padding-right: 42px; }

.pw-toggle {
  position: absolute;
  right: 10px;
  background: none;
  border: none;
  color: var(--text3);
  cursor: pointer;
  padding: 5px;
  display: flex;
  align-items: center;
  transition: color .13s;
}
.pw-toggle:hover { color: var(--text2); }

.am-btn {
  width: 100%;
  padding: 13px;
  background: linear-gradient(135deg, #f97316 0%, #ea6c0a 100%);
  color: #fff;
  border: none;
  border-radius: 11px;
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font);
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(249,115,22,.32);
  transition: opacity .15s, transform .1s, box-shadow .15s;
  letter-spacing: -.01em;
  margin-bottom: 16px;
}
.am-btn:hover {
  opacity: .92;
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(249,115,22,.4);
}
.am-btn:active { transform: scale(.98); opacity: 1; }

.am-switch {
  text-align: center;
  font-size: 13px;
  color: var(--text3);
  margin: 0;
}
.am-switch a {
  color: var(--p);
  font-weight: 600;
  text-decoration: none;
}
.am-switch a:hover { text-decoration: underline; }

@media (max-width: 480px) {
  .modal-overlay {
    padding: 0;
    align-items: flex-end;
    justify-content: stretch;
  }
  .modal.am {
    max-width: 100%;
    width: 100%;
    border-radius: 20px 20px 0 0;
    max-height: 92vh;
    overflow-y: auto;
    animation: modalUp .25s cubic-bezier(.16,1,.3,1);
  }
  .am-inner { padding: 20px 18px 36px; }
  .am-title { font-size: 19px; }
  .am-input { font-size: 16px; } /* iOS zoom önleme */
  .am-btn   { font-size: 15px; padding: 13px; }
}

@keyframes modalUp {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
