.page-bet88-tongits {
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #f8f8f8;
}

.page-bet88-tongits__highlight {
  color: #ff6600; /* A distinct color for emphasis */
  font-weight: bold;
}

.page-bet88-tongits__section-title {
  font-size: 2.5rem;
  color: #0056b3; /* A strong blue */
  text-align: center;
  margin-bottom: 40px;
  padding-top: 20px;
  position: relative;
}

.page-bet88-tongits__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #ff6600;
  margin: 10px auto 0;
  border-radius: 2px;
}

/* Hero Section */
.page-bet88-tongits__hero-section {
  position: relative;
  width: 100%;
  height: 70vh; /* Adjust height for visual impact */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, assuming body has header offset */
}

.page-bet88-tongits__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.6); /* Darken image for text readability */
}

.page-bet88-tongits__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 10px;
}

.page-bet88-tongits__hero-title {
  font-size: 3.5rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-bet88-tongits__hero-description {
  font-size: 1.3rem;
  margin-bottom: 30px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.page-bet88-tongits__cta-button {
  display: inline-block;
  background-color: #ff6600;
  color: #fff;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-bet88-tongits__cta-button:hover {
  background-color: #e65c00;
  transform: translateY(-3px);
}

/* Introduction Section */
.page-bet88-tongits__introduction-section {
  padding: 60px 20px;
  background-color: #fff;
  text-align: center;
}

.page-bet88-tongits__intro-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-bet88-tongits__intro-card {
  background-color: #f0f0f0;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.page-bet88-tongits__intro-card:hover {
  transform: translateY(-5px);
}

.page-bet88-tongits__intro-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  object-fit: cover;
  max-height: 200px; /* Ensure image doesn't get too tall */
}

.page-bet88-tongits__intro-card-title {
  font-size: 1.8rem;
  color: #0056b3;
  margin-bottom: 10px;
}

.page-bet88-tongits__intro-card-text {
  font-size: 1.1rem;
  color: #555;
}

/* Quick Access Section */
.page-bet88-tongits__quick-access-section {
  padding: 60px 20px;
  background-color: #f2f7fc;
  text-align: center;
}

.page-bet88-tongits__access-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.page-bet88-tongits__access-button {
  flex: 1 1 200px; /* Allow buttons to grow but have a min-width */
  max-width: 250px;
  background-color: #007bff;
  color: #fff;
  padding: 15px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.page-bet88-tongits__access-button:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
}

/* Games Section */
.page-bet88-tongits__games-section {
  padding: 60px 20px;
  background-color: #fff;
}

.page-bet88-tongits__games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-bet88-tongits__game-card {
  background-color: #fefefe;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.page-bet88-tongits__game-card:hover {
  transform: translateY(-5px);
}

.page-bet88-tongits__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.page-bet88-tongits__game-title {
  font-size: 1.6rem;
  color: #0056b3;
  margin: 15px 10px 10px;
}

.page-bet88-tongits__game-description {
  font-size: 1rem;
  color: #666;
  padding: 0 15px 15px;
}

.page-bet88-tongits__game-button {
  display: inline-block;
  background-color: #ff6600;
  color: #fff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 20px;
  transition: background-color 0.3s ease;
}

.page-bet88-tongits__game-button:hover {
  background-color: #e65c00;
}

/* Promotions Section */
.page-bet88-tongits__promotions-section {
  padding: 60px 20px;
  background-color: #f2f7fc;
}

.page-bet88-tongits__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-bet88-tongits__promo-card {
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.page-bet88-tongits__promo-card:hover {
  transform: translateY(-5px);
}

.page-bet88-tongits__promo-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.page-bet88-tongits__promo-title {
  font-size: 1.7rem;
  color: #0056b3;
  margin: 15px 10px 10px;
}

.page-bet88-tongits__promo-description {
  font-size: 1rem;
  color: #666;
  padding: 0 15px 15px;
}

.page-bet88-tongits__promo-button {
  display: inline-block;
  background-color: #ff6600;
  color: #fff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 20px;
  transition: background-color 0.3s ease;
}

.page-bet88-tongits__promo-button:hover {
  background-color: #e65c00;
}

/* Security & Support Section */
.page-bet88-tongits__security-support-section {
  padding: 60px 20px;
  background-color: #fff;
}

.page-bet88-tongits__security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-bet88-tongits__security-item {
  background-color: #f0f0f0;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.page-bet88-tongits__security-icon {
  width: 100%;
  max-width: 200px;
  height: auto;
  margin-bottom: 15px;
  object-fit: contain;
}

.page-bet88-tongits__security-title {
  font-size: 1.8rem;
  color: #0056b3;
  margin-bottom: 10px;
}

.page-bet88-tongits__security-description {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 20px;
}

.page-bet88-tongits__payment-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 15px;
}

.page-bet88-tongits__payment-logo {
  width: 100%; /* Important for responsiveness */
  max-width: 80px; /* Max width for individual logos */
  height: auto;
  object-fit: contain;
}

/* FAQ Section */
.page-bet88-tongits__faq-section {
  padding: 60px 20px;
  background-color: #f2f7fc;
}

.page-bet88-tongits__faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.page-bet88-tongits__faq-item {
  background-color: #fff;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.page-bet88-tongits__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #007bff;
  color: #fff;
  font-size: 1.2rem;
  font-weight: bold;
  user-select: none;
  transition: background-color 0.3s ease;
}

.page-bet88-tongits__faq-question:hover {
  background-color: #0056b3;
}

.page-bet88-tongits__faq-title {
  margin: 0;
  font-size: 1.2rem;
  color: #fff;
  pointer-events: none; /* Prevent text selection interference with click */
}

.page-bet88-tongits__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  transition: transform 0.3s ease;
  pointer-events: none; /* Prevent text selection interference with click */
}

