/* Base styles for .page-game-bai */
.page-game-bai {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #1F2D3D; /* Text Main */
  background-color: #F4F7FB; /* Background */
}

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

.page-game-bai__section-title {
  font-size: 2.5em;
  color: #1F2D3D; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  line-height: 1.2;
}

.page-game-bai__section-title--white {
  color: #ffffff;
}

.page-game-bai__text-block {
  font-size: 1em;
  margin-bottom: 20px;
  line-height: 1.6;
  color: #1F2D3D; /* Text Main */
}

.page-game-bai__text-block--white {
  color: #f8f9fa;
}

/* Buttons */
.page-game-bai__btn-primary,
.page-game-bai__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-game-bai__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button */
  color: #ffffff;
  border: none;
}

.page-game-bai__btn-primary:hover {
  opacity: 0.9;
  box-shadow: 0 4px 15px rgba(47, 107, 255, 0.4);
}

.page-game-bai__btn-secondary {
  background: #ffffff; /* Card BG */
  color: #2F6BFF; /* Main color */
  border: 1px solid #2F6BFF;
}

.page-game-bai__btn-secondary:hover {
  background: #2F6BFF;
  color: #ffffff;
  border-color: #2F6BFF;
}

.page-game-bai__btn-primary--small,
.page-game-bai__btn-secondary--small {
    padding: 8px 18px;
    font-size: 0.9em;
}

/* Hero Section */
.page-game-bai__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding */
  background-color: #F4F7FB; /* Background */
  overflow: hidden;
}

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

.page-game-bai__hero-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-game-bai__hero-content {
  padding: 40px 15px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.page-game-bai__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
  color: #1F2D3D; /* Text Main */
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.2;
}

.page-game-bai__description {
  font-size: 1.1em;
  color: #1F2D3D;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Introduction Section */
.page-game-bai__introduction-section {
  padding: 60px 0;
}

/* Popular Games Section */
.page-game-bai__popular-games {
  background-color: #2F6BFF; /* Main color */
  padding: 60px 0;
}

.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: #FFFFFF; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding-bottom: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-game-bai__game-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  margin-bottom: 20px;
}

.page-game-bai__game-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-game-bai__game-title {
  font-size: 1.5em;
  color: #000000; /* Custom Color_1776249996415 */
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-game-bai__game-description {
  font-size: 0.95em;
  color: #1F2D3D; /* Text Main */
  margin-bottom: 20px;
  flex-grow: 1;
  padding: 0 15px;
}

.page-game-bai__button-group {
    display: flex;
    gap: 15px;
    margin-top: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.page-game-bai__button-group--center {
    justify-content: center;
}

/* Benefits Section */
.page-game-bai__benefits-section {
  padding: 60px 0;
}

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

.page-game-bai__benefit-item {
  background: #FFFFFF; /* Card BG */
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
}

.page-game-bai__benefit-item img {
  width: 100%;
  
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-game-bai__benefit-title {
  font-size: 1.3em;
  color: #000000; /* Custom Color_1776249996415 */
  margin-bottom: 10px;
}

.page-game-bai__benefit-description {
  font-size: 0.9em;
  color: #1F2D3D; /* Text Main */
}

/* Guide Section */
.page-game-bai__guide-section {
  background-color: #2F6BFF; /* Main color */
  padding: 60px 0;
}

.page-game-bai__guide-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-game-bai__guide-list li {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.page-game-bai__guide-list li:last-child {
  margin-bottom: 0;
}

.page-game-bai__guide-step-title {
  font-size: 1.4em;
  color: #ffffff;
  margin: 0;
}

.page-game-bai__btn-secondary--white {
  background: #ffffff;
  color: #2F6BFF;
  border: 1px solid #ffffff;
}

.page-game-bai__btn-secondary--white:hover {
  background: #f0f0f0;
  color: #2F6BFF;
}

/* Strategies Section */
.page-game-bai__strategies-section {
  padding: 60px 0;
}