/* =====================================================================
   BOZ RP — Renkli, Profesyonel Tema (v3)
   ===================================================================== */
:root {
  /* Baz */
  --primary:        #070b14;
  --primary-light:  #0f1523;
  --secondary:      #1a2236;
  --surface:        #131a2b;
  --surface-light:  #1c2540;

  /* Çizgi */
  --border:         #1e2d4a;
  --border-light:   #2a3f66;

  /* Accent */
  --accent:         #3b82f6;   /* mavi */
  --accent-dark:    #1e3a8a;
  --accent-light:   #60a5fa;
  --highlight:      #e94560;   /* sıcak kırmızı/pembe */
  --indigo:         #6366f1;
  --purple:         #a855f7;
  --pink:           #ec4899;
  --cyan:           #06b6d4;
  --emerald:        #10b981;
  --amber:          #f59e0b;
  --gold:           #fbbf24;
  --rose:           #f43f5e;

  /* Metin */
  --text:           #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted:     #64748b;

  /* Durum */
  --success: #22c55e;
  --warning: #f59e0b;
  --danger:  #ef4444;
  --discord: #5865f2;

  --radius:    14px;
  --radius-lg: 20px;
  --radius-xl: 26px;

  --shadow-sm: 0 2px 6px rgba(0,0,0,.25);
  --shadow:    0 8px 24px rgba(0,0,0,.35);
  --shadow-lg: 0 24px 60px rgba(0,0,0,.5);

  /* Geriye dönük uyumluluk için alias değişkenler */
  --muted:  var(--text-muted);
  --stroke: var(--border);
  --ok:     var(--success);
  --erkek:  #93c5fd;
  --kadin:  #f9a8d4;
  --brand:  var(--accent);
}

* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  background: var(--primary);
  color: var(--text);
  font-family: "Inter", -apple-system, "Segoe UI", Roboto, system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

/* Sade taban gradient (orb'ların arkasında) */
body::before {
  content:""; position: fixed; inset:0; pointer-events:none; z-index:0;
  background:
    linear-gradient(180deg, #040711 0%, #070b14 52%, #03050d 100%);
}

/* Bootstrap text-muted dark tema için biraz daha okunur — tam silik değil */
.text-muted { color: var(--text-secondary) !important; }

/* ============================ SAYFA & ETKİLEŞİM ANİMASYONLARI ============================ */
@keyframes page-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
main.container { animation: page-fade-in .18s ease-out; }

/* Sayfa geçişi: yatay/dikey kayma yok, sadece kısa fade. */
body { transition: opacity .08s ease; }
body.page-leaving { opacity: .0; }

/* Section'lar yumuşak fade — sadece ilk 3, sonrası anlık (perf)
   v10: 4. section animasyonu kaldırıldı, süre 400 → 280ms */
section, .form-card, .hero, .panel { animation: page-fade-in .18s ease-out both; }
section:nth-of-type(2), .form-card:nth-of-type(2) { animation-delay: .04s; }
section:nth-of-type(3), .form-card:nth-of-type(3) { animation-delay: .08s; }
section:nth-of-type(n+4), .form-card:nth-of-type(n+4) { animation: none; }

/* Tüm linklere ve butonlara genel pürüzsüz geçiş */
a, button, .btn { transition: transform .18s cubic-bezier(.2,.8,.2,1), filter .18s, background .18s, border-color .18s, color .18s, box-shadow .2s; }
.btn:active, a:active { transform: scale(.97); }

/* Scroll-reveal için utility (intersection observer ile eklenir) */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease-out, transform .55s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* Tıklama "ripple" efekti — butonların üstünde minik dalga */
.btn { position: relative; overflow: hidden; }
.btn::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 0; height: 0;
  background: rgba(255,255,255,.30);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.btn.rippling::after { animation: ripple .55s ease-out; }
@keyframes ripple {
  from { width: 0; height: 0; opacity: .55; }
  to   { width: 320px; height: 320px; opacity: 0; }
}

/* Reduce-motion */
@media (prefers-reduced-motion: reduce) {
  main.container, section, .form-card, .hero, .panel, .reveal { animation: none !important; transition: none !important; }
}

/* ============================ NAV — SOSYAL ============================ */
.nav-socials { display: inline-flex; gap: 6px; align-items: center; margin-right: 6px; }
.nav-soc {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px;
  color: var(--text) !important;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
}
.nav-soc:hover { color: #fff !important; transform: translateY(-1px); }
.nav-soc:nth-child(1):hover { background: linear-gradient(135deg, #ff0050, #00f2ea); border-color: transparent; }
.nav-soc:nth-child(2):hover { background: linear-gradient(135deg, #f58529, #dd2a7b 50%, #8134af); border-color: transparent; }

/* Footer sosyal — brand renkleri */
.footer-socials .soc-discord:hover   { background: var(--discord); color: #fff; border-color: transparent; }
.footer-socials .soc-tiktok:hover    { background: linear-gradient(135deg, #ff0050, #00f2ea); color: #fff; border-color: transparent; }
.footer-socials .soc-instagram:hover { background: linear-gradient(135deg, #f58529, #dd2a7b 50%, #8134af); color: #fff; border-color: transparent; }
.footer-socials .soc-stream:hover    { background: rgba(220,38,38,.85); color: #fff; border-color: transparent; }

/* ============================ KARAKTER FLIP KARTLAR (KNGL tarzı) ============================
   3 sütun varsayılan — kartlar daha büyük ve okunaklı.
   Küçük ekranlarda 2'ye, mobilde 1'e iner.
   ============================================================ */
.char-flip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  perspective: 1500px;
}
@media (max-width: 992px) { .char-flip-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
@media (max-width: 560px) { .char-flip-grid { grid-template-columns: 1fr; gap: 12px; } }

.char-flip {
  position: relative;
  height: 440px;
  cursor: pointer;
  outline: none;
}
@media (max-width: 720px) {
  .char-flip { height: 280px; }
}
/* Daha kompakt kart içi tipografi (6'lı grid) */
.char-flip-name { font-size: .95rem; }
.char-flip-nick { font-size: .76rem; }
.char-flip-stats { font-size: .72rem; gap: 8px; }
.char-flip-overlay { padding: 12px 12px 10px; }
.char-flip-back { padding: 14px; }
.char-flip-back-head h3 { font-size: 1.02rem; }
.char-flip-meta li { padding: 6px 0; font-size: .78rem; }
.char-flip-meta .lbl { font-size: .65rem; }
.char-flip-inner {
  position: relative;
  width: 100%; height: 100%;
  transform-style: preserve-3d;
  transition: transform .7s cubic-bezier(.4,.2,.2,1);
}
.char-flip.flipped .char-flip-inner { transform: rotateY(180deg); }

/* Çevrilmemişken arka yüz, çevrilmişken ön yüz tıklamayı yutmasın */
.char-flip:not(.flipped) .char-flip-back { pointer-events: none; }
.char-flip.flipped .char-flip-front { pointer-events: none; }
.char-flip.flipped .char-flip-back  { pointer-events: auto; }
.char-flip-back .char-flip-cta,
.char-flip-back .char-flip-back-btn { pointer-events: auto; position: relative; z-index: 4; }

.char-flip-front, .char-flip-back {
  position: absolute; inset: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,0)), #0d1322;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.char-flip-front {
  box-shadow: 0 18px 40px rgba(0,0,0,.45);
}
.char-flip:hover .char-flip-front { box-shadow: 0 24px 60px rgba(99,102,241,.30); border-color: rgba(168,85,247,.45); }
.char-flip-photo {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .6s ease;
}
.char-flip-photo.no-photo {
  display: flex; align-items: center; justify-content: center;
  font-size: 5rem; font-weight: 900; color: rgba(255,255,255,.15);
  background: linear-gradient(180deg, #1a2238, #0d1322);
}
.char-flip:hover .char-flip-photo { transform: scale(1.06); }
.char-flip-overlay {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 16px 16px 14px;
  background: linear-gradient(180deg, transparent 0%, rgba(7,11,20,.92) 70%);
  color: #fff;
}
.char-flip-name { font-weight: 800; font-size: 1.05rem; line-height: 1.2; }
.char-flip-nick { font-style: italic; font-size: .82rem; color: rgba(241,245,249,.75); margin-top: 2px; }
.char-flip-stats {
  display: flex; gap: 10px; align-items: center;
  margin-top: 8px;
  font-size: .78rem; color: rgba(241,245,249,.85);
}
.char-flip-stats .stat-likes i { color: var(--rose); }
.char-flip-stats .stat-views i { color: var(--amber); }
.char-flip-hint {
  margin-top: 8px; font-size: .68rem; color: rgba(241,245,249,.55);
  display: flex; align-items: center; gap: 6px;
  letter-spacing: .3px;
  opacity: 0; transform: translateY(4px);
  transition: opacity .25s, transform .25s;
}
.char-flip:hover .char-flip-hint { opacity: 1; transform: translateY(0); }

.char-flip-back {
  transform: rotateY(180deg);
  padding: 18px;
  display: flex; flex-direction: column;
  background:
    linear-gradient(180deg, rgba(168,85,247,.08), rgba(59,130,246,.05)),
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,0)),
    #0d1322;
  border-color: rgba(168,85,247,.35);
}
.char-flip-back-head {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 8px;
  margin-bottom: 10px;
}
.char-flip-back-head h3 { margin: 0; font-size: 1.15rem; line-height: 1.2; flex: 1; min-width: 0; }
.flip-active-pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .65rem; font-weight: 800; letter-spacing: .4px;
  padding: 4px 9px; border-radius: 999px;
  background: linear-gradient(135deg, var(--success), #16a34a);
  color: #f0fdf4; flex-shrink: 0;
}
.flip-active-pill .dot { width: 6px; height: 6px; border-radius: 50%; background: #d1fae5; }

.char-flip-meta { list-style: none; padding: 0; margin: 0; flex: 1; min-height: 0; overflow: hidden; }
.char-flip-meta li {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--border);
  font-size: .85rem;
}
.char-flip-meta li:last-child { border-bottom: 0; }
.char-flip-meta .lbl { color: var(--text-muted); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; }
.char-flip-meta .val { color: var(--text); font-weight: 700; text-align: right; }

.char-flip-back-btn {
  position: absolute; top: 10px; right: 10px;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--border);
  color: var(--text-muted);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.char-flip-back-btn:hover { color: var(--text); background: rgba(255,255,255,.10); }

.char-flip.top .char-flip-front,
.char-flip.top .char-flip-back {
  border-color: rgba(251,191,36,.45);
}
.char-flip.top .char-flip-front {
  box-shadow: 0 18px 40px rgba(251,191,36,.18);
}
.char-flip .crown,
.char-flip .badge-active { z-index: 3; }
.char-flip .crown { position: absolute; top: 10px; left: 12px; }
main, nav, footer { position: relative; }
main, nav, footer { z-index: 1; }

/* ============================ SİNEMATİK BG (v6 — NIGHT MAP)
   Tek kaynak: critical.css. Burada sadece kritik dışı incelikleri tutuyoruz
   (style.css duplicate tanımları yok).
   ============================================================ */

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

h1,h2,h3,h4,h5,h6 {
  font-family: "Poppins", "Inter", sans-serif;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--text);
}

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--primary); }
::-webkit-scrollbar-thumb { background: var(--accent-dark); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }
::selection { background: var(--accent); color: #fff; }

/* ============================ NAVBAR ============================ */
.navbar {
  background: rgba(10,14,25,.78) !important;
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}
.navbar-brand {
  font-family: "Poppins", sans-serif;
  font-weight: 900; font-size: 1.22rem;
  display: inline-flex; align-items: center; gap: 12px;
  letter-spacing: -.02em;
  color: var(--text) !important;
  text-decoration: none;
}
.navbar-brand .brand-text {
  background: linear-gradient(90deg, #60a5fa 0%, #a855f7 35%, #ec4899 70%, #f59e0b 100%);
  background-size: 220% 100%;
  background-position: 0% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 14px rgba(168,85,247,.30));
  transition: background-position .8s ease;
  font-weight: 900;
  letter-spacing: -.01em;
}
.navbar-brand:hover .brand-text { background-position: 100% 50%; }
.navbar-brand:hover .brand-logo { transform: rotate(-6deg) scale(1.06); }
.brand-logo { transition: transform .3s ease; }
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 11px;
  background: linear-gradient(135deg, var(--accent), var(--purple) 50%, var(--pink));
  color: #fff; font-weight: 900; font-size: 1rem;
  box-shadow: 0 8px 24px rgba(99,102,241,.35);
}
.brand-logo {
  width: 38px; height: 38px; border-radius: 11px;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.06);
  background: #0a0e1a;
}
.navbar .nav-link {
  color: var(--text) !important;
  font-weight: 600; font-size: .88rem;
  padding: 7px 10px !important;
  border-radius: 10px;
  transition: background .15s, color .15s;
  display: inline-flex; align-items: center; gap: 6px;
  white-space: nowrap;
}
.navbar .nav-link i { font-size: .82rem; opacity: .85; }
.nav-container {
  max-width: 1480px;
  padding-left: 18px; padding-right: 18px;
  display: flex; align-items: center; gap: 14px;
}
.nav-brand-left { margin-right: 4px; }
.navbar-brand { font-size: 1.05rem; gap: 9px; }
.brand-logo { width: 32px; height: 32px; border-radius: 9px; }
@media (max-width: 1200px) {
  .navbar-brand .brand-text { display: none; } /* dar ekranda sadece logo */
}
.navbar .navbar-nav.me-auto {
  display: flex; gap: 2px;
  margin-left: 6px;
}
@media (min-width: 992px) {
  .navbar .navbar-nav.me-auto { gap: 4px; }
  .navbar .nav-link { padding: 7px 11px !important; font-size: .87rem; }
}
@media (min-width: 1280px) {
  .navbar .navbar-nav.me-auto { gap: 6px; }
  .navbar .nav-link { padding: 8px 12px !important; font-size: .9rem; }
  .navbar-brand .brand-text { display: inline; }
}
@media (min-width: 1440px) {
  .navbar .navbar-nav.me-auto { gap: 8px; }
}
.navbar .nav-link i { opacity: .8; }
.navbar .nav-link:hover { background: rgba(255,255,255,.05); color: var(--accent-light) !important; }
.navbar .nav-link.active { color: var(--accent-light) !important; background: rgba(59,130,246,.1); }
.user-avatar { width: 26px; height: 26px; border-radius: 50%; vertical-align: middle; border: 1px solid var(--border-light); }

.btn-discord {
  background: var(--discord) !important;
  color: white !important;
  border-radius: 11px !important;
  padding: 9px 16px !important;
  font-weight: 700; border: none !important;
  box-shadow: 0 6px 18px rgba(88,101,242,.30);
}
.btn-discord:hover { filter: brightness(1.12); transform: translateY(-1px); }
.btn-add {
  background: linear-gradient(135deg, var(--accent), var(--indigo) 50%, var(--purple)) !important;
  color: white !important;
  font-weight: 700;
  border-radius: 11px !important;
  padding: 9px 16px !important;
  border: none !important;
  box-shadow: 0 8px 24px rgba(59,130,246,.30);
  transition: transform .15s;
}
.btn-add:hover { transform: translateY(-1px); }

/* Dropdown — solid */
.user-menu, .navbar .dropdown-menu {
  background: #0d1322 !important;
  border: 1px solid var(--border-light) !important;
  border-radius: 12px !important;
  box-shadow: 0 24px 60px rgba(0,0,0,.6) !important;
  padding: 6px !important;
  min-width: 220px;
  backdrop-filter: none !important;
}
.user-menu .dropdown-item, .navbar .dropdown-item {
  color: var(--text) !important;
  border-radius: 8px;
  padding: 9px 12px;
  font-weight: 600; font-size: .92rem;
}
.user-menu .dropdown-item:hover, .navbar .dropdown-item:hover {
  background: rgba(59,130,246,.14) !important;
  color: var(--accent-light) !important;
}
.user-menu .dropdown-divider, .navbar .dropdown-divider {
  border-color: var(--border) !important; margin: 4px 0;
}

/* ============================ PANELLER / HERO ============================ */
.hero, .panel, .form-card, .profile-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,0)),
              rgba(15,21,35,.6);
  backdrop-filter: blur(14px);
}
.hero {
  padding: 38px 32px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content:""; position: absolute; inset: -2px; pointer-events: none;
  background:
    radial-gradient(500px 200px at 8% 0%, rgba(59,130,246,.18), transparent 60%),
    radial-gradient(400px 180px at 95% 100%, rgba(168,85,247,.18), transparent 60%);
}
.hero h1 {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 900;
  margin-bottom: 8px;
  position: relative;
}
.grad-text, .hero h1 .grad {
  background: linear-gradient(90deg, var(--accent-light), var(--purple) 50%, var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p { color: var(--text-secondary); margin-bottom: 0; position: relative; }

/* ============================ KARAKTER GRID + KART ============================ */
.char-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
}
.char-card {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,0));
  overflow: hidden;
  transition: transform .25s ease, border-color .25s, box-shadow .25s;
  display: flex; flex-direction: column;
  color: inherit;
}
.char-card:hover {
  transform: translateY(-4px);
  border-color: rgba(96,165,250,.45);
  box-shadow: var(--shadow-lg);
  color: inherit;
}
.char-card .char-photo,
.char-card .no-photo {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  background: linear-gradient(180deg, #1a2238, #0d1322);
  display:flex; align-items:center; justify-content:center;
  font-size: 3rem; font-weight: 900; color: rgba(255,255,255,.12);
}
.char-card-lg .char-photo,
.char-card-lg .no-photo { aspect-ratio: 4/5; }

.char-card .char-info { padding: 14px 16px 16px; }
.char-card .char-name {
  font-family: "Poppins", sans-serif;
  font-weight: 700; font-size: 1rem;
  margin-bottom: 4px; color: var(--text);
}
.char-card .char-sub {
  font-size: .78rem; color: var(--text-muted);
  display: flex; align-items: center; gap: 10px;
}
.char-card .char-stats {
  display: flex; align-items: center; gap: 10px;
  font-size: .78rem; color: var(--text-muted);
}
.char-card .char-stats .stat-views i { color: var(--amber); }
.char-card .char-stats .stat-likes i { color: var(--rose); }

/* Kategori etiketi */
.char-cat {
  font-size: 0.7rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .6px;
  display: inline-block;
  padding: 3px 8px; border-radius: 6px;
}
.char-cat.erkek  { color: #93c5fd; background: rgba(59,130,246,.15); }
.char-cat.kadin  { color: #f9a8d4; background: rgba(236,72,153,.15); }

/* TOP karakter — animasyonlu mor+altın taç border */
@keyframes pinned-glow {
  0%,100% { border-color: rgba(168,85,247,.50); box-shadow: 0 0 18px rgba(168,85,247,.25), 0 0 40px rgba(245,158,11,.12); }
  50%     { border-color: rgba(251,191,36,.60); box-shadow: 0 0 28px rgba(168,85,247,.40), 0 0 60px rgba(245,158,11,.20); }
}
.char-card.top {
  border: 2px solid rgba(168,85,247,.5) !important;
  background-image: linear-gradient(135deg, rgba(168,85,247,.04), rgba(251,191,36,.04)) !important;
  animation: pinned-glow 3s ease-in-out infinite;
}
.char-card.top:hover {
  animation: none;
  border-color: rgba(251,191,36,.7) !important;
  box-shadow: 0 0 30px rgba(168,85,247,.30), 0 0 50px rgba(245,158,11,.20);
}
@keyframes crown-float {
  0%,100% { transform: translateY(0); filter: drop-shadow(0 0 6px rgba(251,191,36,.6)); }
  50%     { transform: translateY(-3px); filter: drop-shadow(0 0 14px rgba(251,191,36,.9)) drop-shadow(0 0 22px rgba(168,85,247,.45)); }
}
.char-card .crown {
  position: absolute; top: 10px; left: 12px; z-index: 3;
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, #fde68a, #f59e0b 60%, #b45309);
  color: #1f1208; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  animation: crown-float 3s ease-in-out infinite;
  box-shadow: 0 6px 16px rgba(245,158,11,.55);
}

/* AKTİF rozeti (sahip online) */
@keyframes active-pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(34,197,94,.55), 0 6px 18px rgba(34,197,94,.35); }
  50%     { box-shadow: 0 0 0 6px rgba(34,197,94,0),  0 6px 18px rgba(34,197,94,.45); }
}
.badge-active {
  position: absolute; top: 10px; right: 12px; z-index: 3;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .7rem; font-weight: 800; letter-spacing: .4px;
  padding: 5px 10px; border-radius: 999px;
  background: linear-gradient(135deg, var(--success), #16a34a);
  color: #f0fdf4;
  animation: active-pulse 2.4s ease-in-out infinite;
}
.badge-active .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #d1fae5;
  box-shadow: 0 0 0 2px rgba(255,255,255,.6);
}
/* Karakter kartı üzerindeki aktif rozet — daha küçük, sade */
.char-flip .badge-active {
  top: 8px; right: 8px;
  font-size: .58rem;
  padding: 2px 7px;
  letter-spacing: .3px;
  border-radius: 999px;
  background: rgba(34,197,94,.92);
  box-shadow: 0 2px 8px rgba(34,197,94,.35);
  animation: none;
}
.char-flip .badge-active .dot {
  width: 5px; height: 5px;
  background: #ecfdf5;
  box-shadow: 0 0 0 2px rgba(34,197,94,.45);
  animation: active-pulse 2s ease-in-out infinite;
}

/* ============================ PROFİL ============================ */
.profile-card { overflow: hidden; }
.profile-card .profile-photo {
  width: 100%; aspect-ratio: 3/4; object-fit: cover;
}
.info-grid {
  display: grid; grid-template-columns: repeat(2,1fr);
  gap: 10px; margin-top: 16px;
}
.info-item {
  background: rgba(255,255,255,.025);
  padding: 12px 14px; border-radius: 12px;
  border: 1px solid var(--border);
  transition: border-color .2s, transform .2s;
}
.info-item:hover { border-color: var(--border-light); transform: translateY(-1px); }
.info-item .info-label {
  font-size: .68rem; font-weight: 800; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 4px; letter-spacing: .6px;
}
.info-item .info-value { font-weight: 700; color: var(--text); }

/* ============================ FORM ============================ */
.form-card { padding: 28px; }
.form-control, .form-select {
  background: rgba(255,255,255,.03) !important;
  border: 1px solid var(--border) !important;
  color: var(--text) !important;
  border-radius: 11px !important;
  padding: 11px 14px !important;
  font-size: .94rem !important;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.form-control:focus, .form-select:focus {
  border-color: rgba(96,165,250,.55) !important;
  box-shadow: 0 0 0 3px rgba(59,130,246,.18) !important;
  background: rgba(255,255,255,.05) !important;
}
.form-control::placeholder { color: rgba(255,255,255,.28) !important; }
.form-label {
  font-weight: 700; font-size: .8rem;
  color: var(--text-secondary); margin-bottom: 6px;
  text-transform: uppercase; letter-spacing: .5px;
}
.form-select { color-scheme: dark; }
.form-select option { background: #0d1322; color: #fff; }

/* Segment */
.segment {
  display: inline-flex;
  background: rgba(255,255,255,.025);
  border: 1px solid var(--border);
  border-radius: 12px; padding: 4px; gap: 4px;
}
.segment input { display: none; }
.segment label {
  padding: 8px 18px; border-radius: 9px;
  cursor: pointer; font-weight: 700; font-size: .9rem;
  color: var(--text-secondary);
  transition: all .15s;
}
.segment input:checked + label {
  background: linear-gradient(135deg, var(--accent), var(--indigo) 60%, var(--purple));
  color: #fff;
  box-shadow: 0 4px 14px rgba(59,130,246,.30);
}

/* ============================ BUTONLAR ============================ */
.btn { font-weight: 700; }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--indigo) 50%, var(--purple)) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 11px !important;
  padding: 10px 20px !important;
  box-shadow: 0 10px 24px rgba(59,130,246,.25);
  transition: transform .15s, filter .15s, box-shadow .2s;
}
.btn-primary:hover { transform: translateY(-1px); filter: brightness(1.08); }
.btn-secondary {
  background: rgba(255,255,255,.05) !important;
  border: 1px solid var(--border-light) !important;
  color: var(--text) !important;
  border-radius: 11px !important;
  padding: 10px 18px !important;
  transition: background .15s, border-color .15s;
}
.btn-secondary:hover { background: rgba(255,255,255,.08) !important; border-color: var(--accent) !important; }
.btn-danger {
  background: rgba(239,68,68,.12) !important;
  border: 1px solid rgba(239,68,68,.40) !important;
  color: #fca5a5 !important;
  border-radius: 11px !important;
}
.btn-danger:hover { background: rgba(239,68,68,.22) !important; }
.btn-success {
  background: rgba(34,197,94,.14) !important;
  border: 1px solid rgba(34,197,94,.40) !important;
  color: #86efac !important;
  border-radius: 11px !important;
}
.btn-success:hover { background: rgba(34,197,94,.22) !important; }
.btn-ghost {
  background: transparent !important;
  border: 1px solid var(--border) !important;
  color: var(--text) !important;
  border-radius: 11px !important;
}
.btn-ghost:hover { border-color: var(--accent) !important; color: var(--accent-light) !important; }

/* ============================ SIDEBAR FİLTRE ============================ */
.layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
}
@media (max-width: 900px) { .layout { grid-template-columns: 1fr; } }
.sidebar {
  position: sticky; top: 80px;
  background: linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,0)),
              rgba(15,21,35,.6);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
  height: fit-content;
  backdrop-filter: blur(14px);
}
.sidebar h6 {
  font-size: .7rem; text-transform: uppercase;
  letter-spacing: .8px; color: var(--text-muted);
  margin-bottom: 10px;
}
.filter-list { display: grid; gap: 6px; }
.filter-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 12px; border-radius: 10px;
  color: var(--text); font-weight: 600; font-size: .92rem;
  border: 1px solid transparent;
  transition: background .15s, color .15s, border-color .15s;
}
.filter-link:hover { background: rgba(255,255,255,.03); color: var(--accent-light); }
.filter-link.active {
  background: rgba(59,130,246,.10);
  color: var(--accent-light);
  border-color: rgba(59,130,246,.30);
}
.filter-link .count {
  background: rgba(255,255,255,.06);
  padding: 1px 9px; border-radius: 999px;
  font-size: .75rem; color: var(--text-muted);
}

