/* Base styles for page-game-bai */
.page-game-bai {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text for default white body background */
  background-color: #f8f9fa; /* Light background for main content area if needed, otherwise transparent */
}

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

.page-game-bai__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.2;
}

.page-game-bai__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-game-bai__highlight {
  color: #26A9E0;
  font-weight: bold;
}

.page-game-bai__text-link {
  color: #26A9E0;
  text-decoration: underline;
}

/* Hero Section */
.page-game-bai__hero-section {
  padding-top: 10px; /* Small top padding, relying on body padding-top from shared.css */
  background-color: #26A9E0; /* Brand color background for hero section */
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 50px;
}

.page-game-bai__hero-image {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  margin-bottom: 30px;
}

.page-game-bai__hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

.page-game-bai__hero-content {
  max-width: 900px;
  padding: 0 15px;
}

.page-game-bai__hero-title {
  font-size: 3.2em;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFFFF;
}

.page-game-bai__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  line-height: 1.5;
  color: #FFFFFF;
}

.page-game-bai__hero-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.page-game-bai__btn-primary,
.page-game-bai__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-game-bai__btn-primary {
  background-color: #EA7C07; /* Login color */
  color: #FFFFFF;
  border: 2px solid #EA7C07;
}

.page-game-bai__btn-primary:hover {
  background-color: #d16b06;
  border-color: #d16b06;
}

.page-game-bai__btn-secondary {
  background-color: #FFFFFF;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-game-bai__btn-secondary:hover {
  background-color: #e0f2f7;
  color: #208cb9;
  border-color: #208cb9;
}

.page-game-bai__cta-buttons--center {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

/* Section Backgrounds */
.page-game-bai__light-bg {
  background-color: #FFFFFF;
  color: #333333;
}

.page-game-bai__dark-bg {
  background-color: #26A9E0;
  color: #FFFFFF;
}

.page-game-bai__dark-bg .page-game-bai__section-title,
.page-game-bai__dark-bg .page-game-bai__highlight {
  color: #FFFFFF;
}

.page-game-bai__dark-bg .page-game-bai__text-link {
  color: #FFFFFF;
}

/* Game Types Section */
.page-game-bai__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-game-bai__game-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  color: #333333;
}

.page-game-bai__game-card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
}

.page-game-bai__game-card-title {
  font-size: 1.6em;
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-game-bai__game-card-description {
  font-size: 1em;
  padding: 0 15px;
  text-align: justify;
}

/* Benefits Section */
.page-game-bai__benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-game-bai__benefit-item {
  background-color: #f0f8ff; /* Lighter blue background */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-game-bai__benefit-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-game-bai__benefit-title {
  font-size: 1.4em;
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-game-bai__benefit-description {
  font-size: 1em;
  line-height: 1.6;
  color: #333333;
  text-align: justify;
}

/* Guide Section */
.page-game-bai__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-game-bai__guide-step {
  background-color: #FFFFFF;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
  color: #333333;
}

.page-game-bai__guide-step-title {
  font-size: 1.5em;
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-game-bai__guide-step-description {
  font-size: 1em;
  line-height: 1.6;
  text-align: justify;
}

/* Tips Section */
.page-game-bai__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-game-bai__tips-item {
  background-color: #f0f8ff;
  border-left: 5px solid #26A9E0;
  margin-bottom: 20px;
  padding: 20px 25px;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-game-bai__tips-item-title {
  font-size: 1.3em;
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-game-bai__tips-item-description {
  font-size: 1em;
  line-height: 1.6;
  color: #333333;
  text-align: justify;
}

/* Conclusion Section - text blocks are similar to introduction */
.page-game-bai__conclusion-section .page-game-bai__text-block {
  color: #FFFFFF;
}

.page-game-bai__conclusion-section .page-game-bai__highlight {
  color: #FFFFFF;
}

.page-game-bai__conclusion-section .page-game-bai__text-link {
  color: #FFFFFF;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-game-bai {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-game-bai__container {
    padding: 15px;
  }

  /* HERO 主图区域 */
  .page-game-bai__hero-section {
    padding-top: 10px; /* Small top padding */
    padding-bottom: 30px;
  }

  .page-game-bai__hero-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }

  .page-game-bai__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-game-bai__hero-cta-buttons {
    flex-direction: column; /* Buttons stack vertically */
    gap: 15px;
  }
}