/* ═══════════════════════════════
   HEADER — GLASS GAMING UI FINAL
═══════════════════════════════ */

/* ROOT (اختياري لكن احترافي) */
:root {
  --glass-bg: rgba(255,255,255,0.05);
  --glass-bg-strong: rgba(255,255,255,0.08);
  --glass-border: rgba(255,255,255,0.08);
  --glass-shadow: 0 8px 30px rgba(0,0,0,0.45);
  --glass-glow: 0 0 12px rgba(255,189,32,0.25);
}

/* HEADER */
#site-header {
  position: sticky;
  top: 0;
  z-index: 200;

  background: var(--color-header-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  border-bottom: 1px solid rgba(255,255,255,0.06);

  box-shadow:
    0 4px 20px rgba(0,0,0,0.4),
    inset 0 1px 0 rgba(255,255,255,0.04);

  height: 64px;
  width: 100%;
}

/* INNER */
.header-inner {
  height: 100%;
  width: 100%;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGO */
.header-logo img {
  height: 40px;
  object-fit: contain;
}

/* ACTIONS */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0px;
}

/* ═══════════════════════════════
   ICON BUTTONS (SEARCH / ACCOUNT)
═══════════════════════════════ */
.header-icon-btn {
  width: 30px;
  height: 35px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: var(--glass-bg);
  backdrop-filter: blur(10px);

  border: 1px solid var(--glass-border);
  border-radius: 12px;

  color: var(--color-text-muted);
  cursor: pointer;

  box-shadow:
    0 4px 15px rgba(0,0,0,0.35),
    inset 0 1px 0 rgba(255,255,255,0.04);

  transition: all 0.25s ease;
}

.header-icon-btn:hover {
  color: var(--color-heading);

  border-color: var(--color-primary);

  background: rgba(255,189,32,0.08);

  box-shadow:
    0 6px 25px rgba(0,0,0,0.45),
    0 0 10px rgba(255,189,32,0.25);

  transform: translateY(-1px);
}

.header-icon-btn svg {
  width: 16px;
  height: 16px;

  stroke: currentColor;
  fill: none;
  stroke-width: 2;

  display: block;
}

/* ═══════════════════════════════
   WALLET BUTTON
═══════════════════════════════ */
.header-wallet {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;

  background: var(--glass-bg-strong);
  backdrop-filter: blur(14px);

  border: 1px solid var(--glass-border);
  border-radius: 6px;

  color: var(--color-text);
  text-decoration: none;

  box-shadow:
    0 6px 20px rgba(0,0,0,0.4),
    inset 0 1px 0 rgba(255,255,255,0.05);

  transition: all 0.25s ease;
}

.header-wallet:hover {
  border-color: var(--color-primary);

  background: rgba(255,189,32,0.12);

  box-shadow:
    0 8px 30px rgba(0,0,0,0.5),
    0 0 15px rgba(255,189,32,0.3);

  transform: translateY(-2px);
}

/* ICON */
.header-wallet svg {
  width: 16px;
  height: 16px;
  stroke: var(--color-primary);
  fill: none;
  stroke-width: 2;
}

/* BALANCE */
.wallet-balance {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.3px;
}

/* ═══════════════════════════════
   AVATAR
═══════════════════════════════ */
.header-avatar-img {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-primary);
}

.header-avatar-letter {
  font-size: 15px;
  font-weight: 800;
  color: var(--color-primary);
  font-family: 'Tajawal', sans-serif;
}

/* ═══════════════════════════════
   DROPDOWN (OPTIONAL)
═══════════════════════════════ */

/* ═══════════════════════════════
   RESPONSIVE
═══════════════════════════════ */
@media (min-width: 769px) {
  .header-logo { display: none; }

  .header-inner {
    padding-right: 216px;
    justify-content: flex-end;
  }
}