:root {
  --primary-color: #006719;
  --secondary-color: #fed304;
  --text-color: #000000;
  --gray-color: #696969;
  --white-color: #ffffff;
}

body {
  font-family: "Roboto", sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

/* Header Styles */
.main-header {
  background-color: var(--primary-color);
  /* padding: 0 16px; */
  width: 100%;
}

.top-bar-container {
  /* background-color: var(--primary-color); */
  padding: 0 16px;
  width: 100%;
}

/**
 * Mobile Menu
 */
.mobile-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 80%;
  max-width: 300px;
  height: 100vh;
  background-color: #fff;
  box-shadow: 4px 0 10px rgba(0, 0, 0, 0.3);
  transition: left 0.3s ease-in-out;
  z-index: 1000;
  display: flex;
  flex-direction: column;
}

.mobile-menu.active {
  left: 0;
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  background-color: #f5f5f5;
  border-bottom: 1px solid #ddd;
}

.mobile-menu-title {
  font-size: 20px;
  font-weight: bold;
  font-family: Roboto, sans-serif;
}

.mobile-menu-close {
  font-size: 24px;
  cursor: pointer;
}

.mobile-menu-list {
  list-style: none;
  padding: 10px;
  margin: 0;
  flex-grow: 1;
  overflow-y: auto;
}

