.page-bj66dagalive__wrapper {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333;
  background-color: #f8f9fa; /* Default light background for body */
}

.page-bj66dagalive__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

/* Hero Section */
.page-bj66dagalive__hero-section {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding-top: 10px; /* Minimal padding-top, assuming body has header offset */
  padding-bottom: 40px;
  background-color: #2563eb;
  color: #ffffff;
}

.page-bj66dagalive__hero-image-container {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.page-bj66dagalive__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 200px; /* Minimum size */
}

.page-bj66dagalive__hero-content {
  position: relative;
  z-index: 1;
  padding: 0 20px;
}

.page-bj66dagalive__main-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.2;
  color: #ffffff;
}

.page-bj66dagalive__tagline {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

/* General Sections */
.page-bj66dagalive__introduction-section,
.page-bj66dagalive__guide-section,
.page-bj66dagalive__contact-cta {
  padding: 60px 0;
  background-color: #ffffff;
  color: #333333;
}

.page-bj66dagalive__features-section,
.page-bj66dagalive__promotion-section,
.page-bj66dagalive__faq-section {
  padding: 60px 0;
  background-color: #2563eb;
  color: #ffffff;
}

.page-bj66dagalive__game-showcase {
  padding: 60px 0;
  background-color: #f0f4f8; /* Light background for game showcase */
  color: #333333;
}

.page-bj66dagalive__section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.3;
}
.page-bj66dagalive__features-section .page-bj66dagalive__section-title,
.page-bj66dagalive__promotion-section .page-bj66dagalive__section-title,
.page-bj66dagalive__faq-section .page-bj66dagalive__section-title {
  color: #ffffff;
}

.page-bj66dagalive__text-block {
  font-size: 1rem;
  margin-bottom: 20px;
  text-align: justify;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.page-bj66dagalive__dark-bg .page-bj66dagalive__text-block {
  color: #f0f0f0;
}
.page-bj66dagalive__text-block a {
  color: inherit;
  text-decoration: underline;
  font-weight: bold;
}

/* Buttons */
.page-bj66dagalive__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-bj66dagalive__cta-buttons--center {
  text-align: center;
}

.page-bj66dagalive__btn-primary,
.page-bj66dagalive__btn-secondary,
.page-bj66dagalive__btn-small {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-bj66dagalive__btn-primary {
  background-color: #ff9900; /* Orange accent */
  color: #ffffff;
  border: 2px solid #ff9900;
}

.page-bj66dagalive__btn-primary:hover {
  background-color: #e68a00;
  transform: translateY(-2px);
}

.page-bj66dagalive__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-bj66dagalive__btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.page-bj66dagalive__btn-small {
  padding: 10px 20px;
  font-size: 0.9rem;
  background-color: #2563eb;
  color: #ffffff;
  border: none;
  border-radius: 5px;
}

.page-bj66dagalive__btn-small:hover {
  background-color: #1a4fbf;
  transform: translateY(-1px);
}

/* Features Grid */
.page-bj66dagalive__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-bj66dagalive__feature-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
  color: #ffffff;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.page-bj66dagalive__feature-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.2);
}

.page-bj66dagalive__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce minimum image size */
  min-height: 200px; /* Enforce minimum image size */
}

.page-bj66dagalive__feature-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-bj66dagalive__feature-description {
  font-size: 1rem;
  color: #f0f0f0;
}

/* Game Showcase */
.page-bj66dagalive__games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-bj66dagalive__game-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 400px; /* Ensure cards have minimum height */
}

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

.page-bj66dagalive__game-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  margin-bottom: 15px;
  min-width: 200px; /* Enforce minimum image size */
  min-height: 200px; /* Enforce minimum image size */
}

.page-bj66dagalive__game-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #2563eb;
  padding: 0 15px;
}

.page-bj66dagalive__game-description {
  font-size: 0.95rem;
  color: #666666;
  margin-bottom: 20px;
  padding: 0 15px;
  flex-grow: 1;
}

/* Guide Section */
.page-bj66dagalive__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-bj66dagalive__guide-item {
  background-color: #f8f9fa;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.page-bj66dagalive__guide-item:hover {
  transform: translateY(-5px);
}

.page-bj66dagalive__guide-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #2563eb;
}

.page-bj66dagalive__guide-description {
  font-size: 1rem;
  color: #555555;
}

/* FAQ Section */
.page-bj66dagalive__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-bj66dagalive__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: background-color 0.3s ease;
}

.page-bj66dagalive__faq-item:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-bj66dagalive__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  user-select: none;
  color: #ffffff;
  font-weight: 600;
  font-size: 1.1rem;
}

.page-bj66dagalive__faq-question h3.page-bj66dagalive__faq-qtext {
  margin: 0;
  pointer-events: none; /* Prevent h3 from blocking click on parent */
  flex-grow: 1;
  font-size: 1.1rem; /* Ensure consistent font size */
}

.page-bj66dagalive__faq-toggle {
  font-size: 1.8rem;
  font-weight: bold;
  margin-left: 15px;
  pointer-events: none; /* Prevent span from blocking click on parent */
  transition: transform 0.3s ease;
}

.page-bj66dagalive__faq-item.active .page-bj66dagalive__faq-toggle {
  transform: rotate(45deg); /* Rotate plus to become cross */
}

.page-bj66dagalive__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  opacity: 0;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  color: #f0f0f0;
}

.page-bj66dagalive__faq-item.active .page-bj66dagalive__faq-answer {
  max-height: 2000px !important; /* Sufficiently large to show all content */
  padding: 20px 25px !important;
  opacity: 1;
}

.page-bj66dagalive__faq-answer p {
  margin: 0;
  font-size: 1rem;
}
.page-bj66dagalive__faq-answer a {
  color: #ff9900;
  text-decoration: underline;
}

/* Floating Login Button */
.page-bj66dagalive__floating-login-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #ff9900;
  color: #ffffff;
  padding: 15px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  transition: background-color 0.3s ease, transform 0.2s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-bj66dagalive__floating-login-btn:hover {
  background-color: #e68a00;
  transform: translateY(-3px);
}

.page-bj66dagalive__floating-login-btn::before {
  content: '🔥'; /* Emoji for promotion */
  font-size: 1.2em;
}

/* General image styling for content areas */
.page-bj66dagalive img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Ensure no horizontal scroll for main content */
.page-bj66dagalive {
  overflow-x: hidden;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-bj66dagalive__main-title {
    font-size: clamp(1.8rem, 4.5vw, 3rem);
  }
  .page-bj66dagalive__tagline {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
  }
  .page-bj66dagalive__section-title {
    font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  }
  .page-bj66dagalive__features-grid,
  .page-bj66dagalive__games-grid,
  .page-bj66dagalive__guide-steps {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
  .page-bj66dagalive__container {
    padding: 15px;
  }
}

@media (max-width: 768px) {
  /* HERO Section */
  .page-bj66dagalive__hero-section {
    padding-top: 10px !important; /* Minimal padding-top */
    padding-bottom: 30px;
  }
  .page-bj66dagalive__hero-image-container {
    max-height: 300px;
    margin-bottom: 15px;
  }
  .page-bj66dagalive__main-title {
    font-size: clamp(1.5rem, 7vw, 2.5rem);
    margin-bottom: 10px;
  }
}