
.hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: black;
}


.hero-navbar {
  position: relative;
  z-index: 50;
  width: 100%;
  padding: 14px 34px 10px;
  background: transparent;
}

.hero-navbar-container {
  position: relative;
  width: 100%;
  max-width: 1280px;
  min-height: 66px;
  margin: 0 auto;
  padding: 8px 12px 8px 24px;

  display: flex;
  align-items: center;

  border: 1px solid rgba(47, 187, 117, 0.16);
  border-radius: 18px;

  background:
    linear-gradient(
      135deg,
      rgba(2, 2, 2, 0.96),
      rgba(1, 6, 12, 0.9)
    );

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  box-shadow:
    0 14px 36px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}


.hero-navbar-container::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 50%;
  width: 42%;
  height: 2px;
  transform: translateX(-50%);

  background:
    linear-gradient(
      90deg,
      transparent,
      #009cde,
      #76b900,
      transparent
    );
}

/* =========================================
   DESKTOP NAVIGATION
========================================= */

.desktop-menu {
  width: 100%;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.hero-links {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.6vw, 38px);
}

.hero-links a {
  position: relative;
  padding: 11px 0;

  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;

  transition:
    color 0.3s ease,
    transform 0.3s ease;
}

.hero-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 3px;

  width: 100%;
  height: 2px;
  border-radius: 20px;

  background:
    linear-gradient(
      90deg,
      #009cde,
      #76b900
    );

  transform: scaleX(0);
  transform-origin: right;

  transition: transform 0.3s ease;
}

.hero-links a:hover,
.hero-links a.active {
  color: #ffffff;
}

.hero-links a:hover {
  transform: translateY(-2px);
}

.hero-links a:hover::after,
.hero-links a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* =========================================
   REGISTER BUTTON
========================================= */

.hero-register-btn {
  flex: 0 0 auto;

  min-height: 48px;
  padding: 12px 23px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  border-radius: 12px;

  background:
    linear-gradient(
      135deg,
      #68ac87,
      #61b989
    );

  color: #061b35;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;

  box-shadow: 0 12px 28px rgba(118, 185, 0, 0.2);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    filter 0.3s ease;
}

.hero-register-btn:hover {
  transform: translateY(-3px);
  filter: brightness(1.06);
  box-shadow: 0 18px 36px rgba(118, 185, 0, 0.3);
}

.hero-register-btn i {
  font-size: 12px;
  transition: transform 0.3s ease;
}

.hero-register-btn:hover i {
  transform: translateX(4px);
}

/* =========================================
   BANNER IMAGE
========================================= */

.hero-banner {
  position: relative;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.hero-banner-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center top;
}

/*
For a 6:1 banner, do not force a large fixed height.
The image keeps its exact ratio and remains fully visible.
*/

/* =========================================
   MOBILE NAV
========================================= */

.mobile-navbar,
.mobile-menu {
  display: none;
}

.menu-toggle {
  width: 44px;
  height: 44px;
  padding: 0;

  display: grid;
  place-content: center;
  gap: 5px;

  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 11px;

  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  display: block;

  border-radius: 10px;
  background: #ffffff;

  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 1050px) {
  .hero-navbar {
    padding-left: 22px;
    padding-right: 22px;
  }

  .hero-links {
    gap: 19px;
  }

  .hero-links a {
    font-size: 12px;
  }

  .hero-register-btn {
    padding: 11px 18px;
  }
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 820px) {
  .hero-navbar {
    padding: 12px 16px 9px;
  }

  .hero-navbar-container {
    min-height: 60px;
    padding: 8px 9px 8px 17px;
    border-radius: 15px;
  }

  .desktop-menu {
    display: none;
  }

  .mobile-navbar {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
  }

  .mobile-brand {
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
  }

  .mobile-brand::after {
    content: "";
    width: 36px;
    height: 2px;
    display: block;
    margin-top: 5px;

    border-radius: 10px;

    background:
      linear-gradient(
        90deg,
        #009cde,
        #76b900
      );
  }

  .mobile-actions {
    display: flex;
    align-items: center;
    gap: 9px;
  }

  .mobile-register-btn {
    min-height: 42px;
    padding: 10px 15px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;
    background: #76b900;

    color: #061b35;
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
  }

  .mobile-menu {
    position: absolute;
    top: calc(100% + 9px);
    left: 0;
    width: 100%;

    z-index: 100;

    padding: 11px;

    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 15px;

    background:
      linear-gradient(
        145deg,
        rgba(3, 22, 49, 0.99),
        rgba(6, 47, 103, 0.98)
      );

    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.35);

    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);

    transition:
      opacity 0.3s ease,
      visibility 0.3s ease,
      transform 0.3s ease;
  }

  .mobile-menu.open {
    display: grid;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .mobile-menu a {
    padding: 13px 14px;

    border-radius: 10px;

    color: rgba(255, 255, 255, 0.76);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;

    transition:
      color 0.3s ease,
      background 0.3s ease,
      transform 0.3s ease;
  }

  .mobile-menu a:hover,
  .mobile-menu a.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(4px);
  }
}

/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 520px) {
  .hero-navbar {
    padding: 9px 10px 7px;
  }

  .hero-navbar-container {
    min-height: 55px;
    padding: 7px 7px 7px 14px;
    border-radius: 13px;
  }

  .mobile-brand {
    font-size: 12px;
  }

  .mobile-register-btn {
    min-height: 38px;
    padding: 9px 11px;
    font-size: 9px;
  }

  .menu-toggle {
    width: 39px;
    height: 39px;
    border-radius: 9px;
  }

  .hero-banner-image {
    min-height: 190px;
    object-fit: cover;
    object-position: center;
  }
}

@media (max-width: 370px) {
  .mobile-brand {
    display: none;
  }

  .mobile-navbar {
    justify-content: flex-end;
  }
}



@media (prefers-reduced-motion: reduce) {
  .hero-links a,
  .hero-links a::after,
  .hero-register-btn,
  .hero-register-btn i,
  .menu-toggle span,
  .mobile-menu,
  .mobile-menu a {
    transition: none;
  }
}