/* BILISIMCI HOCAM - BH-COMPONENTS.CSS v1.0 */


/* HEADER */
header {
  position: sticky; top: 0; z-index: 1000;
  height: clamp(64px, 6vw, 90px) !important;
  padding-block: 0 !important;
  padding-inline: clamp(1rem, 3vw, 2.5rem);
  display: flex; align-items: center;
}
header::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--primary-rgb, 0,212,255), .4), rgba(var(--primary-rgb, 0,212,255), .15), transparent);
}

.header-inner, .h-in {
  display: flex; align-items: center;
  justify-content: space-between; gap: 2rem;
  width: 100%;
}

/* Logo */
.header-logo-link {
  display: flex !important;
  align-items: center !important;
  gap: clamp(6px, .8vw, 12px) !important;
  text-decoration: none !important;
  flex-shrink: 0 !important;
  position: relative;
}
.header-logo-ikon {
  height: clamp(40px, 5vw, 68px) !important;
  width: auto !important;
  display: block !important;
  object-fit: contain !important;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,.22));
}
.header-logo-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.05;
  gap: 4px;
}
.header-logo-ad {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: clamp(.95rem, 1.15vw, 1.38rem);
  letter-spacing: .02em;
  background: linear-gradient(90deg, #2c1654 0%, #6b21a8 20%, #c0392b 55%, #e05a8a 80%, #f4a0b0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 8px 24px rgba(0,0,0,.12);
  position: relative;
}
.header-logo-slogan {
  font-family: 'Inter', sans-serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(.58rem, .68vw, .78rem);
  letter-spacing: .01em;
  color: var(--logo-slogan-color, var(--text3));
  opacity: .96;
  text-shadow: 0 1px 0 rgba(0,0,0,.08);
  position: relative;
  padding-left: .7rem;
}

.header-logo-slogan::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: .48rem;
  height: 1px;
  transform: translateY(-50%);
  background: linear-gradient(90deg, rgba(var(--primary-rgb, 0,212,255), .9), rgba(var(--primary-rgb, 0,212,255), .18));
}

html body header .header-logo-link {
  display: flex !important;
  align-items: center !important;
  gap: clamp(6px, .8vw, 12px) !important;
  text-decoration: none !important;
  flex-shrink: 0 !important;
}

html body header .header-logo-ikon {
  height: clamp(40px, 5vw, 68px) !important;
  width: auto !important;
  display: block !important;
  object-fit: contain !important;
}

html body header .header-logo-text {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  line-height: 1.05 !important;
  gap: 4px !important;
}

html body header .header-logo-ad {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 900 !important;
  font-size: clamp(.95rem, 1.15vw, 1.38rem) !important;
  letter-spacing: .02em !important;
}

html body header .header-logo-slogan {
  display: inline-block !important;
  font-family: 'Inter', sans-serif !important;
  font-style: italic !important;
  font-weight: 500 !important;
  font-size: clamp(.58rem, .68vw, .78rem) !important;
  letter-spacing: .01em !important;
  color: var(--logo-slogan-color, var(--text3)) !important;
  opacity: .96 !important;
}

.logo { display: flex; align-items: center; gap: clamp(8px,1vw,14px); text-decoration: none; }
.logo-icon {
  width: clamp(32px,2.6vw,44px); height: clamp(32px,2.6vw,44px);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: clamp(.9rem,1.1vw,1.25rem); color: #fff; flex-shrink: 0;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-main { font-size: clamp(.85rem,1vw,1.1rem); font-weight: 800; color: var(--text1); letter-spacing: -.02em; }
.logo-sub { font-size: clamp(.48rem,.52vw,.62rem); color: var(--text3); font-family: 'JetBrains Mono', monospace; letter-spacing: .12em; text-transform: uppercase; }

/* NAV */
.header-nav, .hnav { display: flex; align-items: center; gap: .15rem; }
.header-nav a, .hnav a {
  color: var(--text2); text-decoration: none;
  padding: .38rem clamp(.45rem,.75vw,.95rem);
  border-radius: 8px;
  font-size: clamp(.72rem,.82vw,.92rem); font-weight: 600;
  transition: all .2s; white-space: nowrap;
}

@media (min-width: 901px) {
  header .header-inner,
  header .h-in {
    display: grid !important;
    grid-template-columns: minmax(180px, 1fr) auto minmax(180px, 1fr) !important;
    align-items: center !important;
    gap: clamp(12px, 2vw, 28px) !important;
  }

  header .header-logo-link,
  header .logo-link,
  header .logo {
    justify-self: start !important;
    margin-right: 0 !important;
  }

  header .header-nav,
  header .hnav {
    justify-self: center !important;
    justify-content: center !important;
    flex: 0 1 auto !important;
    width: auto !important;
    margin-inline: auto !important;
  }

  header .header-right,
  header .hright,
  header .header-actions {
    justify-self: end !important;
    margin-left: 0 !important;
  }
}

/* Header sag */
.header-right { display: flex; align-items: center; gap: clamp(.35rem,.65vw,.8rem); }

/* Arama */
.header-search {
  display: flex; align-items: center;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: .4rem .8rem; gap: .5rem;
  min-width: clamp(140px, 14vw, 220px);
}
.header-search input {
  background: transparent; border: none; outline: none;
  color: var(--text1);
  font-size: clamp(.75rem,.85vw,.95rem);
  font-family: 'Sora', sans-serif; width: 100%;
}
.header-search input::placeholder { color: var(--text3); }
.header-search i { color: var(--text3); font-size: clamp(.78rem,.88vw,.98rem); }

.search-bar {
  display: flex; align-items: center; gap: .5rem;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 10px; padding: .38rem clamp(.5rem,.75vw,.9rem);
  transition: border-color .2s, box-shadow .2s;
}
.search-bar:focus-within { border-color: rgba(var(--primary-rgb),.35); box-shadow: 0 0 0 3px rgba(var(--primary-rgb),.06); }
.search-bar i { color: var(--text3); font-size: clamp(.68rem,.78vw,.88rem); }
.search-bar input {
  background: none; border: none; outline: none;
  color: var(--text1); font-family: 'Sora', sans-serif;
  font-size: clamp(.72rem,.82vw,.92rem); width: clamp(90px,11vw,190px);
}
.search-bar input::placeholder { color: var(--text3); }

/* Butonlar */
.btn-ghost {
  display: flex; align-items: center; gap: .45rem;
  padding: clamp(.28rem,.38vw,.48rem) clamp(.55rem,.85vw,1rem);
  border-radius: 9px; border: 1px solid var(--border);
  background: transparent; color: var(--text2);
  font-family: 'Sora', sans-serif;
  font-size: clamp(.72rem,.82vw,.92rem); font-weight: 600;
  cursor: pointer; transition: all .2s; white-space: nowrap;
}
.btn-ghost:hover { border-color: rgba(var(--primary-rgb),.35); color: var(--primary); }

.back-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: .4rem .9rem; border-radius: 20px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.04);
  color: var(--text2);
  font-size: clamp(.72rem,.8vw,.88rem); font-weight: 600;
  white-space: nowrap;
  cursor: pointer; text-decoration: none; transition: all .2s;
}

/* ═══════════════════════════════════════════════════
   GİRİŞ YAP BUTONU — .bh-giris-btn  (desktop)
   Ateş / Crimson — tema renk değişkeninden bağımsız
   ═══════════════════════════════════════════════════ */
.bh-giris-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 20px 8px 14px;
  border-radius: 999px;
  /* Ateş kırmızısı — her temada sabit */
  background: linear-gradient(135deg, #c0392b 0%, #e74c3c 45%, #ff6b35 100%);
  border: 1.5px solid rgba(255, 107, 53, .55);
  color: #fff;
  font: 700 13px/1 'Sora', Arial, sans-serif;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  letter-spacing: .01em;
  box-shadow:
    0 0 0 0 rgba(231,76,60,.0),
    0 4px 18px rgba(192,57,43,.38),
    inset 0 1px 0 rgba(255,255,255,.18);
  transition: box-shadow .28s ease, transform .2s ease, background .28s ease;
}

