.container {
  width: 100%;
  max-width: var(--content-w);
  margin: 0 auto;
  padding: 0 20px;
}
.container-narrow { max-width: 880px; }

.site-main { min-height: 60vh; padding: 28px 0 80px; }

/* Top ticker bar (canlı BTC/ETH/SOL) */
.ticker {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 6px 0;
  overflow: hidden;
  font-size: 12px;
  position: sticky;
  top: 0;
  z-index: 60;
}
.ticker-row {
  display: flex;
  gap: 28px;
  white-space: nowrap;
  align-items: center;
  font-family: var(--font-mono);
}
.ticker-item { display: inline-flex; gap: 6px; align-items: center; }
.ticker-item .sym { color: var(--text-muted); font-weight: 600; }
.ticker-item .pr { color: var(--text); font-weight: 600; }
.ticker-item .ch.up { color: var(--success); }
.ticker-item .ch.dn { color: var(--danger); }
.ticker-marquee {
  animation: marquee 32s linear infinite;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============ Header (v4 — gelişmiş) ============ */
.site-header {
  position: sticky;
  top: 0;            /* ticker kaldırıldı → offset yok (eski 32px boşluk/üst üste binme hatası giderildi) */
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--border);
  transition: top var(--t-base), transform var(--t-base);
  /* PJAX view-transition'da sticky+backdrop header'ın kök snapshot içinde
     kaybolması hatasını engeller: kendi VT grubuna alınır. */
  view-transition-name: ks-header;
}

/* Row 1: brand + search + actions */
.hnav {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 60px;
  position: relative;
}
/* === Misafir menüsü — sıfırdan, sade & güvenilir dropdown === */
.gpop { position: relative; }
.gpop-btn {
  display: inline-flex; align-items: center; gap: 5px;
  height: 40px; padding: 4px 9px 4px 4px;
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--radius-pill); color: var(--text);
  transition: border-color var(--t-fast), background var(--t-fast);
}
.gpop-btn:hover { border-color: var(--accent); }
.gpop-av {
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent);
}
.gpop-btn > svg { color: var(--text-soft); }
/* Panel: VARSAYILAN KAPALI (display:none). Yalnız .open ile açılır. */
.gpop-panel {
  position: absolute; top: calc(100% + 8px); right: 0;
  width: 280px; padding: 14px;
  background: var(--surface); border: 1px solid var(--border-strong);
  border-radius: 16px; box-shadow: var(--shadow-lg);
  display: none; z-index: 300;
}
.gpop-panel.open { display: block; animation: fadeIn var(--t-fast); }
.gpop-head {
  display: flex; align-items: center; gap: 11px;
  padding: 4px 4px 14px; margin-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.gpop-head-av {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #0a0a0a;
}
.gpop-head b { display: block; font-size: 15px; font-weight: 800; letter-spacing: -.01em; }
.gpop-head small { display: block; font-size: 12px; color: var(--text-soft); margin-top: 1px; }
/* İki buton YAN YANA, soft */
.gpop-cta { display: flex; gap: 8px; }
.gpop-b {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 11px 10px; border-radius: 12px;
  font-size: 13.5px; font-weight: 600; text-decoration: none;
  background: var(--surface-2); color: var(--text); border: 1px solid var(--border);
  transition: background var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}
.gpop-b:hover { background: var(--surface-3); transform: translateY(-1px); text-decoration: none; }
.gpop-b-primary { background: var(--accent-soft); color: var(--accent); border-color: transparent; }
.gpop-b-primary:hover { background: var(--accent); color: #0a0a0a; }
.gpop-foot {
  display: flex; align-items: center; gap: 9px; width: 100%;
  margin-top: 12px; padding: 10px 8px 2px;
  border-top: 1px solid var(--border); background: none;
  color: var(--text-muted); font-size: 13px; font-weight: 600;
  transition: color var(--t-fast);
}
.gpop-foot:hover { color: var(--text); }
@media (max-width: 480px) { .gpop-panel { width: min(280px, calc(100vw - 24px)); } }

/* Bildirim menüsü — profesyonel; masaüstü açılır panel / mobil tam-genişlik */
.notif-menu { width: 384px; padding: 0; overflow: hidden; border-radius: var(--radius-lg); }
.notif-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 15px 16px 13px; border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}
.notif-head > div { display: flex; align-items: center; gap: 9px; }
.notif-head b { font-size: 14.5px; font-weight: 800; letter-spacing: -.01em; }
.notif-badge {
  font-size: 10.5px; font-weight: 800; letter-spacing: .3px;
  color: var(--accent); background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  padding: 2px 9px; border-radius: var(--radius-pill);
}
.notif-readall {
  width: 32px; height: 32px; border-radius: var(--radius-pill); flex-shrink: 0;
  display: grid; place-items: center; color: var(--text-soft);
  border: 1px solid var(--border); background: var(--surface);
  transition: color var(--t-fast), border-color var(--t-fast), background var(--t-fast);
}
.notif-readall:hover { background: var(--surface-3); color: var(--text); border-color: var(--border-strong); }
.notif-list { max-height: 60vh; overflow-y: auto; overscroll-behavior: contain; }
.notif-loading { padding: 30px; text-align: center; color: var(--text-soft); font-size: 13px; }
.notif-item {
  display: flex; gap: 12px; padding: 13px 16px 13px 16px;
  border-bottom: 1px solid var(--border); color: inherit;
  transition: background var(--t-fast); position: relative;
}
.notif-item:last-child { border-bottom: 0; }
.notif-item:hover { background: var(--surface-2); text-decoration: none; }
.notif-item.unread { background: color-mix(in srgb, var(--accent) 7%, transparent); }
.notif-item.unread::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; background: var(--accent);
}
.notif-ic {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
}
.notif-bd { min-width: 0; flex: 1; }
.notif-bd b { font-size: 13.5px; font-weight: 700; display: block; line-height: 1.35;
  overflow: hidden; text-overflow: ellipsis; }
