.header-bar {
  width: 100%;
  background: #181818;
  box-shadow: 0 4px 16px #000a;
  position: sticky;
  top: 0;
  left: 0;
  z-index: 999;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  min-height: 72px;
}

.header-logo {
  display: flex;
  align-items: center;
  font-size: 2.2rem;
  font-weight: 900;
  color: #fa9600;
  letter-spacing: 2px;
  text-decoration: none;
  gap: 10px;
  text-shadow: 0 2px 8px #111a;
}

.header-logo i {
  font-size: 2.2rem;
  text-shadow: 0 2px 8px #fa960060;
}

.header-balance-bar {
  background: transparent;
  padding: 0;
  box-shadow: none;
  margin-bottom: 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 24px;
  font-size: 1.07rem;
}

.header-balance-bar-inner {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-right: auto;
}

.header-notification {
    position: relative;
}
#notificationBell {
    position: relative;
    color: #fa9600;
    font-size: 1.4rem;
    margin-left: 20px;
}
#notificationBadge {
    position: absolute;
    top: -6px;
    right: -8px;
    background: red;
    color: #fff;
    border-radius: 50%;
    font-size: 0.75rem;
    padding: 2px 6px;
    font-weight: bold;
}
#notificationDropdown {
    position: absolute;
    right: 0;
    top: 32px;
    background: #232338;
    color: #fff;
    border-radius: 7px;
    box-shadow: 0 2px 12px #0008;
    min-width: 240px;
    z-index: 9999;
    padding: 9px 0;
}
#notificationList {
    list-style: none;
    margin: 0;
    padding: 0 12px;
}
#notificationList li {
    padding: 7px 0;
    border-bottom: 1px solid #3334;
}
#notificationList li:last-child {
    border-bottom: none;
}

.notif-read-btn {
    margin-left: 12px;
    padding: 2px 10px;
    border-radius: 5px;
    border: none;
    background: #fa9600;
    color: #181828;
    font-size: 0.92em;
    cursor: pointer;
    transition: background 0.18s;
}
.notif-read-btn:hover {
    background: #cc7a00;
}

.balance-item {
  background: #232338;
  border-radius: 7px;
  padding: 6px 16px 6px 12px;
  display: flex;
  align-items: center;
  font-weight: bold;
  box-shadow: 0 1px 8px #fa960033;
  border: 1px solid #fa960044;
  margin-left: 0;
  gap: 7px;
  transition: background 0.15s, box-shadow 0.17s;
  font-size: 1.05rem;
}
.balance-item.kp { color: #fa9600; }
.balance-item.uc { color: #50afff; }
.balance-item.nakit { color: #31d37c; }

.balance-label {
  font-size: 0.95em;
  opacity: 0.7;
  margin-right: 4px;
  font-weight: 500;
}
.balance-value {
  font-size: 1.13em;
  margin-right: 2px;
  letter-spacing: 1px;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: 30px;
  background: #202028;
  border-radius: 10px;
  box-shadow: 0 2px 10px #0004;
  padding: 7px 16px 7px 12px;
}

.header-nav a {
  color: #fafafa;
  text-decoration: none;
  font-size: 1.05rem;
  padding: 7px 15px;
  border-radius: 7px;
  transition: background 0.14s, color 0.15s;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  background: transparent;
}
.header-nav a:hover,
.header-nav .active {
  background: #fa9600;
  color: #181818;
}

.header-user {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 1.05rem;
}

.header-login-btn {
  color: #fff;
  background: #fa9600;
  border: none;
  border-radius: 8px;
  padding: 7px 18px;
  font-weight: bold;
  cursor: pointer;
  font-size: 1.08rem;
  transition: background 0.14s, color 0.14s;
  margin-left: 10px;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 1px 8px #fa960033;
}
.header-login-btn:hover {
  background: #fff;
  color: #fa9600;
}

.header-mobile-btn {
  display: none;
  background: none;
  border: none;
  color: #fa9600;
  font-size: 2.1rem;
  cursor: pointer;
  margin-left: 10px;
}

/* Responsive Tasarım */
@media (max-width: 980px) {
  .header-inner { padding: 0 4vw; }
  .header-nav { gap: 7px; margin-left: 10px; padding: 4px 7px 4px 7px;}
  .header-balance-bar { gap: 7px; }
}

@media (max-width: 700px) {
  .header-inner { flex-wrap: wrap; padding: 0 2vw; min-height: 48px; }
  .header-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #232338f2;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding: 16px 0 9px 0;
    display: none;
    border-radius: 0 0 14px 14px;
    margin-left: 0;
    box-shadow: 0 8px 22px #000d;
  }
  .header-nav.active { display: flex; }
  .header-mobile-btn { display: block; }
  .header-balance-bar { margin-left: 0; }
  .header-logo { font-size: 1.5rem; }
}