/* shimmer tarama efekti */
.bh-giris-btn::before {
  content: '';
  position: absolute;
  top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,.28),
    transparent
  );
  transform: skewX(-15deg);
  transition: left .5s ease;
  pointer-events: none;
}

.bh-giris-btn:hover {
  background: linear-gradient(135deg, #a93226 0%, #c0392b 45%, #e05a1e 100%);
  box-shadow:
    0 0 0 4px rgba(231,76,60,.22),
    0 6px 28px rgba(192,57,43,.52),
    inset 0 1px 0 rgba(255,255,255,.22);
  transform: translateY(-2px);
  color: #fff;
}

.bh-giris-btn:hover::before {
  left: 115%;
}

.bh-giris-btn i {
  font-size: .88rem;
  flex-shrink: 0;
  filter: drop-shadow(0 0 5px rgba(255,255,255,.5));
  color: #fff;
}

/* ═══════════════════════════════════════════════════
   HEADER KULLANICI PILL + DROPDOWN MENÜ v2
   ═══════════════════════════════════════════════════ */
.bh-hdr-kullanici {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px 4px 4px;
  border-radius: 999px;
  border: 1.5px solid rgba(var(--primary-rgb), .45);
  background: linear-gradient(135deg,
    rgba(var(--primary-rgb), .18) 0%,
    rgba(var(--primary-rgb), .08) 100%);
  cursor: pointer;
  user-select: none;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.bh-hdr-kullanici:hover,
.bh-hdr-kullanici--acik {
  border-color: rgba(var(--primary-rgb), .75);
  background: linear-gradient(135deg,
    rgba(var(--primary-rgb), .28) 0%,
    rgba(var(--primary-rgb), .14) 100%);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), .15),
              0 4px 16px rgba(var(--primary-rgb), .2);
}

/* Avatar dairesi */
.bh-hdr-avatar {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), rgba(var(--primary-rgb),.7));
  color: #fff;
  font: 800 11px/1 'Sora', Arial, sans-serif;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(var(--primary-rgb), .5),
              0 0 0 2px rgba(var(--primary-rgb), .2);
}

/* Kullanıcı adı */
.bh-hdr-isim {
  font: 700 13px/1 'Sora', Arial, sans-serif;
  color: var(--primary);
  white-space: nowrap;
  max-width: 110px;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 0 16px rgba(var(--primary-rgb), .4);
  letter-spacing: .01em;
}

/* Chevron */
.bh-hdr-chevron {
  font-size: .65rem;
  color: var(--primary);
  opacity: .8;
  transition: transform .25s ease, opacity .2s;
  flex-shrink: 0;
}
.bh-hdr-kullanici--acik .bh-hdr-chevron {
  transform: rotate(180deg);
  opacity: 1;
}

/* ── DROPDOWN PANELİ ── */
.bh-hdr-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  min-width: 240px;
  border-radius: 16px;
  /* Koyu arka plan — tüm temalar için çalışır */
  background: linear-gradient(160deg, #0f1628 0%, #151c30 60%, #0d1220 100%);
  border: 1px solid rgba(var(--primary-rgb), .25);
  box-shadow:
    0 24px 60px rgba(0,0,0,.55),
    0 0 0 1px rgba(var(--primary-rgb), .1) inset,
    0 0 40px rgba(var(--primary-rgb), .06) inset;
  z-index: 9999;
  overflow: hidden;
  transform-origin: top right;
  animation: bhDdAcil .2s cubic-bezier(.34,1.56,.64,1);
}

@keyframes bhDdAcil {
  from { opacity: 0; transform: scale(.9) translateY(-8px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.bh-hdr-kullanici--acik .bh-hdr-dropdown {
  display: block;
}

/* Açık temalarda dropdown koyu kalır */
[data-theme="cream"] .bh-hdr-dropdown,
[data-theme="corporate"] .bh-hdr-dropdown {
  background: #13172a;
  border-color: rgba(255,255,255,.1);
  color: #f1f5f9;
}

/* Dropdown üst başlık — gradient band */
.bh-hdr-dd-baslik {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 16px 14px;
  background: linear-gradient(135deg,
    rgba(var(--primary-rgb), .2) 0%,
    rgba(var(--primary-rgb), .06) 100%);
  border-bottom: 1px solid rgba(var(--primary-rgb), .18);
  position: relative;
  overflow: hidden;
}

/* Dekoratif glow noktası */
.bh-hdr-dd-baslik::before {
  content: '';
  position: absolute;
  top: -20px; right: -20px;
  width: 80px; height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--primary-rgb), .3) 0%, transparent 70%);
  pointer-events: none;
}

.bh-hdr-dd-avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, rgba(var(--primary-rgb),.55) 100%);
  color: #fff;
  font: 800 15px/1 'Sora', Arial, sans-serif;
  flex-shrink: 0;
  box-shadow:
    0 4px 16px rgba(var(--primary-rgb), .5),
    0 0 0 3px rgba(var(--primary-rgb), .2);
}

.bh-hdr-dd-baslik-metin { min-width: 0; flex: 1; }
.bh-hdr-dd-baslik-metin strong {
  display: block;
  font: 700 14px/1.3 'Sora', Arial, sans-serif;
  color: #f1f5f9;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.bh-hdr-dd-baslik-metin small {
  display: block;
  margin-top: 2px;
  font: 500 11px/1.3 'JetBrains Mono', monospace;
  color: rgba(var(--primary-rgb), .85);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  letter-spacing: .03em;
}

/* Ayraç */
.bh-hdr-dd-ayrac {
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    rgba(var(--primary-rgb), .25) 30%,
    rgba(var(--primary-rgb), .25) 70%,
    transparent);
  margin: 3px 0;
}

/* Menü öğeleri */
.bh-hdr-dd-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 16px;
  color: #94a3b8;
  font: 500 13px/1 'Sora', Arial, sans-serif;
  text-decoration: none;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background .15s, color .15s, padding-left .15s;
  position: relative;
}
.bh-hdr-dd-item:hover {
  background: rgba(var(--primary-rgb), .1);
  color: #f1f5f9;
  padding-left: 20px;
}

/* Sol accent bar hover'da */
.bh-hdr-dd-item::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 3px; height: 0;
  border-radius: 0 3px 3px 0;
  background: var(--primary);
  transform: translateY(-50%);
  transition: height .15s;
}
.bh-hdr-dd-item:hover::before { height: 60%; }

/* İkon kapsayıcı */
.bh-hdr-dd-ikon {
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: 8px;
  background: rgba(var(--primary-rgb), .12);
  color: var(--primary);
  font-size: .82rem;
  flex-shrink: 0;
  transition: background .15s, box-shadow .15s, transform .15s;
}
.bh-hdr-dd-item:hover .bh-hdr-dd-ikon {
  background: rgba(var(--primary-rgb), .22);
  box-shadow: 0 0 10px rgba(var(--primary-rgb), .3);
  transform: scale(1.08);
}