/* ============================ SPOTIFY ============================ */
.spotify-embed iframe {
  width: 100%; height: 152px; border: 0; border-radius: 14px;
}

/* ============================ TIMELINE ============================ */
.timeline { position: relative; padding-left: 24px; }
.timeline::before {
  content:""; position: absolute; top: 0; bottom: 0; left: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), var(--purple), var(--pink));
  opacity: .4;
}
.timeline-item {
  position: relative;
  padding: 14px 16px;
  background: rgba(255,255,255,.025);
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 14px;
  transition: border-color .2s, transform .2s;
}
.timeline-item:hover { border-color: var(--accent-light); transform: translateX(2px); }
.timeline-item::before {
  content:""; position: absolute; left: -22px; top: 22px;
  width: 12px; height: 12px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--purple));
  box-shadow: 0 0 0 4px var(--primary), 0 0 12px rgba(168,85,247,.6);
}
.timeline-item h5 { margin: 0 0 4px; font-size: 1rem; }
.timeline-item .when { font-size: .78rem; color: var(--text-muted); margin-bottom: 8px; }
.timeline-item img {
  margin-top: 10px; max-width: 100%; max-height: 320px; border-radius: 10px;
  border: 1px solid var(--border);
}

/* ============================ GALERİ ============================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}
.gallery-grid > a, .gallery-grid > div {
  display: block; aspect-ratio: 1/1; overflow: hidden;
  border-radius: 12px; border: 1px solid var(--border);
  position: relative;
}
.gallery-grid img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .35s;
}
.gallery-grid a:hover img { transform: scale(1.06); }

/* ============================ LIKE ============================ */
.like-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 16px; border-radius: 12px;
  background: rgba(244,63,94,.10);
  border: 1px solid rgba(244,63,94,.30);
  color: #fda4af; font-weight: 800;
  cursor: pointer; transition: all .2s;
}
.like-btn:hover { background: rgba(244,63,94,.18); }
.like-btn.liked {
  background: linear-gradient(135deg, var(--rose), #e11d48);
  border-color: transparent; color: #fff;
  box-shadow: 0 8px 22px rgba(244,63,94,.40);
}

/* ============================ DURUM PILL ============================ */
.status-pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .7rem; font-weight: 800; letter-spacing: .5px;
  padding: 4px 10px; border-radius: 999px;
  text-transform: uppercase;
}
.status-pill.pending  { background: rgba(245,158,11,.14); color: #fcd34d; border: 1px solid rgba(245,158,11,.35); }
.status-pill.approved { background: rgba(34,197,94,.14);  color: #86efac; border: 1px solid rgba(34,197,94,.35); }
.status-pill.rejected { background: rgba(239,68,68,.14);  color: #fca5a5; border: 1px solid rgba(239,68,68,.35); }

/* ============================ TABLE ============================ */
.table {
  color: var(--text) !important;
  --bs-table-bg: transparent !important;
  --bs-table-color: var(--text) !important;
  --bs-table-border-color: var(--border) !important;
}
.table thead th {
  font-size: .72rem; text-transform: uppercase; letter-spacing: .6px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border) !important;
  background: transparent !important;
}
.table td { vertical-align: middle; }

/* ============================ ALERT ============================ */
.alert { border-radius: 12px; border: 1px solid var(--border); }
.alert-success { background: rgba(34,197,94,.10) !important; border-color: rgba(34,197,94,.30) !important; color: #86efac !important; }
.alert-danger  { background: rgba(239,68,68,.10) !important; border-color: rgba(239,68,68,.30) !important; color: #fca5a5 !important; }
.alert-warning { background: rgba(245,158,11,.10) !important; border-color: rgba(245,158,11,.35) !important; color: #fcd34d !important; }

/* ============================ MAP ============================ */
.map-container {
  width: 100%;
  height: calc(100vh - 280px);
  min-height: 560px;
  max-height: 900px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: rgba(8,11,20,.85);
  position: relative;
  overflow: hidden;
}
.map-container .vis-network { outline: none; }
.map-container canvas { border-radius: var(--radius-lg); }
.map-container .vis-navigation .vis-button {
  background-color: rgba(20,28,46,.85) !important;
  border: 1px solid rgba(99,102,241,.35) !important;
  border-radius: 10px !important;
}
@media (max-width: 768px) {
  .map-container { height: 70vh; min-height: 460px; }
}
.legend-item {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .8rem; color: var(--text-secondary); font-weight: 600;
}
.legend-dot {
  width: 12px; height: 12px; border-radius: 50%;
  display: inline-block;
}

/* ============================ LANDING ============================ */
.landing-hero {
  min-height: 76vh;
  /* align-items: flex-start → hero-content yukarıda kalır, live-pill ile
     sağdaki "EN YENİ KARAKTERLER" label'ı (top:64px) aynı hizaya gelir. */
  display: flex; align-items: flex-start;
  position: relative; overflow: hidden;
  border-radius: 28px;
  border: 1px solid var(--border);
  padding: 64px 48px;
  margin-top: 24px;
  background:
    repeating-linear-gradient(90deg, rgba(96,165,250,.035) 0 1px, transparent 1px 86px),
    repeating-linear-gradient(0deg, rgba(148,163,184,.028) 0 1px, transparent 1px 74px),
    linear-gradient(125deg, rgba(14,165,233,.14) 0%, transparent 29%),
    linear-gradient(245deg, rgba(251,191,36,.10) 0%, transparent 32%),
    linear-gradient(180deg, rgba(10,16,29,.96) 0%, rgba(4,7,15,.98) 100%);
  box-shadow:
    0 30px 90px rgba(0,0,0,.34),
    inset 0 1px 0 rgba(255,255,255,.05);
}

/* Hero yazı bloğu — kartların DAİMA önünde.
   Stack-card z-index: var(--z) 1-8 arası dinamik → bu bloğun yüksek
   olması şart. 100 ile garantiye al. */
.landing-hero .hero-content {
  position: relative;
  z-index: 100;
  max-width: 620px;
}
.landing-hero .hero-content > * { position: relative; z-index: 101; }

/* Anasayfa hero — büyük logo backdrop (cinematic) */
.landing-hero.with-logo-bg::after {
  content:""; position: absolute; inset: 0; pointer-events: none;
  background-image: var(--bg-logo);
  background-repeat: no-repeat;
  background-position: center 110%;
  background-size: 120% auto;
  opacity: .06;
  filter: blur(2px) saturate(1.2);
  mix-blend-mode: screen;
  mask-image: radial-gradient(ellipse at center 70%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center 70%, #000 30%, transparent 75%);
  z-index: 0;
}
.landing-hero > * { position: relative; z-index: 1; }
.landing-hero > .row { width: 100%; }
.landing-hero > .row > [class*="col-"]:first-child { position: relative; z-index: 4; }
.landing-hero h1 {
  font-family: "Poppins", sans-serif;
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1.05;
  margin-bottom: 18px;
}
.landing-hero p.lead {
  font-size: 1.12rem; color: var(--text-secondary);
  max-width: 620px;
}
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

/* Anasayfa hero — sağ üst dekoratif logo */
.hero-logo-deco {
  position: absolute;
  top: -10px;
  right: 0;
  width: 220px;
  height: 220px;
  z-index: 1;
  pointer-events: none;
  opacity: .85;
  filter: drop-shadow(0 20px 40px rgba(99,102,241,.35));
}
.hero-logo-deco::before {
  content:""; position: absolute; inset: -20px; border-radius: 50%;
  background: radial-gradient(circle, rgba(168,85,247,.25), transparent 65%);
  z-index: -1;
}
.hero-logo-deco img {
  width: 100%; height: 100%;
  border-radius: 32px;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,.08);
  box-shadow: 0 24px 60px rgba(0,0,0,.55);
  transform: rotate(6deg);
  transition: transform .4s ease;
}
.hero-logo-deco:hover img { transform: rotate(0deg) scale(1.04); }

/* Live indikator */
.live-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.03);
  font-size: .82rem; font-weight: 600;
  margin-bottom: 18px;
}
.live-pill .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(34,197,94,.20);
  animation: active-pulse 2s ease-in-out infinite;
}

/* Feature cards */
.feature-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
  gap: 18px; margin: 32px 0;
}
.feature-card {
  background: rgba(255,255,255,.025);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  transition: transform .2s, border-color .2s, box-shadow .2s;
  position: relative; overflow: hidden;
}
.feature-card::before {
  content:""; position: absolute; inset: -1px;
  background: linear-gradient(135deg, var(--accent), var(--purple), var(--pink));
  border-radius: inherit;
  z-index: -1;
  opacity: 0; transition: opacity .25s;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: 0 18px 40px rgba(99,102,241,.20);
}
.feature-card:hover::before { opacity: .35; }
.feature-card .icon {
  width: 46px; height: 46px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(59,130,246,.20), rgba(168,85,247,.20));
  color: var(--accent-light);
  margin-bottom: 12px; font-size: 1.2rem;
  border: 1px solid rgba(99,102,241,.30);
}
.feature-card:nth-child(2) .icon { color: #c084fc; background: linear-gradient(135deg, rgba(168,85,247,.20), rgba(236,72,153,.20)); border-color: rgba(168,85,247,.30); }
.feature-card:nth-child(3) .icon { color: #f472b6; background: linear-gradient(135deg, rgba(236,72,153,.20), rgba(244,63,94,.20)); border-color: rgba(236,72,153,.30); }
.feature-card:nth-child(4) .icon { color: #34d399; background: linear-gradient(135deg, rgba(16,185,129,.20), rgba(6,182,212,.20)); border-color: rgba(16,185,129,.30); }
.feature-card:nth-child(5) .icon { color: #fbbf24; background: linear-gradient(135deg, rgba(245,158,11,.20), rgba(244,63,94,.20)); border-color: rgba(245,158,11,.30); }
.feature-card:nth-child(6) .icon { color: #22d3ee; background: linear-gradient(135deg, rgba(6,182,212,.20), rgba(59,130,246,.20)); border-color: rgba(6,182,212,.30); }
.feature-card h4 { font-size: 1.05rem; margin-bottom: 6px; }
.feature-card p { color: var(--text-secondary); font-size: .92rem; margin: 0; }

/* Mağaza */
.shop-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 16px; }
.shop-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  background: rgba(255,255,255,.025);
  text-align: center;
  position: relative;
  transition: transform .2s, border-color .2s;
}
.shop-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.shop-card.featured {
  border-color: rgba(168,85,247,.5);
  background: linear-gradient(180deg, rgba(168,85,247,.06), transparent);
  box-shadow: 0 18px 50px rgba(168,85,247,.20);
}
.shop-card .price {
  font-family: "Poppins", sans-serif;
  font-size: 2.2rem; font-weight: 900; margin: 8px 0;
}
.shop-card ul {
  list-style: none; padding: 0; margin: 16px 0;
  text-align: left; color: var(--text); font-size: .92rem; font-weight: 600;
}
.shop-card ul li {
  padding: 8px 0; border-bottom: 1px dashed var(--border);
  color: var(--text);
}
.shop-card ul li::before {
  content:"✓ ";
  color: var(--success); font-weight: 900;
  margin-right: 4px;
}

/* ============================ FOOTER ============================ */
.footer {
  border-top: 1px solid var(--border);
  color: var(--text-muted); font-size: .9rem;
  padding: 28px 0; margin-top: 48px;
}

/* ============================ PROFİL ÜST BANNER ============================ */
.profile-header {
  padding: 24px 28px;
  position: relative;
  overflow: hidden;
}
.profile-header::before {
  content:""; position:absolute; inset:0; pointer-events:none;
  background: radial-gradient(700px 200px at 0% 0%, rgba(59,130,246,.12), transparent 60%),
              radial-gradient(700px 200px at 100% 100%, rgba(168,85,247,.12), transparent 60%);
}
.profile-header > * { position: relative; }
.profile-pills {
  display: flex; gap: 8px; flex-wrap: wrap; align-items: center;
}
.profile-stats-row {
  display: flex; gap: 12px; align-items: center; flex-wrap: wrap;
}
.stat-bubble {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 10px 16px;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  min-width: 84px;
}
.stat-bubble i { font-size: 1.05rem; color: var(--accent-light); }
.stat-bubble span { font-size: 1.25rem; font-weight: 900; color: var(--text); line-height: 1; }
.stat-bubble small { font-size: .68rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .4px; }

.profile-sticky { position: sticky; top: 80px; }
@media (max-width: 991px) { .profile-sticky { position: static; } }

/* Beğen butonu — daha belirgin */
.like-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 14px;
  background: rgba(244,63,94,.10);
  border: 1px solid rgba(244,63,94,.35);
  color: #fda4af; font-weight: 800; font-size: .95rem;
  cursor: pointer; transition: all .2s; text-decoration: none;
}
.like-btn:hover { background: rgba(244,63,94,.18); transform: translateY(-1px); color: #fda4af; }
.like-btn.liked {
  background: linear-gradient(135deg, var(--rose), #e11d48);
  border-color: transparent; color: #fff;
  box-shadow: 0 8px 22px rgba(244,63,94,.40);
}
.like-btn.liked:hover { color: #fff; filter: brightness(1.05); }

/* ============================ İLİŞKİ KART (KOMPAKT) ============================ */
.rel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}
.rel-card {
  display: flex; flex-direction: column;
  border-radius: 12px; border: 1px solid var(--border);
  background: rgba(255,255,255,.025);
  overflow: hidden;
  transition: transform .2s, border-color .2s, box-shadow .2s;
  text-decoration: none; color: inherit;
}
.rel-card:hover {
  transform: translateY(-3px);
  border-color: rgba(96,165,250,.45);
  box-shadow: 0 10px 24px rgba(0,0,0,.35);
  color: inherit;
}
.rel-card .rel-photo {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  display: block;
  background: linear-gradient(180deg, #1a2238, #0d1322);
}
.rel-card .rel-photo.no-photo {
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; color: rgba(255,255,255,.3);
}
.rel-card .rel-info { padding: 10px 12px; }
.rel-card .rel-name {
  font-weight: 700; font-size: .85rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  color: var(--text);
}
.rel-card .rel-note {
  font-size: .72rem; color: var(--text-muted); font-style: italic;
  margin-top: 2px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ============================ BİLDİRİM ============================ */
.notif-bell {
  position: relative; display: inline-flex; align-items: center;
  padding: 8px 12px; border-radius: 10px;
  color: var(--text); font-weight: 600;
  transition: background .15s;
}
.notif-bell:hover { background: rgba(255,255,255,.05); color: var(--accent-light); }
.notif-bell .notif-count {
  position: absolute; top: 2px; right: 2px;
  min-width: 18px; height: 18px; padding: 0 5px;
  background: var(--rose); color: #fff;
  border-radius: 999px;
  font-size: .65rem; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 2px var(--primary);
}
.notif-list {
  display: flex; flex-direction: column; gap: 8px;
}
.notif-item {
  padding: 14px 16px; border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.025);
  display: flex; gap: 12px; align-items: flex-start;
  transition: border-color .15s, background .15s;
}
.notif-item.unread { border-color: rgba(96,165,250,.4); background: rgba(59,130,246,.06); }
.notif-item:hover { border-color: var(--border-light); }
.notif-item .notif-icon {
  width: 36px; height: 36px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  background: linear-gradient(135deg, rgba(59,130,246,.15), rgba(168,85,247,.15));
  border: 1px solid var(--border);
}
.notif-item .notif-body { flex: 1; min-width: 0; }
.notif-item .notif-title { font-weight: 700; color: var(--text); font-size: .94rem; margin-bottom: 2px; }
.notif-item .notif-text { color: var(--text-secondary); font-size: .85rem; }
.notif-item .notif-time { font-size: .72rem; color: var(--text-muted); margin-top: 4px; }
.notif-item .notif-actions { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }

/* ============================ KARAKTER PROFİL — SİNEMATİK ============================ */
.char-banner {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 360px;
  margin-bottom: 22px;
  background-color: #0a0e1a;
  background-image: var(--banner-photo, linear-gradient(135deg,#1a2238,#0d1322));
  background-size: cover;
  background-position: center 28%;
  display: flex; align-items: flex-end;
  box-shadow: 0 28px 60px rgba(0,0,0,.55);
  isolation: isolate;
}
.char-banner::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(7,11,20,0) 25%, rgba(7,11,20,.55) 60%, rgba(7,11,20,.95) 100%),
    linear-gradient(135deg, rgba(59,130,246,.18), transparent 55%),
    linear-gradient(225deg, rgba(168,85,247,.22), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.char-banner::after {
  content:""; position:absolute; left:0; right:0; bottom:0; height:2px;
  background: linear-gradient(90deg, transparent, var(--accent) 20%, var(--purple) 50%, var(--pink) 80%, transparent);
  opacity:.55; z-index: 1;
}
.char-banner-overlay {
  position: relative; z-index: 2;
  padding: 32px 36px 28px;
  width: 100%;
  display: flex; flex-direction: column; gap: 14px;
}
.char-banner-pills {
  display: flex; gap: 8px; flex-wrap: wrap; align-items: center;
}
.char-banner-title {
  font-family: "Poppins", sans-serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 900;
  letter-spacing: -.025em;
  margin: 0;
  line-height: 1.05;
  text-shadow: 0 4px 24px rgba(0,0,0,.65);
}
.char-banner-title .nick {
  font-style: italic;
  font-weight: 600;
  font-size: .55em;
  color: var(--accent-light);
  margin-left: 8px;
}
.char-banner-motto {
  font-style: italic;
  font-size: 1.02rem;
  color: rgba(241,245,249,.82);
  margin: 0;
  max-width: 720px;
  text-shadow: 0 2px 10px rgba(0,0,0,.5);
}
.char-banner-actions {
  display: flex; gap: 12px; flex-wrap: wrap; align-items: stretch;
  margin-top: 6px;
}

/* Sol sticky kart */
.profile-card { overflow: hidden; }
.profile-photo-wrap {
  position: relative;
  margin: -1px -1px 0 -1px;
  overflow: hidden;
}
.profile-photo-wrap::after {
  content:""; position:absolute; inset:auto 0 0 0; height:60%;
  background: linear-gradient(180deg, transparent, rgba(15,21,35,.85));
  pointer-events: none;
}
.profile-card .profile-photo {
  width: 100%; aspect-ratio: 3/4; object-fit: cover;
  display: block;
  transition: transform .6s ease;
}
.profile-card:hover .profile-photo { transform: scale(1.04); }
.profile-card .no-photo.profile-photo {
  display:flex; align-items:center; justify-content:center;
  font-size: 5rem; font-weight: 900;
  color: rgba(255,255,255,.18);
  background: linear-gradient(180deg, #1a2238, #0d1322);
}

.info-section-title {
  display: flex; align-items: center; gap: 8px;
  font-size: .72rem; font-weight: 800; letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--text-secondary);
  padding-bottom: 8px;
  margin-bottom: 12px;
  border-bottom: 1px dashed var(--border);
}
.info-section-title i { color: var(--accent-light); font-size: .85rem; }

.edit-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.edit-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 10px 12px;
  font-size: .82rem; font-weight: 700;
  color: var(--text);
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: 11px;
  text-decoration: none;
  transition: all .15s;
}
.edit-btn:hover {
  background: rgba(59,130,246,.12);
  border-color: rgba(96,165,250,.45);
  color: var(--accent-light);
  transform: translateY(-1px);
}
.edit-btn.danger {
  color: #fca5a5;
  border-color: rgba(239,68,68,.30);
  background: rgba(239,68,68,.08);
}
.edit-btn.danger:hover {
  background: rgba(239,68,68,.18);
  border-color: rgba(239,68,68,.55);
  color: #fecaca;
}

/* ============================ KARAKTER TAB SİSTEMİ ============================ */
.char-tabs {
  display: flex; gap: 6px;
  padding: 6px;
  background: rgba(15,21,35,.6);
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 14px;
  backdrop-filter: blur(14px);
  overflow-x: auto;
  scrollbar-width: none;
}
.char-tabs::-webkit-scrollbar { display: none; }
.char-tab {
  flex: 1;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 14px;
  background: transparent;
  border: none;
  border-radius: 10px;
  color: var(--text-secondary);
  font-weight: 700; font-size: .9rem;
  cursor: pointer;
  white-space: nowrap;
  transition: all .18s;
}
.char-tab:hover { color: var(--text); background: rgba(255,255,255,.04); }
.char-tab.active {
  background: linear-gradient(135deg, var(--accent), var(--indigo) 60%, var(--purple));
  color: #fff;
  box-shadow: 0 8px 22px rgba(99,102,241,.32);
}
.char-tab .tab-count {
  font-size: .72rem; font-weight: 800;
  padding: 1px 8px; border-radius: 999px;
  background: rgba(255,255,255,.10);
  color: inherit;
}
.char-tab.active .tab-count { background: rgba(255,255,255,.22); }

.char-panel { display: none; animation: panel-fade .25s ease; }
.char-panel.active { display: block; }
@keyframes panel-fade {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Sıralı bölümler (sekme yok) — aralarında nefes payı */
.char-section { margin-bottom: 18px; }
.char-section:last-of-type { margin-bottom: 0; }

.panel-title {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.15rem; font-weight: 800; margin: 0 0 16px;
}
.panel-title i { color: var(--accent-light); }
.panel-count { font-size: .85rem; color: var(--text-muted); font-weight: 600; }

/* HİKAYE KUTUSU — okunabilir, taşmasız */
.story-box {
  position: relative;
  font-size: 1rem; line-height: 1.75;
  color: var(--text-secondary);
  max-height: 520px;
  overflow: hidden;
  white-space: pre-wrap;
  word-wrap: break-word;
}
.story-box.expanded { max-height: none; }
.story-fade {
  position: absolute; left: 0; right: 0; bottom: 0; height: 120px;
  background: linear-gradient(180deg, transparent, rgba(15,21,35,.95));
  pointer-events: none;
}

/* İLİŞKİ GRUP BAŞLIĞI */
.rel-group-title {
  --g-color: var(--accent-light);
  display: flex; align-items: center; gap: 8px;
  font-size: .85rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .6px;
  color: var(--g-color);
  margin: 18px 0 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
}
.rel-group-title:first-child { margin-top: 0; }
.rel-group-title i { font-size: .9rem; }
.rel-group-count { color: var(--text-muted); font-weight: 700; font-size: .78rem; }

/* ============================ DOĞUM GÜNÜ BANNER ============================ */
.birthday-banner {
  background: linear-gradient(90deg, rgba(251,191,36,.18), rgba(236,72,153,.18) 50%, rgba(168,85,247,.18));
  border-bottom: 1px solid rgba(251,191,36,.30);
  padding: 12px 0;
  position: relative; z-index: 2;
  animation: birthday-shimmer 4s ease-in-out infinite;
}
.birthday-banner .bd-emoji,
.birthday-banner .bd-confetti {
  font-size: 1.6rem;
  filter: drop-shadow(0 0 12px rgba(251,191,36,.55));
  animation: bd-bounce 2s ease-in-out infinite;
}
.birthday-banner .bd-confetti { animation-delay: .3s; }
.birthday-banner .bd-text { color: var(--text); font-weight: 600; flex: 1; min-width: 0; }
.birthday-banner .bd-text a { color: #fbbf24; font-weight: 800; }
.birthday-banner .bd-text a:hover { color: #fde68a; }
.birthday-banner .bd-wish { color: var(--text-secondary); font-weight: 500; margin-left: 6px; }
.birthday-banner .bd-chip {
  display: inline-flex; align-items: center; gap: 4px;
  background: rgba(251,191,36,.18);
  border: 1px solid rgba(251,191,36,.45);
  border-radius: 999px;
  padding: 3px 4px 3px 12px;
}
.birthday-banner .bd-chip a { color: #fde68a; font-weight: 700; text-decoration: none; }
.birthday-banner .bd-greet-btn {
  background: linear-gradient(135deg, #fbbf24, #f472b6);
  border: none;
  border-radius: 50%;
  width: 26px; height: 26px;
  font-size: 0.95rem;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(251,191,36,.4);
  transition: transform .18s, box-shadow .2s, filter .2s;
  padding: 0; line-height: 1;
}
.birthday-banner .bd-greet-btn:hover {
  transform: scale(1.15) rotate(-8deg);
  box-shadow: 0 6px 18px rgba(244,114,182,.6);
  filter: brightness(1.1);
}
.birthday-banner .bd-greet-btn:disabled { cursor: default; opacity: .8; }
@keyframes birthday-shimmer {
  0%,100% { background-position: 0% 50%; }
  50%     { background-position: 100% 50%; }
}
@keyframes bd-bounce {
  0%,100% { transform: translateY(0) rotate(-3deg); }
  50%     { transform: translateY(-4px) rotate(5deg); }
}

/* ============================ KARAKTER REAKSİYONLARI ============================ */
.reactions-bar {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-top: 12px;
}
.reaction-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
  color: var(--text);
  font-weight: 700; font-size: .9rem;
  transition: all .15s;
  text-decoration: none;
}
.reaction-btn:hover {
  transform: translateY(-2px);
  border-color: var(--accent-light);
  background: rgba(59,130,246,.10);
}
.reaction-btn.mine {
  background: linear-gradient(135deg, rgba(168,85,247,.20), rgba(236,72,153,.20));
  border-color: rgba(168,85,247,.45);
  color: #fff;
  box-shadow: 0 6px 18px rgba(168,85,247,.25);
}
.reaction-btn.read { cursor: default; }
.reaction-btn .emoji { font-size: 1.05rem; line-height: 1; }
.reaction-btn .cnt   { font-variant-numeric: tabular-nums; opacity: .85; }

/* ============================ KARAKTER TEMA RENGİ ============================ */
/* Eğer kullanıcı renk seçmişse, char-themed sarmalayıcısı CSS değişkenlerini sağlar */
.char-themed { --tc1: var(--purple); --tc2: var(--pink); }
/* Banner içindeki Discord linki — başlığın yanında */
.banner-discord-link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border-radius: 11px;
  background: linear-gradient(135deg, #5865f2, #4752c4);
  color: #fff !important;
  font-size: 1rem;
  margin-left: 12px;
  vertical-align: middle;
  box-shadow: 0 8px 20px rgba(88,101,242,.4), inset 0 0 0 1px rgba(255,255,255,.12);
  text-decoration: none !important;
  transition: transform .18s, box-shadow .2s, filter .2s;
  position: relative;
  top: -4px;
}
.banner-discord-link:hover {
  transform: translateY(-2px) rotate(-4deg);
  filter: brightness(1.15);
  box-shadow: 0 12px 26px rgba(88,101,242,.55);
  color: #fff !important;
}
@media (max-width: 600px) {
  .banner-discord-link { width: 32px; height: 32px; font-size: .9rem; margin-left: 8px; }
}

.char-themed .char-banner::after {
  background: linear-gradient(90deg, transparent, var(--tc1) 30%, var(--tc2) 70%, transparent);
}
.char-themed .char-banner-title .nick { color: var(--tc1); }

/* Like-pill — reaksiyon barında "Beğen" emoji-tarzı buton (kalp ikonu yok) */
.reactions-bar .like-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(244,63,94,.10);
  border: 1px solid rgba(244,63,94,.30);
  color: #fda4af;
  font-weight: 800; font-size: .82rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s, background .2s, border-color .2s;
}
.reactions-bar .like-pill .lbl { letter-spacing: .2px; }
.reactions-bar .like-pill .cnt {
  background: rgba(255,255,255,.08); color: #fff;
  padding: 1px 8px; border-radius: 999px;
  font-size: .72rem; font-weight: 800;
}
.reactions-bar .like-pill:hover { transform: translateY(-1px); background: rgba(244,63,94,.18); border-color: rgba(244,63,94,.5); color: #fda4af; }
.reactions-bar .like-pill.mine {
  background: linear-gradient(135deg, var(--rose), #e11d48);
  border-color: transparent; color: #fff;
  box-shadow: 0 8px 20px rgba(244,63,94,.35);
}
.reactions-bar .like-pill.read { cursor: default; opacity: .85; }
.char-themed .reactions-bar .like-pill.mine {
  background: linear-gradient(135deg, var(--tc1), var(--tc2));
}

/* ============================ DEPARTMAN BANNER LOGO ============================
   Karakter profilindeki yuvarlak avatar gibi: banner'ın sol-altına oturur,
   biraz dışarı taşar, departmanın primary rengiyle çerçeveli. */
.dept-banner.has-logo .char-banner-overlay {
  /* Logo başlığı kaplamasın diye sol içerik biraz sağdan başlasın */
  padding-left: 168px;
}
.dept-banner-logo {
  position: absolute;
  left: 28px;
  bottom: -32px;
  width: 120px; height: 120px;
  border-radius: 24px;
  border: 4px solid var(--rc, var(--accent));
  background: #0a0e1a;
  overflow: hidden;
  z-index: 3;
  box-shadow: 0 18px 40px rgba(0,0,0,.55);
}
.dept-banner-logo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.dept-banner-logo-fallback {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.6rem;
}
/* Logo banner dışına taştığı için onun altındaki içerikler nefes alsın */
.dept-banner.has-logo + .alert,
.dept-banner.has-logo + .row { margin-top: 44px !important; }

/* Logo artık banner yerine sol kolondaki "Departman" kartının üst kısmında.
   Açıklamanın hemen üstünde, profil tarzı kare/yuvarlak rozet gibi durur. */
.dept-info-logo {
  width: 96px; height: 96px;
  border-radius: 20px;
  border: 3px solid var(--rc, var(--accent));
  background: #0a0e1a;
  overflow: hidden;
  margin: 0 auto 14px;
  box-shadow: 0 12px 28px rgba(0,0,0,.45);
}
.dept-info-logo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.dept-info-logo-fallback {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem;
}

@media (max-width: 720px) {
  .dept-banner.has-logo .char-banner-overlay { padding-left: 24px; padding-top: 20px; }
  .dept-banner-logo {
    left: 16px; bottom: -28px;
    width: 84px; height: 84px;
    border-radius: 18px; border-width: 3px;
  }
  .dept-banner-logo-fallback { font-size: 1.8rem; }
  .dept-banner.has-logo + .alert,
  .dept-banner.has-logo + .row { margin-top: 38px !important; }
}
.char-themed .like-btn.liked,
.char-themed .reaction-btn.mine {
  background: linear-gradient(135deg, var(--tc1), var(--tc2));
  border-color: transparent;
  box-shadow: 0 8px 22px color-mix(in oklab, var(--tc2) 45%, transparent);
}
.char-themed .panel-title i,
.char-themed .info-section-title i { color: var(--tc1); }

/* =====================================================================
   Profile theme — sitewide on the profile page
   Banner gradient kenarlar, kartlar, bağlantılar, butonlar, badge'ler
   ===================================================================== */
.char-themed .grad-text {
  background: linear-gradient(90deg, var(--tc1), var(--tc2)) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}
.char-themed .panel-title { border-left: 3px solid var(--tc1); padding-left: 12px; }
.char-themed .form-card,
.char-themed .profile-card {
  border-color: color-mix(in oklab, var(--tc1) 28%, var(--border));
  box-shadow: 0 14px 40px color-mix(in oklab, var(--tc1) 14%, transparent);
}
.char-themed .form-card:hover,
.char-themed .profile-card:hover {
  border-color: color-mix(in oklab, var(--tc2) 45%, var(--border));
}
.char-themed .stat-bubble {
  border-color: color-mix(in oklab, var(--tc1) 35%, var(--border));
  background: color-mix(in oklab, var(--tc1) 6%, rgba(15,21,35,.65));
}
.char-themed .reactions-bar .reaction-btn:hover {
  border-color: color-mix(in oklab, var(--tc1) 50%, var(--border));
}
.char-themed .rel-card:hover,
.char-themed .biz-emp:hover,
.char-themed .timeline-item:hover {
  border-color: color-mix(in oklab, var(--tc2) 45%, var(--border));
  box-shadow: 0 12px 28px color-mix(in oklab, var(--tc2) 18%, transparent);
}
.char-themed .timeline::before {
  background: linear-gradient(180deg, var(--tc1), var(--tc2));
}
.char-themed .timeline-item::before {
  background: var(--tc1);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--tc1) 25%, transparent);
}
.char-themed .btn-primary,
.char-themed .char-flip-cta,
.char-themed .like-btn:hover {
  background: linear-gradient(135deg, var(--tc1), var(--tc2)) !important;
  border-color: transparent !important;
  box-shadow: 0 10px 26px color-mix(in oklab, var(--tc2) 35%, transparent);
}
.char-themed .btn-secondary {
  border-color: color-mix(in oklab, var(--tc1) 35%, var(--border));
}
.char-themed .btn-secondary:hover {
  border-color: var(--tc1);
  background: color-mix(in oklab, var(--tc1) 12%, transparent);
}
.char-themed .badge-active {
  background: linear-gradient(135deg, var(--success), var(--tc1));
}
.char-themed .info-section-title {
  color: color-mix(in oklab, var(--tc1) 65%, var(--text));
}
.char-themed .banner-discord-link {
  box-shadow: 0 8px 22px color-mix(in oklab, var(--tc1) 35%, rgba(88,101,242,.4));
}
.char-themed a:not(.btn):not(.discord-link):not(.banner-discord-link):not(.dropdown-item):not(.rel-card):not(.biz-emp):not(.lb-trigger):hover {
  color: var(--tc1);
}
.char-themed::before {
  /* Sayfa arkaplanına subtle theme glow ekle */
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(800px 400px at 15% 10%, color-mix(in oklab, var(--tc1) 14%, transparent), transparent 60%),
    radial-gradient(900px 500px at 85% 90%, color-mix(in oklab, var(--tc2) 12%, transparent), transparent 60%);
  opacity: .85;
}
.char-themed { position: relative; }
.char-themed > * { position: relative; z-index: 1; }

/* Tema picker (düzenle sayfası) */
.theme-picker { padding: 14px; border: 1px dashed var(--border); border-radius: 14px; background: rgba(255,255,255,.02); }
.theme-preset-row { display: flex; gap: 10px; flex-wrap: wrap; }
.theme-preset {
  width: 36px; height: 36px; border-radius: 10px;
  border: 2px solid var(--border);
  cursor: pointer;
  transition: transform .15s, border-color .15s;
}
.theme-preset:hover { transform: scale(1.08); border-color: var(--text); }
.theme-preset.reset {
  background: rgba(255,255,255,.05); color: var(--text-muted);
  font-weight: 900; font-size: 1.2rem;
}
.theme-preview {
  --tc1: #a855f7; --tc2: #ec4899;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  background: rgba(255,255,255,.02);
  border: 1px solid var(--border); border-radius: 12px;
}
.theme-preview-bar {
  width: 64px; height: 8px; border-radius: 999px;
  background: linear-gradient(90deg, var(--tc1), var(--tc2));
  box-shadow: 0 0 20px color-mix(in oklab, var(--tc2) 45%, transparent);
}
.theme-preview span { color: var(--text-secondary); font-size: .85rem; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; }

/* ============================ LIGHTBOX ============================ */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(3,5,11,.92);
  display: none;
  align-items: center; justify-content: center;
  z-index: 9999;
  backdrop-filter: blur(14px);
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 92vw; max-height: 88vh;
  border-radius: 14px;
  box-shadow: 0 30px 80px rgba(0,0,0,.7);
  animation: lb-pop .25s ease;
}
@keyframes lb-pop { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: scale(1); } }
.lightbox .lb-close,
.lightbox .lb-prev,
.lightbox .lb-next {
  position: absolute;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.20);
  color: #fff;
  width: 48px; height: 48px;
  border-radius: 50%;
  font-size: 2rem; font-weight: 700; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all .15s;
}
.lightbox .lb-close { top: 22px; right: 22px; }
.lightbox .lb-prev  { left:  22px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next  { right: 22px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-close:hover,
.lightbox .lb-prev:hover,
.lightbox .lb-next:hover { background: rgba(255,255,255,.20); transform: scale(1.08); }
.lightbox .lb-prev:hover, .lightbox .lb-next:hover { transform: translateY(-50%) scale(1.08); }
.lightbox .lb-caption {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  background: rgba(0,0,0,.6); padding: 8px 16px; border-radius: 8px;
  color: #fff; font-size: .9rem;
  display: none;
}

/* ============================ SECTION HEAD (eyebrow) ============================ */
.section-head h2 { font-size: clamp(1.7rem, 2.6vw, 2.4rem); font-weight: 900; margin: 4px 0 6px; }
.section-eyebrow {
  display: inline-block;
  font-size: .72rem; font-weight: 800; letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--accent-light);
  background: rgba(59,130,246,.12);
  border: 1px solid rgba(59,130,246,.35);
  padding: 4px 12px; border-radius: 999px;
}

/* ============================ KEŞFET — ŞEHİR HAYATI ============================ */
.explore-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.explore-card {
  position: relative;
  display: block;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  min-height: 220px;
  text-decoration: none; color: inherit;
  background-color: #0f1523;
  background-image: var(--bg, none);
  background-size: cover; background-position: center;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.explore-card::before {
  content:""; position:absolute; inset:0;
  background:
    linear-gradient(180deg, rgba(7,11,20,.30) 0%, rgba(7,11,20,.95) 100%),
    linear-gradient(135deg, rgba(59,130,246,.18), transparent 55%);
  pointer-events: none;
  transition: opacity .25s;
}
.explore-card:hover {
  transform: translateY(-4px);
  border-color: rgba(168,85,247,.55);
  box-shadow: 0 22px 50px rgba(168,85,247,.18);
  color: inherit;
}
.explore-card:hover::before { background: linear-gradient(180deg, rgba(7,11,20,.10) 0%, rgba(7,11,20,.85) 100%); }
.explore-card-content {
  position: relative;
  padding: 22px;
  height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.explore-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(59,130,246,.30), rgba(168,85,247,.30));
  color: var(--accent-light);
  margin-bottom: 12px; font-size: 1.2rem;
  border: 1px solid rgba(99,102,241,.35);
}
.explore-card h3 { font-size: 1.2rem; margin: 0 0 6px; }
.explore-card p  { font-size: .88rem; color: rgba(241,245,249,.85); margin: 0; }

/* ============================ ANASAYFA GALERİ ============================ */
.site-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
  grid-auto-rows: 200px;
}
.site-gallery-item {
  position: relative;
  display: block;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform .25s, border-color .25s;
}
.site-gallery-item:nth-child(7n+1) { grid-row: span 2; }
.site-gallery-item:nth-child(11n+5) { grid-column: span 2; }
.site-gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .35s ease;
}
.site-gallery-item:hover { transform: translateY(-3px); border-color: rgba(168,85,247,.5); }
.site-gallery-item:hover img { transform: scale(1.06); }
.site-gallery-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 10px 14px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.85));
  color: #fff; font-weight: 600; font-size: .85rem;
}

/* ============================ YAYINCILAR ============================ */
.streamer-section-title {
  display: flex; align-items: center; gap: 10px;
  font-size: .85rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 1px;
  color: var(--success);
  margin: 18px 0 10px;
}
.streamer-section-title.offline { color: var(--text-muted); }
.streamer-count { color: var(--text-muted); font-weight: 700; }
.streamer-section-title .live-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(34,197,94,.20);
  animation: active-pulse 2s ease-in-out infinite;
}
.streamer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}
.streamer-card {
  --plat-color: #94a3b8;
  position: relative;
  display: flex; gap: 14px;
  padding: 18px;
  background: rgba(255,255,255,.025);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-decoration: none; color: inherit;
  transition: all .25s;
}
.streamer-card:hover {
  transform: translateY(-3px);
  border-color: var(--plat-color);
  background: rgba(255,255,255,.04);
  color: inherit;
  box-shadow: 0 18px 40px color-mix(in oklab, var(--plat-color) 25%, transparent);
}
.streamer-card.is-live {
  border-color: rgba(220,38,38,.55);
  background: linear-gradient(135deg, rgba(220,38,38,.06), rgba(168,85,247,.06));
  box-shadow: 0 8px 26px rgba(220,38,38,.18);
}
.streamer-live-pill {
  position: absolute; top: 12px; right: 12px;
  display: inline-flex; align-items: center; gap: 6px;
  background: #dc2626; color: #fff;
  font-size: .7rem; font-weight: 800; letter-spacing: .8px;
  padding: 4px 10px; border-radius: 999px;
  animation: active-pulse 2s ease-in-out infinite;
  box-shadow: 0 4px 14px rgba(220,38,38,.45);
}
.streamer-live-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: #fff; }
.streamer-avatar {
  width: 70px; height: 70px; border-radius: 16px;
  overflow: hidden; flex-shrink: 0;
  background: linear-gradient(180deg, #1a2238, #0d1322);
  border: 2px solid var(--plat-color);
}
.streamer-avatar img { width: 100%; height: 100%; object-fit: cover; }
.streamer-avatar .no-photo { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.3); font-weight: 900; }
.streamer-info { min-width: 0; flex: 1; }
.streamer-name { font-weight: 800; font-size: 1.05rem; }
.streamer-platform {
  font-size: .78rem; font-weight: 700; letter-spacing: .5px;
  color: var(--plat-color);
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 2px;
}
.streamer-bio {
  font-size: .85rem; color: var(--text-secondary);
  margin: 8px 0 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============================ EKİP ============================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}