.mobile-menu-list li {
  font-weight: 600;
  margin-bottom: 10px;
  border-radius: 10px;
  background: linear-gradient(135deg, #39ad55, #006719);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}

.mobile-menu-list li:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.mobile-menu-list a {
  display: block;
  padding: 10px;
  font-size: 16px;
  color: #222;
  text-decoration: none;
  font-weight: 500;
  position: relative;
}

.mobile-menu-list a::after {
  content: "›";
  position: absolute;
  right: 18px;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  transition: right 0.2s;
}

.mobile-menu-list a:hover::after {
  right: 14px;
  color: #007bff;
}

.main-nav-container {
  /* background-color: var(--primary-color); */
  background-color: #c9fdba;
  padding: 0 16px;
  width: 100%;
}

.main-nav {
  padding: 12px 24px;
}

.top-bar {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  max-width: 1440px;
  margin: 0 auto;
  align-items: center;
  /* padding: 15px 240px; */
  /* background-color: var(--primary-color); */
}

.top-menu {
  display: none;
}

.banner-container {
  position: relative;
  width: 100%;
  height: auto;
}

.banner-pc {
  display: block;
  width: 100%;
}

.banner-mb {
  display: none;
}

.logo-container .main-logo {
  height: 76px;
  width: auto;
  padding: 8px 0;
}

.download-android {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(to bottom, #f8e64f, #cfea29);
  padding: 8px 15px;
  border-radius: 5px;
  cursor: pointer;
}

.download-android span {
  color: var(--primary-color);
  font-family: "SF Pro Display", sans-serif;
  font-weight: 700;
  font-size: 17px;
}

.android-icon {
  width: 60px;
  height: 60px;
}

/* Navigation */
.main-nav {
  max-width: 1440px;
  margin: 0 auto;
  padding: 8px 16px;
}

.main-nav ul {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  display: flex;
  position: relative;
  z-index: 10;
  min-width: 88px;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--primary-color);
}

.nav-icon {
  margin-bottom: 12px;
  position: relative;
}

.nav-item span {
  font-weight: 700;
  font-size: 16px;
  text-align: center;
  text-transform: uppercase;
}

.nav-item.active .nav-icon {
  background: linear-gradient(to bottom, #f8e64f, #cfea29);
}

/* Main Content */
.main-content {
  padding: 16px;
}

.intro-section {
  /* padding: 60px 240px; */
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  /* flex-wrap: wrap; */
  align-items: stretch;
  justify-content: first baseline;
  flex-direction: row;
  gap: 32px;
}

.intro-container {
  flex: 1 1 55%;
  min-width: 300px;
}

.download-container {
  flex: 1 1 40%;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  align-content: center;
  align-items: center;
}

.download-button {
  display: flex;
  flex-direction: row;
  align-items: center;
  align-content: center;
  gap: 10px;
}

.intro-section h1 {
  font-family: "SF Pro Display", sans-serif;
  font-weight: 700;
  font-size: 25px;
  color: var(--text-color);
  margin-bottom: 24px;
}

.features-list {
  padding-left: 20px;
  margin: 20px 0;
}

.description,
.features-list li,
.slogan {
  font-family: "SF Pro Display", sans-serif;
  font-weight: 500;
  font-size: 20px;
  color: var(--text-color);
}

.go-live-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.btn-go-live {
  cursor: pointer;
  transition: box-shadow 0.2s ease, background 0.2s ease;
  /* transition: background-color 0.3s ease, transform 0.2s ease; */
}

/* Promotions Section */
.promotions-section {
  /* padding: 40px 240px; */
  max-width: 1440px;
  margin: 0 auto;
}

.promotions-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 16px;
  margin-bottom: 32px;
}

.ndkm {
  display: block;
  width: 100%;
  max-width: 260px;
}

.ndkm {
  display: block;
  width: 100%;
  max-width: 1200px;
}

.ndkm-mb {
  display: none;
}

.decoration-line:last-child {
  background: linear-gradient(to left, transparent, var(--primary-color));
}

.promotions-title {
  text-align: center;
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: var(--primary-color);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
}

.promotions-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  align-content: center;
  gap: 20px;
  justify-content: center;
}

.promotions-grid a {
  text-decoration: none;
}

.promotion-card {
  width: 100%;
  max-width: 345px;
  padding: 10px;
  border: 1px solid var(--primary-color);
  border-radius: 5px;
  background: var(--white-color);
}

.promotion-link img {
  width: 100%;
  max-width: 345px;
  /* aspect-ratio: 16/9; */
  object-fit: cover;
  margin-bottom: 8px;
}

.promotion-card h3 {
  font-weight: 700;
  font-size: 15px;
  color: var(--primary-color);
  text-transform: uppercase;
  margin-bottom: 9px;
}

.promotion-card .date {
  font-size: 15px;
  color: var(--gray-color);
  text-transform: uppercase;
}

/* Footer */
/* .site-footer {
  background-color: var(--primary-color);
  padding: 40px 0;
} */

.footer-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-container h3 {
  color: var(--secondary-color);
  font-size: 20px;
  margin-bottom: 20px;
}

.header-actions {
  display: block;
  /* gap: 16px;
  padding: 8px 0; */
}

/* .btn {
  font-family: inherit;
  font-weight: 700;
  font-size: 1rem;
  padding: 8px 32px;
  border-radius: 20px;
  border: none;
  cursor: pointer;
  transition: box-shadow 0.2s ease, background 0.2s ease;
}

.btn.login {
  background: #fffcdf;
  color: #006719;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.15);
  border: 1.5px solid #f8e64f;
}

.btn.register {
  background: linear-gradient(90deg, #f8e64f 0%, #cfea29 100%);
  color: #006719;
  border: none;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.15);
} */

.btn:hover {
  filter: brightness(0.95);
}

.download-img {
  width: auto;
  height: 52px;
  max-width: 100%;
}

.live-image {
  width: 100%;
  height: auto;
  max-width: 100%;
}

@media (max-width: 1200px) {
  .download-img {
    width: 180px;
    height: auto;
    max-width: 100%;
  }
  .live-image {
    width: 100%;
    height: auto;
    max-width: 100%;
  }
}

@media (max-width: 900px) {
  .main-nav {
    width: 100%;
  }
  .main-nav ul {
    gap: 12px;
  }
}

@media (max-width: 768px) {
  .top-bar {
    gap: 8px;
  }

  .btn-xemlive {
    display: block;
    width: 120px;
    height: auto;
    cursor: pointer;
  }

  .download-img {
    width: 136px;
    height: auto;
    max-width: 100%;
  }

  .logo-container .main-logo {
    height: 56px;
    width: auto;
    padding: 4px 0;
  }

  .top-menu {
    display: block;
    height: 32px;
    width: auto;
    /* padding: 8px 0; */
  }

  .header-actions {
    display: block;
    /* flex-direction: column; */
    gap: 8px;
  }

  .btn {
    /* font-family: inherit;
    font-weight: 700;
    font-size: 0.8rem; */
    /* padding: 6px 24px; */
    /* border-radius: 16px; */
    border: none;
    cursor: pointer;
    transition: box-shadow 0.2s ease, background 0.2s ease;
  }

  .main-nav-container {
    display: none;
  }

  .banner-pc {
    display: none;
  }

  .banner-mb {
    display: block;
    width: 100%;
  }

  .intro-section {
    gap: 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .intro-section h1 {
    font-family: "SF Pro Display", sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: var(--text-color);
    margin-bottom: 16px;
  }

  .intro-container p {
    font-size: 16px;
  }

  .intro-container ul li {
    font-size: 16px;
  }

  .promotions-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
  }

  .ndkm-mb {
    display: block;
    width: 100%;
    max-width: 600px;
  }

  .ndkm {
    display: none;
  }

  .promotions-title {
    text-align: center;
    font-family: "Roboto", sans-serif;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 0;
  }

  .decoration-line {
    display: block;
    max-width: 100px;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--primary-color));
  }

  .decoration-line:last-child {
    background: linear-gradient(to left, transparent, var(--primary-color));
  }

  .promotion-card {
    width: 100%;
    max-width: 600px;
    padding: 10px;
    border: 1px solid var(--primary-color);
    border-radius: 5px;
    background: var(--white-color);
  }

  .promotion-link img {
    width: 100%;
    max-width: 600px;
    /* aspect-ratio: 16/9; */
    object-fit: cover;
    margin-bottom: 8px;
  }
}

