.page-game-bai__hero-section {
  padding-top: 10px;
  padding-bottom: 60px;
  background-color: #26A9E0;
  color: #ffffff;
}

.page-game-bai__hero-container {
  max-width: 1170px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 40px 16px;
  gap: 40px;
}

.page-game-bai__hero-content {
  flex: 1 1 45%;
  min-width: 300px;
}

.page-game-bai__hero-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-game-bai__hero-description {
  font-size: 1.125rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #ffffff;
}

.page-game-bai__hero-image {
  flex: 1 1 45%;
  text-align: center;
  min-width: 300px;
}

.page-game-bai__hero-side-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.page-game-bai__hero-cta-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

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

.page-game-bai__btn-primary {
  background-color: #EA7C07; /* Login button color for primary CTA */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-game-bai__btn-primary:hover {
  background-color: #d16b05;
  border-color: #d16b05;
  transform: translateY(-2px);
}

.page-game-bai__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0;
  border: 2px solid #ffffff;
}

.page-game-bai__btn-secondary:hover {
  background-color: #f0f0f0;
  border-color: #f0f0f0;
  transform: translateY(-2px);
}

.page-game-bai__btn-tertiary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-game-bai__btn-tertiary:hover {
  background-color: #26A9E0;
  color: #ffffff;
  transform: translateY(-2px);
}

.page-game-bai__text-link {
  color: #ffffff;
  text-decoration: underline;
}

.page-game-bai__text-link:hover {
  color: #f0f0f0;
}

.page-game-bai__container {
  max-width: 1170px;
  margin: 0 auto;
  padding: 40px 16px;
}

.page-game-bai__section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #333333;
}

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

.page-game-bai__section-description {
  font-size: 1.05rem;
  line-height: 1.6;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #555555;
}

.page-game-bai__intro-section {
  padding: 60px 0;
  background-color: #ffffff;
  color: #333333;
}

.page-game-bai__icon-boxes {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin-top: 40px;
}

.page-game-bai__icon-box {
  flex: 1 1 30%;
  min-width: 280px;
  text-align: center;
  padding: 20px;
  border-radius: 12px;
  background-color: #f8f8f8;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.page-game-bai__icon-box:hover {
  transform: translateY(-5px);
}

.page-game-bai__icon-box-media {
  width: 200px;
  height: 200px;
  aspect-ratio: 1/1;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #26A9E0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-game-bai__icon-box-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.page-game-bai__icon-box-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-game-bai__icon-box-text {
  font-size: 1rem;
  line-height: 1.5;
  color: #555555;
}

.page-game-bai__game-tabs-section {
  padding: 60px 0;
  background-color: #26A9E0;
}

.page-game-bai__tab-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);
}

.page-game-bai__tab-button {
  background-color: transparent;
  border: none;
  padding: 15px 25px;
  font-size: 1.1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  outline: none;
}

.page-game-bai__tab-button.is-active {
  color: #ffffff;
}

.page-game-bai__tab-button.is-active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #ffffff;
}

.page-game-bai__tab-button:hover:not(.is-active) {
  color: #f0f0f0;
}

.page-game-bai__game-panel {
  display: none;
}

.page-game-bai__game-panel.is-active {
  display: block;
}

.page-game-bai__game-card {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  padding: 30px;
}

.page-game-bai__game-card:nth-child(even) {
  flex-direction: row-reverse;
}

.page-game-bai__game-card-image {
  flex: 1 1 45%;
  min-width: 300px;
  border-radius: 8px;
  max-width: 100%;
  height: auto;
}

.page-game-bai__game-card-content {
  flex: 1 1 45%;
  min-width: 300px;
  color: #333333;
}

.page-game-bai__game-card-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-game-bai__game-card-text {
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.page-game-bai__guide-section {
  padding: 60px 0;
  background-color: #f8f8f8;
  color: #333333;
}

.page-game-bai__guide-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 40px;
  align-items: center;
}

.page-game-bai__guide-steps {
  flex: 2 1 55%;
  min-width: 300px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.page-game-bai__step-item {
  background-color: #ffffff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  position: relative;
  padding-left: 60px;
}

.page-game-bai__step-number {
  position: absolute;
  left: 20px;
  top: 25px;
  width: 35px;
  height: 35px;
  background-color: #26A9E0;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
}

.page-game-bai__step-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-game-bai__step-text {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #555555;
  margin-bottom: 15px;
}

.page-game-bai__guide-image {
  flex: 1 1 35%;
  min-width: 300px;
  text-align: center;
}

.page-game-bai__guide-main-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-game-bai__promo-section {
  padding: 60px 0;
  background-color: #26A9E0;
}

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

.page-game-bai__promo-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.page-game-bai__promo-card:hover {
  transform: translateY(-5px);
}

.page-game-bai__promo-card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-game-bai__promo-card-content {
  padding: 25px;
  color: #333333;
}

.page-game-bai__promo-card-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-game-bai__promo-card-text {
  font-size: 1rem;
  line-height: 1.5;
  color: #555555;
  margin-bottom: 20px;
}

.page-game-bai__cta-center {
  text-align: center;
  margin-top: 40px;
}

.page-game-bai__faq-section {
  padding: 60px 0;
  background-color: #ffffff;
  color: #333333;
}

.page-game-bai__faq-list {
  max-width: 800px;
  margin: 40px auto 0;
}

.page-game-bai__faq-item {
  background-color: #f8f8f8;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.page-game-bai__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #26A9E0;
  cursor: pointer;
  background-color: #eaf6fc;
  border-bottom: 1px solid #d4eaf7;
  list-style: none;
  outline: none;
}

.page-game-bai__faq-question::-webkit-details-marker {
  display: none;
}

.page-game-bai__faq-item[open] .page-game-bai__faq-question {
  border-bottom: 1px solid #d4eaf7;
}

.page-game-bai__faq-toggle {
  font-size: 1.5rem;
  font-weight: 700;
  color: #26A9E0;
  transition: transform 0.3s ease;
}

.page-game-bai__faq-item[open] .page-game-bai__faq-toggle {
  transform: rotate(45deg);
}

.page-game-bai__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1rem;
  line-height: 1.6;
  color: #555555;
  background-color: #ffffff;
}

