/* Shared header normalization across all pages */
:root {
  --header-top-height: 90px;
  --header-nav-height: 70px;
  --primary-accent-color-rgb: 0, 191, 255;
  --secondary-accent-color-rgb: 138, 43, 226;
  --header-orange-rgb: 255, 138, 0;
  --header-purple-rgb: 138, 43, 226;
  --brand-white: #ffffff;
  --text-light: #ffffff;
}

.site-header {
  position: relative;
  width: 100%;
  background-color: #06050e;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
}

.site-header .header-top-content {
  height: var(--header-top-height);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  position: relative;
  overflow: hidden;
  background-color: #0b0e1c;
  background-image:
    radial-gradient(ellipse at 50% 0%, rgba(var(--header-orange-rgb), 0.15) 0%, transparent 70%),
    radial-gradient(ellipse at 50% 100%, rgba(var(--header-purple-rgb), 0.2) 0%, transparent 60%);
  border-bottom: 1px solid rgba(var(--primary-accent-color-rgb), 0.35);
}

.site-header .header-top-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100'><defs><linearGradient id='g' x1='0' x2='0' y1='0' y2='1'><stop offset='0%25' stop-color='rgba(0, 255, 255, 0.5)'/><stop offset='100%25' stop-color='rgba(255, 0, 255, 0.5)'/></linearGradient></defs><rect width='1' height='100' fill='url(%23g)' x='20'/><rect width='1' height='100' fill='url(%23g)' x='50' transform='rotate(30, 50, 50)'/><rect width='1' height='100' fill='url(%23g)' x='80' transform='rotate(-30, 80, 50)'/><rect width='100' height='1' fill='url(%23g)' y='30'/><rect width='100' height='1' fill='url(%23g)' y='70' transform='rotate(20, 50, 70)'/></svg>");
  background-size: 200px 200px;
  opacity: 0.2;
  z-index: 1;
}

.site-header .top-bar-left-group,
.site-header .top-bar-right-group {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
}

.site-header .top-bar-left-group {
  flex: 1;
  justify-content: flex-start;
  gap: 15px;
  min-width: 0;
}

.site-header .top-bar-right-group {
  flex: 1;
  justify-content: flex-end;
}

.site-header .header-logo-title-container {
  display: flex;
  align-items: center;
  text-decoration: none;
  min-width: 0;
}

.site-header .header-company-logo {
  height: 80px;
  width: auto;
  margin-right: 15px;
}

.site-header .header-title-tagline-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.site-header .header-company-name {
  margin: 0;
  line-height: 1;
  display: flex;
  align-items: center;
  text-shadow: 0 0 4px rgba(var(--primary-accent-color-rgb), 0.45), 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.site-header .header-company-name .master-race-text {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 2px;
}

.site-header .header-tagline {
  display: block;
  width: 100%;
  font-size: 0.9rem;
  margin: 4px 0 0;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: left;
}

.site-header .mobile-title {
  display: none;
}

.site-header #checkoutLinkMobile {
  display: none !important;
}

.site-header .main-nav-container {
  height: var(--header-nav-height);
  width: 100%;
  background-color: #0c0a14;
  padding: 0 1rem;
  position: relative;
  display: flex;
  align-items: center;
  box-shadow: inset 0 5px 15px rgba(0, 0, 0, 0.4);
}

.site-header .main-nav-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  align-items: stretch;
  justify-content: center;
  gap: 12px;
}

.site-header .main-nav-list li {
  display: flex;
  justify-content: center;
  flex: 1;
}

.site-header .main-nav-list li .nav-item-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 75%;
  align-self: center;
  text-align: center;
}

@media (max-width: 767px) {
  :root {
    --header-top-height: 70px;
    --header-nav-height: 60px;
  }

  .site-header .desktop-title {
    display: none !important;
  }

  .site-header .mobile-title {
    display: inline !important;
  }

  .site-header .header-top-content {
    padding: 0 8px;
  }

  .site-header .top-bar-left-group {
    flex: 1 1 auto;
    justify-content: center;
    gap: 0;
    width: 100%;
  }

  .site-header .top-bar-right-group {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    flex: 0 0 auto;
  }

  .site-header #universalMenuToggleBtnMobile {
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    display: flex !important;
  }

  .site-header .header-logo-title-container {
    flex-grow: 0;
    justify-content: center;
    margin: 0 auto;
    padding: 0 48px;
  }

  .site-header .header-title-tagline-wrapper {
    align-items: center;
    text-align: center;
  }

  .site-header .header-company-name {
    white-space: normal;
    line-height: 1.15;
    text-align: center;
    justify-content: center;
  }

  .site-header .header-company-logo {
    height: 50px;
    margin-right: 10px;
  }

  .site-header .header-company-name .master-race-text {
    font-size: 1.4rem;
  }

  .site-header .header-tagline {
    font-size: 0.7rem;
    margin-top: 2px;
    text-align: center;
  }

  .site-header #checkoutLinkDesktop {
    display: none !important;
  }

  .site-header #checkoutLinkMobile {
    display: flex !important;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .site-header .main-nav-list li .nav-item-box {
    height: 65%;
    font-size: 0.8rem;
    padding: 0 5px;
  }
}

@media (max-width: 480px) {
  .site-header .header-company-logo {
    height: 40px;
  }

  .site-header .header-company-name .master-race-text {
    font-size: 1.3rem;
  }

  .site-header #universalMenuToggleBtnMobile {
    width: 38px;
    height: 38px;
    left: 6px;
  }

  .site-header .top-bar-right-group {
    right: 6px;
  }
}
