/* Base styles for the page */
.page-game-bai-phom {
  font-family: Arial, sans-serif;
  color: var(--text-main-color, #FFF6D6); /* Default text color from custom palette */
  background-color: var(--background-color, #0A0A0A); /* Default background from custom palette */
  line-height: 1.6;
  padding-bottom: 40px; /* Ensure space above footer */
}

.page-game-bai-phom__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-game-bai-phom__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, body handles header offset */
  margin-bottom: 40px;
  overflow: hidden; /* Ensure image doesn't overflow */
}

.page-game-bai-phom__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 200px; /* Minimum size */
}

.page-game-bai-phom__hero-content {
  text-align: center;
  padding: 40px 20px;
  background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for readability */
  max-width: 900px;
  margin: -100px auto 0 auto; /* Pull up slightly over the image for visual flow */
  border-radius: 10px;
  z-index: 1;
  position: relative;
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

.page-game-bai-phom__hero-title {
  font-size: clamp(2.2em, 4vw, 3.5em);
  color: var(--main-color, #F2C14E); /* Brand main color for title */
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
}

.page-game-bai-phom__hero-description {
  font-size: clamp(1em, 1.5vw, 1.2em);
  color: var(--text-main-color, #FFF6D6);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-game-bai-phom__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-game-bai-phom__btn-primary,
.page-game-bai-phom__btn-secondary {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-game-bai-phom__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Custom button color */
  color: #111111; /* Dark text for bright button */
  border: none;
  box-shadow: 0 4px 10px rgba(255, 216, 106, 0.3);
}

.page-game-bai-phom__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(255, 216, 106, 0.4);
}

.page-game-bai-phom__btn-secondary {
  background: transparent;
  color: var(--main-color, #F2C14E);
  border: 2px solid var(--main-color, #F2C14E);
}

.page-game-bai-phom__btn-secondary:hover {
  background: var(--main-color, #F2C14E);
  color: #111111;
  transform: translateY(-2px);
}

.page-game-bai-phom__section-title {
  font-size: clamp(1.8em, 3vw, 2.8em);
  color: var(--main-color, #F2C14E);
  text-align: center;
  margin-bottom: 40px;
  margin-top: 60px;
  font-weight: bold;
  position: relative;
}

.page-game-bai-phom__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--glow-color, #FFD36B);
  margin: 15px auto 0 auto;
  border-radius: 2px;
}

.page-game-bai-phom__introduction-section,
.page-game-bai-phom__gameplay-guide-section,
.page-game-bai-phom__strategies-section,
.page-game-bai-phom__promotions-section,
.page-game-bai-phom__mobile-section,
.page-game-bai-phom__faq-section,
.page-game-bai-phom__cta-final-section {
  padding: 40px 0;
  margin-bottom: 20px;
  background-color: var(--card-bg-color, #111111); /* Card BG color */
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.page-game-bai-phom__content-wrapper {
  color: var(--text-main-color, #FFF6D6);
  font-size: 1.1em;
}

.page-game-bai-phom__content-wrapper p {
  margin-bottom: 20px;
}

.page-game-bai-phom__columns {
  display: flex;
  gap: 30px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.page-game-bai-phom__column {
  flex: 1;
  min-width: 300px;
  background-color: var(--background-color, #0A0A0A);
  padding: 25px;
  border-radius: 8px;
  border: 1px solid var(--border-color, #3A2A12);
}

.page-game-bai-phom__column-title,
.page-game-bai-phom__sub-title {
  font-size: 1.5em;
  color: var(--aux-color, #FFD36B);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-game-bai-phom__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin-bottom: 30px;
  object-fit: cover;
  min-height: 200px; /* Minimum size */
}

.page-game-bai-phom__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: var(--text-main-color, #FFF6D6);
}

.page-game-bai-phom__list li {
  margin-bottom: 10px;
}

.page-game-bai-phom__card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
  margin-bottom: 40px;
}

.page-game-bai-phom__card {
  background-color: var(--background-color, #0A0A0A);
  border: 1px solid var(--border-color, #3A2A12);
  border-radius: 8px;
  overflow: hidden;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}