.notif-bd p { font-size: 12.5px; color: var(--text-muted); margin: 3px 0 0; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.notif-bd time { font-size: 11px; color: var(--text-soft); display: block; margin-top: 5px; }
.notif-empty { padding: 40px 22px; text-align: center; color: var(--text-soft); font-size: 13px; }
.notif-foot {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px; font-size: 13px; font-weight: 700;
  color: var(--accent); border-top: 1px solid var(--border); background: var(--surface-2);
}
.notif-foot:hover { color: var(--accent-2); background: var(--surface-3); text-decoration: none; }
/* MOBİL: ekrana sığan tam-genişlik panel (taşma/bozulma yok), büyük dokunma alanı */
@media (max-width: 640px) {
  .notif-menu { width: calc(100vw - 20px); max-width: 420px; }
  .notif-list { max-height: 64vh; }
  .notif-item { padding: 15px 16px; }
  .notif-ic { width: 38px; height: 38px; }
  .notif-head, .notif-foot { padding: 16px; }
}
.brand {
  display: flex; align-items: center;
  flex-shrink: 0;
}
.brand-logo {
  height: 34px; width: auto; display: block;
}
@media (max-width: 760px) { .brand-logo { height: 28px; } }

/* Arama kutusu açıkken header gizlenir (çift buton/ikon olmasın) */
html.search-open .site-header,
html.search-open .ticker { visibility: hidden; }

/* Masaüstü: gerçek arama kutusu görünümü */
.search-pill {
  flex: 0 1 300px;
  max-width: 300px;
  margin: 0;
  display: flex; align-items: center; gap: 10px;
  height: 40px; padding: 0 14px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  color: var(--text-soft);
  font-size: 14px;
  cursor: text;
  transition: border-color var(--t-fast), background var(--t-fast);
}
.search-pill:hover { border-color: var(--border-strong); background: var(--surface-3); }
.search-pill svg { color: var(--text-soft); flex-shrink: 0; }
.search-pill span { flex: 1; text-align: left; }
.search-pill kbd {
  font-family: var(--font-mono); font-size: 11px;
  padding: 2px 6px; border-radius: var(--radius-xs);
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text-soft); flex-shrink: 0;
}
.nav-actions .search-mobile { display: none !important; }   /* masaüstünde gizli (.icon-btn'i ezsin) */

