/* Base styles for the Game Bai page */
.page-game-bai {
  font-family: 'Arial', sans-serif;
  color: #F3F8FF; /* Text Main */
  background-color: transparent; /* Body background is handled by shared.css var(--deep-navy) */
  line-height: 1.6;
}

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

.page-game-bai__section {
  padding: 60px 0;
  text-align: center;
}

.page-game-bai__section-title {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 700;
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-game-bai__section-description {
  font-size: 18px;
  color: #AFC4E8; /* Text Secondary */
  max-width: 800px;
  margin: 0 auto 40px;
}

/* HERO Section */
.page-game-bai__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  overflow: hidden;
  color: #F3F8FF;
}

.page-game-bai__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-game-bai__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Default to cover for desktop */
  display: block;
}

.page-game-bai__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  text-align: center;
  padding: 40px 20px;
  background: rgba(16, 35, 63, 0.7); /* Card BG with transparency */
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.page-game-bai__main-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
  line-height: 1.1;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.6);
}

.page-game-bai__hero-description {
  font-size: clamp(18px, 2vw, 22px);
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 30px;
  line-height: 1.5;
}

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

.page-game-bai__btn-primary,
.page-game-bai__btn-secondary,
.page-game-bai__btn-play {
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  max-width: 100%;
  word-wrap: break-word;
}

.page-game-bai__btn-primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #F3F8FF;
  border: none;
  box-shadow: 0 4px 15px rgba(43, 115, 246, 0.4);
}

.page-game-bai__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(43, 115, 246, 0.6);
}

.page-game-bai__btn-secondary {
  background: #10233F; /* Card BG */
  color: #F2C14E; /* Gold */
  border: 2px solid #F2C14E;
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.2);
}

.page-game-bai__btn-secondary:hover {
  transform: translateY(-2px);
  background: #F2C14E;
  color: #10233F;
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.4);
}

/* Why Choose Section */
.page-game-bai__why-choose {
  background: #08162B; /* Deep Navy, matching body */
  padding-top: 80px;
  padding-bottom: 80px;
}

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

.page-game-bai__feature-card {
  background: #10233F; /* Card BG */
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
  box-sizing: border-box;
}

.page-game-bai__feature-card img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 20px;
  object-fit: cover;
  display: block;
}

.page-game-bai__feature-title {
  font-size: 24px;
  font-weight: 700;
  color: #F3F8FF; /* Text Main */
  margin-bottom: 15px;
}

.page-game-bai__feature-text {
  font-size: 16px;
  color: #AFC4E8; /* Text Secondary */
  line-height: 1.7;
}

/* Game Types Section */
.page-game-bai__game-types {
  background: #08162B;
  padding-top: 80px;
  padding-bottom: 80px;
}

.page-game-bai__game-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-game-bai__game-card {
  background: #10233F; /* Card BG */
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: left;
  height: 100%;
  display: flex;
  flex-direction: column;
}