body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  background-color: #FAF1E8;
}

/* 1. top: logo and app name */
header {
  display: flex;
  /* flexible layout */
  align-items: center;
  padding: 20px 40px;
  /* padding vertical: 20px, horizontal: 40px */
  background-color: #FAF1E8;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 10px;
  /* Tạo khoảng cách tự động giữa các phần tử con */
}

.app-icon {
  height: 48px;
  margin-right: 12px;
}

.app-name {
  font-size: 28px;
  font-weight: 700;
  color: #6d2c1f;
  line-height: 1;
}

/* 2. highlight: slogan and all characters */
.highlight {
  background-color: #FAD2BA;
  text-align: center;
  padding: 40px 20px;
  /* top - right - bottom - left */
}

.highlight h1 {
  color: #F0627E;
  font-size: 36px;
  margin: 0 0 10px;
}

.highlight p {
  color: #6d2c1f;
  font-size: 16px;
  margin: 0 0 40px;
}

.highlight img {
  max-width: 600px;
  width: 100%;
}

/* 3. store buttons: app store and google play */
.store-buttons {
  background-color: #FAF1E8;
  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 {
  max-width: 1024px;
  /* Độ dài tối đa bao gồm text bên trái và icon bên phải */
  margin: 0 auto;
  display: flex;
  /* Bắt buộc để hai cột nằm ngang */
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}

/* 4. game interface: left: text, right: icon */
.interface {
  background-color: #FAF1E8;
  padding: 30px 20px;
}

.interface-left {
  flex: 2;
}

.interface-left h2 {
  font-size: 28px;
  color: #6d2c1f;
  margin-bottom: 16px;
}

.interface-description {
  font-size: 18px;
  color: #333;
  line-height: 2;
  max-width: 800px;
  word-break: break-word;
}

.interface-right {
  flex: 1;
  text-align: center;
}

.interface-right img {
  width: 500px;
  height: auto;
  max-width: 100%;
}

/* 5. game play: left: icon, right: text */
.play {
  background-color: #fff6f0;
  padding: 30px 20px;
}

.play-left {
  flex: 1;
  text-align: center;
}

.play-left img {
  width: 500px;
  height: auto;
  max-width: 100%;
}

.play-right {
  flex: 2;
}

.play-right h2 {
  font-size: 28px;
  color: #6d2c1f;
  margin-bottom: 16px;
}

.play-description {
  font-size: 18px;
  color: #333;
  line-height: 2;
  /* ✅ Tăng khoảng cách dòng */
  max-width: 800px;
  word-break: break-word;
}

/* 6. game level: left: text, right: icon */
.level {
  background-color: #FAF1E8;
  padding: 30px 20px;
}

.level-left {
  flex: 2;
}

.level-left h2 {
  font-size: 26px;
  color: #6d2c1f;
  margin-bottom: 16px;
}

.level-description {
  font-size: 18px;
  color: #333;
  line-height: 2;
  max-width: 800px;
  word-break: break-word;
}

.level-right {
  flex: 1;
  display: flex;
  justify-content: center;
}

.level-right img {
  width: 200px;
  height: auto;
  max-width: 100%;
}

/* 7. more games: tung-kinh, spin-random */
.more-games {
  background-color: #FAD2BA;
  /* Màu xanh nhạt */
  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 {
  color: #F2AA83;
  text-decoration: none;
}

.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 {
    order: -1;
    /* Cho icon hiển thị trên nếu cần */
    margin-bottom: 20px;
  }

  .interface-left,
  .play-right,
  .level-left {
    order: 0;
  }
}