.nav-actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; margin-left: auto; }
/* Hesap Öner — masaüstünde arama kutusunun yanında (mobilde gizli; menüde var) */
.hnav-suggest {
  display: inline-flex; align-items: center; gap: 7px; flex-shrink: 0;
  height: 40px; padding: 0 15px;
  color: var(--accent); font-size: 13.5px; font-weight: 700;
  background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
  border-radius: var(--radius-pill);
  transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast);
}
.hnav-suggest svg { color: inherit; }
.hnav-suggest:hover { background: var(--accent); color: #0a0a0a; transform: translateY(-1px); }
.hnav-suggest:hover svg { color: #0a0a0a; }

.icon-btn {
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  border-radius: var(--radius-pill);
  transition: background var(--t-fast), color var(--t-fast);
  position: relative;
}
.icon-btn:hover { background: var(--surface-2); color: var(--text); }
.icon-btn svg { width: 18px; height: 18px; }

/* Numeric notification badge */
.count-badge {
  position: absolute; top: 2px; right: 2px;
  min-width: 16px; height: 16px; padding: 0 4px;
  background: var(--danger); color: #fff;
  font-size: 10px; font-weight: 700;
  border-radius: var(--radius-pill);
  display: grid; place-items: center;
  border: 2px solid var(--bg);
}

/* Avatar chip (user menu trigger) */
.avatar-chip {
  display: flex; align-items: center; gap: 8px;
  height: 40px; padding: 4px 10px 4px 4px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  color: var(--text);
  transition: border-color var(--t-fast), background var(--t-fast);
}
.avatar-chip:hover { border-color: var(--border-strong); background: var(--surface-3); }
.avatar-chip img {
  width: 32px; height: 32px; border-radius: 50%;
  object-fit: cover; background: var(--surface-3);
}
.avatar-chip-meta { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.avatar-chip-meta b { font-size: 13px; font-weight: 600; }
.avatar-chip-meta small { font-size: 11px; color: var(--text-soft); }
.avatar-chip svg { color: var(--text-soft); }

.hpop { position: relative; }

.menu-profile {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 12px !important;
}
.menu-profile img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: var(--surface-3); }
.menu-profile span { display: flex; flex-direction: column; min-width: 0; }
.menu-profile b { font-size: 14px; }
.menu-profile small { font-size: 12px; color: var(--text-soft); overflow: hidden; text-overflow: ellipsis; }

/* Row 2: nav links */
.hsub {
  position: sticky;
  top: 60px;                 /* header (.hnav 60px) hemen altına yapışır */
  z-index: 40;               /* header(50) altında, içerik üstünde */
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
          backdrop-filter: saturate(180%) blur(16px);
  transition: transform .26s ease;
}
/* Aşağı kayınca header + .hsub BİRLİKTE gizlenir (yukarıda geri gelir) */
html.hdr-hidden .site-header { transform: translateY(-100%); }
/* .hsub transform'u YALNIZ masaüstü — mobilde .hsub fixed drawer'ı barındırır,
   transform onu yeniden tuzağa düşürür (mobilde zaten drawer var, nav yok) */
@media (min-width: 961px) {
  html.hdr-hidden .hsub { transform: translateY(calc(-100% - 62px)); }
}
.main-nav {
  display: flex; align-items: center; gap: 2px;
  height: 46px;
}
.main-nav a {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--text-muted);
  padding: 7px 12px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  transition: color var(--t-fast), background var(--t-fast);
}
.main-nav a svg { opacity: .7; }
.main-nav a:hover { color: var(--text); background: var(--surface-2); }
/* Seçili sekme: sarı DEĞİL — yumuşak nötr çip (beyaz yazı + gri zemin) */
.main-nav a.active { color: var(--text); background: var(--surface-3); }
.main-nav a.active svg { opacity: 1; color: var(--text-muted); }
/* Drawer'a özel parçalar masaüstü ikincil nav'da görünmez */
.mnav-head, .mnav-search, .mnav-sec, .mnav-foot, .mnav-games, #navScrim { display: none; }
.main-nav a > span + svg { display: none; }   /* satır-sonu chevron yalnız mobil drawer */
.nav-fill { flex: 1; }
/* Hesap Öner — nav öğesiyle AYNI boyut, sadece renk vurgusu farklı */
.main-nav a.nav-suggest {
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
  margin-right: 6px;
}
.main-nav a.nav-suggest svg { opacity: 1; }
.main-nav a.nav-suggest:hover { background: var(--accent); color: #0a0a0a; }
.main-nav a.nav-suggest:hover svg { color: #0a0a0a; }
.main-nav a.nav-suggest.active { background: var(--accent); color: #0a0a0a; }
.main-nav a.nav-suggest.active svg { color: #0a0a0a; }
/* Mobil menüde Hesap Öner (Anasayfa'dan önce) — masaüstünde gizli */
/* .main-nav a (0,1,1) > .nav-suggest-m (0,1,0) → masaüstünde gizlemek için
   eşit/üstün özgüllük gerek (0,2,1). Aksi halde nav'da da görünüyordu. */
.main-nav a.nav-suggest-m { display: none; }

.nav-toggle { display: none; }

@media (max-width: 760px) {
  .search-pill { display: none; }       /* mobil: kutu yerine ikon */
  .hnav-suggest { display: none; }      /* mobil: menüdeki Hesap Öner kullanılır */
  .nav-actions .search-mobile { display: inline-flex !important; }
  /* Mobil: menü solda · logo ortada · hesap menüsü sağda (SADECE header) */
  .hnav { gap: 8px; }
  .hnav .nav-toggle { order: 0; }
  .hnav .brand {
    position: absolute; left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    margin: 0; pointer-events: auto;
  }
  .hnav .nav-actions { margin-left: auto; }
}
@media (max-width: 960px) {  /* Drawer + hamburger sadece mobilde — desktop'ta inline .hsub nav görünür */
  .nav-toggle { display: inline-flex; order: -1; }
  /* Kapalıyken hiçbir kutu/overlay oluşturma — tıklamayı engelleme */
  .hsub {
    position: static; z-index: auto;
    border-top: 0; border-bottom: 0;
    background: transparent;
    -webkit-backdrop-filter: none; backdrop-filter: none;
  }
  /* === Mobil sol drawer (hızlı panel) === */
  .main-nav {
    position: fixed; top: 0; left: 0; bottom: 0;
    width: min(86vw, 340px); height: 100%;
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); border-right: 1px solid var(--border);
    box-shadow: 18px 0 50px -18px rgba(0,0,0,.7);
    padding: 0 0 18px; overflow-y: auto; -webkit-overflow-scrolling: touch;
    z-index: 200;
    transform: translateX(-101%); visibility: hidden; pointer-events: none;
    transition: transform .3s cubic-bezier(.4,0,.2,1), visibility .3s;
  }
  html.nav-open .main-nav { transform: none; visibility: visible; pointer-events: auto; }
  #navScrim {
    display: block; position: fixed; inset: 0; z-index: 199;
    background: rgba(0,0,0,.55);
    opacity: 0; pointer-events: none; transition: opacity .3s ease;
  }
  html.nav-open #navScrim { opacity: 1; pointer-events: auto; }
  html.nav-open, html.nav-open body { overflow: hidden; }

  .mnav-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 15px 16px 13px; border-bottom: 1px solid var(--border);
    background: transparent;   /* logo arkasında badge/kutu YOK */
  }
  .mnav-brand img { height: 30px; width: auto; display: block; }
  .mnav-x {
    width: 38px; height: 38px; display: grid; place-items: center;
    border-radius: var(--radius-pill); border: 1px solid var(--border);
    background: var(--surface-2); color: var(--text-muted); cursor: pointer;
    transition: color var(--t-fast), border-color var(--t-fast), background var(--t-fast);
  }
  .mnav-x:hover { color: var(--text); border-color: var(--border-strong); background: var(--surface-3); }

  .mnav-search {
    display: flex; align-items: center; gap: 9px;
    margin: 14px 14px 2px; padding: 11px 14px;
    border-radius: var(--radius-pill); border: 1px solid var(--border);
    background: var(--surface-2); color: var(--text-soft);
    font-size: 13.5px; font-weight: 600; cursor: pointer; text-align: left;
    transition: border-color var(--t-fast), background var(--t-fast);
  }
  .mnav-search svg { color: var(--text-soft); flex-shrink: 0; }
  .mnav-search:hover { border-color: var(--border-strong); background: var(--surface-3); }

  .mnav-sec {
    display: block; padding: 18px 18px 7px;
    font-size: 10.5px; font-weight: 800; text-transform: uppercase;
    letter-spacing: 1.2px; color: var(--text-soft);
  }
  /* Oyunlar: minimal görselli iki kart (Hangisi / HODL-REKT) */
  .mnav-games { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 2px 14px 4px; }
  .mnav-games .mnav-game { align-items: center; text-align: center; padding: 12px 6px; gap: 7px; }
  .mnav-games .mnav-game img { width: 34px; height: 34px; }
  .mnav-games .mnav-game span { align-items: center; }
  .mnav-games .mnav-game b { font-size: 12px; }
  .mnav-games .mnav-game small { display: none; }
  .main-nav a.mnav-game {
    display: flex; flex-direction: column; align-items: flex-start; gap: 7px;
    margin: 0; padding: 13px 13px 12px; border-radius: var(--radius-lg);
    background: var(--surface-2); border: 1px solid var(--border); color: var(--text);
  }
  .main-nav a.mnav-game:hover { background: var(--surface-3); border-color: var(--border-strong); }
  .main-nav a.mnav-game img { width: 38px; height: 38px; object-fit: contain;
    filter: drop-shadow(0 4px 9px rgba(0,0,0,.4)); }
  .main-nav a.mnav-game span { display: flex; flex-direction: column; line-height: 1.25; }
  .main-nav a.mnav-game b { font-size: 13.5px; font-weight: 800; }
  .main-nav a.mnav-game small { font-size: 11px; color: var(--text-soft); }
  .main-nav a.mnav-game > svg { display: none; }
  .main-nav a {
    display: flex; align-items: center; gap: 13px;
    padding: 12px 16px; margin: 1px 10px; border-radius: var(--radius);
    font-size: 14.5px; font-weight: 600; color: var(--text);
  }
  .main-nav a span { flex: 1; min-width: 0; }
  .main-nav a svg { opacity: 1; width: 18px; height: 18px; color: var(--text-soft); }
  .main-nav a > span + svg { display: inline; width: 15px; height: 15px; color: var(--border-strong); }
  .main-nav a:hover, .main-nav a:active { background: var(--surface-2); }
  .main-nav a.active { background: var(--accent-soft); color: var(--accent); }
  .main-nav a.active svg,
  .main-nav a.active > span + svg { color: var(--accent); }

  .nav-fill { display: none; }
  /* Hesap Öner — vurgulu üst aksiyon */
  .main-nav a.nav-suggest,
  .main-nav a.nav-suggest-m {
    display: flex; order: 0; justify-content: center; gap: 8px;
    margin: 4px 14px 2px; padding: 13px; border-radius: var(--radius-pill);
    background: var(--accent-soft); color: var(--accent);
    border: 1px solid color-mix(in srgb, var(--accent) 32%, transparent);
    font-weight: 800; font-size: 14px;
  }
  .main-nav a.nav-suggest svg,
  .main-nav a.nav-suggest-m svg { color: var(--accent); opacity: 1; }

  .mnav-foot {
    display: flex; gap: 8px; margin: 18px 14px 0;
    padding-top: 16px; border-top: 1px solid var(--border);
  }
  .main-nav a.mnav-fb {
    flex: 1; margin: 0; display: inline-flex; align-items: center;
    justify-content: center; gap: 7px; padding: 11px 10px;
    border-radius: var(--radius-pill); font-size: 13px; font-weight: 700;
    border: 1px solid var(--border); background: var(--surface-2); color: var(--text);
  }
  .main-nav a.mnav-fb svg { width: 15px; height: 15px; color: var(--text-soft); }
  .main-nav a.mnav-fb-primary {
    background: var(--accent-soft); color: var(--accent);
    border-color: color-mix(in srgb, var(--accent) 32%, transparent);
  }
  .main-nav a.mnav-fb-primary svg { color: var(--accent); }
  .ticker { display: none; }
  .site-header { top: 0; }
  .avatar-chip-meta { display: none; }
  .avatar-chip { padding: 4px; }
}
@keyframes navDrop { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }

/* Footer (v2) */
.site-footer {
  position: relative;
  border-top: 1px solid var(--border);
  background:
    radial-gradient(ellipse 70% 100% at 50% 0%, color-mix(in srgb, var(--accent) 7%, transparent), transparent 60%),
    var(--bg);
  margin-top: 80px;
  padding: 52px 0 26px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 3fr;
  gap: 48px;
}
.footer-brand .brand-logo { transition: transform var(--t-base); }
.footer-brand:hover .brand-logo { transform: scale(1.03); }
.footer-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 28px;
}
.footer-col h4 {
  font-size: 11px; text-transform: uppercase; letter-spacing: 1.2px;
  margin: 0 0 14px; color: var(--accent); font-weight: 700;
}
.footer-col a {
  display: block; padding: 5px 0;
  color: var(--text-muted); font-size: 14px;
  transition: color var(--t-fast), padding-left var(--t-fast);
  position: relative;
}
.footer-col a:hover { color: var(--text); padding-left: 6px; text-decoration: none; }
.footer-col a:hover::before {
  content: ''; position: absolute; left: -2px; top: 50%; transform: translateY(-50%);
  width: 3px; height: 14px; border-radius: 2px; background: var(--accent);
}
.footer-bottom {
  margin-top: 44px; padding-top: 22px;
  border-top: 1px solid var(--border);
  color: var(--text-soft); font-size: 12.5px;
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px;
}
.footer-bottom strong { color: var(--text-muted); }
.footer-made { color: var(--text-soft); }
@media (max-width: 860px) {
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* Grids */
.grid { display: grid; gap: var(--gap); }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.grid-6 { grid-template-columns: repeat(6, minmax(0,1fr)); }

/* Bento grid — anasayfa */
.bento {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
}
.bento-main { min-width: 0; }
.bento-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-self: start;
}

@media (max-width: 1080px) { .bento { grid-template-columns: 1fr; } }
@media (max-width: 720px) {
  .grid-3, .grid-4, .grid-6 { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 480px) {
  .grid-2, .grid-3, .grid-4, .grid-6 { grid-template-columns: 1fr; }
}

/* ===== Hero (v3 — animasyonlu) ===== */
.herox {
  position: relative; overflow: hidden; isolation: isolate;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--surface);
  padding: 36px 36px 0;     /* alt bant (hstats) hero'ya yapışık */
  margin-bottom: 26px;
}
/* Hero arka plan: altın ışık görseli — düşük opaklık, siteyi boğmaz (statik) */
.herox::after { content: none; }
.herox::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: url('/assets/img/hero-bg.webp?v=1') left center / cover no-repeat;
  opacity: .12;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.45) 62%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.45) 62%, transparent 100%);
}
.herox-grid, .herox .hstats { position: relative; z-index: 1; }
.herox-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 32px; align-items: center; }
.herox-lead { animation: fadeIn .5s both; }
.herox-title {
  font-size: clamp(24px, 2.9vw, 38px); line-height: 1.22;
  margin: 0; letter-spacing: -.022em; font-weight: 800; color: var(--text);
}
/* Vurgu kelime: yumuşak degrade (göz yormaz) + ince zarif alt çizgi */
.herox-title .hl {
  position: relative; display: inline-block;
  background: linear-gradient(96deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--accent);
}
.herox-title .hl::after {
  content: ''; position: absolute; left: 2px; right: 2px; bottom: -.14em;
  height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent-2) 55%, transparent));
  opacity: .5;
}
.herox-rule { display: none; }   /* vurgu artık kelimenin altında — ayrı çizgi kalktı */
.herox-lead p { color: var(--text-muted); font-size: 15px; max-width: 480px; margin: 22px 0 0; line-height: 1.7; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.4px;
  color: var(--accent); padding: 7px 14px 7px 7px; margin: 0 0 20px;
  background: color-mix(in srgb, #000 38%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 32%, transparent);
  border-radius: var(--radius-pill);
}
.hero-eyebrow .he-star {
  display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px;
  background: var(--accent-soft); color: var(--accent); flex-shrink: 0;
}
.hero-eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 var(--accent); animation: ping 1.8s cubic-bezier(0,0,.2,1) infinite; }
@keyframes ping { 0%{box-shadow:0 0 0 0 color-mix(in srgb,var(--accent) 70%,transparent);} 70%,100%{box-shadow:0 0 0 7px transparent;} }