/* Çıkış Yap — kırmızı */
.bh-hdr-dd-cikis { color: #94a3b8; }
.bh-hdr-dd-cikis:hover {
  background: rgba(239,68,68,.12);
  color: #fca5a5;
  padding-left: 20px;
}
.bh-hdr-dd-cikis::before { background: #ef4444; }
.bh-hdr-dd-cikis .bh-hdr-dd-ikon {
  background: rgba(239,68,68,.12);
  color: #f87171;
}
.bh-hdr-dd-cikis:hover .bh-hdr-dd-ikon {
  background: rgba(239,68,68,.22);
  box-shadow: 0 0 10px rgba(239,68,68,.3);
}

/* ═══════════════════════════════════════════════════
   MOBİL AUTH — Hamburger yanına sabitlenmiş pill + dropdown
   Hamburger: fixed top:12px right:12px  (42×42px)
   Auth pill:  fixed top:12px right:62px  (hamburger'ın solunda)
   ═══════════════════════════════════════════════════ */
@media (max-width: 767px) {
  /* Pill: isim ve chevron gizle, sadece avatar göster */
  .bh-hdr-isim { display: none !important; }
  .bh-hdr-chevron { display: none !important; }

  /* Auth pill → hamburger'ın soluna fixed */
  .bh-hdr-kullanici {
    position: fixed !important;
    top: 12px !important;
    right: 62px !important;   /* 42px hamburger + 8px boşluk + 12px sağ kenar */
    z-index: 2147483000 !important;
    padding: 3px !important;
    border-radius: 50% !important;
    background: rgba(255,255,255,.92) !important;
    border: 1px solid rgba(17,24,39,.24) !important;
    box-shadow: 0 10px 24px rgba(0,0,0,.24) !important;
    backdrop-filter: blur(12px) !important;
    width: 42px !important;
    height: 42px !important;
    display: grid !important;
    place-items: center !important;
  }

  /* Pill hover/açık: kenar rengi sabit kalsın */
  .bh-hdr-kullanici:hover,
  .bh-hdr-kullanici--acik {
    background: rgba(255,255,255,.96) !important;
    border-color: rgba(17,24,39,.35) !important;
    box-shadow: 0 10px 24px rgba(0,0,0,.3) !important;
  }

  /* Avatar: pill'in tam ortasına yerleş */
  .bh-hdr-kullanici > span:first-child {
    width: 32px !important;
    height: 32px !important;
    font-size: 11px !important;
  }

  /* Dropdown: sağ üstten açılır, ekranın sağına yaslanır */
  .bh-hdr-dropdown {
    position: fixed !important;
    top: 62px !important;        /* pill'in altına */
    right: 12px !important;
    left: auto !important;
    min-width: 240px !important;
    max-width: calc(100vw - 24px) !important;
    z-index: 2147483001 !important;
    border-radius: 14px !important;
  }

  /* —— Giriş Yap — ateş kırmızı floating buton (mobil) —— */
  .bh-giris-btn,
  #bh-header-auth > a {
    position: fixed !important;
    top: 12px !important;
    right: 62px !important;
    z-index: 2147483000 !important;
    display: grid !important;
    place-items: center !important;
    width: 42px !important;
    height: 42px !important;
    padding: 0 !important;
    gap: 0 !important;
    border-radius: 50% !important;
    /* Ateş kırmızısı — her temada okunur */
    background: linear-gradient(145deg, #c0392b, #e74c3c) !important;
    border: 2px solid rgba(255,107,53,.7) !important;
    box-shadow:
      0 0 0 3px rgba(231,76,60,.25),
      0 0 18px rgba(192,57,43,.55),
      inset 0 1px 0 rgba(255,255,255,.15) !important;
    color: #fff !important;
    font-size: 0 !important;
    transform: none !important;
    overflow: visible !important;
    white-space: nowrap !important;
    text-decoration: none !important;
    animation: bhGirisPulse 2.8s ease-in-out infinite !important;
  }

  /* shimmer efektini mobilde kapat */
  .bh-giris-btn::before,
  #bh-header-auth > a::before {
    display: none !important;
  }

  /* metin gizli, sadece ikon */
  .bh-giris-btn-metin { display: none !important; }

  .bh-giris-btn i,
  #bh-header-auth > a > i {
    font-size: 1.05rem !important;
    color: #fff !important;
    filter: drop-shadow(0 0 6px rgba(255,120,80,.8)) !important;
  }
}

/* Ateş kırmızı pulse — tema bağımsız */
@keyframes bhGirisPulse {
  0%, 100% {
    box-shadow:
      0 0 0 3px rgba(231,76,60,.25),
      0 0 18px rgba(192,57,43,.5);
  }
  50% {
    box-shadow:
      0 0 0 6px rgba(231,76,60,.12),
      0 0 30px rgba(231,76,60,.72);
  }
}



/* Hamburger menu */
.menu-toggle {
  display: none; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 9px;
  border: 1px solid var(--border); background: transparent;
  color: var(--text2); font-size: 1rem; cursor: pointer; transition: all .2s;
}
.menu-toggle:hover { color: var(--primary); border-color: rgba(var(--primary-rgb),.35); }

.subpage-menu-toggle {
  display: none !important;
}

.subpage-menu-float {
  display: none !important;
}

@media (min-width: 768px) {
  .menu-toggle,
  .subpage-menu-float {
    display: none !important;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .header-nav,
  .hnav {
    overflow-x: auto;
    scrollbar-width: none;
  }

  .header-nav::-webkit-scrollbar,
  .hnav::-webkit-scrollbar {
    display: none;
  }
}

@media (max-width: 767px) {
  .subpage-menu-float {
    position: fixed !important;
    top: 12px !important;
    right: 12px !important;
    z-index: 2147483000 !important;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 42px !important;
    height: 42px !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid rgba(17, 24, 39, .28) !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, .94) !important;
    color: #111827 !important;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .24) !important;
  }
}

.menu-bars {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
  flex: 0 0 auto;
}

/* Header responsive */
@media (max-width: 767px) {
  header {
    padding-inline: .85rem;
  }

  .header-inner,
  .h-in {
    gap: .6rem;
    min-width: 0;
  }

  .header-logo-link {
    min-width: 0;
    flex-shrink: 1 !important;
  }

  .header-logo-ikon {
    height: clamp(34px, 9vw, 42px) !important;
  }

  .header-logo-text {
    min-width: 0;
  }

  .header-logo-ad {
    font-size: clamp(.78rem, 3.4vw, 1rem);
    white-space: nowrap;
  }

  .header-logo-slogan {
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: .52rem;
  }

  .header-right {
    margin-left: auto;
    flex-shrink: 0;
  }

  .header-nav, .hnav, .search-bar, .header-search,
  .hright .sb-wrap, .hright .btn-bk,
  .btn-ghost:not(.back-btn), header .btn-primary { display: none; }
  .menu-toggle {
    position: fixed;
    top: 12px;
    right: 12px;
    transform: none;
    z-index: 2147483000;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(17, 24, 39, .24);
    border-radius: 8px;
    background: rgba(255, 255, 255, .92);
    color: #111827;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .24);
    backdrop-filter: blur(12px);
  }

  .subpage-menu-toggle {
    position: fixed !important;
    top: 12px !important;
    right: 12px !important;
    z-index: 2147483000 !important;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 42px !important;
    height: 42px !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid rgba(17, 24, 39, .28) !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, .94) !important;
    color: #111827 !important;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .24) !important;
  }

  .subpage-menu-toggle .menu-bars {
    display: block !important;
  }

  .subpage-menu-float {
    position: fixed !important;
    top: 12px !important;
    right: 12px !important;
    z-index: 2147483000 !important;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 42px !important;
    height: 42px !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid rgba(17, 24, 39, .28) !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, .94) !important;
    color: #111827 !important;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .24) !important;
  }

  .subpage-menu-float .menu-bars {
    display: block !important;
  }

  .menu-toggle .menu-bars + i {
    display: none;
  }

  .menu-toggle .menu-bars {
    display: block !important;
  }

  .menu-toggle::before {
    content: none;
  }

  .header-nav, .hnav {
    display: none !important;
    position: fixed;
    top: var(--bh-menu-panel-top);
    left: var(--bh-menu-panel-gap);
    right: var(--bh-menu-panel-gap);
    z-index: 2147482999;
    flex-direction: column;
    align-items: stretch;
    gap: .35rem;
    max-height: calc(100dvh - var(--bh-menu-panel-top) - var(--bh-menu-panel-gap) - var(--bh-safe-bottom));
    overflow-y: auto;
    padding: .75rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: color-mix(in srgb, var(--bg1) 94%, transparent);
    box-shadow: 0 18px 44px rgba(0, 0, 0, .28);
    backdrop-filter: blur(18px);
    scrollbar-width: none;
  }

  .header-nav::-webkit-scrollbar,
  .hnav::-webkit-scrollbar {
    display: none;
  }

  .header-nav.open, .hnav.open { display: flex !important; }

  .header-nav a,
  .hnav a {
    display: flex;
    width: 100%;
    justify-content: flex-start;
    padding: .7rem .75rem;
    border-radius: 8px;
    white-space: normal;
  }

  header {
    position: sticky;
    top: 0;
    z-index: 1000;
  }
}