.page-game-bai__blog-section {
  padding: 60px 0;
  background-color: #26A9E0;
}

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

.page-game-bai__blog-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.page-game-bai__blog-card:hover {
  transform: translateY(-5px);
}

.page-game-bai__blog-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.page-game-bai__blog-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-game-bai__blog-card-content {
  padding: 20px;
  color: #333333;
}

.page-game-bai__blog-card-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-game-bai__blog-card-excerpt {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #555555;
  margin-bottom: 15px;
}

.page-game-bai__blog-card-date {
  font-size: 0.85rem;
  color: #888888;
}

/* General image responsiveness */
.page-game-bai img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
  .page-game-bai__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px !important;
  }

  .page-game-bai__hero-container {
    flex-direction: column;
    padding: 30px 15px;
    gap: 30px;
  }

  .page-game-bai__hero-content,
  .page-game-bai__hero-image {
    flex: 1 1 100%;
    min-width: unset;
  }

  .page-game-bai__hero-title {
    font-size: 2.2rem;
    text-align: center;
  }

  .page-game-bai__hero-description {
    font-size: 1rem;
    text-align: center;
  }

  .page-game-bai__hero-cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .page-game-bai__btn-primary,
  .page-game-bai__btn-secondary,
  .page-game-bai__btn-tertiary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
  }

  .page-game-bai__container {
    padding: 30px 15px;
  }

  .page-game-bai__section-title {
    font-size: 1.8rem;
  }

  .page-game-bai__section-description {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }

  .page-game-bai__icon-boxes {
    flex-direction: column;
    gap: 20px;
  }

  .page-game-bai__icon-box {
    min-width: unset;
    flex: 1 1 100%;
  }

  .page-game-bai__icon-box-media {
    width: 160px;
    height: 160px;
    border-width: 3px;
  }

  .page-game-bai__icon-box-title {
    font-size: 1.3rem;
  }

  .page-game-bai__tab-nav {
    flex-direction: column;
    align-items: center;
    border-bottom: none;
  }

  .page-game-bai__tab-button {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 5px;
    font-size: 1rem;
  }

  .page-game-bai__tab-button.is-active::after {
    display: none;
  }

  .page-game-bai__game-card {
    flex-direction: column;
    padding: 20px;
  }

  .page-game-bai__game-card:nth-child(even) {
    flex-direction: column;
  }

  .page-game-bai__game-card-image,
  .page-game-bai__game-card-content {
    flex: 1 1 100%;
    min-width: unset;
  }

  .page-game-bai__game-card-title {
    font-size: 1.6rem;
  }

  .page-game-bai__game-card-text {
    font-size: 0.95rem;
  }

  .page-game-bai__guide-content {
    flex-direction: column-reverse;
    gap: 30px;
  }

  .page-game-bai__guide-steps,
  .page-game-bai__guide-image {
    flex: 1 1 100%;
    min-width: unset;
  }

  .page-game-bai__step-item {
    padding: 20px 20px 20px 50px;
  }

  .page-game-bai__step-number {
    left: 15px;
    top: 20px;
    width: 30px;
    height: 30px;
    font-size: 1rem;
  }

  .page-game-bai__step-title {
    font-size: 1.2rem;
  }

  .page-game-bai__step-text {
    font-size: 0.9rem;
  }

  .page-game-bai__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-game-bai__promo-card-image {
    height: 180px;
  }

  .page-game-bai__promo-card-title {
    font-size: 1.3rem;
  }

  .page-game-bai__promo-card-text {
    font-size: 0.95rem;
  }

  .page-game-bai__faq-list {
    margin-top: 30px;
  }

  .page-game-bai__faq-question {
    padding: 15px 20px;
    font-size: 1rem;
  }

  .page-game-bai__faq-toggle {
    font-size: 1.3rem;
  }

  .page-game-bai__faq-answer {
    padding: 10px 20px 15px;
    font-size: 0.95rem;
  }

  .page-game-bai__blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-game-bai__blog-card-image {
    height: 160px;
  }

  .page-game-bai__blog-card-title {
    font-size: 1.2rem;
  }

  .page-game-bai__blog-card-excerpt {
    font-size: 0.9rem;
  }

  .page-game-bai img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-game-bai__section,
  .page-game-bai__card,
  .page-game-bai__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-game-bai__cta-button,
  .page-game-bai__btn-primary,
  .page-game-bai__btn-secondary,
  .page-game-bai__btn-tertiary,
  .page-game-bai a[class*="button"],
  .page-game-bai a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-game-bai__hero-cta-buttons,
  .page-game-bai__button-group,
  .page-game-bai__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    flex-direction: column;
  }

  .page-game-bai__text-link {
    word-break: break-all;
  }
}