/* =========================
   header.css — EmpireG.RU v2
   ========================= */

:root {
  --header-top-h: 60px;
}

body.no-scroll { overflow: hidden !important; }

:focus-visible {
  outline: 3px solid rgba(73, 181, 69, 0.75);
  outline-offset: 2px;
}

/* =========================
   Container
   ========================= */
.container-header {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

/* =========================
   Top Bar (fixed)
   ========================= */
.header_top {
  position: fixed;
  z-index: var(--z-header);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  padding: 0;
  isolation: isolate;
}

.header_top .container-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  padding: 8px 15px;
  position: relative;
  z-index: calc(var(--z-header) + 1);
}

/* =========================
   Burger button (mobile)
   ========================= */
.header_mobile_btns {
  display: none;
}

.header_mobile_btns button {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 6px;
  transition: all 0.3s ease;
  position: relative;
  z-index: calc(var(--z-header) + 2);
  pointer-events: auto;
}

.header_mobile_btns button:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* =========================
   Desktop Nav
   ========================= */
.main_nav {
  flex: 1;
  min-width: 0;
  pointer-events: auto;
}

.main_nav ul {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  border-radius: 10px;
  transition: all 0.25s ease;
  position: relative;
  white-space: nowrap;
  opacity: 0.92;
  border: 1px solid transparent;
}

.nav-link:hover {
  background: rgba(73, 181, 69, 0.2);
  text-decoration: none;
  transform: translateY(-2px);
  opacity: 1;
}

.nav-link--highlight {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  animation: highlightNavGlow 3s ease-in-out infinite 0.5s;
  opacity: 1;
}

.nav-link--highlight:hover {
  background: rgba(34, 197, 94, 0.22);
  border-color: rgba(34, 197, 94, 0.55);
  box-shadow: 0 4px 16px rgba(34, 197, 94, 0.35);
}

@keyframes highlightNavGlow {
  0%, 100% { box-shadow: 0 0 4px rgba(34, 197, 94, 0.1); }
  50% { box-shadow: 0 0 14px rgba(34, 197, 94, 0.3), 0 0 4px rgba(34, 197, 94, 0.1); }
}

.nav-link--boosty {
  background: rgba(241, 95, 44, 0.12);
  border: 1px solid rgba(241, 95, 44, 0.25);
  animation: boostyNavGlow 3s ease-in-out infinite;
}
.nav-link--boosty:hover {
  background: rgba(241, 95, 44, 0.25);
  border-color: rgba(241, 95, 44, 0.5);
  box-shadow: 0 4px 16px rgba(241, 95, 44, 0.35);
}

@keyframes boostyNavGlow {
  0%, 100% { box-shadow: 0 0 4px rgba(241, 95, 44, 0.1); }
  50% { box-shadow: 0 0 14px rgba(241, 95, 44, 0.3), 0 0 4px rgba(241, 95, 44, 0.1); }
}

.nav-link--vip {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.15), rgba(245, 158, 11, 0.1));
  border: 1px solid rgba(251, 191, 36, 0.3);
  animation: vipNavGlow 3s ease-in-out infinite 1.5s;
}
.nav-link--vip:hover {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.3), rgba(245, 158, 11, 0.2));
  border-color: rgba(251, 191, 36, 0.55);
  box-shadow: 0 4px 16px rgba(251, 191, 36, 0.35);
}

@keyframes vipNavGlow {
  0%, 100% { box-shadow: 0 0 4px rgba(251, 191, 36, 0.1); }
  50% { box-shadow: 0 0 14px rgba(251, 191, 36, 0.3), 0 0 4px rgba(251, 191, 36, 0.1); }
}

/* Home button */
.nav-link--home {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}
.nav-link--home:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Orders button */
.nav-link--orders {
  background: rgba(116, 192, 252, 0.08);
  border-color: rgba(116, 192, 252, 0.2);
}
.nav-link--orders:hover {
  background: rgba(116, 192, 252, 0.18);
  border-color: rgba(116, 192, 252, 0.4);
  box-shadow: 0 4px 14px rgba(116, 192, 252, 0.25);
}

/* =========================
   Right-side buttons
   ========================= */
.header_right {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: calc(var(--z-header) + 3);
  pointer-events: auto;
  overflow: visible;
}
