:root {
  --mg-black: #0b0b0b;
  --mg-red: #7a0e0e;
  --mg-gold: #d4a017;
  --mg-white: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  background: var(--mg-black);
  color: var(--mg-white);
}

.mg-navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 86px;
  padding: 0 7%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 999;
  transition: 0.35s ease;
}

.mg-navbar.scrolled {
  height: 76px;
  background: rgba(11, 11, 11, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(212, 160, 23, 0.25);
}

.mg-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--mg-white);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.mg-logo img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.mg-logo span {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.8rem;
}

.mg-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.mg-menu a {
  color: var(--mg-white);
  text-decoration: none;
  font-weight: 500;
  transition: 0.25s ease;
}

.mg-menu a:hover {
  color: var(--mg-gold);
}

.mg-menu-cta {
  padding: 12px 22px;
  background: linear-gradient(135deg, var(--mg-gold), #f2c14e);
  color: #1b1200 !important;
  border-radius: 999px;
  font-weight: 800 !important;
  box-shadow: 0 10px 28px rgba(212, 160, 23, 0.28);
}

.mg-hamburger {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  cursor: pointer;
  z-index: 1001;
}

.mg-hamburger span {
  display: block;
  width: 30px;
  height: 3px;
  margin: 6px auto;
  background: var(--mg-white);
  border-radius: 999px;
  transition: 0.3s ease;
}

.mg-hamburger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.mg-hamburger.active span:nth-child(2) {
  opacity: 0;
}

.mg-hamburger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

@media (max-width: 768px) {
  .mg-navbar {
    padding: 0 22px;
  }

  .mg-hamburger {
    display: block;
  }

  .mg-menu {
    position: fixed;
    inset: 0;
    background: rgba(11, 11, 11, 0.96);
    backdrop-filter: blur(16px);
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    transform: translateX(100%);
    transition: 0.35s ease;
  }

  .mg-menu.open {
    transform: translateX(0);
  }

  .mg-menu a {
    font-size: 1.3rem;
  }
}