.team-card {
  background: rgba(255,255,255,.025);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  text-align: center;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.team-card:hover {
  transform: translateY(-4px);
  border-color: rgba(168,85,247,.55);
  box-shadow: 0 18px 40px rgba(168,85,247,.20);
}
.team-avatar {
  width: 110px; height: 110px;
  margin: 0 auto 14px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(180deg, #1a2238, #0d1322);
  border: 3px solid rgba(168,85,247,.35);
  box-shadow: 0 12px 30px rgba(168,85,247,.20);
}
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-avatar .no-photo { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.3); font-weight: 900; }
.team-name { font-size: 1.15rem; margin: 0 0 4px; font-weight: 800; }
.team-role {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  background: linear-gradient(135deg, rgba(59,130,246,.18), rgba(168,85,247,.18));
  border: 1px solid rgba(99,102,241,.30);
  font-size: .72rem; font-weight: 800; letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 12px;
}
.team-bio { font-size: .88rem; color: var(--text-secondary); margin: 0 0 12px; }
.team-link {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--discord); color: #fff;
  padding: 6px 14px; border-radius: 999px;
  font-size: .8rem; font-weight: 700;
  text-decoration: none;
}
.team-link:hover { color: #fff; filter: brightness(1.12); }

/* ============================ KARAKTER KIYAS ============================ */
.kiyas-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 768px) { .kiyas-grid { grid-template-columns: 1fr; } }
.kiyas-card {
  display: block;
  background: rgba(255,255,255,.025);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none; color: inherit;
  transition: transform .2s, border-color .2s;
}
.kiyas-card:hover { transform: translateY(-3px); border-color: rgba(96,165,250,.45); color: inherit; }
.kiyas-card img,
.kiyas-card .no-photo {
  width: 100%; aspect-ratio: 16/9; object-fit: cover;
  background: linear-gradient(180deg, #1a2238, #0d1322);
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem; font-weight: 900; color: rgba(255,255,255,.15);
}
.kiyas-card-body { padding: 16px; }
.kiyas-card-body h3 { margin: 0 0 4px; font-size: 1.2rem; }
.kiyas-nick { font-style: italic; color: var(--accent-light); font-size: .9rem; }
.kiyas-motto { color: var(--text-secondary); font-size: .9rem; margin-top: 6px; }
.kiyas-table td, .kiyas-table th { padding: 10px 14px; }
.kiyas-table .kiyas-label { color: var(--text-muted); font-weight: 700; text-transform: uppercase; font-size: .75rem; letter-spacing: .5px; }

/* ============================ FOOTER (KNGL tarzı) ============================ */
.cta-discord { padding: 28px 0 14px; }
.cta-card {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px;
  background: linear-gradient(135deg, rgba(88,101,242,.18), rgba(168,85,247,.10));
  border: 1px solid rgba(88,101,242,.35);
  border-radius: var(--radius-xl);
  padding: 32px;
  align-items: center;
}
@media (max-width: 768px) { .cta-card { grid-template-columns: 1fr; } }
.cta-left h2 { font-size: clamp(1.4rem, 2.4vw, 2rem); margin: 0 0 8px; }
.cta-left p  { color: var(--text-secondary); margin: 0 0 16px; }
.cta-card-server {
  display: flex; gap: 16px;
  background: rgba(15,21,35,.6);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
}
.cta-logo { width: 72px; height: 72px; border-radius: 14px; object-fit: cover; flex-shrink: 0; }
.cta-card-server strong { font-size: 1.05rem; display: block; margin-bottom: 4px; }
.cta-card-server p { font-size: .85rem; color: var(--text-secondary); margin: 0; }

.footer-grid {
  border-top: 1px solid var(--border);
  background: rgba(7,11,20,.7);
  backdrop-filter: blur(10px);
  padding: 40px 0 20px;
  margin-top: 28px;
}
.footer-cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
}
@media (max-width: 768px) {
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
.footer-brand-name { font-family: "Poppins", sans-serif; font-size: 1.1rem; }
.footer-col h6 {
  font-size: .72rem; text-transform: uppercase; letter-spacing: 1px;
  color: var(--text-muted); margin-bottom: 12px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { padding: 4px 0; }
.footer-col a {
  color: var(--text-secondary); font-weight: 600; font-size: .9rem;
  transition: color .15s;
}
.footer-col a:hover { color: var(--accent-light); }
.footer-socials { display: flex; gap: 8px; margin-top: 12px; }
.footer-socials a {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  color: var(--text);
}
.footer-socials a:hover { color: var(--accent-light); border-color: var(--accent); }
.footer-bottom {
  margin-top: 28px; padding-top: 18px;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--text-muted); font-size: .82rem;
}
.footer-bottom p { margin: 4px 0; }
.footer-disclaimer { color: var(--text-muted); opacity: .75; }

/* ============================ V6 — KARAKTER İLİŞKİ ROZETLERİ ============================ */
.rel-badge-row {
  position: absolute; top: 10px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 6px; flex-wrap: nowrap;
  z-index: 4;
}
.rel-badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: .68rem; font-weight: 800; letter-spacing: .3px;
  padding: 4px 9px; border-radius: 999px;
  background: rgba(7,11,20,.78);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(6px);
  color: #fff;
  white-space: nowrap;
}
.rel-badge.esi      { border-color: rgba(240,171,252,.6); color: #f0abfc; }
.rel-badge.sevgili  { border-color: rgba(244,114,182,.6); color: #f9a8d4; }
.rel-badge.eski_sevgili { border-color: rgba(251,113,133,.5); color: #fda4af; }
.rel-badge.aile     { border-color: rgba(96,165,250,.5); color: #93c5fd; }

/* ============================ V6 — KARAKTER PROFİLİ İLİŞKİ KOMPAKT ============================ */
.rel-grid.compact { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.rel-card.compact { flex-direction: row; align-items: center; gap: 10px; padding: 8px; border-radius: 12px; }
.rel-card.compact .rel-photo { width: 44px; height: 44px; aspect-ratio: 1/1; border-radius: 50%; flex-shrink: 0; }
.rel-card.compact .rel-info { padding: 0; min-width: 0; flex: 1; }
.rel-card.compact .rel-name { font-size: .82rem; }
.rel-card.compact .rel-note { font-size: .68rem; }
.rel-card.compact .rel-type-pill {
  font-size: .62rem; font-weight: 800; letter-spacing: .3px;
  padding: 2px 7px; border-radius: 999px;
  background: rgba(255,255,255,.06);
  display: inline-block; margin-top: 2px;
}

/* "İlişki Ekle" header butonu hizalaması — karakter.php */
.section-head-row {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 14px; gap: 10px; flex-wrap: wrap;
}

/* ============================ V6 — DISCORD MİNİ POPOVER ============================ */
.discord-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(88,101,242,.14);
  border: 1px solid rgba(88,101,242,.35);
  color: #a5b4fc !important;
  font-weight: 700; font-size: .82rem;
  text-decoration: none;
  transition: all .15s;
}
.discord-link:hover { background: rgba(88,101,242,.28); color: #c7d2fe !important; }

/* ============================ V6 — GALERİ DAHA SIKI GRID ============================ */
.gallery-grid {
  grid-template-columns: repeat(3, 1fr);
}
@media (min-width: 1100px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 600px)  { .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; } }
.gallery-grid > a, .gallery-grid > div {
  aspect-ratio: 1/1;
}
.gallery-grid img { transition: transform .35s ease, filter .25s; }
.gallery-grid a:hover img { transform: scale(1.04); filter: brightness(1.06); }

/* ============================ V6 — EKİP YENİ ŞABLONU ============================ */
.team-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  justify-content: center;
}
.team-card {
  position: relative;
  text-align: center;
  padding: 18px 16px 18px;
  border: 1px solid var(--tier-color, var(--border));
  background:
    linear-gradient(180deg, color-mix(in oklab, var(--tier-color, transparent) 14%, transparent), transparent 60%),
    rgba(255,255,255,.025);
  overflow: hidden;
}
.team-card::before {
  content:""; position:absolute; inset:0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, transparent, var(--tier-color, var(--accent)) 30%, var(--tier-color, var(--accent)) 70%, transparent);
}
/* Per-card tier pill gizli: bölüm başlığı zaten tier'i ve sayısını gösteriyor.
   Birden fazla "GRANDMASTER" rozeti yan yana foto arkasında kötü duruyordu. */
.team-card .team-tier {
  display: none;
}
.team-avatar {
  width: 132px; height: 132px;
  border-radius: 18px;            /* yuvarlak değil, kare köşeli */
  border: 3px solid var(--tier-color, rgba(168,85,247,.35));
  box-shadow: 0 10px 28px color-mix(in oklab, var(--tier-color, var(--purple)) 30%, transparent);
}
.team-avatar img { object-fit: cover; }
.team-avatar.is-gif::after {
  content: "GIF"; position: absolute; bottom: 6px; right: 6px;
  font-size: .55rem; font-weight: 900; letter-spacing: .5px;
  background: rgba(0,0,0,.7); color: #fff;
  padding: 2px 5px; border-radius: 4px;
}
.team-role {
  background: color-mix(in oklab, var(--tier-color, var(--accent)) 18%, transparent);
  border-color: color-mix(in oklab, var(--tier-color, var(--accent)) 40%, transparent);
  color: var(--tier-color, var(--accent-light));
}

/* ============================ V6 — YAYINCI BÜYÜK KART ============================ */
.streamer-grid {
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
}
.streamer-card {
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}
.streamer-card .streamer-cover {
  width: 100%; aspect-ratio: 16/9;
  background: linear-gradient(135deg, #1a2238, #0d1322);
  background-size: cover; background-position: center;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.streamer-card .streamer-cover::after {
  content:""; position:absolute; inset:0;
  background: linear-gradient(180deg, transparent 40%, rgba(7,11,20,.7));
}
.streamer-card .streamer-body {
  display: flex; gap: 14px; padding: 16px 18px 18px; align-items: center;
}
.streamer-card .streamer-avatar {
  width: 64px; height: 64px;
  border-radius: 14px;
  margin-top: -36px; flex-shrink: 0;
  background: #0a0e1a;
  position: relative; z-index: 2;
  box-shadow: 0 10px 28px rgba(0,0,0,.45);
}
.streamer-live-pill { top: 14px; left: 14px; right: auto; }
.streamer-status-pill {
  position: absolute; top: 14px; right: 14px;
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(15,21,35,.85); color: #94a3b8;
  font-size: .7rem; font-weight: 800; letter-spacing: .8px;
  padding: 4px 10px; border-radius: 999px;
  border: 1px solid var(--border);
}
.streamer-card.is-live .streamer-status-pill { display: none; }

/* Yayıncı başvuru paneli */
.apply-panel {
  border: 1px dashed rgba(168,85,247,.45);
  background: linear-gradient(180deg, rgba(168,85,247,.06), transparent);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 20px;
}

/* ============================ V6 — ŞEHİR HAYATI YENİ ŞABLON ============================ */
.explore-grid.split { grid-template-columns: 1fr; gap: 16px; }
.explore-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 0;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.02), transparent),
              rgba(15,21,35,.55);
  transition: transform .25s, border-color .25s, box-shadow .25s;
  text-decoration: none; color: inherit;
}
.explore-row:hover {
  transform: translateY(-3px);
  border-color: rgba(168,85,247,.5);
  box-shadow: 0 18px 40px rgba(168,85,247,.18);
  color: inherit;
}
.explore-row:nth-child(even) { grid-template-columns: 1.4fr 1fr; }
.explore-row:nth-child(even) .explore-text  { order: 2; }
.explore-row:nth-child(even) .explore-image { order: 1; }
.explore-text {
  padding: 28px 30px;
  display: flex; flex-direction: column; justify-content: center;
}
.explore-text .explore-icon {
  width: 56px; height: 56px; border-radius: 16px;
  background: linear-gradient(135deg, rgba(59,130,246,.30), rgba(168,85,247,.30));
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: var(--accent-light);
  margin-bottom: 14px;
  border: 1px solid rgba(99,102,241,.35);
}
.explore-text h3 { font-size: 1.55rem; margin: 0 0 8px; }
.explore-text p  { color: var(--text-secondary); font-size: .96rem; margin: 0; }
.explore-image {
  background: #0a0e1a;
  background-size: cover; background-position: center;
  min-height: 220px;
  position: relative;
}
.explore-image::after {
  content:""; position:absolute; inset:0;
  background: radial-gradient(ellipse 60% 60% at center, transparent, rgba(7,11,20,.45));
}
@media (max-width: 768px) {
  .explore-row,
  .explore-row:nth-child(even) { grid-template-columns: 1fr; }
  .explore-row:nth-child(even) .explore-text  { order: 0; }
  .explore-row:nth-child(even) .explore-image { order: 0; }
  .explore-image { min-height: 180px; }
}

/* ============================ V6 — KARAKTER BANNER YÜKLEME / KIRPMA ============================ */
.banner-uploader {
  position: relative;
  width: 100%; aspect-ratio: 16/6;
  border-radius: 14px; overflow: hidden;
  background: linear-gradient(135deg,#1a2238,#0d1322);
  border: 1px dashed var(--border-light);
  display: flex; align-items: center; justify-content: center;
}
.banner-uploader.has-photo { border-style: solid; }
.banner-uploader img { width: 100%; height: 100%; object-fit: cover; display: block; }
.banner-uploader .ph-empty { color: var(--text-muted); font-size: .9rem; text-align: center; padding: 16px; }

.cropper-stage {
  position: relative;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  background: #0a0e1a;
  border: 1px solid var(--border);
  user-select: none;
  touch-action: none;
}
.cropper-stage canvas { display: block; cursor: grab; max-width: 100%; }
.cropper-stage canvas:active { cursor: grabbing; }
.cropper-controls {
  display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
  margin-top: 10px;
}
.cropper-controls input[type=range] { flex: 1; min-width: 140px; }

/* ============================ V6 — ANASAYFA KARAKTER ŞERİDİ ============================ */
.char-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
  margin-top: 18px;
}
.char-strip .strip-card {
  position: relative;
  display: block;
  aspect-ratio: 3/4;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: linear-gradient(180deg,#1a2238,#0d1322);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.char-strip .strip-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 22px 48px rgba(99,102,241,.22);
  border-color: rgba(168,85,247,.5);
}
.char-strip .strip-card img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.char-strip .strip-info {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 10px 12px 11px;
  background: linear-gradient(180deg, transparent, rgba(7,11,20,.95) 70%);
  color: #fff;
}
.char-strip .strip-name { font-weight: 800; font-size: .9rem; line-height: 1.2; }
.char-strip .strip-meta { font-size: .68rem; color: rgba(241,245,249,.78); margin-top: 2px; }

/* ============================ V6 — DOĞUM GÜNÜ BANNER MOBİL ============================ */
.birthday-banner .container { font-size: .92rem; }
.birthday-banner .bd-emoji,
.birthday-banner .bd-confetti { font-size: 1.3rem; }
@media (max-width: 768px) {
  .birthday-banner { padding: 10px 0; }
  .birthday-banner .container { gap: 8px !important; font-size: .82rem; }
  .birthday-banner .bd-emoji,
  .birthday-banner .bd-confetti { font-size: 1.1rem; }
  .birthday-banner .bd-text { font-size: .82rem; line-height: 1.4; }
  .birthday-banner .bd-wish { display: none; }
}

/* ============================ V6 — İŞLETMELER ============================ */
.biz-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.biz-card {
  display: flex; flex-direction: column;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: rgba(255,255,255,.025);
  overflow: hidden;
  text-decoration: none; color: inherit;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.biz-card:hover {
  transform: translateY(-3px);
  border-color: rgba(251,191,36,.55);
  color: inherit;
  box-shadow: 0 18px 40px rgba(251,191,36,.18);
}
.biz-banner {
  width: 100%; aspect-ratio: 16/9;
  background: linear-gradient(135deg,#1a2238,#0d1322);
  background-size: cover; background-position: center;
  position: relative;
}
.biz-banner::after {
  content:""; position:absolute; inset:0;
  background: linear-gradient(180deg, transparent 40%, rgba(7,11,20,.85));
}
.biz-cat-pill {
  position: absolute; top: 12px; left: 12px;
  font-size: .68rem; font-weight: 800; letter-spacing: .5px;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(15,21,35,.85);
  border: 1px solid var(--border-light);
  color: var(--accent-light);
  text-transform: uppercase;
  z-index: 2;
}
.biz-status-pill {
  position: absolute; top: 12px; right: 12px;
  z-index: 2;
}
.biz-info { padding: 14px 16px 16px; }
.biz-info h4 { margin: 0 0 4px; font-size: 1.05rem; }

/* ============================ LEGAL PAGES (Privacy / Terms) ============================ */
.legal-page .legal-content { max-width: 880px; margin: 0 auto; padding: 36px 38px; }
.legal-content h1 { font-size: 1.9rem; margin-bottom: .5rem; }
.legal-content h2 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--accent-light, #60a5fa);
  margin: 28px 0 10px;
  padding-top: 14px;
  border-top: 1px dashed var(--border);
}
.legal-content h2:first-of-type { border-top: 0; padding-top: 0; }
.legal-content h5 {
  font-size: .98rem;
  font-weight: 700;
  margin: 14px 0 6px;
  color: rgba(241,245,249,.95);
}
.legal-content p,
.legal-content li {
  font-size: .94rem;
  line-height: 1.65;
  color: rgba(203,213,225,.92);
}
.legal-content ul { padding-left: 22px; margin-bottom: 10px; }
.legal-content li { margin-bottom: 4px; }
.legal-content a { color: var(--accent-light, #60a5fa); text-decoration: underline; text-underline-offset: 2px; }
.legal-content a:hover { color: var(--purple, #a855f7); }
.legal-content strong { color: #fff; }
.legal-content .breadcrumb { background: transparent; padding: 0; margin: 0; }
.legal-content .breadcrumb-item a { color: var(--text-muted); }
@media (max-width: 720px) {
  .legal-page .legal-content { padding: 22px 18px; }
  .legal-content h1 { font-size: 1.4rem; }
}

/* ============================ NAV CTA TIP ============================
   Navbar'daki "Discord ile Giriş" / "Karakter Oluştur" butonunu işaret
   eden kısa öz ipucu. Buton üstüne gelen küçük bir balon — pulse efekti
   ile dikkat çeker, kısa metin ile ne yapılacağını söyler. */
.nav-cta-wrap { position: relative; }
.nav-cta-pulse {
  position: relative;
  animation: nav-cta-glow 2.2s ease-in-out infinite;
  border-radius: 10px;
}
@keyframes nav-cta-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(88,101,242,.55); }
  50%      { box-shadow: 0 0 0 10px rgba(88,101,242,0); }
}
/* Karakter oluştur butonu için mor pulse */
#navCtaChar.nav-cta-pulse { animation-name: nav-cta-glow-purple; }
@keyframes nav-cta-glow-purple {
  0%, 100% { box-shadow: 0 0 0 0 rgba(168,85,247,.55); }
  50%      { box-shadow: 0 0 0 10px rgba(168,85,247,0); }
}
.nav-cta-tip {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 1050;
  display: inline-flex; align-items: flex-start; gap: 8px;
  max-width: 320px;
  padding: 10px 14px;
  border-radius: 10px;
  background: linear-gradient(135deg, #5865F2, #4752c4);
  color: #fff; font-size: .78rem; font-weight: 600; line-height: 1.4; letter-spacing: .1px;
  box-shadow: 0 10px 28px rgba(0,0,0,.5);
  pointer-events: none;
  animation: nav-cta-tip-bob 1.6s ease-in-out infinite;
}
.nav-cta-tip i { font-size: .82rem; margin-top: 1px; flex-shrink: 0; }
.nav-cta-tip[data-target="navCtaChar"] {
  background: linear-gradient(135deg, #a855f7, #ec4899);
}
/* Dikkat çeken kırmızı varyant — Discord giriş için "güven verici" uzun metin */
.nav-cta-tip-alert {
  background: linear-gradient(135deg, #ef4444, #dc2626) !important;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow:
    0 10px 30px rgba(239,68,68,.45),
    0 0 0 0 rgba(239,68,68,.55);
  animation:
    nav-cta-tip-bob 1.6s ease-in-out infinite,
    nav-cta-tip-alert-glow 1.8s ease-in-out infinite;
}
@keyframes nav-cta-tip-alert-glow {
  0%, 100% { box-shadow: 0 10px 30px rgba(239,68,68,.45), 0 0 0 0 rgba(239,68,68,.55); }
  50%      { box-shadow: 0 14px 36px rgba(239,68,68,.65), 0 0 0 6px rgba(239,68,68,0); }
}
.nav-cta-tip::before {
  content:""; position: absolute;
  top: -5px; right: 18px;
  width: 10px; height: 10px;
  background: inherit;
  transform: rotate(45deg);
  border-radius: 2px;
}
@keyframes nav-cta-tip-bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-3px); }
}
@media (max-width: 991px) {
  /* Mobilde nav collapse içinde; tip tam altta normal akışta görünsün */
  .nav-cta-tip {
    position: static;
    margin-top: 6px;
    align-self: flex-start;
  }
  .nav-cta-tip::before { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .nav-cta-pulse, .nav-cta-tip { animation: none; }
}

/* Otomatik "Meslek" listesi — karakterin üye olduğu işletme/departmanlar.
   Tıklanabilir pill'ler; renk üyelik kategorisinden gelir (--jc). */
.job-auto-list {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: 2px;
}
.job-auto-pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid color-mix(in oklab, var(--jc, var(--accent)) 45%, transparent);
  background: color-mix(in oklab, var(--jc, var(--accent)) 14%, transparent);
  color: #fff;
  font-size: .85rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.job-auto-pill i { color: var(--jc, var(--accent)); font-size: .82rem; }
.job-auto-pill:hover {
  transform: translateY(-1px);
  background: color-mix(in oklab, var(--jc, var(--accent)) 24%, transparent);
  border-color: color-mix(in oklab, var(--jc, var(--accent)) 75%, transparent);
  color: #fff;
}
.job-auto-empty {
  display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
}
.job-auto-cta {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(168,85,247,.14);
  border: 1px dashed rgba(168,85,247,.45);
  color: #c4b5fd;
  font-size: .82rem; font-weight: 700;
  text-decoration: none;
  transition: background .15s ease, color .15s ease;
}
.job-auto-cta:hover { background: rgba(168,85,247,.24); color: #fff; }

/* Departman logosu — banner'dan TAMAMEN ayrı, açıklamanın hemen üstünde
   yer alan dairesel avatar. Banner'a binmez, kart başlığından önce kendi
   alanında durur. */
.dept-logo-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 0 10px;
  background: #0a0e1a;
  border: 3px solid var(--accent);
  box-shadow: 0 6px 16px rgba(0,0,0,.4);
  position: relative;
  z-index: 1;
}
.biz-meta {
  font-size: .78rem; color: var(--text-muted);
  display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px;
}
.biz-cat-malikane { --bcat: #fbbf24; }
.biz-cat-bar      { --bcat: #f472b6; }
.biz-cat-silah    { --bcat: #ef4444; }
.biz-cat-emlak    { --bcat: #60a5fa; }
.biz-cat-mekanik  { --bcat: #a3e635; }
.biz-cat-galeri   { --bcat: #c084fc; }
.biz-cat-diger    { --bcat: #94a3b8; }
.biz-cat-pill { color: var(--bcat, var(--accent-light)); border-color: color-mix(in oklab, var(--bcat, var(--accent)) 40%, transparent); }

/* İşletme banner fallback: foto yoksa kategori rengiyle gradient */
.char-banner.biz-cat-malikane:not([style*="--banner-photo"]),
.char-banner.biz-cat-bar:not([style*="--banner-photo"]),
.char-banner.biz-cat-silah:not([style*="--banner-photo"]),
.char-banner.biz-cat-emlak:not([style*="--banner-photo"]),
.char-banner.biz-cat-mekanik:not([style*="--banner-photo"]),
.char-banner.biz-cat-galeri:not([style*="--banner-photo"]),
.char-banner.biz-cat-diger:not([style*="--banner-photo"]) {
  background-image: linear-gradient(135deg, color-mix(in oklab, var(--bcat) 35%, #0a0e1a), #0a0e1a 70%);
}

.biz-emp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
}
.biz-emp {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px; border-radius: 10px;
  background: rgba(255,255,255,.025);
  border: 1px solid var(--border);
  text-decoration: none; color: inherit;
  transition: border-color .15s, transform .15s;
}
.biz-emp:hover { border-color: var(--accent); transform: translateY(-1px); color: inherit; }
.biz-emp img, .biz-emp .no-photo {
  width: 38px; height: 38px; border-radius: 50%;
  object-fit: cover; flex-shrink: 0;
  background: linear-gradient(180deg,#1a2238,#0d1322);
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; color: rgba(255,255,255,.3);
}
.biz-emp .biz-emp-info { min-width: 0; flex: 1; }
.biz-emp .biz-emp-name { font-weight: 700; font-size: .85rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.biz-emp .biz-emp-role { font-size: .68rem; color: var(--text-muted); }

/* ============================ V6 — ANONİM CHAT ============================ */
.chat-shell {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.chat-window {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(15,21,35,.6), rgba(15,21,35,.4));
  height: 60vh; min-height: 420px;
  display: flex; flex-direction: column;
}
.chat-header {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  display: flex; gap: 12px; align-items: center; justify-content: space-between;
}
.chat-messages { flex: 1; overflow-y: auto; padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; }
.chat-msg {
  max-width: 78%;
  padding: 9px 14px; border-radius: 14px;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--border);
  font-size: .92rem;
  word-wrap: break-word;
}
.chat-msg.mine {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--accent), var(--purple));
  border-color: transparent;
  color: #fff;
}
.chat-msg .ts { font-size: .66rem; color: rgba(255,255,255,.5); margin-top: 2px; }
.chat-input-row {
  display: flex; gap: 8px; padding: 12px;
  border-top: 1px solid var(--border);
}
.chat-input-row input { flex: 1; }
.chat-state {
  text-align: center; padding: 50px 20px; color: var(--text-muted);
}
.chat-state .icon-big { font-size: 3.4rem; opacity: .35; margin-bottom: 12px; }

/* ============================ Responsive ============================ */
@media (max-width: 991px) {
  .char-banner { min-height: 300px; }
  .char-banner-overlay { padding: 22px 22px 20px; }
}
@media (max-width: 768px) {
  .info-grid { grid-template-columns: 1fr 1fr; }
  .hero { padding: 24px 18px; }
  .hero h1 { font-size: 1.5rem; }
  .landing-hero { padding: 36px 22px; }
  .layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .profile-stats-row { width: 100%; justify-content: space-between; }
  .stat-bubble { min-width: 72px; padding: 8px 10px; }
  .rel-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
  .char-banner { min-height: 240px; }
  .char-banner-overlay { padding: 18px 18px 16px; }
  .char-banner-actions { gap: 8px; }
  .edit-actions { grid-template-columns: 1fr; }
  .char-tab { padding: 9px 10px; font-size: .82rem; }
  .char-tab span:not(.tab-count) { display: none; }
  .streamer-grid { grid-template-columns: 1fr; }
  .team-avatar { width: 110px; height: 110px; }
  .biz-grid { grid-template-columns: 1fr; }
}

/* ============================ V7 — POLISH PASS ============================ */

/* #1 Performans: SADECE gerçekten animate olan elemanlara will-change.
   v3 BG: sadece .fx-beam ve .fx-beam-2 transform animasyonlu. */
.bg-orbs { contain: layout paint; transform: translateZ(0); }
.bg-orbs .fx-aurora, .bg-orbs .fx-aurora-2, .bg-orbs::after { backface-visibility: hidden; }

/* PERF v12: backdrop-filter scroll kasması fix — kartları compositor
   katmanına izole et. Her scroll'da arka plan blur'unun yeniden
   hesaplanması bu sayede card boundary'sinde durur (paint contain).
   transform: translateZ(0) → kendi compositor layer'ı. */
.form-card, .panel, .feature-card, .shop-card, .biz-card, .rel-card,
.team-card, .streamer-card, .kiyas-card {
  contain: layout paint;
  transform: translateZ(0);
}
@media (prefers-reduced-motion: reduce) {
  .bg-orbs .fx-aurora, .bg-orbs .fx-aurora-2,
  .birthday-banner, .birthday-banner .bd-emoji, .birthday-banner .bd-confetti,
  .char-flip-inner, .char-flip-photo,
  main.container, section, .form-card, .hero, .panel {
    animation: none !important;
    transition: none !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
}
/* Mobilde page-fade-in animasyonlarını kapat — anlık snappy gözüksün */
@media (max-width: 768px) {
  main.container, section, .form-card, .hero, .panel { animation: none !important; }
  section:nth-of-type(n), .form-card:nth-of-type(n) { animation-delay: 0 !important; }
  .star:nth-child(n+6) { display: none; }
  .bg-scan { display: none; }
  /* Touch device'lar için body transition kapalı — sayfa geçişi anında */
  body { transition: none; }
}

/* #v10 PERFORMANS: content-visibility — viewport dışındaki kartların
   layout/paint maliyeti 0 olur (modern Chrome/Edge/Safari 18+).
   Tahmini yer (contain-intrinsic-size) tarayıcı için scroll-jank önler. */
.biz-card, .rel-card, .biz-emp-card, .form-card, .streamer-card {
  content-visibility: auto;
  contain-intrinsic-size: 0 220px;
}

/* #2 Responsive bildirim/hero/banner — küçük ekranda ferahlat */
@media (max-width: 600px) {
  .hero { padding: 22px 18px; margin-bottom: 14px; }
  .hero h1 { font-size: 1.5rem; }
  .hero p { font-size: .92rem; }
  .alert { font-size: .9rem; padding: 10px 12px; }
  .alert ul { padding-left: 18px; }
  .birthday-banner { padding: 8px 0; }
  .birthday-banner .bd-emoji, .birthday-banner .bd-confetti { font-size: 1.2rem; }
  .birthday-banner .bd-text { font-size: .82rem; }
  .birthday-banner .bd-wish { display: block; margin-left: 0; margin-top: 2px; }
  .cta-row { flex-wrap: wrap; gap: 8px; }
  .cta-row .btn { flex: 1 1 calc(50% - 4px); min-width: 0; font-size: .85rem; padding: 9px 12px; }
}
@media (max-width: 380px) {
  .hero { padding: 18px 14px; }
  .hero h1 { font-size: 1.3rem; }
  .cta-row .btn { flex: 1 1 100%; }
}

/* #12 Galeri — düzenli 3 kolon (9 foto = 3x3), büyükte 4 kolon */
.gallery-grid, .char-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
@media (min-width: 1200px) {
  .gallery-grid, .char-gallery-grid { grid-template-columns: repeat(4, 1fr); gap: 12px; }
}
@media (max-width: 600px) {
  .gallery-grid, .char-gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
}
.gallery-grid > a, .char-gallery-grid > a,
.gallery-grid > .gallery-item, .char-gallery-grid > .gallery-item {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #0d1322;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.gallery-grid img, .char-gallery-grid img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .35s ease;
}
.gallery-grid > a:hover, .char-gallery-grid > a:hover {
  border-color: var(--accent);
  box-shadow: 0 14px 30px rgba(99,102,241,.22);
  transform: translateY(-2px);
}
.gallery-grid > a:hover img, .char-gallery-grid > a:hover img { transform: scale(1.06); }

/* #10/#11 İlişki kartları — profilde daha ferah, primary rozeti net */
.rel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
}
.rel-grid.compact { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.rel-card {
  display: flex; align-items: center; gap: 10px;
  padding: 10px; border-radius: 12px;
  background: rgba(255,255,255,.025);
  border: 1px solid var(--border);
  text-decoration: none; color: inherit;
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.rel-card:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
  color: inherit;
  box-shadow: 0 10px 22px rgba(99,102,241,.18);
}
.rel-card .rel-photo {
  width: 44px; height: 44px; border-radius: 50%;
  object-fit: cover; flex-shrink: 0;
  border: 2px solid var(--rel-color, var(--border));
}
.rel-card .rel-photo.no-photo {
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; color: rgba(255,255,255,.4);
  background: linear-gradient(180deg,#1a2238,#0d1322);
}
.rel-card .rel-info { min-width: 0; flex: 1; }
.rel-card .rel-name { font-weight: 700; font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rel-card .rel-type {
  font-size: .68rem; font-weight: 800; letter-spacing: .4px;
  color: var(--rel-color, var(--accent-light));
  text-transform: uppercase;
}
.rel-card .rel-note { font-size: .72rem; color: var(--text-muted); margin-top: 2px; font-style: italic; }
.rel-card.primary {
  border-color: rgba(244,114,182,.5);
  background: linear-gradient(180deg, rgba(244,114,182,.10), rgba(255,255,255,.025));
}
.rel-card.primary .rel-emoji {
  position: absolute; top: -8px; right: -8px;
  font-size: 1.1rem;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.5));
}

/* #16 Şehir Hayatı (explore split) — sol icon+yazı, sağ büyük foto */
.explore-grid.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.explore-row {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(280px, 1.4fr);
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,0)), #0d1322;
  text-decoration: none; color: inherit;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
  min-height: 220px;
}
.explore-row:hover {
  transform: translateY(-2px);
  border-color: rgba(168,85,247,.45);
  box-shadow: 0 22px 50px rgba(99,102,241,.22);
  color: inherit;
}
.explore-text {
  padding: 26px 28px;
  display: flex; flex-direction: column; justify-content: center; gap: 10px;
}
.explore-text .explore-icon {
  width: 54px; height: 54px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(99,102,241,.22), rgba(168,85,247,.18));
  border: 1px solid rgba(168,85,247,.35);
  color: var(--accent-light);
  font-size: 1.4rem;
}
.explore-text h3 {
  margin: 0; font-size: 1.4rem; font-weight: 800; letter-spacing: -.01em;
}
.explore-text p {
  margin: 0; color: var(--text-secondary); font-size: .95rem; line-height: 1.55;
}
.explore-image {
  background-color: #0a0e1a;
  background-size: cover;
  background-position: center;
  position: relative;
  min-height: 220px;
  transition: transform .5s ease;
}
.explore-image::after {
  content:""; position: absolute; inset:0;
  background: linear-gradient(90deg, rgba(13,19,34,.85) 0%, rgba(13,19,34,.15) 35%, transparent 60%);
  pointer-events: none;
}
.explore-row:hover .explore-image { transform: scale(1.04); }
/* Alternating layout — her ikinci satır foto solda yazı sağda */
.explore-grid.split .explore-row:nth-child(even) {
  grid-template-columns: minmax(280px, 1.4fr) minmax(220px, 1fr);
}
.explore-grid.split .explore-row:nth-child(even) .explore-text { order: 2; }
.explore-grid.split .explore-row:nth-child(even) .explore-image { order: 1; }
.explore-grid.split .explore-row:nth-child(even) .explore-image::after {
  background: linear-gradient(270deg, rgba(13,19,34,.85) 0%, rgba(13,19,34,.15) 35%, transparent 60%);
}
@media (max-width: 768px) {
  .explore-row,
  .explore-grid.split .explore-row:nth-child(even) {
    grid-template-columns: 1fr;
  }
  .explore-grid.split .explore-row:nth-child(even) .explore-text { order: 2; }
  .explore-grid.split .explore-row:nth-child(even) .explore-image { order: 1; }
  .explore-image, .explore-grid.split .explore-row .explore-image { min-height: 180px; }
  .explore-text { padding: 20px 22px; }
  .explore-text h3 { font-size: 1.2rem; }
}

/* Yeni karakterler şeridi (anasayfa) */
.char-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}
.char-strip .strip-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: #0d1322;
  border: 1px solid var(--border);
  text-decoration: none; color: inherit;
  transition: transform .25s ease, border-color .25s, box-shadow .25s;
}
.char-strip .strip-card:hover {
  transform: translateY(-3px) scale(1.02);
  border-color: rgba(168,85,247,.5);
  box-shadow: 0 18px 40px rgba(99,102,241,.25);
  color: inherit;
}
.char-strip .strip-card img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .4s ease;
}
.char-strip .strip-card:hover img { transform: scale(1.06); }
.char-strip .strip-info {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 10px 12px 10px;
  background: linear-gradient(180deg, transparent, rgba(7,11,20,.95) 70%);
}
.char-strip .strip-name { font-weight: 800; font-size: .85rem; line-height: 1.2; }
.char-strip .strip-meta { font-size: .7rem; color: rgba(241,245,249,.75); margin-top: 3px; }

/* Hero solu — yeni karakterler şeridi (dikey scrollable liste) */
.hero-side-strip {
  position: relative;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(168,85,247,.08), rgba(59,130,246,.04)), rgba(13,19,34,.6);
  padding: 14px 14px 8px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
}
.hero-side-head {
  display: flex; align-items: center; gap: 8px;
  font-size: .68rem; font-weight: 900; letter-spacing: .9px;
  color: var(--text-muted); text-transform: uppercase;
  padding: 0 4px 10px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 8px;
}
.hero-side-head .dot.pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34,197,94,.6);
  animation: pulse-dot 1.8s infinite;
}
@keyframes pulse-dot {
  0%   { box-shadow: 0 0 0 0 rgba(34,197,94,.6); }
  70%  { box-shadow: 0 0 0 8px rgba(34,197,94,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}
.hero-side-count {
  margin-left: auto;
  background: rgba(168,85,247,.18);
  border: 1px solid rgba(168,85,247,.4);
  color: var(--accent-light);
  padding: 2px 8px; border-radius: 999px;
  font-size: .62rem; font-weight: 900;
}
.hero-side-list {
  max-height: 460px;
  overflow-y: auto;
  display: flex; flex-direction: column; gap: 6px;
  scrollbar-width: thin;
  scrollbar-color: rgba(168,85,247,.4) transparent;
  padding-right: 4px;
}
.hero-side-list::-webkit-scrollbar { width: 6px; }
.hero-side-list::-webkit-scrollbar-thumb {
  background: rgba(168,85,247,.4);
  border-radius: 3px;
}
.hero-side-item {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 8px; border-radius: 10px;
  background: rgba(255,255,255,.02);
  border: 1px solid transparent;
  text-decoration: none; color: inherit;
  transition: background .15s, border-color .15s, transform .15s;
}
.hero-side-item:hover {
  background: rgba(168,85,247,.10);
  border-color: rgba(168,85,247,.35);
  color: inherit;
  transform: translateX(2px);
}
.hero-side-item img,
.hero-side-item .hero-side-avatar {
  width: 38px; height: 38px; border-radius: 10px;
  object-fit: cover; flex-shrink: 0;
  border: 1px solid var(--border);
  background: linear-gradient(180deg,#1a2238,#0d1322);
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; color: rgba(255,255,255,.4); font-size: 1rem;
}
.hero-side-text { min-width: 0; flex: 1; }
.hero-side-name {
  font-weight: 700; font-size: .85rem; line-height: 1.2;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hero-side-meta {
  font-size: .68rem; color: var(--text-muted);
  display: flex; align-items: center; gap: 5px; margin-top: 2px;
}
.hero-side-meta .dot.online {
  width: 7px; height: 7px; border-radius: 50%;
  background: #22c55e; box-shadow: 0 0 6px rgba(34,197,94,.7);
}
.hero-side-foot {
  display: block; text-align: center;
  margin-top: 8px; padding: 8px;
  font-size: .78rem; font-weight: 700;
  color: var(--accent-light);
  border-top: 1px solid var(--border);
  text-decoration: none;
  transition: color .15s;
}
.hero-side-foot:hover { color: var(--text); }

/* Hero kart destesi — TÜM landing-hero alanına yayılır.
   Yazı bloğu önde (z=5), kartlar arkada (z=2). */
.hero-stack {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}
/* CLS önleyici: JS pozisyonlamayı yapana kadar kartlar görünmez.
   Yer rezervasyonu mevcut (.hero-stack inset:0), sadece kart flicker'ı engellenir. */
.hero-stack-init .stack-card { opacity: 0 !important; animation: none !important; }
.hero-stack-label {
  position: absolute;
  top: 64px;            /* landing-hero padding-top ile aynı = pill hizası */
  left: 72%;            /* kartların deste merkezi (paint() base-x ile aynı oran) */
  transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .68rem; font-weight: 900; letter-spacing: 1.4px;
  color: var(--text); text-transform: uppercase;
  background: rgba(13,19,34,.78);
  border: 1px solid var(--border);
  padding: 6px 14px; border-radius: 999px;
  backdrop-filter: blur(8px);
  z-index: 20;
  pointer-events: auto;
  white-space: nowrap;
}
@media (max-width: 992px) {
  .hero-stack { display: none; } /* Mobilde kartlar gizlenir, label da */
}
.hero-stack-label .dot.pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34,197,94,.6);
  animation: pulse-dot 1.8s infinite;
}
.hero-stack-deck {
  position: absolute;
  inset: 0;
  overflow: visible;
  pointer-events: none;
}
.stack-card {
  position: absolute;
  top: var(--stack-base-y, 50%);
  left: var(--stack-base-x, 50%);
  width: 54%;
  max-width: 240px;
  min-width: 180px;
  aspect-ratio: 3/4;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(180deg,#1a2238,#0d1322);
  border: 2px solid rgba(255,255,255,.10);
  box-shadow:
    0 32px 70px rgba(0,0,0,.65),
    0 8px 20px rgba(0,0,0,.45);
  text-decoration: none;
  color: inherit;
  transform:
    translate(calc(-50% + var(--tx, 0px)), calc(-50% + var(--ty, 0px)))
    rotate(var(--rot, 0deg));
  transform-origin: 50% 60%;
  z-index: var(--z, 1);
  transition:
    transform .85s cubic-bezier(.22,.9,.3,1),
    box-shadow .4s ease,
    border-color .35s ease;
  cursor: pointer;
  isolation: isolate;
  pointer-events: auto;
  opacity: 0;
  animation: stack-fade-in .55s ease forwards;
  animation-delay: calc(var(--idx, 0) * 70ms);
}
@keyframes stack-fade-in {
  to { opacity: 1; }
}
.stack-card .stack-card-new {
  opacity: 0;
  transition: opacity .4s ease .15s;
}
.stack-card.is-top {
  border-color: rgba(168,85,247,.6);
  box-shadow:
    0 36px 72px rgba(168,85,247,.32),
    0 10px 22px rgba(0,0,0,.55),
    0 0 0 1px rgba(168,85,247,.25) inset;
}
.stack-card.is-top .stack-card-new { opacity: 1; }
.stack-card:hover {
  z-index: 100 !important;
  transform:
    translate(calc(-50% + var(--tx, 0px)), calc(-50% + var(--ty, 0px) - 16px))
    rotate(0deg)
    scale(1.08);
  border-color: rgba(168,85,247,.75);
  box-shadow:
    0 44px 88px rgba(168,85,247,.45),
    0 16px 32px rgba(0,0,0,.6);
  transition:
    transform .45s cubic-bezier(.2,.8,.2,1),
    box-shadow .25s ease,
    border-color .25s ease;
}
.stack-card-photo {
  position: relative;
  width: 100%; height: 100%;
  overflow: hidden;
  background: #0d1322;
}
.stack-card-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .55s cubic-bezier(.2,.8,.2,1), filter .35s;
}
.stack-card:hover .stack-card-photo img {
  transform: scale(1.07);
  filter: brightness(1.08) saturate(1.1);
}
.stack-card-noimg {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-family: "Poppins", sans-serif;
  font-size: 3.6rem; font-weight: 900;
  color: rgba(255,255,255,.18);
  background: linear-gradient(135deg,#1a2238,#0d1322);
}
.stack-card-overlay {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 30px 14px 14px;
  background: linear-gradient(180deg, transparent 0%, rgba(7,11,20,.65) 50%, rgba(7,11,20,.96) 100%);
  z-index: 2;
}
.stack-card-name {
  font-family: "Poppins", sans-serif;
  font-weight: 800; font-size: 1rem; line-height: 1.18;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  color: #fff;
}
.stack-card-nick {
  font-size: .78rem; color: rgba(241,245,249,.7);
  font-style: italic;
  margin-top: 2px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.stack-card-new {
  position: absolute; top: 12px; left: 12px;
  font-size: .62rem; font-weight: 900;
  letter-spacing: 1.3px;
  padding: 4px 10px; border-radius: 6px;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #1a1208;
  text-transform: uppercase;
  box-shadow: 0 6px 14px rgba(245,158,11,.5);
  z-index: 3;
}
.stack-card-active {
  position: absolute; top: 12px; right: 12px;
  background: rgba(34,197,94,.92);
  border-radius: 999px;
  padding: 4px 7px;
  display: inline-flex; align-items: center;
  z-index: 3;
}
.stack-card-active .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #ecfdf5;
  animation: active-pulse 2s ease-in-out infinite;
}
@media (max-width: 1399px) {
  .hero-stack { height: 430px; min-height: 430px; transform: translateX(4%); }
  .stack-card { width: 54%; max-width: 220px; min-width: 170px; }
}
@media (max-width: 1199px) {
  .hero-stack { height: 400px; min-height: 400px; transform: translateX(2%); }
  .stack-card { width: 56%; max-width: 200px; min-width: 160px; }
}

/* Yayıncı kartı — daha büyük ve net status */
.streamer-card .live-pill,
.streamer-card .offline-pill {
  position: absolute; top: 12px; left: 12px;
  font-size: .68rem; font-weight: 900; letter-spacing: .6px;
  padding: 4px 10px; border-radius: 999px;
  text-transform: uppercase;
  z-index: 2;
}
.streamer-card .live-pill {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #fff;
  box-shadow: 0 6px 16px rgba(239,68,68,.45);
  animation: pulse-live 1.6s ease-in-out infinite;
}
.streamer-card .offline-pill {
  background: rgba(15,23,42,.7);
  color: rgba(241,245,249,.7);
  border: 1px solid var(--border);
}
@keyframes pulse-live {
  0%,100% { box-shadow: 0 6px 16px rgba(239,68,68,.45); }
  50%     { box-shadow: 0 6px 24px rgba(239,68,68,.85); }
}

/* ============================ HERO (centered) ============================ */
.landing-hero.centered {
  min-height: 70vh;
  display: flex; align-items: center; justify-content: center;
  padding: 40px 0 30px;
}
.hero-center {
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
  padding: 0 18px;
}
.hero-center h1 {
  font-family: "Poppins", sans-serif;
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1.08;
  margin: 18px 0 14px;
}
.hero-center .lead {
  font-size: 1.05rem;
  max-width: 720px;
  margin: 0 auto 26px;
  color: var(--text-secondary);
}
.hero-center .cta-row { gap: 12px; flex-wrap: wrap; }
.hero-center .live-pill {
  margin: 0 auto 4px;
}
.hero-stats {
  margin: 38px auto 0;
  display: inline-flex; align-items: center; gap: 28px;
  padding: 18px 30px;
  background: rgba(15,21,35,.55);
  border: 1px solid var(--border);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  box-shadow: 0 14px 40px rgba(0,0,0,.4);
}
.hero-stats .stat-num { font-size: 1.6rem; font-weight: 900; line-height: 1; }
.hero-stats .stat-lbl { font-size: .72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .8px; margin-top: 4px; }
.hero-stats .stat-divider { width: 1px; height: 30px; background: var(--border); }
@media (max-width: 600px) {
  .hero-stats { gap: 16px; padding: 14px 18px; }
  .hero-stats .stat-num { font-size: 1.3rem; }
  .hero-center .cta-row .btn { padding: 10px 16px; font-size: .9rem; }
}

/* ============================ NEWCOMER GRID (Yeni Katılanlar) ============================ */
.live-pulse {
  display: inline-block; width: 8px; height: 8px;
  background: #22c55e; border-radius: 50%;
  margin-right: 6px;
  box-shadow: 0 0 0 0 rgba(34,197,94,.6);
  animation: live-pulse-anim 1.6s ease-in-out infinite;
  vertical-align: middle;
}
@keyframes live-pulse-anim {
  0%   { box-shadow: 0 0 0 0 rgba(34,197,94,.6); }
  70%  { box-shadow: 0 0 0 8px rgba(34,197,94,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}

.newcomer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.newcomer-card {
  display: block;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(20,28,46,.85), rgba(13,19,34,.95));
  border: 1px solid var(--border);
  text-decoration: none !important;
  color: inherit !important;
  position: relative;
  isolation: isolate;
  opacity: 0;
  transform: translateY(20px) scale(.96);
  animation: newcomer-in .6s cubic-bezier(.2,.8,.2,1) forwards;
  animation-delay: calc(var(--i, 0) * 60ms);
  transition: transform .25s cubic-bezier(.2,.8,.2,1), border-color .2s, box-shadow .25s;
  will-change: transform;
}
@keyframes newcomer-in {
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.newcomer-card::before {
  content: ""; position: absolute; inset: -1px;
  background: linear-gradient(135deg, transparent, rgba(168,85,247,.0));
  border-radius: inherit; opacity: 0;
  transition: opacity .3s, background .3s;
  pointer-events: none; z-index: -1;
}
.newcomer-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(168,85,247,.55);
  box-shadow: 0 24px 50px rgba(168,85,247,.22);
}
.newcomer-card:hover::before {
  opacity: 1;
  background: linear-gradient(135deg, rgba(59,130,246,.35), rgba(168,85,247,.35), rgba(236,72,153,.35));
}
.newcomer-photo {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: #0d1322;
}
.newcomer-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .55s cubic-bezier(.2,.8,.2,1), filter .35s;
}
.newcomer-card:hover .newcomer-photo img {
  transform: scale(1.07);
  filter: brightness(1.08) saturate(1.1);
}
.newcomer-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(7,11,20,.92) 100%);
  pointer-events: none;
}
.newcomer-noimg {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-family: "Poppins", sans-serif;
  font-size: 4rem; font-weight: 900;
  background: linear-gradient(135deg, #1a2238 0%, #0d1322 100%);
  color: rgba(255,255,255,.18);
}
.newcomer-cat {
  position: absolute; top: 10px; left: 10px;
  width: 30px; height: 30px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem;
  z-index: 2;
  backdrop-filter: blur(6px);
}
.newcomer-cat.erkek { background: rgba(59,130,246,.85); color: #fff; }
.newcomer-cat.kadin { background: rgba(244,114,182,.85); color: #fff; }
.newcomer-active {
  position: absolute; top: 10px; right: 10px;
  font-size: .58rem; font-weight: 800;
  letter-spacing: .3px;
  padding: 2px 7px; border-radius: 999px;
  background: rgba(34,197,94,.92);
  color: #f0fdf4;
  display: inline-flex; align-items: center; gap: 4px;
  z-index: 2;
}
.newcomer-active .dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: #ecfdf5;
  animation: active-pulse 2s ease-in-out infinite;
}
.newcomer-new {
  position: absolute; bottom: 10px; left: 10px;
  font-size: .58rem; font-weight: 900;
  letter-spacing: 1px;
  padding: 3px 9px; border-radius: 6px;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #1a1208;
  text-transform: uppercase;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(245,158,11,.4);
}
.newcomer-body {
  padding: 14px 16px 16px;
}
.newcomer-name {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: 1.02rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.newcomer-nick {
  font-size: .8rem; color: var(--text-muted);
  font-style: italic;
  margin-top: 2px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.newcomer-meta {
  display: flex; gap: 12px;
  margin-top: 10px;
  font-size: .76rem;
  color: var(--text-secondary);
  font-weight: 600;
}
.newcomer-meta i { opacity: .7; margin-right: 3px; }
@media (max-width: 600px) {
  .newcomer-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .newcomer-name { font-size: .92rem; }
  .newcomer-body { padding: 10px 12px 12px; }
  .newcomer-meta { gap: 8px; font-size: .72rem; }
}

/* ============================ GALLERY (improved collage) ============================ */
.site-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 12px;
}
.site-gallery-item {
  position: relative;
  display: block;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform .25s, border-color .25s, box-shadow .3s;
  cursor: zoom-in;
  background: #0a0e1a;
  grid-column: span 1; grid-row: span 1;
}
/* Reset old chaotic patterns */
.site-gallery-item:nth-child(7n+1),
.site-gallery-item:nth-child(11n+5),
.site-gallery-item:nth-child(8n+6) { grid-row: auto; grid-column: auto; }
/* İlk fotoğraf (en yenisi) hero — 2x2 kapla, kalan 8 foto 4-kolonlu sırada düzgün dizilsin
   Layout: [HERO HERO 1 2] [HERO HERO 3 4] [5 6 7 8] = toplam 9 (hero+8) */
.site-gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.site-gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .45s ease, filter .35s;
}
.site-gallery-item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,.55) 100%);
  pointer-events: none;
  opacity: 0;
  transition: opacity .25s;
}
.site-gallery-item:hover {
  transform: translateY(-3px);
  border-color: rgba(168,85,247,.55);
  box-shadow: 0 18px 40px rgba(168,85,247,.18);
}
.site-gallery-item:hover img { transform: scale(1.06); filter: brightness(1.06); }
.site-gallery-item:hover::after { opacity: 1; }
.site-gallery-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 10px 14px;
  color: #fff; font-weight: 600; font-size: .85rem;
  z-index: 1;
  text-shadow: 0 1px 4px rgba(0,0,0,.6);
}
@media (max-width: 992px) {
  .site-gallery-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 170px; }
  .site-gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
}
@media (max-width: 600px) {
  .site-gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; gap: 8px; }
  .site-gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 1; }
}

/* ============================ STORIES BAR (Instagram-style) ============================ */
.stories-bar {
  background: linear-gradient(180deg, rgba(15,21,35,.6), rgba(10,14,25,.4));
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  position: relative; z-index: 5;
}
.stories-track {
  display: flex; gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
}
.stories-track::-webkit-scrollbar { height: 4px; }
.stories-track::-webkit-scrollbar-thumb {
  background: rgba(168,85,247,.45); border-radius: 4px;
}
.story-bubble {
  flex-shrink: 0;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  text-decoration: none !important;
  scroll-snap-align: start;
  width: 70px;
}
.story-bubble-ring {
  width: 64px; height: 64px;
  border-radius: 50%;
  padding: 3px;
  background: conic-gradient(from 90deg, #fbbf24, #ec4899, #a855f7, #3b82f6, #06b6d4, #fbbf24);
  position: relative;
  transition: transform .2s, filter .2s;
}
.story-bubble:hover .story-bubble-ring {
  transform: scale(1.06);
  filter: brightness(1.15);
}
.story-bubble-inner {
  width: 100%; height: 100%;
  border-radius: 50%;
  background: #0a0e1a;
  padding: 2px;
  position: relative;
  overflow: hidden;
}
.story-bubble-inner img {
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.story-noimg {
  width: 100%; height: 100%;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: "Poppins", sans-serif;
  font-weight: 900; font-size: 1.2rem;
  background: linear-gradient(135deg, #1a2238, #0d1322);
  color: rgba(255,255,255,.5);
}
.story-bubble.add .story-bubble-ring {
  background: var(--border);
  padding: 2px;
}
.story-bubble.add.has-story .story-bubble-ring {
  background: conic-gradient(from 90deg, #fbbf24, #ec4899, #a855f7, #3b82f6, #06b6d4, #fbbf24);
  padding: 3px;
}
.story-add-plus {
  position: absolute; bottom: -2px; right: -2px;
  width: 22px; height: 22px;
  background: linear-gradient(135deg, var(--accent), var(--purple));
  border: 2px solid var(--primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; font-weight: 900;
  color: #fff;
  z-index: 2;
}
.story-bubble-name {
  font-size: .7rem; color: var(--text-secondary);
  max-width: 70px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.story-bubble:hover .story-bubble-name { color: var(--text); }
@media (max-width: 600px) {
  .story-bubble { width: 62px; }
  .story-bubble-ring { width: 56px; height: 56px; }
  .story-bubble-name { font-size: .66rem; }
  .stories-bar { padding: 8px 0; }
}

/* ============================ STORY VIEWER ============================ */
.story-viewer-wrap {
  position: fixed; inset: 0;
  background: rgba(3,5,11,.96);
  z-index: 9998;
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
}
/* Hikaye sayfası tam ekran modu — navbar, CTA ve footer gizlenir */
body.story-mode {
  overflow: hidden;
}
body.story-mode .navbar,
body.story-mode .cta-discord,
body.story-mode .footer,
body.story-mode .cookie-consent {
  display: none !important;
}
body.story-mode main.container {
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
  width: 100%;
}
.story-viewer {
  position: relative;
  width: min(405px, 100%);
  height: min(720px, 92vh);
  max-height: calc(100vh - 32px);
  aspect-ratio: 9 / 16;
  background: #1a2238;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.7), 0 0 0 1px rgba(168,85,247,.25);
}
.story-progress-bars {
  position: absolute; top: 10px; left: 10px; right: 10px;
  display: flex; gap: 4px;
  z-index: 10;
}
.story-pbar {
  flex: 1;
  height: 3px;
  background: rgba(255,255,255,.25);
  border-radius: 2px;
  overflow: hidden;
}
.story-pbar-fill {
  height: 100%;
  background: #fff;
  width: 0%;
  transition: width .12s linear;
}
.story-header {
  position: absolute; top: 22px; left: 14px; right: 14px;
  z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  pointer-events: none;
}
.story-header > * { pointer-events: auto; }
.story-author {
  display: flex; align-items: center; gap: 10px;
  color: #fff;
}
.story-author img,
.story-author-noimg {
  width: 36px; height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,.5);
}
.story-author-noimg {
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.15);
  color: #fff; font-weight: 900;
}
.story-author strong { font-size: .92rem; }
.story-time { font-size: .72rem; opacity: .75; }
.story-close {
  color: #fff; font-size: 2rem;
  text-decoration: none !important;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
}
.story-close:hover { background: rgba(255,255,255,.3); color: #fff; }
.story-content {
  position: absolute; inset: 0;
  display: flex;
}
.story-slide {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity .2s;
}
.story-slide.active { opacity: 1; z-index: 2; }
.story-slide img {
  max-width: 100%; max-height: 100%;
  object-fit: contain;
}
.story-caption {
  position: absolute; left: 24px; right: 24px; bottom: 32px;
  color: #fff;
  font-size: 1.1rem; font-weight: 700;
  line-height: 1.4;
  text-shadow: 0 2px 12px rgba(0,0,0,.6);
  text-align: center;
  background: rgba(0,0,0,.35);
  padding: 14px 18px; border-radius: 12px;
  backdrop-filter: blur(4px);
}
.story-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.15);
  border: none;
  color: #fff;
  width: 38px; height: 38px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 8;
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
}
.story-nav:hover { background: rgba(255,255,255,.3); }
.story-nav.prev { left: 12px; }
.story-nav.next { right: 12px; }

/* Story-thumb-row in hikaye-ekle.php */
.story-thumb-row {
  display: flex; gap: 12px; flex-wrap: wrap;
}
.story-thumb {
  width: 110px; aspect-ratio: 9/16;
  border-radius: 12px;
  position: relative; overflow: hidden;
  border: 1px solid var(--border);
}
.story-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.story-thumb-caption {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 12px;
  color: #fff;
  font-weight: 700; font-size: .78rem;
  text-shadow: 0 2px 6px rgba(0,0,0,.5);
}
.story-thumb-meta {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; justify-content: space-between;
  padding: 6px 8px;
  font-size: .68rem; color: #fff;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.7));
}

/* ============================ BUSINESS RELATIONS UI ============================ */
.biz-rel-group {
  display: flex; align-items: center; gap: 8px;
  margin: 18px 0 10px;
  font-size: .82rem; font-weight: 800;
  letter-spacing: .4px;
  color: var(--rc, #94a3b8);
  text-transform: uppercase;
  padding-bottom: 6px;
  border-bottom: 1px dashed color-mix(in oklab, var(--rc, #94a3b8) 35%, transparent);
}
.biz-rel-group i { font-size: .9rem; }
.biz-rel-count { color: var(--text-muted); font-weight: 700; font-size: .75rem; }
.biz-rel-card {
  border: 1px solid color-mix(in oklab, var(--rc, var(--border)) 45%, var(--border));
  background: linear-gradient(135deg,
    color-mix(in oklab, var(--rc, transparent) 6%, transparent),
    transparent);
  transition: transform .15s, border-color .2s, box-shadow .2s;
}
.biz-rel-card:hover {
  transform: translateY(-2px);
  border-color: var(--rc, var(--accent));
  box-shadow: 0 12px 30px color-mix(in oklab, var(--rc, var(--accent)) 18%, transparent);
}

/* ============================ LIGHTBOX (büyük görüntüleme) ============================ */
.lightbox img,
#g-lightbox img {
  max-width: min(2000px, 98vw) !important;
  max-height: 96vh !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  border-radius: 14px !important;
  box-shadow: 0 30px 80px rgba(0,0,0,.7), 0 0 0 1px rgba(168,85,247,.15) !important;
}
#g-lightbox .lb-prev,
#g-lightbox .lb-next {
  width: 56px; height: 56px;
  font-size: 2.4rem;
  background: rgba(15,23,42,.55);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(10px);
}
#g-lightbox .lb-counter {
  position: absolute; top: 22px; left: 50%; transform: translateX(-50%);
  background: rgba(0,0,0,.55);
  color: rgba(241,245,249,.92);
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  font-size: .82rem; font-weight: 700;
  letter-spacing: .5px;
  backdrop-filter: blur(8px);
  z-index: 5;
}
.lightbox.open,
#g-lightbox[aria-hidden="false"] {
  background: rgba(3,5,11,.82) !important;
  backdrop-filter: blur(10px) saturate(140%) !important;
}

/* Lightbox: "Profile Git" butonu — alt-orta, caption'ın altında.
   Karakter galerisinden açılan lightbox'larda görünür (data-profile-url varsa). */
#g-lightbox .lb-profile-btn {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: linear-gradient(135deg, #a855f7, #6366f1);
  color: #fff !important;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 800;
  font-size: .9rem;
  letter-spacing: .3px;
  box-shadow: 0 10px 30px rgba(168,85,247,.45), 0 0 0 1px rgba(255,255,255,.08);
  z-index: 6;
  transition: transform .2s ease, box-shadow .2s ease;
}
#g-lightbox .lb-profile-btn:hover {
  transform: translateX(-50%) translateY(-2px);
  box-shadow: 0 14px 40px rgba(168,85,247,.6), 0 0 0 1px rgba(255,255,255,.14);
}
#g-lightbox .lb-caption {
  bottom: 86px !important; /* Profile butonu için yer aç */
}

/* ============================ MOBİL ALT NAVİGASYON ============================ */
/* Sadece mobilde görünür. iOS safe-area destekli. */
.mobile-bottom-nav {
  display: none;
}
@media (max-width: 991px) {
  .mobile-bottom-nav {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 1040;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    align-items: stretch;
    background: rgba(10,14,26,.92);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    border-top: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 -8px 24px rgba(0,0,0,.35);
    padding-bottom: env(safe-area-inset-bottom, 0);
  }
  .mbn-item {
    position: relative;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 2px;
    padding: 8px 4px 6px;
    color: var(--text-muted, #94a3b8);
    text-decoration: none;
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .2px;
    transition: color .18s, transform .18s;
    min-height: 56px;
  }
  .mbn-item i { font-size: 1.15rem; }
  .mbn-item span:not(.mbn-badge) {
    line-height: 1;
  }
  .mbn-item.active,
  .mbn-item:hover {
    color: var(--accent, #a855f7);
  }
  .mbn-item.active::before {
    content: "";
    position: absolute; top: 0; left: 18%; right: 18%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent, #a855f7), transparent);
    border-radius: 2px;
  }
  .mbn-item.mbn-fab {
    color: #fff;
  }
  .mbn-item.mbn-fab i {
    font-size: 1.65rem;
    background: linear-gradient(135deg, var(--accent, #a855f7), var(--purple, #6366f1));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    filter: drop-shadow(0 4px 14px rgba(168,85,247,.55));
  }
  .mbn-item.mbn-cta {
    color: var(--accent, #a855f7);
  }
  .mbn-badge {
    position: absolute;
    top: 4px;
    right: calc(50% - 22px);
    min-width: 16px; height: 16px;
    padding: 0 4px;
    font-size: .58rem; font-weight: 900;
    border-radius: 999px;
    background: linear-gradient(135deg, #ef4444, #b91c1c);
    color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    line-height: 1;
  }

  /* İçerik mobil bottom-nav'ın altında kalmasın */
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0)); }
  body.story-mode { padding-bottom: 0; }
  .cookie-consent { bottom: calc(72px + env(safe-area-inset-bottom, 0) + 8px); }
}

/* ============================ MOBİL GENEL İYİLEŞTİRMELERİ ============================ */
@media (max-width: 575px) {
  /* Hero biraz daha sığ */
  .landing-hero { padding: 28px 16px; min-height: auto; border-radius: 18px; }
  .landing-hero h1 { font-size: clamp(1.6rem, 6.4vw, 2.3rem); }
  .landing-hero p.lead { font-size: .98rem; }

  /* CTA butonları tüm satırı kaplasın */
  .cta-row .btn { flex: 1 1 auto; justify-content: center; min-width: 0; }
  .cta-row { gap: 8px; }

  /* Form / kart kenar boşlukları daha makul */
  .form-card { padding: 16px 14px; border-radius: 14px; }
  .hero { padding: 22px 14px; border-radius: 16px; }

  /* Nav padding'lerini sıkılaştır */
  .container, .container-fluid { padding-left: 14px; padding-right: 14px; }

  /* Tablo / liste kalabalıkları yatay scroll'a aç */
  .table-responsive { -webkit-overflow-scrolling: touch; }

  /* Footer kolonları üst üste, ortala */
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 18px; }
  .footer-brand { grid-column: 1 / -1; }
}

/* Touch hedefleri minimum 44px (iOS HIG) */
@media (hover: none) and (pointer: coarse) {
  .btn, .nav-link, .mbn-item, .stack-card, .team-link, .story-close, .story-nav {
    min-height: 44px;
  }
}

/* ============================ ÇEREZ İZNİ ============================ */
.cookie-consent {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 9000;
  display: flex; justify-content: center;
  pointer-events: none;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .28s ease, transform .28s ease;
}
.cookie-consent.is-shown {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.cookie-consent-card {
  display: flex; align-items: center; gap: 16px;
  width: 100%;
  max-width: 720px;
  padding: 14px 18px;
  background: rgba(13,19,34,.92);
  border: 1px solid rgba(168,85,247,.35);
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(0,0,0,.6);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  color: var(--text);
}
.cookie-consent-icon {
  width: 42px; height: 42px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(251,191,36,.25), rgba(168,85,247,.2));
  color: #fbbf24;
  font-size: 1.2rem;
}
.cookie-consent-text { flex: 1; min-width: 0; }
.cookie-consent-text strong { font-size: .95rem; }
.cookie-consent-text p {
  margin: 2px 0 0;
  font-size: .82rem;
  color: var(--text-secondary);
  line-height: 1.4;
}
.cookie-consent-actions {
  display: flex; gap: 8px; flex-shrink: 0;
}
.cookie-consent-actions .btn { white-space: nowrap; }

@media (max-width: 720px) {
  .cookie-consent { left: 8px; right: 8px; bottom: 8px; }
  .cookie-consent-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 16px;
  }
  .cookie-consent-actions { width: 100%; justify-content: flex-end; }
}

/* ============================ V12 — vCARD PAYLAŞ ============================ */

/* TETİKLEYİCİ BUTON */
.vcard-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.06);
  color: #fff;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 12px;
  padding: 10px 16px;
  font-size: .92rem; font-weight: 700;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background .18s, border-color .18s, transform .18s;
}
.vcard-btn:hover {
  background: linear-gradient(135deg, rgba(168,85,247,.28), rgba(59,130,246,.22));
  border-color: rgba(168,85,247,.55);
  transform: translateY(-1px);
}
.vcard-btn i { color: #c4b5fd; }

/* MODAL */
.vcard-modal {
  position: fixed; inset: 0; z-index: 9999;
  display: none;
  align-items: center; justify-content: center;
  padding: 20px;
  overflow-y: auto;
}
.vcard-modal.open { display: flex; animation: vc-fade .22s ease-out; }
@keyframes vc-fade { from { opacity: 0; } to { opacity: 1; } }
.vcard-modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(5, 8, 14, .82);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
}
.vcard-modal-box {
  position: relative; z-index: 1;
  background:
    radial-gradient(800px 240px at 90% 0%, rgba(168,85,247,.10), transparent 60%),
    radial-gradient(600px 240px at 0% 100%, rgba(59,130,246,.08), transparent 65%),
    linear-gradient(180deg, #131a2b 0%, #0a0e1a 100%);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  width: 100%; max-width: 880px;
  padding: 26px 26px 22px;
  box-shadow:
    0 40px 100px rgba(0,0,0,.65),
    0 0 0 1px rgba(168,85,247,.14) inset,
    0 1px 0 rgba(255,255,255,.05) inset;
  animation: vc-pop .28s cubic-bezier(.2,.8,.2,1);
  margin: auto;
}
.vcard-modal-box::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, transparent 0%, #a855f7 30%, #3b82f6 70%, transparent 100%);
  border-radius: 20px 20px 0 0;
  opacity: .6;
}
@keyframes vc-pop { from { opacity: 0; transform: scale(.96) translateY(8px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.vcard-modal-close {
  position: absolute; top: 14px; right: 14px;
  background: rgba(255,255,255,.06);
  color: #fff; border: 1px solid rgba(255,255,255,.10);
  width: 36px; height: 36px; border-radius: 10px;
  font-size: 1.4rem; line-height: 1; cursor: pointer; z-index: 5;
  transition: background .18s, border-color .18s, transform .18s, color .18s;
}
.vcard-modal-close:hover {
  background: rgba(239,68,68,.22);
  border-color: rgba(239,68,68,.5);
  transform: rotate(90deg);
}
.vcard-modal-box h3 {
  margin: 0 0 6px; font-size: 1.22rem; font-weight: 800;
  display: flex; align-items: center; gap: 10px;
  letter-spacing: -.012em;
}
.vcard-modal-box h3 i {
  color: #a78bfa;
  filter: drop-shadow(0 0 8px rgba(168,85,247,.4));
}
.vcard-modal-sub { color: var(--text-secondary); font-size: .88rem; margin: 0 0 18px; line-height: 1.5; }

/* SAHNE — kart önizleme alanı (responsive scaling)
   Kart sabit 1200×630 boyutunda; stage'i kaplayacak şekilde scale ile küçültülür.
   Top-left absolute + scale-origin top-left → çift dönüşüm gerekmeden mükemmel hizalama. */
.vcard-stage {
  width: 100%;
  aspect-ratio: 1200 / 630;
  background:
    radial-gradient(600px 200px at 50% 0%, rgba(168,85,247,.10), transparent 70%),
    #04060e;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 16px;
  position: relative;
  isolation: isolate;
  border: 1px solid rgba(255,255,255,.06);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.vcard-stage .vc-card {
  position: absolute;
  top: 0; left: 0;
  transform-origin: top left;
  /* JS fitStage() css değişkenini set eder; transform önce CSS, sonra JS override eder */
  transform: scale(var(--vc-scale, 1));
}
/* Yükleme animasyonu — render bitene kadar yumuşak shimmer (overlay olarak) */
.vcard-stage::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(110deg,
    transparent 30%, rgba(168,85,247,.06) 50%, transparent 70%);
  background-size: 220% 100%;
  animation: vcShimmer 2.4s linear infinite;
  pointer-events: none;
  opacity: 0;
  transition: opacity .25s;
}
.vcard-stage.is-loading::before { opacity: 1; }
@keyframes vcShimmer { from { background-position: 220% 0; } to { background-position: -120% 0; } }
@media (prefers-reduced-motion: reduce) {
  .vcard-stage::before { animation: none; }
}

/* ============================================================
 * KART (1200×630 sabit) — bu div PNG'e dönüştürülür
 * ============================================================ */
.vc-card {
  --vc1: #a855f7;
  --vc2: #3b82f6;
  width: 1200px; height: 630px;
  position: relative;
  overflow: hidden;
  font-family: "Inter", -apple-system, "Segoe UI", Roboto, system-ui, sans-serif;
  color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -.005em;
}
.vc-card *, .vc-card *::before, .vc-card *::after { box-sizing: border-box; }

/* ARKA PLAN: temiz, derin koyu + tek lineer akcent + üst aksent çubuğu */
.vc-bg-base {
  position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(135deg, #0d1220 0%, #070a14 100%);
}
.vc-bg-glow { position: absolute; z-index: 1; pointer-events: none; }
.vc-bg-glow-1 {
  top: -260px; right: -200px;
  width: 720px; height: 720px;
  background: radial-gradient(circle at center, var(--vc1) 0%, transparent 60%);
  opacity: .35;
  filter: blur(2px);
}
.vc-bg-glow-2 {
  bottom: -340px; right: 80px;
  width: 620px; height: 620px;
  background: radial-gradient(circle at center, var(--vc2) 0%, transparent 60%);
  opacity: .22;
  filter: blur(2px);
}
/* Üst aksent çubuğu (ince theme renkli şerit) */
.vc-bg-grid {
  position: absolute; left: 0; right: 0; top: 0; height: 4px; z-index: 4;
  background: linear-gradient(90deg, var(--vc1) 0%, var(--vc2) 100%);
  pointer-events: none;
}
.vc-bg-vignette {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: radial-gradient(ellipse at 65% 50%, transparent 55%, rgba(0,0,0,.55) 100%);
}

/* İÇERİK GRİDİ */
.vc-content {
  position: absolute; inset: 0; z-index: 5;
  display: grid;
  grid-template-columns: 460px 1fr;
}

/* SOL: BÜYÜK FOTO */
.vc-photo-col {
  position: relative;
  overflow: hidden;
}
.vc-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 25%;
  filter: saturate(1.06) contrast(1.03);
}
.vc-photo-fallback {
  background: linear-gradient(135deg, var(--vc1) 0%, var(--vc2) 100%);
  display: grid; place-items: center;
}
.vc-photo-fallback span {
  font-size: 280px; font-weight: 900; color: rgba(255,255,255,.92);
  line-height: 1; letter-spacing: -.04em;
  text-shadow: 0 8px 24px rgba(0,0,0,.4);
}
.vc-photo-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.45) 100%),
    linear-gradient(90deg, transparent 70%, rgba(10,14,26,.85) 100%);
}
/* Foto ile içerik panel arası ince theme çizgisi */
.vc-photo-frame {
  position: absolute; top: 0; bottom: 0; right: 0; width: 3px;
  background: linear-gradient(180deg, var(--vc1) 0%, var(--vc2) 100%);
  box-shadow: 0 0 22px color-mix(in srgb, var(--vc1) 35%, transparent);
  pointer-events: none;
}

