*,
*:before,
*:after {
  box-sizing: border-box;
}
* {
  margin: 0;
  padding: 0;
  font: inherit;
}
img,
picture,
svg,
video {
  display: block;
  max-width: 100%;
}
input,
select,
textarea {
  background-color: transparent;
  outline: none;
}
button {
  cursor: pointer;
  background-color: transparent;
  outline: none;
  border: 0;
}
body {
  min-height: 100vh;
  font-weight: 400;
  font-size: 16px;
  line-height: 1;
}

a {
  text-decoration: none;
}

li {
  list-style-type: none;
}

body {
  font-family: "Inter", sans-serif;
  background: #000;
}
.container {
  padding: 0 20px;
  width: 100%;
  max-width: 1540px;
  margin-left: auto;
  margin-right: auto;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #000;
  color: #fff;
  position: relative;
}

nav {
  display: flex;
  gap: 30px;
  justify-content: center;
  align-items: center;
  flex: 1;
  position: relative;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 50px;
  align-items: center;
}

nav ul li {
  position: relative;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  padding: 25px 0;
  @media screen and (max-width: 768px) {
    padding: 8px 0;
  }
}
nav a:hover {
  color: #f9ff00;
  border-bottom: #f9ff00 2px solid;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 40px;
  left: 0;
  background-color: white;
  min-width: 300px;
  z-index: 999;
  border-radius: 4px;
  overflow: hidden;
  @media screen and (max-width: 768px) {
    min-width: 200px;
  }
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* nền mờ đen */
  z-index: 1000;
  display: none;
}

.overlay.active {
  display: block;
}

.dropdown-content a {
  display: block;
  padding: 16px 24px;
  color: #000;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  border-bottom: 1px solid #eee;
}

.dropdown-content a:hover {
  background-color: #f0f0f0;
}

nav ul li:hover .dropdown-content {
  display: block;
}

.buttons {
  width: 30%;
  gap: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  @media screen and (max-width: 768px) {
    width: 100%;
  }
}

.buttons .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  width: fit-content;
  border: none;
  border-radius: 20px;
  font-weight: 700;
  color: white;
  cursor: pointer;
}

.btn-register {
  background-color: #d0021b;
}

.btn-login {
  padding: 12px 16px;
  background-color: #f9ff00;
}

.menu-toggle {
  display: none;
  font-size: 26px;
  cursor: pointer;
  background: none;
  border: none;
  color: white;
}
.logo {
  margin-top: 10px;
  max-width: 320px;
  height: 81px;
  display: flex;
  justify-content: center;
  align-items: center;
  @media screen and (max-width: 768px) {
    max-width: 180px;
    height: 60px;
  }
}
nav a:hover {
  border-bottom: #f9ff00 2px solid;
}

.dropdown-content a {
  font-size: 16px;
}

.dropdown-content a:hover {
  color: #000;
  border-bottom: #f9ff00 2px solid;
}

/* Responsive Styles */
@media (max-width: 768px) {
  nav {
    display: flex;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    align-items: flex-start;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: -1000px;
    bottom: 0;
    height: 100%;
    width: 80%;
    background-color: #000;
    padding: 20px 0;
    z-index: 1000;
  }

  nav.active {
    opacity: 1;
    visibility: visible;
    left: 0;
  }

  nav ul {
    padding-left: 10px;
    height: 100%;
    align-items: flex-start;

    flex-direction: column;
    gap: 10px;
  }

  .dropdown-content {
    position: relative;
    top: 0;
    background: #111;
    color: white;
    border-radius: 0;
    box-shadow: none;
  }

  .dropdown-content a {
    color: white;
    border: none;
  }

  .menu-toggle {
    display: block;
  }

  nav ul li:hover .dropdown-content {
    display: none;
  }

  nav ul li.active .dropdown-content {
    display: block;
  }
}
.box-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.main-header {
  display: flex;
  align-items: center;
  gap: 20px;
}

