
/* TV Tracker 0.1.82b - True integrated header */

/*
  Bu dosya 91'den sonra yüklenir.
  Eski .topbar class'ı HTML'den çıkarıldığı için header artık gerçekten ayrı bar değil,
  sayfa kompozisyonunun üst satırı gibi davranır.
*/

html body {
  background:
    radial-gradient(circle at 50% 0%, rgba(226, 176, 79, 0.07), transparent 24rem),
    radial-gradient(circle at 100% 18%, rgba(111, 20, 38, 0.16), transparent 34rem),
    #05070d !important;
}

/* Header reset */
html body header.pv4-integrated-header {
  position: relative !important;
  inset: auto !important;
  z-index: 30 !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

html body header.pv4-integrated-header::before,
html body header.pv4-integrated-header::after {
  display: none !important;
  content: none !important;
}

/* Header artık hero ile aynı container hissinde */
html body .pv4-topbar-inner {
  width: min(var(--page-width), calc(100vw - 32px)) !important;
  max-width: var(--page-width) !important;
  margin: 0 auto !important;
  padding: 24px 0 16px !important;
  min-height: 0 !important;

  display: grid !important;
  grid-template-columns: minmax(230px, 1fr) auto minmax(230px, 1fr) !important;
  align-items: center !important;
  gap: 24px !important;

  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Sol logo */
html body .pv4-topbar-inner > a:first-child,
html body .pv4-topbar-inner .brand,
html body .pv4-topbar-inner .logo {
  justify-self: start !important;
}

/* Orta menü */
html body .pv4-topbar-inner nav,
html body .pv4-topbar-inner .nav,
html body .pv4-topbar-inner .main-nav {
  justify-self: center !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 30px !important;

  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Sağ alan */
html body .pv4-icons,
html body .pv4-topbar-actions,
html body .pv4-topbar-inner > div:last-child {
  justify-self: end !important;
}

/* Menü linkleri */
html body .pv4-topbar-inner nav a,
html body .pv4-topbar-inner .nav a,
html body .pv4-topbar-inner .main-nav a {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  min-height: 36px !important;
  padding: 0 0 13px !important;

  color: rgba(226, 232, 240, 0.70) !important;
  background: transparent !important;
  border: 0 !important;
  text-decoration: none !important;
  font-weight: 760 !important;
  letter-spacing: -0.01em !important;
}

html body .pv4-topbar-inner nav a:hover,
html body .pv4-topbar-inner .nav a:hover,
html body .pv4-topbar-inner .main-nav a:hover {
  color: #f8fafc !important;
}

html body .pv4-topbar-inner nav a.active,
html body .pv4-topbar-inner nav a[aria-current="page"],
html body .pv4-topbar-inner .nav a.active,
html body .pv4-topbar-inner .nav a[aria-current="page"],
html body .pv4-topbar-inner .main-nav a.active,
html body .pv4-topbar-inner .main-nav a[aria-current="page"] {
  color: #f7d46d !important;
}

html body .pv4-topbar-inner nav a.active::after,
html body .pv4-topbar-inner nav a[aria-current="page"]::after,
html body .pv4-topbar-inner .nav a.active::after,
html body .pv4-topbar-inner .nav a[aria-current="page"]::after,
html body .pv4-topbar-inner .main-nav a.active::after,
html body .pv4-topbar-inner .main-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f7d46d, #d98a2b);
  box-shadow: 0 0 16px rgba(226, 176, 79, 0.36);
}

/* Çıkış butonu küçük/sakin */
html body .pv4-topbar-inner form {
  margin: 0 !important;
}

html body .pv4-topbar-inner form button,
html body .pv4-topbar-inner button[type="submit"] {
  min-height: 36px !important;
  padding: 0 14px !important;
  border-radius: 10px !important;
  border: 1px solid rgba(226, 176, 79, 0.16) !important;
  background: rgba(255, 255, 255, 0.035) !important;
  color: rgba(226, 232, 240, 0.72) !important;
  box-shadow: none !important;
}

/* Header sonrası boşluğu mockup gibi yap */
html body main,
html body .main,
html body .page {
  padding-top: 0 !important;
}

html body .pv4-home {
  margin-top: 0 !important;
}

/* Hero ile header aynı aks */
html body .pv4-home,
html body .pv4-stats,
html body .next-section {
  width: min(var(--page-width), calc(100vw - 32px)) !important;
  max-width: var(--page-width) !important;
}

/* Küçük ekran */
@media (max-width: 920px) {
  html body .pv4-topbar-inner {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    padding: 18px 0 12px !important;
  }

  html body .pv4-topbar-inner > a:first-child,
  html body .pv4-topbar-inner .brand,
  html body .pv4-topbar-inner .logo,
  html body .pv4-topbar-inner nav,
  html body .pv4-topbar-inner .nav,
  html body .pv4-topbar-inner .main-nav,
  html body .pv4-icons,
  html body .pv4-topbar-actions,
  html body .pv4-topbar-inner > div:last-child {
    justify-self: center !important;
  }

  html body .pv4-topbar-inner nav,
  html body .pv4-topbar-inner .nav,
  html body .pv4-topbar-inner .main-nav {
    flex-wrap: wrap !important;
    gap: 18px !important;
  }
}
/* /TV Tracker 0.1.82b */
