body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  /* set all background color */
  background-color: #5E6F80;
  color: #ffffff !important;
}

/* 1. top: logo and app name */
header {
  display: flex;
  /* flexible layout */
  align-items: center;
  /* padding vertical: 20px, horizontal: 40px */
  padding: 20px 40px;
  /* background-color: #424242; */
}

h1,
h2,
p,
span,
strong,
a {
  color: #FFFFFF !important;
}

.header-left {
  display: flex;
  align-items: center;
  /* Tạo khoảng cách tự động giữa các phần tử con */
  gap: 10px;
}

.app-icon {
  height: 48px;
  margin-right: 12px;
}

.app-name {
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
}

/* 2. highlight: slogan and all characters */
.highlight {
  background-color: #A3B9CC;
  text-align: center;
  padding: 30px 20px;
}

.highlight h1 {
  font-size: 36px;
  margin: 0 0 10px;
}

.highlight p {
  font-size: 16px;
  margin: 0 0 40px;
}

.highlight img {
  max-width: 600px;
  width: 100%;
}

/* 3. store buttons: app store and google play */
.store-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  padding: 30px 20px;
  flex-wrap: wrap;
}

.store-buttons img {
  height: 50px;
  transition: transform 0.2s;
}

.store-buttons img:hover {
  transform: scale(1.05);
}

/* Note. section-wrapper dùng chung cho interface-wrapper, play-wrapper, level-wrapper */
.section-wrapper {
  /* Độ dài tối đa bao gồm text bên trái và icon bên phải */
  max-width: 1024px;
  margin: 0 auto;
  /* Bắt buộc để hai cột nằm ngang */
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}

/* 4. game interface: left: text, right: icon */
.interface {
  padding: 30px 60px;
}

.interface-left {
  flex: 2;
}

.interface-left h2 {
  font-size: 28px;
  margin-bottom: 16px;
}

.interface-description {
  font-size: 18px;
  line-height: 2;
  max-width: 800px;
  word-break: break-word;
}

/* 7. more games: tung-kinh, spin-random */
.more-games {
  background-color: #A3B9CC;
  padding: 30px 20px;
  text-align: center;
}

.more-games h2 {
  font-size: 28px;
  margin-bottom: 30px;
  color: #F0627E;
}

.game-icons {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.game-icons img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 20px;
  transition: transform 0.2s ease;
}

.game-icons img:hover {
  transform: scale(1.05);
}

/* 8. footer: emal & copyright */
.footer {
  /* background-color: #2C2C2C; */
  color: #FFFFFF;
  font-family: 'Montserrat', sans-serif;
  padding: 20px 30px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  font-size: 14px;
}

.footer a:hover {
  text-decoration: underline;
}

.footer-email,
.footer-copy {
  margin: 5px 0;
}

/* 9. responsive */
@media (max-width: 768px) {
  .section-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .interface-left,
  .interface-right,
  .play-left,
  .play-right,
  .level-left,
  .level-right {
    width: 100%;
  }

  .interface-right,
  .play-left,
  .level-right {
    /* Cho icon hiển thị trên nếu cần */
    order: -1;
    margin-bottom: 20px;
  }

  .interface-left,
  .play-right,
  .level-left {
    order: 0;
  }
}