/* SAĞ: BİLGİLER */
.vc-info-col {
  padding: 60px 60px 44px 60px;
  position: relative;
  display: flex; flex-direction: column;
  gap: 0;
}

/* EYEBROW — üst marka rozet satırı */
.vc-eyebrow {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 22px;
  font-size: 13px; font-weight: 800;
  letter-spacing: .14em;
}
.vc-brand-mark {
  color: var(--vc1);
  font-size: 16px;
  filter: drop-shadow(0 0 8px color-mix(in srgb, var(--vc1) 70%, transparent));
}
.vc-brand-text { color: #fff; text-transform: uppercase; }
.vc-eyebrow-divider {
  flex: 1; height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,.28), rgba(255,255,255,.04));
  max-width: 60px;
}
.vc-eyebrow-tag {
  color: color-mix(in srgb, var(--vc1) 75%, #fff);
  font-size: 11px;
  text-transform: uppercase;
  padding: 5px 12px;
  border: 1px solid color-mix(in srgb, var(--vc1) 55%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--vc1) 12%, rgba(0,0,0,.3));
  font-weight: 800;
}

/* İSİM */
.vc-name {
  font-family: "Poppins", "Inter", sans-serif;
  font-size: 68px;
  font-weight: 900;
  line-height: 1;
  margin: 0 0 12px;
  letter-spacing: -.028em;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
  text-shadow: 0 4px 30px color-mix(in srgb, var(--vc1) 45%, transparent);
}
.vc-card[data-name-long] .vc-name { font-size: 50px; }