@keyframes shine { to { left: 160%; } }

/* Hero — minimal arama (özellikle mobil) */
.hero-search {
  display: none; align-items: center; gap: 10px;
  width: 100%; max-width: 420px; margin: 18px 0 0;
  height: 44px; padding: 0 16px;
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--radius-pill); color: var(--text-soft);
  font-size: 14px; cursor: text;
  transition: border-color var(--t-fast), background var(--t-fast);
}
.hero-search:hover { border-color: var(--accent); background: var(--surface-3); }
.hero-search span { flex: 1; text-align: left; }

/* Hero sağ — aksiyon kartları */
.herox-side { display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.hact {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; border-radius: var(--radius-lg);
  background: var(--surface-2);
  border: 1px solid color-mix(in srgb, var(--accent) 18%, var(--border));
  color: var(--text); position: relative; overflow: hidden;
  transition: transform var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast);
}
.hact::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(120% 120% at 100% 50%, var(--accent-soft), transparent 62%);
  opacity: .4; transition: opacity var(--t-fast);
}
.hact > * { position: relative; }
.hact:hover { transform: translateY(-3px); text-decoration: none; box-shadow: var(--shadow); }
.hact:hover::before { opacity: 1; }
.hact img {
  width: 56px; height: 56px; object-fit: contain; flex-shrink: 0;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,.45));
  transition: transform var(--t-fast);
}
.hact:hover img { transform: scale(1.1) rotate(-6deg); }
.hact-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.hact-tx b { font-size: 16px; font-weight: 800; letter-spacing: -.01em; }
.hact-tx small { font-size: 12.5px; color: var(--text-muted); }
.hact > svg { color: var(--accent); transition: transform var(--t-fast), color var(--t-fast); }
.hact:hover > svg { color: var(--accent); transform: translateX(4px); }
.hact-dice:hover { border-color: #ec4899; }
.hact-mood:hover { border-color: var(--accent); }

.hero-suggest {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 16px; font-size: 13px; font-weight: 600; color: var(--text-muted);
}
.hero-suggest:hover { color: var(--accent); }

@media (max-width: 760px) {
  .hero-search { display: flex; }   /* mobilde header yerine burada */
}

/* İstatistik şeridi — hero kartının altına yapışık, birleşik bant */
.hstats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin: 30px -36px 0;            /* hero iç padding'ini iptal → tam genişlik bant */
  border-top: 1px solid var(--border);
}
.hstat {
  display: flex; align-items: center; gap: 9px;
  padding: 12px 16px; color: inherit; position: relative;
  transition: background var(--t-fast);
}
.hstat + .hstat::before {
  content: ''; position: absolute; left: 0; top: 12px; bottom: 12px;
  width: 1px; background: var(--border);
}
.hstat:hover { background: var(--surface-2); text-decoration: none; }
.hstat:first-child { border-bottom-left-radius: var(--radius-xl); }
.hstat:last-child  { border-bottom-right-radius: var(--radius-xl); }
.hstat .ic {
  width: 26px; height: 26px; border-radius: 8px; flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--surface-2); color: var(--text-muted);   /* soft, sarı değil — light/dark uyumlu */
}
.hstat .ic svg { width: 13px; height: 13px; }
.hstat-v { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.hstat-v b { font-size: 15px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1; }
.hstat-v span { font-size: 9.5px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .6px; }

@media (max-width: 860px) {
  .herox { padding: 24px 20px 0; }
  /* Mobil: geniş görselin altın kısmı (solda) görünür kalsın + biraz daha belirgin */
  .herox::before { background-position: left top; opacity: .14; }
  .herox-grid { grid-template-columns: 1fr; gap: 22px; }
  .herox-side { flex-direction: row; }
  .herox-side .hact { flex: 1; }
  .hstats { margin: 24px -20px 0; }
}
@media (max-width: 620px) {
  .hstats { grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); }
  .hstat { padding: 11px 12px; background: var(--surface); }
  .hstat + .hstat::before { display: none; }
  .hstat:first-child, .hstat:last-child { border-radius: 0; }
  .hstat .ic { width: 24px; height: 24px; }
  .hstat-v b { font-size: 14px; }
  .herox-side { flex-direction: column; }
}

