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

html,
body {
  width: 100%;
  min-height: 100%;
  font-family: Arial, Helvetica, sans-serif;
  background: #000;
}

.main-header {
  width: 100%;
  height: 86px;
  background: #ffffff;
  border-bottom: 1px solid #eeeeee;
  position: relative;
  z-index: 10;
}

.header-inner {
  width: 100%;
  max-width: 1280px;
  height: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 70px;
}

.logo-box {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo {
  width: 170px;
  height: auto;
  display: block;
}

.top-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.top-menu a {
  color: #333333;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  transition: 0.25s ease;
}

.top-menu a span {
  font-size: 18px;
}

.top-menu a:hover {
  color: #d30000;
  transform: translateY(-2px);
}

.black-bar {
  width: 100%;
  height: 42px;
  background: #000000;
  position: relative;
  z-index: 9;
}

.black-inner {
  width: 100%;
  max-width: 1280px;
  height: 100%;
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-icon {
  position: absolute;
  left: 20px;
  border: none;
  background: transparent;
  color: #ffffff;
  font-size: 21px;
  cursor: pointer;
}

.auth-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
}

.auth-buttons a {
  color: #ffffff;
  text-decoration: none;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 6px 20px;
  border-radius: 999px;
  line-height: 1;
  transition: 0.25s ease;
}

.btn-login {
  background: linear-gradient(to bottom, #d8a84c, #8d5a12);
}

.btn-register {
  background: linear-gradient(to bottom, #ff2020, #a90000);
}

.auth-buttons a:hover {
  transform: translateY(-2px);
  filter: brightness(1.15);
}

.hero-section {
  width: 100%;
  min-height: calc(100vh - 128px);
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(to bottom, rgba(255, 165, 0, 0.18), rgba(210, 0, 0, 0.12)),
    url("assets/banner-bg.jpg");
  background-size: cover;
  background-position: center center;
}

.hero-shine {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 226, 122, 0.25), transparent 28%),
    radial-gradient(circle at 65% 80%, rgba(255, 65, 0, 0.28), transparent 35%);
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  width: 100%;
  max-width: 1280px;
  min-height: calc(100vh - 128px);
  margin: 0 auto;
  padding-top: 45px;
  padding-left: 285px;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

.promo-img {
  width: 520px;
  max-width: 46vw;
  height: auto;
  display: block;
  filter: drop-shadow(0 22px 42px rgba(0, 0, 0, 0.36));
  animation: floatPromo 3.5s ease-in-out infinite;
}

@keyframes floatPromo {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }

  100% {
    transform: translateY(0);
  }
}

@media (max-width: 1024px) {
  .header-inner {
    gap: 30px;
  }

  .top-menu {
    gap: 18px;
  }

  .top-menu a {
    font-size: 10px;
  }

  .hero-content {
    padding-left: 120px;
  }

  .promo-img {
    width: 400px;
    max-width: 55vw;
  }
}

@media (max-width: 768px) {
  .main-header {
    height: auto;
    padding: 12px 0;
  }

  .header-inner {
    flex-direction: column;
    gap: 12px;
  }

  .logo {
    width: 135px;
  }

  .top-menu {
    width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
    gap: 18px;
    padding: 0 15px 5px;
  }

  .top-menu a {
    min-width: 82px;
    font-size: 10px;
  }

  .black-bar {
    height: 44px;
  }

  .hero-section {
    min-height: calc(100vh - 145px);
  }

  .hero-content {
    min-height: calc(100vh - 145px);
    padding: 35px 15px 0;
    justify-content: center;
  }

  .promo-img {
    width: 92%;
    max-width: 420px;
  }
}

.promo-box {
  width: 520px;
  max-width: 46vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: floatPromo 3.5s ease-in-out infinite;
}

.promo-box .promo-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  margin-bottom: -18px;
  filter: drop-shadow(0 20px 38px rgba(0, 0, 0, 0.38));
  animation: none;
}

.promo-text {
  width: 92%;
  position: relative;
  z-index: 3;
  padding: 8px 0 0;
}

.promo-line {
  position: relative;
  min-height: 48px;
  margin-bottom: 8px;
  padding: 7px 18px 7px 42px;
  background: linear-gradient(
    to right,
    rgba(95, 20, 0, 0.35),
    rgba(155, 35, 0, 0.9),
    rgba(255, 90, 0, 0.65)
  );
  border-top: 1px solid rgba(255, 215, 90, 0.55);
  border-bottom: 1px solid rgba(80, 0, 0, 0.45);
  box-shadow:
    0 4px 10px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transform: skewX(-10deg);
}

.promo-line::before {
  content: "";
  position: absolute;
  left: -18px;
  top: 50%;
  width: 0;
  height: 0;
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  border-left: 28px solid #ffd65a;
  transform: translateY(-50%) skewX(10deg);
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.35));
}

.promo-line span,
.promo-line strong {
  transform: skewX(10deg);
}

.promo-line span {
  color: #fff7d6;
  font-size: 25px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  text-shadow:
    2px 2px 0 rgba(80, 0, 0, 0.85),
    0 3px 8px rgba(0, 0, 0, 0.55);
}

.promo-line strong {
  color: #ffeb5a;
  font-size: 42px;
  font-weight: 1000;
  line-height: 1;
  text-shadow:
    2px 2px 0 #7a0000,
    3px 3px 0 #310000,
    0 0 10px rgba(255, 255, 120, 0.85);
  white-space: nowrap;
}

.promo-cta {
  width: 100%;
  min-height: 58px;
  margin-top: 8px;
  padding: 12px 18px 12px 62px;
  position: relative;
  background: linear-gradient(to bottom, #fff15a, #ff9d00 40%, #d71900 100%);
  color: #fffbe8;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 30px;
  font-weight: 1000;
  letter-spacing: 0.6px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-shadow:
    2px 2px 0 #9b0000,
    0 3px 8px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 230, 90, 0.8);
  box-shadow:
    0 8px 18px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
  transform: skewX(-8deg);
}

.promo-cta::before {
  content: "★";
  position: absolute;
  left: -6px;
  top: 50%;
  width: 72px;
  height: 72px;
  transform: translateY(-50%) skewX(8deg);
  color: #ffe84f;
  font-size: 72px;
  line-height: 72px;
  text-shadow:
    2px 2px 0 #b95d00,
    0 4px 12px rgba(0, 0, 0, 0.42);
}

.promo-cta:hover {
  filter: brightness(1.12);
}

/* Ghi đè lại ảnh cũ để không bị animation lặp */
.promo-img {
  animation: none;
}

@media (max-width: 768px) {
  .promo-box {
    width: 94%;
    max-width: 430px;
  }

  .promo-line {
    min-height: 38px;
    padding: 6px 12px 6px 32px;
  }

  .promo-line span {
    font-size: 16px;
  }

  .promo-line strong {
    font-size: 28px;
  }

  .promo-cta {
    min-height: 48px;
    font-size: 20px;
    padding-left: 50px;
  }

  .promo-cta::before {
    width: 56px;
    height: 56px;
    font-size: 56px;
    line-height: 56px;
  }
}
