/* style/game-bai.css */

:root {
  --win3-primary-color: #113B7A;
  --win3-secondary-color: #1D5FD1;
  --win3-card-bg: #10233F;
  --win3-text-main: #F3F8FF;
  --win3-text-secondary: #AFC4E8;
  --win3-border-color: #244D84;
  --win3-glow-color: #4FA8FF;
  --win3-gold-color: #F2C14E;
  --win3-divider-color: #1B3357;
  --win3-deep-navy: #08162B;
  --win3-btn-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
}

.page-game-bai {
  font-family: 'Arial', sans-serif;
  color: var(--win3-text-main); /* Light text on dark body background */
  background-color: var(--win3-deep-navy); /* Body background handled by shared, this is a fallback */
  line-height: 1.6;
}

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

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

.page-game-bai__dark-section {
  background-color: var(--win3-primary-color);
  color: var(--win3-text-main);
}

.page-game-bai__section-title {
  font-size: clamp(28px, 4vw, 42px);
  color: var(--win3-gold-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  line-height: 1.2;
}

.page-game-bai__text-block {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 20px;
  color: var(--win3-text-secondary);
  text-align: justify;
}

.page-game-bai__highlight {
  color: var(--win3-gold-color);
  font-weight: bold;
}

.page-game-bai__text-link {
  color: var(--win3-glow-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-game-bai__text-link:hover {
  color: var(--win3-gold-color);
  text-decoration: underline;
}

/* Hero Section */
.page-game-bai__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

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

.page-game-bai__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
}

.page-game-bai__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin-top: 40px;
  padding: 0 20px;
}

.page-game-bai__main-title {
  font-size: clamp(36px, 5vw, 60px);
  color: var(--win3-gold-color);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-game-bai__lead-text {
  font-size: 20px;
  color: var(--win3-text-main);
  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;
  margin-top: 30px;
}

.page-game-bai__cta-buttons--centered {
  margin-top: 40px;
}

.page-game-bai__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  max-width: 100%;
  box-sizing: border-box;
}