/* Footer */
@media screen and (min-width: 768px) {
  .footer-mobile {
    display: none;
  }

  .download-button-mb {
    display: none;
  }
}

.footer-pc {
  background: url(images/footer_images/footer-bg.png) no-repeat center center;
  background-size: cover;
  background-repeat: no-repeat;
  width: 100%;
  height: auto;
}

.footer-main {
  padding-top: 30px;
  padding-bottom: 12px;
}

.main-wrap {
  margin: auto;
  position: relative;
  max-width: 1440px;
  width: 100%;
}

.footer-intro-endorse {
  align-items: flex-start;
  cursor: pointer;
  display: flex;
  gap: 92px;
  justify-content: space-between;
  margin-bottom: 27px;
}

.footer-intro-endorse > * {
  flex: 1;
}

.footer-endorse {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
}

.footer-endorse-head {
  color: #006719;
  font-size: 26px;
  font-weight: 700;
  text-transform: capitalize;
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.footer-endorse-head-left {
  text-align: left;
  flex: 1;
  margin-left: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.footer-endorse-head-right {
  text-align: right;
  margin-right: 12px;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* --- CONTAINER --- */
.ambassador-strip {
  max-width: 1440px;
  width: 100%;
  margin: auto;
  display: flex;
  /* flex-wrap: wrap; */
  justify-content: space-between;
  align-items: stretch;
}

/* --- CARD --- */
.ambassador-card {
  max-width: 260px; /* cố định để đồng đều */
  text-align: center;
}

.ambassador-photo {
  width: 100%;
  height: 200px;
  object-fit: contain;
  object-position: bottom;
  pointer-events: none;
}

/* thanh logo + gạch */
.logo-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 6px;
}

.logo-bar img {
  height: 28px; /* logo nhỏ */
  object-fit: contain;
}

.divider {
  width: 1px;
  height: 22px;
  background: #006719;
  margin: 0 8px;
}

/* chữ mô tả */
.caption {
  margin-top: 8px;
  color: #035e2d;
  font-family: "Roboto";
  font-weight: 400;
  font-style: "Regular";
  font-size: 20px;
  line-height: 100%;
  letter-spacing: 0%;
}

@media (max-width: 900px) {
  .ambassador-strip {
    width: 100%;
    justify-content: space-evenly;
    align-items: stretch; /* Stretch cards to same height */
    gap: 24px; /* Smaller gap between cards */
    flex-wrap: wrap;
  }

  .ambassador-card {
    width: 120px;
    margin: 0;
  }

  .ambassador-photo {
    height: 140px;
  }
}

/* responsive: thu nhỏ gap khi màn hình < 600px */
@media (max-width: 600px) {
  .ambassador-strip {
    justify-content: center;
    align-items: stretch; /* Stretch cards to same height */
    gap: 12px; /* Smaller gap between cards */
    flex-wrap: wrap;
  }

  .ambassador-card {
    width: 160px;
    margin: 0;
  }

  .ambassador-photo {
    height: 180px;
  }
}

.footer-endorse-item {
  align-items: center;
  display: flex;
  font-size: 18px;
  gap: 10px;
  justify-content: center;
  color: #006719;
}

.footer-endorse-item img {
  height: 75px;
}

.footer-endorse-hr {
  background: #006719;
  display: block;
  font-size: 0;
  height: 70px;
  width: 1px;
}

.footer-logos-icons {
  align-items: flex-start;
  display: flex;
  gap: 92px;
  justify-content: space-between;
  margin-bottom: 27px;
}

.footer-logos-icons > * {
  flex: 1;
}

.footer-logos {
  display: block;
  width: auto;
}

.footer-icons {
  display: flex;
  justify-content: space-between;
}

.icon-item img {
  display: block;
  height: 42px;
  width: auto;
}

.icon-sns {
  cursor: pointer;
}

.icon-sns:hover {
  opacity: 0.5;
}

.footer-linkslist {
  display: flex;
  justify-content: space-between;
  margin-bottom: 11px;
}

.footer-linkslist a {
  color: #006719;
  font-size: 17px;
  line-height: 23px;
  text-decoration: none;
}

.footer-linkslist a:hover {
  opacity: 0.5;
}

.hr {
  background: #006719;
  /*height: 23px;*/
  width: 1px;
}

.footer-copy {
  font-size: 15px;
  text-align: center;
  color: #006719;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 460px) {
  .partner-info {
    font-size: 16px;
  }

  .news-thumb {
    flex-basis: 100px;
  }

  .divider-vert {
    width: 1px;
    height: 36px;
    background: #4d795d;
  }
}

@media screen and (max-width: 768px) {
  .footer-pc {
    display: none;
  }

  .download-button {
    display: none;
  }

  .download-button-mb {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    cursor: pointer;
  }
}

.footer-mobile {
  background: url(images/footer_images/bg-qq88-mobile.png);
  background-position: center;
  background-size: contain;
  background-repeat: repeat;
  width: 100%;
  height: 100%;
}

.footer-endorser {
  align-items: center;
  color: #006719;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 10px;
}

.footer-endorser h5 {
  font-size: 4vw;
  font-weight: 700;
  margin-bottom: 2vw;
  text-transform: capitalize;
  width: 100%;
}

.endorser-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.endorser-tilte {
  color: #006719;
}

.endorser-img {
  align-items: center;
  display: flex;
  gap: 3vw;
  justify-content: flex-start;
}

.endorser-img img {
  display: block;
  height: 11vw;
}

.hr {
  background: #006719;
  /*height: 13vw;*/
  margin: 5px 0;
  width: 1px;
}

.footer-logos {
  padding-bottom: 5px;
}

.footer-logos > * {
  padding: 10px;
}

.footer-col-2 {
  display: flex;
}

.footer-col-2 > * {
  flex: 1;
}

.footer-title {
  color: #006719;
  font-size: 4vw;
  font-weight: 400;
  margin-bottom: 10px;
  text-transform: capitalize;
}

.footer-giayphep img {
  display: block;
}

.footer-giayphep img:first-of-type {
  margin-bottom: 12px;
}

.footer-baove img {
  display: block;
  height: 4.65vw;
}

.footer-baove img:first-of-type {
  margin-bottom: 12px;
}

.sns-list {
  display: flex;
  gap: 20px;
}

.sns-list img {
  display: block;
}

.choi-list {
  display: flex;
  gap: 20px;
}

.choi-list img {
  display: block;
}