/* Page header */
.page-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-bottom: 24px; padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.page-head h1 { margin: 0; font-size: 24px; }

/* Breadcrumb */
/* Soft breadcrumb — kutu/badge yok, sade metin (tüm sayfalarda) */
.crumb {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 2px 4px;
  font-size: 12.5px;
  color: var(--text-soft);
  margin: 2px 0 18px;
  list-style: none; padding: 0;
}
.crumb li { display: inline-flex; align-items: center; gap: 4px; min-width: 0; }
.crumb a {
  display: inline-flex; align-items: center; gap: 5px;
  color: var(--text-muted);
  padding: 2px 4px; background: none; border: 0; border-radius: 5px;
  transition: color var(--t-fast);
  max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.crumb a:first-child { padding-left: 0; }
.crumb a:hover { color: var(--accent); text-decoration: none; }
.crumb a svg { opacity: .55; }
.crumb .crumb-sep { color: var(--text-soft); display: inline-flex; opacity: .4; }
.crumb .crumb-sep svg { width: 12px; height: 12px; }
.crumb .crumb-cur {
  color: var(--text); font-weight: 600;
  padding: 2px 4px; background: none; border: 0;
  max-width: 240px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
@media (max-width: 480px) {
  .crumb { font-size: 12px; }
  .crumb a { max-width: 120px; }
  .crumb .crumb-cur { max-width: 150px; }
}

.section { margin-bottom: 40px; }
.section-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px; gap: 12px;
}
.section-head h2 { font-size: 18px; margin: 0; display: flex; align-items: center; gap: 8px; }
.section-head h2 .count { color: var(--text-soft); font-weight: 400; font-size: 14px; }
.section-head a { font-size: 13px; color: var(--text-muted); display: inline-flex; align-items: center; gap: 4px; }
.section-head a:hover { color: var(--accent); }

/* Hesaplar feed — filtre çubuğu + AJAX */
.feed-head { flex-wrap: wrap; align-items: flex-start; }
.feed-tools { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.seg {
  display: flex; gap: 4px; padding: 5px;
  background: var(--surface); border: 1px solid var(--border);   /* hero kartıyla aynı siyahlık */
  border-radius: var(--radius-md); overflow-x: auto;
  width: 100%; box-sizing: border-box;
  scrollbar-width: none;
}
.seg::-webkit-scrollbar { display: none; }
.seg-i {
  flex: 0 0 auto; padding: 8px 14px; border-radius: var(--radius);
  font-size: 12.5px; font-weight: 600; color: var(--text-muted);
  white-space: nowrap; transition: color var(--t-fast), background var(--t-fast);
}
.seg-i:hover { color: var(--text); }
/* Seçili sekme: sarı DEĞİL — header'daki seçili gibi soft nötr çip */
.seg-i.on { background: var(--surface-3); color: var(--text); }
.feed-sort {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 0 12px; height: 38px;
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--radius-pill); color: var(--text-soft);
}
.feed-sort select {
  background: transparent; border: 0; color: var(--text);
  font-size: 13px; font-weight: 600; padding: 0 4px; width: auto; height: 100%;
  outline: none; cursor: pointer;
}
.feed-grid { transition: opacity var(--t-fast); }

/* Numaralı AJAX sayfalandırma */
.feed-pager {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 6px; margin-top: 20px;
}
.feed-pager.busy { opacity: .55; pointer-events: none; }
.pg-btn {
  min-width: 38px; height: 38px; padding: 0 11px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--radius); color: var(--text-muted);
  font-size: 13.5px; font-weight: 700; font-variant-numeric: tabular-nums;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}
.pg-btn:hover:not(:disabled):not(.on) { color: var(--text); border-color: var(--border-strong); transform: translateY(-1px); }
.pg-btn.on { background: var(--accent); border-color: var(--accent); color: #0a0a0a; }
.pg-btn:disabled { opacity: .4; cursor: not-allowed; }
.pg-nav { font-size: 18px; }
.pg-gap { min-width: 24px; text-align: center; color: var(--text-soft); font-weight: 700; }
.pg-info {
  margin-left: 8px; padding-left: 12px; border-left: 1px solid var(--border);
  color: var(--text-soft); font-size: 12px; font-variant-numeric: tabular-nums;
}

@media (max-width: 760px) {
  .feed-head h2 { width: 100%; }
  .feed-tools { width: 100%; }
  .seg { flex: 1; }
  .pg-btn { min-width: 34px; height: 34px; padding: 0 8px; font-size: 13px; }
  .pg-info { display: none; }
}