.page-bet88-tongits__faq-item.active .page-bet88-tongits__faq-toggle {
  transform: rotate(45deg);
}

.page-bet88-tongits__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  background-color: #fefefe;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  opacity: 0;
  color: #444;
  font-size: 1.1rem;
}

.page-bet88-tongits__faq-item.active .page-bet88-tongits__faq-answer {
  max-height: 2000px !important; /* Sufficiently large value */
  padding: 20px 25px !important;
  opacity: 1;
}

/* Blog Section */
.page-bet88-tongits__blog-section {
  padding: 60px 20px;
  background-color: #fff;
}

.page-bet88-tongits__blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-bet88-tongits__blog-card {
  background-color: #fefefe;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.page-bet88-tongits__blog-card:hover {
  transform: translateY(-5px);
}

.page-bet88-tongits__blog-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.page-bet88-tongits__blog-content {
  padding: 20px;
}

.page-bet88-tongits__blog-title {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.page-bet88-tongits__blog-title a {
  color: #0056b3;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-bet88-tongits__blog-title a:hover {
  color: #007bff;
}

.page-bet88-tongits__blog-summary {
  font-size: 1rem;
  color: #666;
  margin-bottom: 15px;
}

.page-bet88-tongits__read-more {
  display: inline-block;
  color: #ff6600;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-bet88-tongits__read-more:hover {
  color: #e65c00;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-bet88-tongits__hero-title {
    font-size: 3rem;
  }
  .page-bet88-tongits__hero-description {
    font-size: 1.1rem;
  }
  .page-bet88-tongits__section-title {
    font-size: 2rem;
  }
  .page-bet88-tongits__intro-card-title,
  .page-bet88-tongits__security-title {
    font-size: 1.6rem;
  }
  .page-bet88-tongits__game-title,
  .page-bet88-tongits__promo-title,
  .page-bet88-tongits__blog-title {
    font-size: 1.4rem;
  }
}

@media (max-width: 768px) {
  .page-bet88-tongits__hero-section {
    height: 60vh;
  }
  .page-bet88-tongits__hero-title {
    font-size: 2.5rem;
  }
  .page-bet88-tongits__hero-description {
    font-size: 1rem;
  }
  .page-bet88-tongits__cta-button {
    padding: 12px 25px;
    font-size: 1rem;
  }
  .page-bet88-tongits__section-title {
    font-size: 1.8rem;
  }

  /* List Item Responsive for Intro, Games, Promotions, Security, Blog */
  .page-bet88-tongits__intro-grid,
  .page-bet88-tongits__games-grid,
  .page-bet88-tongits__promo-grid,
  .page-bet88-tongits__security-grid,
  .page-bet88-tongits__blog-grid {
    grid-template-columns: 1fr;
    padding: 0 15px; /* Add some padding to the grid container */
  }

  .page-bet88-tongits__intro-card,
  .page-bet88-tongits__game-card,
  .page-bet88-tongits__promo-card,
  .page-bet88-tongits__security-item,
  .page-bet88-tongits__blog-card {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 20px !important; /* Adjust padding for mobile */
  }

  .page-bet88-tongits__intro-card-text,
  .page-bet88-tongits__game-description,
  .page-bet88-tongits__promo-description,
  .page-bet88-tongits__security-description,
  .page-bet88-tongits__blog-summary,
  .page-bet88-tongits__faq-answer p {
    font-size: 0.95rem;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
  }

  .page-bet88-tongits__access-buttons {
    flex-direction: column;
    align-items: center;
  }

  .page-bet88-tongits__access-button {
    width: 90%;
    max-width: 300px;
  }

  .page-bet88-tongits__faq-question {
    padding: 15px 20px;
    font-size: 1.1rem;
  }
  .page-bet88-tongits__faq-title {
    font-size: 1.1rem;
  }
  .page-bet88-tongits__faq-answer {
    padding: 0 20px;
  }
  .page-bet88-tongits__faq-item.active .page-bet88-tongits__faq-answer {
    padding: 15px 20px !important;
  }

  .page-bet88-tongits__payment-logo {
    max-width: 60px;
  }
}

@media (max-width: 480px) {
  .page-bet88-tongits__hero-title {
    font-size: 2rem;
  }
  .page-bet88-tongits__hero-description {
    font-size: 0.9rem;
  }
  .page-bet88-tongits__cta-button {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  .page-bet88-tongits__section-title {
    font-size: 1.5rem;
  }
  .page-bet88-tongits__intro-card-title,
  .page-bet88-tongits__security-title {
    font-size: 1.4rem;
  }
  .page-bet88-tongits__game-title,
  .page-bet88-tongits__promo-title,
  .page-bet88-tongits__blog-title {
    font-size: 1.2rem;
  }
  .page-bet88-tongits__intro-card-text,
  .page-bet88-tongits__game-description,
  .page-bet88-tongits__promo-description,
  .page-bet88-tongits__security-description,
  .page-bet88-tongits__blog-summary,
  .page-bet88-tongits__faq-answer p {
    font-size: 0.85rem;
  }
}