/* LAKAP */
.vc-nick {
  font-family: "Inter", serif;
  font-size: 24px;
  font-weight: 500;
  font-style: italic;
  color: color-mix(in srgb, var(--vc1) 55%, #e2e8f0);
  margin: 0 0 24px;
  display: flex; align-items: center; gap: 8px;
  line-height: 1.2;
  max-width: 100%;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.vc-nick-q {
  font-size: 32px;
  opacity: .45;
  font-style: normal;
  font-weight: 300;
  color: var(--vc1);
}

/* PILL'LER */
.vc-pills {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 0 0 26px;
}
.vc-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px; font-weight: 700;
  letter-spacing: .02em;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.92);
  text-transform: uppercase;
}
.vc-pill i { font-size: 12px; }
.vc-pill-erkek { color: #93c5fd; border-color: rgba(147,197,253,.45); background: rgba(59,130,246,.14); }
.vc-pill-kadin { color: #f9a8d4; border-color: rgba(249,168,212,.45); background: rgba(236,72,153,.14); }
.vc-pill-neutral { color: #cbd5e1; }
.vc-pill-accent {
  color: #fff;
  background: linear-gradient(135deg, color-mix(in srgb, var(--vc1) 38%, transparent), color-mix(in srgb, var(--vc2) 28%, transparent));
  border-color: color-mix(in srgb, var(--vc1) 55%, transparent);
  box-shadow: 0 4px 18px color-mix(in srgb, var(--vc1) 30%, transparent);
}
.vc-pill-accent i { color: #fef3c7; }

/* MOTTO */
.vc-motto {
  position: relative;
  margin: 0 0 26px;
  padding: 14px 18px 14px 22px;
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  max-width: 560px;
}
.vc-motto-bar {
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--vc1) 0%, var(--vc2) 100%);
  border-radius: 999px 0 0 999px;
}
.vc-motto-text {
  margin: 0;
  font-size: 17px; line-height: 1.5; font-weight: 500;
  color: rgba(255,255,255,.82);
  font-style: italic;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* İSTATİSTİKLER — temiz dikey-bilgi grid */
.vc-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
  margin-top: auto;
  margin-bottom: 22px;
}
.vc-stat {
  display: flex; flex-direction: column; gap: 4px;
  padding: 14px 16px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}
.vc-stat::before {
  content:""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: var(--vc1);
  opacity: .65;
}
.vc-stat-icon {
  position: absolute; top: 12px; right: 12px;
  width: 22px; height: 22px;
  display: grid; place-items: center;
  font-size: 12px;
  color: color-mix(in srgb, var(--vc1) 75%, #fff);
  opacity: .7;
}
.vc-stat-text { display: flex; flex-direction: column; min-width: 0; padding-right: 24px; }
.vc-stat-val {
  font-family: "Poppins", "Inter", sans-serif;
  font-size: 24px; font-weight: 900;
  line-height: 1.1;
  color: #fff;
  letter-spacing: -.025em;
}
.vc-stat-val.vc-stat-date { font-size: 16px; }
.vc-stat-lbl {
  font-size: 10px;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 800;
  margin-top: 4px;
}

/* ALT FOOTER — URL satırı */
.vc-footer {
  display: flex; align-items: center; gap: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.06);
  font-size: 13px;
  color: rgba(255,255,255,.5);
  font-weight: 600;
  letter-spacing: .02em;
}
.vc-footer-url {
  color: rgba(255,255,255,.95);
  font-family: "Inter", monospace;
  font-weight: 700;
}
.vc-footer-sep { opacity: .35; }
.vc-footer-tag {
  color: color-mix(in srgb, var(--vc1) 65%, #fff);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: .14em;
}

/* MODAL AKSİYONLARI */
.vcard-actions {
  display: flex; gap: 10px; flex-wrap: wrap;
}
.vcard-actions .btn {
  flex: 1; min-width: 140px; justify-content: center;
  font-weight: 700;
  transition: transform .18s, box-shadow .18s, opacity .18s;
}
.vcard-actions .btn:not(:disabled):hover { transform: translateY(-1px); }
.vcard-actions .btn:disabled {
  opacity: .65; cursor: progress;
  transform: none;
}
.vcard-actions .btn i { transition: transform .25s; }
.vcard-actions .btn:not(:disabled):hover i.fa-copy { transform: translateY(-2px); }
.vcard-actions .btn:not(:disabled):hover i.fa-download { transform: translateY(2px); }
.vcard-toast {
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: .88rem;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  opacity: 0; transform: translateY(4px);
  transition: opacity .25s, transform .25s;
  pointer-events: none;
}
.vcard-toast.show { opacity: 1; transform: translateY(0); }
.vcard-toast.ok    { background: rgba(34,197,94,.10); border-color: rgba(34,197,94,.35); color: #86efac; }
.vcard-toast.warn  { background: rgba(251,146,60,.10); border-color: rgba(251,146,60,.35); color: #fdba74; }

@media (max-width: 600px) {
  .vcard-modal { padding: 12px; }
  .vcard-modal-box { padding: 20px 16px 16px; border-radius: 16px; }
  .vcard-modal-box h3 { font-size: 1.08rem; }
  .vcard-modal-sub { font-size: .82rem; margin-bottom: 14px; }
  .vcard-actions .btn { min-width: 0; flex: 1 1 100%; padding: 12px; }
}

/* PERF hotfix: ana sayfa INP/RAM için pahalı paint ve gereksiz layer azaltma. */
body::before { display: none; }
.bg-orbs .fx-aurora,
.bg-orbs .fx-aurora-2,
.bg-orbs::after {
  animation: none !important;
  will-change: auto !important;
}
.navbar,
.hero, .panel, .form-card, .profile-card,
.sidebar,
.site-footer,
.stories-bar,
.mobile-bottom-nav,
.cookie-consent-card,
.hero-stack-label,
.hero-stats,
.newcomer-cat {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.navbar { background: rgba(7,11,20,.96) !important; }
.hero, .panel, .form-card, .profile-card {
  background:
    linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,0)),
    rgba(15,21,35,.88) !important;
}
.live-pill .dot,
.hero-stack-label .dot.pulse,
.stack-card-active .dot,
.newcomer-active .dot,
.live-pulse,
.badge-active,
.badge-active .dot,
.streamer-live-pill,
.streamer-card .live-pill,
.adm-pending-dot,
.birthday-banner,
.birthday-banner .bd-emoji,
.birthday-banner .bd-confetti {
  animation: none !important;
}
.explore-image {
  overflow: hidden;
  background-image: none !important;
}
.explore-image img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.explore-row:hover .explore-image { transform: none; }
.explore-row:hover .explore-image img { transform: scale(1.035); }
.reveal { will-change: auto !important; }
