.main-header {
  position: sticky;
  top: 0;
  background-color: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  z-index: 1000;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
}

.header-logo-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-logo-img {
  height: 40px;
  width: auto;
}

.header-logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  user-select: none;
}

.logo-title {
  color: var(--dark-gray);
  font-family: var(--font-logo);
  font-size: 1.4rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.025em;
  line-height: 1;
}

.logo-subtitle {
  color: var(--vibrant-orange);
  font-family: var(--font-logo);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  line-height: 1.2;
}

.mobile-nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--border-color);
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.mobile-nav-toggle .bar {
  height: 3px;
  width: 100%;
  background-color: var(--dark-gray);
  transition: all 0.3s ease;
  pointer-events: none;
}

.mobile-nav-toggle.active .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.mobile-nav-toggle.active .bar:nth-child(2) {
  opacity: 0;
}

.mobile-nav-toggle.active .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.header-navigation {
  display: none;
}

.header-navigation.open {
  display: block !important;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: #ffffff;
  border-bottom: 3px solid var(--vibrant-orange);
  padding: 1.5rem 8%;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  z-index: 999;
}

.nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  color: var(--dark-gray);
  text-decoration: none;
  font-family: var(--font-logo);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.5rem 0;
  display: block;
}

.dropdown-menu {
  display: none;
  background-color: var(--light-bg);
  border-left: 3px solid var(--vibrant-orange);
  padding: 0.5rem 0;
  list-style: none;
  margin-top: 0.5rem;
  margin-left: 0.5rem;
}

.dropdown-menu li a {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--dark-gray);
  text-decoration: none;
  font-family: var(--font-logo);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
}

.dropdown-menu.show {
  display: block !important;
}

.live-pill-btn {
  background-color: #dc2626;
  color: #ffffff;
  font-family: var(--font-logo);
  font-weight: 900;
  font-size: 0.75rem;
  padding: 0.35rem 0.75rem;
  text-decoration: none;
  letter-spacing: 0.08em;
  border-radius: 3px;
  animation: pulse-live 2s infinite;
}

@keyframes pulse-live {
  0% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(220, 38, 38, 0); }
  100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0); }
}

@media (min-width: 768px) {
  .main-header {
    padding: 1.25rem 8%;
  }

  .mobile-nav-toggle {
    display: none !important;
  }

  .header-navigation {
    display: block !important;
    position: static !important;
    box-shadow: none !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    width: auto !important;
  }

  .nav-list {
    flex-direction: row;
    gap: 2.25rem;
  }

  .nav-link {
    font-size: 0.8rem;
    padding-bottom: 0.5rem;
    position: relative;
  }

  .nav-link::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--vibrant-orange);
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
  }

  .nav-link:hover {
    color: var(--vibrant-orange);
  }

  .nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
  }

  .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    border-left: none;
    margin-left: 0;
  }

  .nav-item:hover .dropdown-menu {
    display: block;
  }
}