@media (min-width: 768px) {
  .subpage-menu-float {
    display: none !important;
  }
}


/* ═══════════════════════════════════════════════════
   FOOTER — BH Footer
   Logo + Sosyal + Terminal Status + Copyright
   ═══════════════════════════════════════════════════ */

.bh-footer {
  position: relative;
  z-index: 2;
  width: 100%;
  margin-top: 1.35rem;
  margin-bottom: clamp(28px, 2.3vw, 38px);
  padding: 0;
  overflow: hidden;

  /* ── 1. Gradient üst çizgi ── */
  border-top: none;
  background: color-mix(in srgb, var(--bg2) 97%, var(--card));
  color: var(--text2);
}

/* Gradient border-top — 3px kalınlığında, tema renklerine uyumlu */
.bh-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(var(--primary-rgb), .3) 15%,
    var(--primary) 50%,
    rgba(var(--primary-rgb), .3) 85%,
    transparent 100%
  );
}

/* ── 2. Hafif radial glow arka plan deseni ── */
.bh-footer::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse 60% 80% at 50% 0%,
      rgba(var(--primary-rgb), .04) 0%,
      transparent 70%
    );
}

.bh-footer a {
  color: inherit;
  text-decoration: none;
}

/* ── Footer iç kapsayıcı — logo + ikonlar aynı satır ── */
.bh-footer-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 2vw, 1.8rem);
  width: min(94vw, 1440px);
  margin-inline: auto;
  padding: clamp(1rem, 1.6vw, 1.5rem) 0 clamp(.6rem, .9vw, .8rem);
}

/* ── 3. Logo bloğu — hover glow ── */
.bh-footer-logo {
  display: inline-flex;
  align-items: center;
  gap: clamp(.35rem, .5vw, .5rem);
  transition: opacity .25s, filter .35s;
}

.bh-footer-logo:hover {
  opacity: 1;
  filter: drop-shadow(0 0 8px rgba(var(--primary-rgb), .4));
}

.bh-footer-logo img {
  width: clamp(80px, 6vw, 100px);
  height: clamp(80px, 6vw, 100px);
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,.25));
  transition: transform .3s ease;
}

.bh-footer-logo:hover img {
  transform: scale(1.08);
}

.bh-footer-logo span {
  display: grid;
  gap: .04rem;
  min-width: 0;
}

.bh-footer-logo strong {
  display: block;
  font: 700 clamp(.88rem, 1vw, 1.08rem)/1.1 'Montserrat', sans-serif;
  color: var(--primary);
  letter-spacing: .03em;
  text-transform: uppercase;
}

.bh-footer-logo small {
  display: block;
  color: var(--logo-slogan-color, var(--text3));
  font: 600 clamp(.6rem, .62vw, .72rem)/1.2 'Inter', sans-serif;
  font-style: italic;
  opacity: .65;
}

/* ── 6. Sosyal medya ikonları — büyük, renkli ── */
.bh-footer-social {
  display: flex;
  align-items: center;
  gap: clamp(.5rem, .7vw, .7rem);
}

.bh-footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(36px, 2.8vw, 42px);
  height: clamp(36px, 2.8vw, 42px);
  border-radius: 50%;
  border: 1.5px solid transparent;
  font-size: clamp(.92rem, 1.1vw, 1.18rem);
  transition: all .3s ease;
}

/* YouTube — kırmızı */
.bh-footer-social a[aria-label="YouTube"] {
  background: rgba(255, 0, 0, .08);
  border-color: rgba(255, 0, 0, .2);
  color: #ff0000;
}
.bh-footer-social a[aria-label="YouTube"]:hover {
  background: rgba(255, 0, 0, .18);
  border-color: rgba(255, 0, 0, .45);
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 4px 14px rgba(255, 0, 0, .2);
}

/* Instagram — gradient pembe-mor-turuncu */
.bh-footer-social a[aria-label="Instagram"] {
  background: linear-gradient(135deg, rgba(253, 29, 29, .08), rgba(131, 58, 180, .08), rgba(252, 176, 69, .08));
  border-color: rgba(225, 48, 108, .22);
  color: #e1306c;
}
.bh-footer-social a[aria-label="Instagram"]:hover {
  background: linear-gradient(135deg, rgba(253, 29, 29, .16), rgba(131, 58, 180, .16), rgba(252, 176, 69, .16));
  border-color: rgba(225, 48, 108, .5);
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 4px 14px rgba(225, 48, 108, .2);
}

/* GitHub — tema uyumlu */
.bh-footer-social a[aria-label="GitHub"] {
  background: rgba(var(--primary-rgb), .06);
  border-color: rgba(var(--primary-rgb), .18);
  color: var(--text1);
}
.bh-footer-social a[aria-label="GitHub"]:hover {
  background: rgba(var(--primary-rgb), .16);
  border-color: rgba(var(--primary-rgb), .4);
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 4px 14px rgba(var(--primary-rgb), .18);
}

/* ── Alt copyright satırı ── */
.bh-footer-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  width: min(94vw, 1440px);
  margin-inline: auto;
  padding: .42rem 0 .5rem;
  border-top: 1px solid var(--border2);
  color: var(--text3);
  font: 600 .64rem/1.35 'JetBrains Mono', monospace;
}

.bh-footer-bottom span:first-child strong {
  color: var(--primary);
}

/* ── 5. Terminal durum satırı ── */
.bh-footer-terminal {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .15rem .5rem;
  border-radius: 4px;
  background: rgba(var(--primary-rgb), .05);
  border: 1px solid rgba(var(--primary-rgb), .1);
  color: var(--text3);
  font: 500 .6rem/1.3 'JetBrains Mono', monospace;
  letter-spacing: .02em;
}

.bh-footer-terminal i {
  font-size: .58em;
  opacity: .5;
}

.bh-footer-online {
  color: #22c55e;
  font-weight: 700;
  animation: bh-footer-pulse 2.5s ease-in-out infinite;
}

@keyframes bh-footer-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .4; }
}

/* ── Footer badge ── */
.bh-footer-badge {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  min-height: 20px;
  padding: .2rem .52rem;
  border: 1px solid rgba(var(--primary-rgb), .18);
  border-radius: 999px;
  background: rgba(var(--primary-rgb), .06);
  color: var(--primary);
  white-space: nowrap;
  font: 600 .62rem/1.2 'JetBrains Mono', monospace;
}

.bh-footer-badge i {
  color: var(--primary);
  font-size: .68em;
}

/* ── Responsive ── */
@media (max-width: 640px) {
  .bh-footer-inner {
    flex-direction: column;
    gap: .65rem;
  }

  .bh-footer-bottom {
    flex-direction: column;
    gap: .3rem;
  }

  .bh-footer-logo img {
    width: 64px;
    height: 64px;
  }

  .bh-footer-social a {
    width: 34px;
    height: 34px;
    font-size: .88rem;
  }
}

