:root {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --card-bg: #11271B;
  --background: #08160F;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green: #0A4B2C;
}

.page-game-bai {
  font-family: Arial, sans-serif;
  color: var(--text-main); /* Default text color for the page */
  background: var(--background); /* Default background for the page */
  line-height: 1.6;
}

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

/* Hero Section */
.page-game-bai__hero-section {
  position: relative;
  width: 100%;
  padding-top: 10px; /* As per rule, assuming body handles --header-offset */
  padding-bottom: 50px;
  background-color: var(--background);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-game-bai__hero-image {
  width: 100%;
  max-height: 500px; /* Limit height on desktop */
  overflow: hidden;
  margin-bottom: 30px;
}

.page-game-bai__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Desktop: cover to fill space */
  display: block;
}

.page-game-bai__hero-content {
  max-width: 900px;
  padding: 0 20px;
  color: var(--text-main);
}

.page-game-bai__main-title {
  font-size: 3.2em; /* Using em for relative sizing */
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--gold-color);
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.5); /* Glow color */
}

.page-game-bai__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: var(--text-secondary);
}

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

.page-game-bai__btn-primary,
.page-game-bai__btn-secondary,
.page-game-bai__btn-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-game-bai__btn-primary {
  background: var(--button-gradient);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}