/* Header styles for Evening Vibe Club */

.evc-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(22px);
  background: linear-gradient(180deg, rgba(5, 5, 9, 0.96), rgba(5, 5, 9, 0.88));
  border-bottom: 1px solid rgba(244, 193, 92, 0.2);
}

.evc-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--space-3);
}

.evc-header__brand {
  display: flex;
  align-items: center;
}

.evc-header__logo-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--color-text);
}

.evc-header__logo-mark {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 20%, #ffd46f, #f4c15c 30%, #6d1534 65%, #050509 100%);
  box-shadow: 0 0 0 1px rgba(244, 193, 92, 0.6), 0 10px 25px rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
}

.evc-header__logo-chip {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(5, 5, 9, 0.9);
  background: radial-gradient(circle, #050509 0, #1b2a4a 45%, #050509 100%);
}

.evc-header__logo-text {
  display: flex;
  flex-direction: column;
}

.evc-header__logo-title {
  font-family: var(--font-display);
  font-size: var(--font-size-lg);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.evc-header__logo-subtitle {
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-text-muted);
}

/* Navigation */

.evc-header__nav {
  display: flex;
}

.evc-header__nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.evc-header__nav-link {
  font-size: var(--font-size-sm);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  padding-block: 0.25rem;
  border-bottom: 2px solid transparent;
}

.evc-header__nav-link:hover,
.evc-header__nav-link:focus-visible {
  color: var(--color-primary-strong);
  border-color: rgba(244, 193, 92, 0.8);
}

.evc-header__nav-item--cta .evc-header__nav-link {
  border-radius: var(--radius-pill);
  border: 1px solid rgba(244, 193, 92, 0.7);
  padding-inline: 1.1rem;
  padding-block: 0.45rem;
}

.evc-header__nav-link--cta {
  background: linear-gradient(135deg, rgba(244, 193, 92, 0.12), rgba(244, 193, 92, 0.05));
  color: var(--color-primary-strong);
}

.evc-header__nav-item--cta .evc-header__nav-link:hover,
.evc-header__nav-item--cta .evc-header__nav-link:focus-visible {
  background: linear-gradient(135deg, #f4c15c, #ffd46f);
  color: #1b1205;
  border-color: transparent;
}

/* Mobile toggle */

.evc-header__toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 1px solid rgba(244, 193, 92, 0.7);
  background: rgba(5, 5, 9, 0.9);
  color: var(--color-text);
}

.evc-header__toggle-bar {
  width: 18px;
  height: 2px;
  background-color: var(--color-text);
  border-radius: 999px;
  transition: transform var(--transition-base), opacity var(--transition-base), background-color var(--transition-base);
}

.evc-header__toggle-bar + .evc-header__toggle-bar {
  margin-top: 3px;
}

.evc-header__toggle[aria-expanded="true"] .evc-header__toggle-bar:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.evc-header__toggle[aria-expanded="true"] .evc-header__toggle-bar:nth-child(2) {
  opacity: 0;
}

.evc-header__toggle[aria-expanded="true"] .evc-header__toggle-bar:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

/* Mobile layout */

@media (max-width: 768px) {
  .evc-header__inner {
    padding-block: var(--space-2);
  }

  .evc-header__toggle {
    display: inline-flex;
    flex-direction: column;
  }

  .evc-header__nav {
    position: fixed;
    inset-inline: 0;
    top: 60px;
    background: radial-gradient(circle at top, rgba(244, 193, 92, 0.08), transparent 55%), rgba(5, 5, 9, 0.98);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition-base), opacity var(--transition-base);
  }

  .evc-header__nav-list {
    flex-direction: column;
    align-items: flex-start;
    padding: var(--space-4) var(--space-4) var(--space-6);
    gap: var(--space-3);
  }

  .evc-header__nav-link {
    font-size: var(--font-size-base);
  }

  .evc-header__nav-item--cta {
    width: 100%;
    margin-top: var(--space-2);
  }

  .evc-header__nav-item--cta .evc-header__nav-link {
    width: 100%;
    text-align: center;
    justify-content: center;
    display: inline-flex;
  }

  .evc-header__nav--open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  body.evc-nav-open {
    overflow: hidden;
  }
}

@media (prefers-reduced-motion: reduce) {
  .evc-header__nav,
  .evc-header__toggle-bar {
    transition: none !important;
  }
}
