/* Header styles — ValorantPL */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background: rgba(26, 29, 38, 0.96);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--color-gray-800);
}

/* Skip link */
.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -100px;
  background: var(--color-primary);
  color: var(--color-text-primary);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  transition: top var(--transition-fast);
  z-index: var(--z-fixed);
}
.skip-link:focus { top: var(--space-4); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  min-height: 64px;
}

/* Brand */
.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--color-text-primary);
}
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  box-shadow: var(--glow-primary);
  font-family: var(--font-heading);
  font-weight: var(--font-weight-black);
}
.brand-text {
  font-family: var(--font-heading);
  font-size: var(--font-size-xl);
  letter-spacing: 0.06em;
}

/* Navigation */
.primary-nav { position: relative; }
.nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}
.nav-link {
  display: inline-flex;
  align-items: center;
  padding: var(--space-2) var(--space-2);
  color: var(--color-text-secondary);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.nav-link:hover,
.nav-link:focus { color: var(--color-text-primary); }

/* Menu toggle (hamburger) */
.menu-toggle {
  display: none;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-text-primary);
  border: 2px solid var(--color-gray-700);
  border-radius: var(--radius-md);
  padding: var(--space-2) var(--space-3);
  background: var(--color-bg-tertiary);
}
.menu-toggle:hover { border-color: var(--color-primary); }
.menu-toggle:focus-visible { outline-color: var(--color-primary); }
.menu-label { font-family: var(--font-heading); text-transform: uppercase; font-size: var(--font-size-sm); }
.icon-burger { position: relative; width: 18px; height: 12px; }
.icon-burger::before,
.icon-burger::after,
.icon-burger span { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; border-radius: 2px; }
.icon-burger::before { top: 0; }
.icon-burger::after { bottom: 0; }
.icon-burger span { top: 50%; transform: translateY(-50%); }

/* Mobile styles (progressive enhancement: only hide with JS enabled) */
@media (max-width: 1024px) {
  .menu-toggle { display: inline-flex; }
  .nav-list { gap: var(--space-4); }
  .js-enabled .site-header .primary-nav {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(84vw, 360px);
    background: var(--color-bg-secondary);
    border-left: 1px solid var(--color-gray-800);
    box-shadow: var(--shadow-xl);
    transform: translateX(100%);
    transition: transform var(--transition-base);
    padding: var(--space-8) var(--space-6);
  }
  .js-enabled .site-header .nav-list {
    flex-direction: column;
    align-items: flex-start;
    background: #000;
  }
  .site-header.is-open .primary-nav { transform: translate(0,40px); }
  .mobile-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(2px);
    z-index: var(--z-sticky);
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .js-enabled .site-header .primary-nav { transition: none; }
}