.container-content {
  width: 100%;
  padding-inline: 20px;
  max-width: 1230px;
  margin-left: auto;
  margin-right: auto;
}
.hero-img {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

.hero-img img {
}
.hero-title {
  color: #f9ff00;
  text-align: center;
  font-size: 36px;
  line-height: 40px;
  font-weight: 700;
  margin-top: 40px;
}
.hero-content {
  color: white;
  font-size: 18px;
  line-height: 28px;
}

.text {
  color: #f9ff00;
  font-size: 24px;
  line-height: 40px;
  font-weight: 700;
}

.banner {
  width: 100%;
}

.banner > .img {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
}

.about {
  background: #000;
  color: #fff;
  font-family: "Inter", sans-serif;
  line-height: 1.6;
}

.about__container {
  max-width: 960px;
  margin: 0 auto;
}

.about__section + .about__section {
  margin-top: 40px;
}

.about__title {
  font-size: 24px;
  color: #f9ff00;
  font-weight: 700;
  margin-bottom: 15px;
}

.about__subtitle {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-top: 20px;
  margin-bottom: 8px;
}

.about__text {
  font-size: 18px;
  color: #ddd;
  margin-bottom: 10px;
}

.about__list {
  list-style: disc inside;
  margin-top: 8px;
  padding-left: 15px;
}

.about__item {
  font-size: 18px;
  color: #ddd;
  margin-bottom: 6px;
  list-style: disc;
}

.wrapper-header {
  display: flex;
  flex-direction: row;
  @media screen and (max-width: 768px) {
    flex-direction: column;
    gap: 20px;
  }
}
.btn-center {
  margin-left: auto;
  margin-right: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

.left > ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.left > ul > li {
  font-size: 18px;
  margin-left: 20px;
  list-style: disc;
}

.footer {
  background: #a60000;
  color: white;
  font-family: Arial, sans-serif;
  padding: 30px 15px 20px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

.footer-section {
  flex: 1;
  min-width: 220px;
}

.logo {
  font-size: 36px;
  margin-bottom: 10px;
}

.orange {
  color: orange;
  font-weight: bold;
}

.white {
  color: white;
  font-weight: bold;
}

.footer-section h2 {
  font-size: 18px;
  margin-bottom: 12px;
}

.footer-section ul {
  list-style: none;
  padding-left: 0;
}

.footer-section li {
  margin-bottom: 8px;
  font-size: 15px;
}

.responsible {
  display: flex;
  align-items: center;
  margin-top: 20px;
  gap: 10px;
  font-weight: bold;
}

.age-icon {
  background: white;
  color: red;
  font-weight: bold;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 14px;
}

.payment-icons img {
  width: 100px;
  margin: 5px 8px 5px 0;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  font-size: 14px;
  border-top: 1px solid #ffcccc;
  margin-top: 20px;
}

/* === Responsive Design === */
@media screen and (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    gap: 20px;
  }

  .footer-section {
    min-width: 100%;
  }

  .logo {
    font-size: 28px;
  }

  .footer-section ul li {
    font-size: 14px;
  }

  .payment-icons {
    display: flex;
    flex-wrap: wrap;
  }

  .payment-icons img {
    width: 150px;
  }

  .footer-section.info p {
    font-size: 14px;
  }
}

li,
a {
  list-style: none;
  font-size: 16px;
  line-height: 24px;
  @media screen and (max-width: 768px) {
    font-size: 14px;
  }
}

.hero-swiper {
  position: relative;
  width: 100%;
  height: auto;
}

.swiper-slide {
  text-align: center;
  padding: 20px;
}

.hero-img img {
  width: 100%;
  border-radius: 12px;
}

/* Hiệu ứng ánh sáng nhấp nháy */
@keyframes glow {
  0% {
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.4);
  }
  50% {
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.9);
  }
  100% {
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.4);
  }
}

/* Style chung cho cả hai nút */
.btn {
  font-weight: bold;
  padding: 12px 24px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  animation: glow 1.5s infinite;
  transition: transform 0.2s ease-in-out;
}

/* Nút ĐĂNG KÝ */
.btn-register {
  background-color: #c4002f;
  color: white;
}

/* Nút ĐĂNG NHẬP */
.btn-login {
  background-color: #ffa500;
  color: black;
}

/* Hover hiệu ứng nổi bật */
.btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.8);
}
