/* style/game-bai.css */

/* General styles */
.page-game-bai {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main-color, #333333);
  background-color: var(--page-bg-color, #F5F7FA);
}

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

.page-game-bai__section-title {
  font-size: 2.5em;
  color: #E53935;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-game-bai__section-description,
.page-game-bai__text-block {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-main-color, #333333);
}

.page-game-bai__btn-primary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
}

.page-game-bai__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-game-bai__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  background: #ffffff;
  color: #E53935;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  border: 2px solid #E53935;
  cursor: pointer;
  text-align: center;
}

.page-game-bai__btn-secondary:hover {
  background: #E53935;
  color: #ffffff;
}

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

.page-game-bai img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Hero Section (actual content for Game Bài page) */
.page-game-bai__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: 10px;
  margin-bottom: 50px;
}

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

.page-game-bai__hero-content {
  position: relative;
  text-align: center;
  padding: 30px 20px;
  background: rgba(255, 255, 255, 0.9);
  max-width: 900px;
  margin: -80px auto 0 auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  color: #333333;
}

.page-game-bai__hero-title {
  font-size: 3em;
  color: #E53935;
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
}

.page-game-bai__hero-description {
  font-size: 1.2em;
  color: #555555;
  margin-bottom: 25px;
}

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

.page-game-bai__image-content {
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Popular Games Section */
.page-game-bai__popular-games-section {
  padding: 60px 0;
  background-color: #E53935;
  color: #ffffff;
}

.page-game-bai__popular-games-section .page-game-bai__section-title,
.page-game-bai__popular-games-section .page-game-bai__section-description {
  color: #ffffff;
}

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

.page-game-bai__game-card {
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding-bottom: 20px;
  color: #333333;
}

.page-game-bai__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 15px;
}

.page-game-bai__game-title {
  font-size: 1.5em;
  color: #E53935;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-game-bai__game-description {
  font-size: 0.95em;
  color: #555555;
  padding: 0 15px;
  margin-bottom: 20px;
}

.page-game-bai__game-card .page-game-bai__btn-primary {
  margin-top: 15px;
}

.page-game-bai__game-trial {
  margin-top: 20px;
  padding: 0 15px;
}

.page-game-bai__game-trial-frame {
  border: 1px solid #E0E0E0;
  border-radius: 5px;
}


/* How-to-Play Section */
.page-game-bai__how-to-play-section {
  padding: 60px 0;
  background-color: #F5F7FA;
}

.page-game-bai__step-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-game-bai__step-item {
  background: #ffffff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  text-align: left;
  color: #333333;
}

.page-game-bai__step-title {
  font-size: 1.3em;
  color: #E53935;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-game-bai__step-item p {
  font-size: 1em;
  color: #555555;
}

.page-game-bai__step-item a {
  color: #FF5A4F;
  text-decoration: underline;
}

/* Promotions Section */
.page-game-bai__promotions-section {
  padding: 60px 0;
  background-color: #E53935;
  color: #ffffff;
}

.page-game-bai__promotions-section .page-game-bai__section-title,
.page-game-bai__promotions-section .page-game-bai__section-description {
  color: #ffffff;
}

.page-game-bai__promo-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-game-bai__promo-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  text-align: left;
}

.page-game-bai__promo-title {
  font-size: 1.4em;
  color: #FF5A4F;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-game-bai__promo-item p {
  font-size: 0.95em;
  color: #f0f0f0;
}