/* General styles for the page-game-bai scope */
.page-game-bai {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default for light backgrounds */
  background-color: #ffffff; /* Default for light sections */
}

/* Custom colors from requirements */
.page-game-bai__dark-bg {
  background-color: #08160F;
  color: #F2FFF6; /* Text Main */
}

.page-game-bai__dark-bg .page-game-bai__text-main {
  color: #F2FFF6;
}

.page-game-bai__dark-bg .page-game-bai__text-secondary {
  color: #A7D9B8;
}

.page-game-bai__light-bg {
  background-color: #ffffff; /* Using white for light background */
  color: #333333; /* Dark text for contrast */
}

.page-game-bai__card {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #F2FFF6; /* Text Main for cards */
}

.page-game-bai__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Buttons */
.page-game-bai__btn-primary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 50px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
  color: #ffffff;
  font-size: 17px;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

.page-game-bai__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
}

.page-game-bai__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 50px;
  background: transparent;
  color: #F2FFF6; /* Text Main */
  border: 2px solid #2AD16F; /* Main color */
  font-size: 17px;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

.page-game-bai__btn-secondary:hover {
  background: #2AD16F;
  color: #ffffff;
  transform: translateY(-2px);
}

.page-game-bai__btn-small {
  padding: 8px 18px;
  font-size: 15px;
}

.page-game-bai__btn-large {
  padding: 16px 32px;
  font-size: 18px;
}

/* Sections */
.page-game-bai__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: #11A84E; /* Main color for titles on light background */
}

.page-game-bai__dark-bg .page-game-bai__section-title {
  color: #F2FFF6; /* Text Main for titles on dark background */
}