/* TERMINAL */
.hero-terminal {
  width: clamp(400px, 46vw, 680px);
  flex-shrink: 0;
  background: #12151f;
  border: 1px solid var(--border);
  border-radius: 24px !important;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(var(--primary-rgb), .1), 0 40px 80px rgba(0,0,0,.5);
  display: flex;
  flex-direction: column;
  align-self: stretch;
  min-height: 0;
}
.terminal-bar, .t-bar {
  background: #1e2232;
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding: clamp(.5rem,.8vw,.8rem) clamp(.8rem,1.2vw,1.2rem);
  display: flex; align-items: center; gap: .75rem;
  flex-shrink: 0;
}
.terminal-dots { display: flex; align-items: center; gap: 6px; }
.terminal-dot { width: clamp(12px,1.2vw,14px); height: clamp(12px,1.2vw,14px); border-radius: 50%; flex-shrink: 0; }
.td-r { background: #ff5f57; }
.td-y { background: #febc2e; }
.td-g { background: #28c840; }
.terminal-title, .t-title {
  color: #8b9bb4;
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(.65rem,.75vw,.85rem);
  flex: 1; text-align: center;
  margin-left: auto;
}
.terminal-body, #termBody, #heroTerminal {
  flex: 1;
  background: #12151f;
  color: #cdd5e0;
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(.64rem, .74vw, .84rem) !important;
  line-height: 1.65 !important;
  padding: clamp(.75rem,1vw,1.2rem) clamp(.8rem,1.2vw,1.5rem);
  min-height: clamp(200px, 18vw, 300px);
  overflow-y: auto;
  overflow-x: hidden;
  word-break: normal;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
.terminal-body *, #termBody *, #heroTerminal * { background: transparent !important; }
.terminal-body .tl, #heroTerminal .tl {
  display: block !important;
  margin-bottom: 4px;
  white-space: normal !important;
  word-break: normal;
  overflow-wrap: anywhere;
  max-width: 100%;
}
.tl {
  display: block !important;
  margin-bottom: 4px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .22s ease, transform .22s ease;
  white-space: normal !important;
  word-break: normal;
  overflow-wrap: anywhere;
  max-width: 100%;
}
.tl.show { opacity: 1; transform: translateY(0); }
.tl-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: .75rem;
  width: 100%;
  max-width: 100%;
}
.tl-row-main { min-width: 0; }
.tl-row-status { margin-left: auto; text-align: right; white-space: nowrap; }
.tl-cmd  { color: #e2e8f0; }
.tl-ok   { color: #10b981; }
.tl-warn { color: #f59e0b; }
.tl-muted{ color: #8b9bb4; }
.tl-info { color: #67e8f9; }
.tl-lock { color: #fb923c; }
.tl-err  { color: #ef4444; }
.tl-p    { color: var(--primary); font-weight: 700; }
.tl-cursor {
  display: inline-block;
  width: 10px; height: 1.2em;
  vertical-align: text-bottom;
  border-radius: 2px;
  animation: termBlink .9s step-end infinite;
}
[data-theme="cream"] .hero-terminal,
[data-theme="corporate"] .hero-terminal { background: #12151f; box-shadow: 0 8px 40px rgba(0,0,0,.4); }
[data-theme="cream"] .terminal-bar,
[data-theme="corporate"] .terminal-bar { background: #1e2232; }
[data-theme="cream"] .terminal-body,
[data-theme="corporate"] .terminal-body,
[data-theme="cream"] #termBody,
[data-theme="corporate"] #termBody,
[data-theme="cream"] #heroTerminal,
[data-theme="corporate"] #heroTerminal { background: #12151f; color: #cdd5e0; }

/* TICKER */
.ticker-wrap {
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 9990 !important;
  height: clamp(36px, 3vw, 48px) !important;
  display: flex !important;
  align-items: stretch !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  background: linear-gradient(90deg, var(--ticker-bg-start, var(--bg1)), var(--ticker-bg-end, var(--bg2))) !important;
  border-top: 1px solid var(--ticker-border, var(--border)) !important;
  isolation: isolate !important;
}
.ticker-label {
  display: flex !important;
  align-items: center !important;
  padding: 0 clamp(.85rem, 1.5vw, 1.4rem) !important;
  color: var(--ticker-label-text, #fff) !important;
  background: var(--ticker-label-bg, var(--primary)) !important;
  font-family: 'JetBrains Mono', monospace !important;
  font-size: clamp(.72rem, .82vw, .9rem) !important;
  font-weight: 900 !important;
  letter-spacing: .08em !important;
  flex-shrink: 0 !important;
  position: relative !important;
  z-index: 3 !important;
  min-width: max-content !important;
}
.ticker-label::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0; left: 100%;
  width: 34px;
  background: linear-gradient(to right, var(--ticker-label-bg, var(--primary)), var(--ticker-label-fade, transparent));
  pointer-events: none;
}
.ticker-track {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0 !important;
  flex: 0 0 auto !important;
  min-width: max-content !important;
  padding-left: 2.2rem !important;
  animation: tickerMarquee 42s linear infinite !important;
  will-change: transform !important;
  position: relative !important;
  z-index: 1 !important;
}
.ticker-track:hover { animation-play-state: paused !important; }
.ticker-item {
  display: inline-flex !important;
  align-items: center !important;
  gap: .35rem !important;
  color: var(--ticker-text, var(--text2)) !important;
  text-decoration: none !important;
  font-size: clamp(.72rem, .82vw, .9rem) !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
}
.ticker-item::after { content: none !important; }
.ticker-sep {
  display: inline-flex !important;
  align-items: center !important;
  color: var(--ticker-sep, var(--text3)) !important;
  padding-inline: clamp(.75rem, 1.25vw, 1.35rem) !important;
  flex: 0 0 auto !important;
}
.ticker-all {
  margin-left: auto !important;
  display: flex !important;
  align-items: center !important;
  padding: 0 clamp(.8rem, 1.2vw, 1.25rem) !important;
  color: var(--ticker-label-text, #fff) !important;
  background: color-mix(in srgb, var(--ticker-label-bg, var(--primary)) 70%, transparent) !important;
  text-decoration: none !important;
  font-size: clamp(.68rem, .78vw, .84rem) !important;
  font-weight: 800 !important;
  flex-shrink: 0 !important;
  position: relative !important;
  z-index: 3 !important;
}
.tbadge {
  display: inline-flex !important;
  align-items: center !important;
  padding: .1rem .42rem !important;
  border-radius: 3px !important;
  font-size: clamp(.54rem, .6vw, .68rem) !important;
  font-weight: 800 !important;
  letter-spacing: .05em !important;
  flex-shrink: 0 !important;
  white-space: nowrap !important;
}
.tb-yeni   { background: rgba(16,185,129,.15);  color: #10b981; }
.tb-video  { background: rgba(124,58,237,.15);  color: #a78bfa; }
.tb-arac   { background: rgba(245,158,11,.15);  color: #fbbf24; }
.tb-coz    { background: rgba(239,68,68,.15);   color: #f87171; }
.tb-ders   { background: rgba(99,102,241,.15);  color: #818cf8; }
.tb-duyuru { background: rgba(0,212,255,.15);   color: #00d4ff; }
@keyframes tickerMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-33.3333%); }
}
[data-theme=""], [data-theme="siber"], [data-theme="obsidian"], [data-theme="crimson"] {
  --ticker-bg-start: #f6ead7;
  --ticker-bg-end: #efe1cc;
  --ticker-border: rgba(120, 78, 33, .22);
  --ticker-label-bg: #f4e4cf;
  --ticker-label-text: #6f3d14;
  --ticker-label-fade: rgba(244, 228, 207, 0);
  --ticker-text: #5f5348;
  --ticker-sep: #9c8a75;
}
[data-theme=""], [data-theme="siber"] {
  --ticker-label-bg: linear-gradient(135deg, #00d4ff, #7c3aed);
  --ticker-label-text: #f8fbff;
  --ticker-label-fade: rgba(124, 58, 237, 0);
}
[data-theme="obsidian"] {
  --ticker-label-bg: linear-gradient(135deg, #ff7a2f, #ff5a1f);
  --ticker-label-text: #fff4ea;
  --ticker-label-fade: rgba(255, 90, 31, 0);
}
[data-theme="crimson"] {
  --ticker-label-bg: linear-gradient(135deg, #ef4444, #b91c1c);
  --ticker-label-text: #fff5f5;
  --ticker-label-fade: rgba(185, 28, 28, 0);
}
[data-theme="cream"], [data-theme="corporate"] {
  --ticker-bg-start: #0d111e;
  --ticker-bg-end: #111827;
  --ticker-border: rgba(0,212,255,.2);
  --ticker-label-bg: #161d31;
  --ticker-label-text: #f6ead7;
  --ticker-label-fade: rgba(22, 29, 49, 0);
  --ticker-text: #94a3b8;
  --ticker-sep: #64748b;
}
[data-theme="cream"] {
  --ticker-label-bg: linear-gradient(135deg, #f6e7d1, #e7caa1);
  --ticker-label-text: #7a4216;
  --ticker-label-fade: rgba(231, 202, 161, 0);
}
[data-theme="corporate"] {
  --ticker-label-bg: linear-gradient(135deg, #2563eb, #1d4ed8);
  --ticker-label-text: #eff6ff;
  --ticker-label-fade: rgba(29, 78, 216, 0);
}

/* ── BH TOAST SİSTEMİ v2.0 ────────────────────────────────────────────── */

/* Toast konteyner: sağ alt çetveye sabitlendi, stack için flex */
#bh-toast-konteyner {
  position: fixed;
  bottom: clamp(3.5rem, 5.5vw, 5.5rem); /* ticker'ın üstünde */
  right: clamp(1rem, 2vw, 1.75rem);
  z-index: 2147483000; /* maksimum — her stacking context'in üstünde */
  display: flex;
  flex-direction: column-reverse;
  gap: .55rem;
  pointer-events: none;
  max-width: min(340px, calc(100vw - 2rem));
  width: 100%;
  isolation: isolate;
}

/* Her bir toast kartı */
.bh-toast {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  padding: .82rem 1rem .82rem .95rem;
  border-radius: 12px;
  border: 1px solid transparent;
  overflow: hidden;
  backdrop-filter: blur(18px) saturate(1.6);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  box-shadow:
    0 4px 24px rgba(0,0,0,.28),
    0 1px 0 rgba(255,255,255,.06) inset;
  pointer-events: all;
  cursor: default;
  font-family: 'Sora', sans-serif;
  font-size: clamp(.78rem, .88vw, .9rem);
  font-weight: 500;
  line-height: 1.45;
  color: var(--text1);
  background: color-mix(in srgb, var(--card2, #1a1f2e) 88%, transparent);
  border-color: var(--border, rgba(255,255,255,.08));
  /* Başlangıç durumu: gizli, sağda */
  opacity: 0;
  transform: translateX(calc(100% + 1.75rem));
  transition: opacity .32s cubic-bezier(.4,0,.2,1),
              transform .32s cubic-bezier(.4,0,.2,1);
}

/* Giriş: aktif durumu */
.bh-toast.bh-toast--girdi {
  opacity: 1;
  transform: translateX(0);
}

/* Çıkış: sağa kayar */
.bh-toast.bh-toast--cikiyor {
  opacity: 0;
  transform: translateX(calc(100% + 1.75rem));
  transition: opacity .36s ease, transform .36s cubic-bezier(.55,.06,.68,.19);
}

/* Tip: Başarı (çiçek yeşili) */
.bh-toast--basari {
  border-color: rgba(34,197,94,.28);
  background: color-mix(in srgb, #052e16 80%, transparent);
  box-shadow: 0 4px 24px rgba(34,197,94,.12), 0 1px 0 rgba(255,255,255,.04) inset;
}
[data-theme="cream"] .bh-toast--basari,
[data-theme="corporate"] .bh-toast--basari {
  background: color-mix(in srgb, #dcfce7 92%, transparent);
  color: #14532d;
}
.bh-toast--basari .bh-toast__ikon { color: #22c55e; }
.bh-toast--basari .bh-toast__prog-ic { background: #22c55e; }
.bh-toast--basari::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3.5px;
  background: linear-gradient(180deg, #22c55e, #16a34a);
  border-radius: 12px 0 0 12px;
}

/* Tip: Hata (kırmızı) */
.bh-toast--hata {
  border-color: rgba(239,68,68,.28);
  background: color-mix(in srgb, #2d0a0a 80%, transparent);
  box-shadow: 0 4px 24px rgba(239,68,68,.14), 0 1px 0 rgba(255,255,255,.04) inset;
}
[data-theme="cream"] .bh-toast--hata,
[data-theme="corporate"] .bh-toast--hata {
  background: color-mix(in srgb, #fef2f2 92%, transparent);
  color: #7f1d1d;
}
.bh-toast--hata .bh-toast__ikon { color: #ef4444; }
.bh-toast--hata .bh-toast__prog-ic { background: #ef4444; }
.bh-toast--hata::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3.5px;
  background: linear-gradient(180deg, #ef4444, #b91c1c);
  border-radius: 12px 0 0 12px;
}

/* Tip: Uyarı (sarı) */
.bh-toast--uyari {
  border-color: rgba(245,158,11,.28);
  background: color-mix(in srgb, #1c1200 80%, transparent);
  box-shadow: 0 4px 24px rgba(245,158,11,.12), 0 1px 0 rgba(255,255,255,.04) inset;
}
[data-theme="cream"] .bh-toast--uyari,
[data-theme="corporate"] .bh-toast--uyari {
  background: color-mix(in srgb, #fffbeb 92%, transparent);
  color: #78350f;
}
.bh-toast--uyari .bh-toast__ikon { color: #f59e0b; }
.bh-toast--uyari .bh-toast__prog-ic { background: #f59e0b; }
.bh-toast--uyari::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3.5px;
  background: linear-gradient(180deg, #f59e0b, #d97706);
  border-radius: 12px 0 0 12px;
}

/* Tip: Bilgi (tema primary'si) */
.bh-toast--bilgi {
  border-color: rgba(var(--primary-rgb, 0,212,255), .26);
  background: color-mix(in srgb, var(--bg2, #111827) 84%, transparent);
  box-shadow: 0 4px 24px rgba(var(--primary-rgb, 0,212,255), .1), 0 1px 0 rgba(255,255,255,.04) inset;
}
[data-theme="cream"] .bh-toast--bilgi,
[data-theme="corporate"] .bh-toast--bilgi {
  background: color-mix(in srgb, #eff6ff 92%, transparent);
  color: #1e3a5f;
}
.bh-toast--bilgi .bh-toast__ikon { color: var(--primary); }
.bh-toast--bilgi .bh-toast__prog-ic { background: var(--primary); }
.bh-toast--bilgi::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3.5px;
  background: linear-gradient(180deg, var(--primary), var(--secondary, var(--primary)));
  border-radius: 12px 0 0 12px;
}

/* İkon */
.bh-toast__ikon {
  font-size: clamp(.9rem, 1.05vw, 1.1rem);
  flex-shrink: 0;
  margin-top: .08em;
}

/* Mesaj metni */
.bh-toast__mesaj {
  flex: 1;
  min-width: 0;
  word-break: break-word;
}

/* Kapatma butonu */
.bh-toast__kapat {
  flex-shrink: 0;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text3, #64748b);
  padding: 0 0 0 .35rem;
  font-size: .7rem;
  opacity: .55;
  transition: opacity .15s, transform .15s;
  line-height: 1;
  margin-top: .08em;
}
.bh-toast__kapat:hover {
  opacity: 1;
  transform: scale(1.15);
}

/* İlerleme çubuğu */
.bh-toast__prog {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2.5px;
  background: rgba(255,255,255,.08);
  border-radius: 0 0 12px 12px;
  overflow: hidden;
}
.bh-toast__prog-ic {
  height: 100%;
  width: 100%;
  border-radius: inherit;
  opacity: .75;
  transform-origin: left center;
  animation: bhToastProg linear forwards;
}
@keyframes bhToastProg {
  from { transform: scaleX(1); }
  to   { transform: scaleX(0); }
}

/* Mobil: tam genişlik */
@media (max-width: 640px) {
  #bh-toast-konteyner {
    right: .75rem;
    left: .75rem;
    max-width: 100%;
    bottom: clamp(3rem, 5vh, 4rem);
  }
  .bh-toast {
    font-size: .82rem;
  }
}

/* Eski #toast elementi artık devre dışı — sakla (geriye uyumluluk için DOM'da tutulabilir) */
#toast { display: none !important; }

/* THEME FAB */
.theme-fab {
  position: fixed;
  bottom: clamp(1.2rem, 2vw, 2rem);
  right: clamp(1.2rem, 2vw, 2rem);
  z-index: 10002;
}
.theme-fab-btn, .tbtn {
  width: clamp(40px, 3vw, 52px);
  height: clamp(40px, 3vw, 52px);
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(.88rem, 1.05vw, 1.2rem);
  background: var(--primary, #7c3aed);
  color: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,.35);
  transition: all .2s;
}
.theme-fab-btn:hover, .tbtn:hover { transform: translateY(-2px) scale(1.04); }
.theme-tray, .tray {
  position: absolute;
  right: 0;
  bottom: calc(100% + .75rem);
  width: min(310px, calc(100vw - 2rem));
  padding: .8rem;
  border: 1.5px solid rgba(var(--primary-rgb), .32);
  border-radius: 16px;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--card) 96%, var(--bg1)), color-mix(in srgb, var(--card2) 92%, var(--bg2))),
    var(--card);
  box-shadow: 0 22px 58px rgba(0,0,0,.22);
  backdrop-filter: blur(18px);
  opacity: 0;
  transform: translateY(8px) scale(.98);
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}
.theme-tray.open, .tray.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.tray-label {
  font: 900 .72rem/1 'JetBrains Mono', monospace;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: var(--text2);
  opacity: 1;
  padding: .2rem .5rem .5rem;
}
.tray-opt, .topt {
  display: flex;
  align-items: center;
  gap: .75rem;
  min-height: 54px;
  padding: .72rem .78rem;
  border-radius: 10px;
  cursor: pointer;
  transition: background .15s, border-color .15s, box-shadow .15s;
  border: 1.5px solid transparent;
  background: color-mix(in srgb, var(--card) 48%, transparent);
  color: var(--text1);
  opacity: 1;
}
.tray-opt:hover, .topt:hover {
  border-color: rgba(var(--primary-rgb), .3);
  background: color-mix(in srgb, var(--nav-hover, var(--bg3)) 72%, var(--card));
}
.tray-opt.act, .topt.act {
  border-color: rgba(var(--primary-rgb), .46);
  background: color-mix(in srgb, var(--primary) 12%, var(--card));
  box-shadow: 0 10px 28px rgba(var(--primary-rgb), .12);
}
.tray-opt.act::after, .topt.act::after {
  content: "\f00c";
  margin-left: auto;
  color: var(--primary);
  font: 900 .78rem/1 "Font Awesome 6 Free";
}
.tray-swatches { display: flex; gap: 4px; flex-shrink: 0; }
.tray-swatch {
  width: 12px;
  height: 12px;
  border: 1px solid color-mix(in srgb, var(--text1) 16%, transparent);
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0,0,0,.14);
}
.tray-name {
  color: var(--text1);
  font: 900 .9rem/1.15 'Sora', sans-serif;
}
.tray-sub {
  margin-top: .2rem;
  color: var(--text2);
  font-size: .68rem;
  font-family: 'JetBrains Mono', monospace;
  opacity: 1;
}

/* MODAL */
.modal-bg {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(5,8,18,.8);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
}
.modal-bg.open { opacity: 1; pointer-events: all; }
.modal {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  width: min(90vw, 420px);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.7);
  transform: translateY(20px);
  transition: transform .25s;
}
.modal-bg.open .modal { transform: translateY(0); }
.modal-top {
  padding: 1.5rem 1.5rem .5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.modal-logo { display: flex; align-items: center; gap: .7rem; }
.modal-logo-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: .9rem;
}
.modal-logo-text { font-size: .95rem; font-weight: 800; color: var(--text1); }
.modal-logo-text span { color: var(--primary); }
.modal-close {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text3);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  transition: all .2s;
}
.modal-close:hover { color: var(--text1); border-color: rgba(255,255,255,.2); }
.modal-tabs { display: flex; gap: .3rem; padding: .75rem 1.5rem .5rem; }
.modal-tab {
  flex: 1;
  padding: .55rem;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: var(--text3);
  font-family: 'Sora', sans-serif;
  font-size: .85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
}
.modal-tab.active {
  background: rgba(var(--primary-rgb),.1);
  color: var(--primary);
  box-shadow: 0 0 0 1px rgba(var(--primary-rgb),.3);
}
.modal-body { padding: .5rem 1.5rem 1.5rem; }
.modal-panel { display: none; }
.modal-panel.show { display: block; }
.form-group { margin-bottom: 1rem; }
.form-label {
  font-size: .75rem;
  font-weight: 700;
  color: var(--text2);
  margin-bottom: .4rem;
  display: block;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.form-input {
  width: 100%;
  padding: .65rem .9rem;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: var(--bg2);
  color: var(--text1);
  font-family: 'Sora', sans-serif;
  font-size: .88rem;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.form-input:focus { border-color: rgba(var(--primary-rgb),.4); box-shadow: 0 0 0 3px rgba(var(--primary-rgb),.07); }
.form-input::placeholder { color: var(--text3); }
.form-submit {
  width: 100%;
  padding: .7rem;
  border-radius: 10px;
  border: none;
  margin-top: .5rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  font-family: 'Sora', sans-serif;
  font-size: .92rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity .2s, box-shadow .2s;
}
.form-submit:hover { opacity: .88; box-shadow: 0 6px 24px rgba(var(--primary-rgb),.25); }

/* ═══════════════════════════════════════════════════════════════════════
   BH KİLİTLİ KURS BANNER TOAST
   Alt-orta, geniş, görsel açıdan zengin — kurs erişim engeli bildirimi
   ═══════════════════════════════════════════════════════════════════════ */

/* Banner: sabit, alt-orta */
.bh-kilitli-toast {
  position: fixed;
  bottom: clamp(3.8rem, 6vw, 5.8rem); /* ticker'ın üstünde */
  left: 50%;
  transform: translateX(-50%) translateY(calc(100% + 2rem));
  z-index: 2147483001; /* toast konteynerinin üstünde */
  width: min(580px, calc(100vw - 2rem));
  border-radius: 20px;
  overflow: hidden;
  pointer-events: all;
  isolation: isolate;
  /* Gizli başlangıç */
  opacity: 0;
  transition:
    transform .42s cubic-bezier(.22, 1, .36, 1),
    opacity   .35s ease;
}

/* Giriş */
.bh-kilitli-toast.bh-kilitli-toast--girdi {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Çıkış */
.bh-kilitli-toast.bh-kilitli-toast--cikiyor {
  opacity: 0;
  transform: translateX(-50%) translateY(calc(100% + 2rem));
  transition:
    transform .44s cubic-bezier(.55, .06, .68, .19),
    opacity   .38s ease;
}

/* Parlayan arka plan efekti */
.bh-klt__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 15% 50%, rgba(var(--primary-rgb, 0,212,255), .18), transparent 65%),
    radial-gradient(ellipse 50% 80% at 85% 30%, rgba(249,115,22,.14), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* Cam efektli ana kutu */
.bh-klt__ic {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 1rem 1.3rem 1.15rem;
  background: color-mix(in srgb, var(--card2, #1a1f2e) 90%, transparent);
  border: 1px solid rgba(var(--primary-rgb, 0,212,255), .22);
  border-radius: 20px;
  backdrop-filter: blur(24px) saturate(1.8);
  -webkit-backdrop-filter: blur(24px) saturate(1.8);
  box-shadow:
    0 8px 40px rgba(0,0,0,.38),
    0 1px 0 rgba(255,255,255,.07) inset,
    0 0 0 1px rgba(var(--primary-rgb, 0,212,255), .06);
}

/* İkon grubu */
.bh-klt__ikon-wrap {
  position: relative;
  flex-shrink: 0;
  width: 60px;
  height: 60px;
}

/* Kurs emoji */
.bh-klt__kurs-ikon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(var(--primary-rgb, 0,212,255), .1);
  border: 1px solid rgba(var(--primary-rgb, 0,212,255), .18);
  font-size: 1.75rem;
  line-height: 1;
  animation: bh-klt-ikon-nefes 3s ease-in-out infinite;
}

@keyframes bh-klt-ikon-nefes {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* Kilit rozeti — emoji'nin sağ alt köşesi */
.bh-klt__kilit {
  position: absolute;
  bottom: -5px;
  right: -8px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f97316, #dc2626);
  border: 2px solid var(--bg1, #0a0e1a);
  color: #fff;
  font-size: .65rem;
  box-shadow: 0 2px 8px rgba(249,115,22,.45);
  animation: bh-klt-kilit-titre .9s ease-in-out infinite alternate;
}

@keyframes bh-klt-kilit-titre {
  from { box-shadow: 0 2px 8px rgba(249,115,22,.45); }
  to   { box-shadow: 0 2px 18px rgba(249,115,22,.75); }
}

/* Metin alanı */
.bh-klt__metin {
  flex: 1;
  min-width: 0;
}

/* Rozet */
.bh-klt__rozet {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .18rem .6rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(249,115,22,.18), rgba(220,38,38,.14));
  border: 1px solid rgba(249,115,22,.35);
  color: #f97316;
  font-family: 'JetBrains Mono', monospace;
  font-size: .6rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: .38rem;
}

.bh-klt__rozet i {
  font-size: .65em;
  animation: bh-klt-kum-saati 2.4s ease-in-out infinite;
}

@keyframes bh-klt-kum-saati {
  0%, 100% { transform: rotate(0deg); }
  45%       { transform: rotate(0deg); }
  50%       { transform: rotate(180deg); }
  95%       { transform: rotate(180deg); }
}

/* Kurs adı */
.bh-klt__baslik {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(.92rem, 1.1vw, 1.05rem);
  font-weight: 800;
  color: var(--text1);
  line-height: 1.25;
  margin-bottom: .22rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Açıklama */
.bh-klt__aciklama {
  font-family: 'Sora', sans-serif;
  font-size: clamp(.72rem, .85vw, .8rem);
  font-weight: 400;
  color: var(--text3);
  line-height: 1.45;
}

/* Kapatma butonu */
.bh-klt__kapat {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid var(--border, rgba(255,255,255,.1));
  background: rgba(255,255,255,.04);
  color: var(--text3);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  transition: all .18s;
}
.bh-klt__kapat:hover {
  background: rgba(239,68,68,.15);
  border-color: rgba(239,68,68,.3);
  color: #ef4444;
  transform: scale(1.1);
}

/* İlerleme çubuğu */
.bh-klt__prog {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255,255,255,.07);
  border-radius: 0 0 20px 20px;
  overflow: hidden;
}

.bh-klt__prog-ic {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--primary, #00d4ff), #f97316);
  transform-origin: left center;
  animation: bhKltProg linear forwards;
  border-radius: inherit;
  opacity: .8;
}

@keyframes bhKltProg {
  from { transform: scaleX(1); }
  to   { transform: scaleX(0); }
}

/* ── Açık tema uyumu ── */
[data-theme="cream"] .bh-klt__ic,
[data-theme="corporate"] .bh-klt__ic {
  background: color-mix(in srgb, #fff 94%, transparent);
  border-color: rgba(var(--primary-rgb, 37,99,235), .22);
  box-shadow: 0 8px 40px rgba(0,0,0,.14), 0 1px 0 rgba(255,255,255,.9) inset;
}

[data-theme="cream"] .bh-klt__baslik,
[data-theme="corporate"] .bh-klt__baslik {
  color: var(--text1);
}

[data-theme="cream"] .bh-klt__aciklama,
[data-theme="corporate"] .bh-klt__aciklama {
  color: var(--text2);
}

[data-theme="cream"] .bh-klt__kilit,
[data-theme="corporate"] .bh-klt__kilit {
  border-color: rgba(255,255,255,.85);
}

/* ── Mobil ── */
@media (max-width: 640px) {
  .bh-kilitli-toast {
    width: calc(100vw - 1.5rem);
    bottom: clamp(3.2rem, 6vh, 4.5rem);
  }

  .bh-klt__ic {
    gap: .75rem;
    padding: .95rem .85rem 1.1rem .9rem;
  }

  .bh-klt__ikon-wrap,
  .bh-klt__kurs-ikon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }

  .bh-klt__baslik {
    font-size: .88rem;
  }

  .bh-klt__aciklama {
    font-size: .7rem;
  }
}

/* SCROLL DOWN */
.scroll-down-btn {
  position: absolute;
  bottom: clamp(50px, 6vh, 80px);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
  color: var(--text3, #64748b);
  transition: color .2s;
  z-index: 10;
}
.scroll-down-btn:hover { color: var(--accent, var(--primary, #00d4ff)); }
.scroll-down-btn:hover .scroll-mouse { border-color: var(--accent, var(--primary, #00d4ff)); }
.scroll-down-label {
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  order: -1;
}
.scroll-mouse {
  width: 22px;
  height: 36px;
  border: 2px solid var(--border2, rgba(255,255,255,.13));
  border-radius: 11px;
  display: flex;
  justify-content: center;
  padding-top: 5px;
  transition: border-color .2s;
}
.scroll-wheel {
  width: 3px;
  height: 6px;
  background: var(--accent, var(--primary, #00d4ff));
  border-radius: 2px;
  animation: bh-whl 1.8s ease-in-out infinite;
}
@keyframes bh-whl {
  0% { transform: translateY(0); opacity: 1; }
  55% { transform: translateY(9px); opacity: 0; }
  56% { transform: translateY(0); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.scroll-chevrons { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.scroll-chevrons span {
  display: block;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  animation: bh-chv 1.8s ease-in-out infinite;
}
.scroll-chevrons span:nth-child(1) { animation-delay: 0s; }
.scroll-chevrons span:nth-child(2) { animation-delay: .2s; }
@keyframes bh-chv {
  0%, 55%, 100% { opacity: .2; }
  25% { opacity: .9; }
}



/* ── Sosyal linkler: gercek adres yoksa gizle ── */
.bh-footer-social a[href="#"] {
  display: none !important;
}


/* ── Akilli Tahta (1920px+) ── */
@media (min-width: 1920px) {
  .header-inner,
  .h-in { max-width: 1600px; margin-inline: auto; }
  .bh-footer-inner { max-width: 1600px; margin-inline: auto; }
  .bh-footer-bottom { max-width: 1600px; margin-inline: auto; }
}
