/* style/game-bai.css */
/* Custom Colors */
:root {
  --main-color: #113B7A;
  --accent-color: #1D5FD1;
  --button-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  --card-bg-color: #10233F;
  --text-main-color: #F3F8FF;
  --text-secondary-color: #AFC4E8;
  --border-color: #244D84;
  --glow-color: #4FA8FF;
  --gold-color: #F2C14E;
  --divider-color: #1B3357;
  --deep-navy-color: #08162B; /* Assuming this is the body background from shared.css */
}

/* Base styles for page-game-bai */
.page-game-bai {
  font-family: Arial, sans-serif;
  color: var(--text-main-color); /* Default light text for dark body background */
  background-color: transparent; /* Body background handled by shared.css var(--deep-navy-color) */
}

.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;
  padding-top: 10px; /* Small top padding as per rule, assuming body padding-top is handled by shared.css */
  padding-bottom: 50px; /* Add bottom padding */
  text-align: center;
  overflow: hidden; /* Ensure content doesn't spill */
}

.page-game-bai__hero-image-wrapper {
  position: relative;
  width: 100%;
  max-height: 600px; /* Limit height for hero image */
  overflow: hidden;
}

.page-game-bai__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 300px; /* Ensure minimum height */
}

.page-game-bai__hero-content-wrapper {
  position: relative; /* Ensure content is above image if needed, but not overlaying */
  z-index: 1;
  margin-top: -150px; /* Pull content up over the image's bottom part for visual integration */
  padding-top: 50px; /* Ensure text has space */
  background: linear-gradient(0deg, var(--deep-navy-color) 0%, rgba(8, 22, 43, 0.8) 50%, transparent 100%); /* Gradient for better text readability */
}

.page-game-bai__hero-container {
  padding-top: 0;
  padding-bottom: 0;
}

.page-game-bai__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size for H1 */
  color: var(--text-main-color); 
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-game-bai__description {
  font-size: 1.2rem;
  color: var(--text-secondary-color);
  margin-bottom: 40px;
  line-height: 1.6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-game-bai__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

/* General Section Styles */
.page-game-bai__section {
  padding: 60px 0;
  background-color: var(--deep-navy-color); /* Ensure dark background for sections */
}

.page-game-bai__section-title {
  font-size: 2.5rem;
  color: var(--text-main-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.3;
}

.page-game-bai__content-text-block {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-secondary-color);
  margin-bottom: 40px;
  text-align: justify;
}

.page-game-bai__content-text-block p {
  margin-bottom: 1em;
}

.page-game-bai__content-text-block strong {
  color: var(--gold-color);
}

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

.page-game-bai__btn-primary {
  background: var(--button-gradient); /* Custom button color */
  color: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}