
    /* Base styles for the page */
.page-a8bet {
  font-family: 'Arial', sans-serif;
  color: #e0e0e0;
  background-color: #1a1a2e;
  line-height: 1.6;
  overflow-x: hidden;
}

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

.page-a8bet__section-title {
  font-size: 2.5em;
  color: #e6b31e; /* Gold accent */
  text-align: center;
  margin-bottom: 40px;
  padding-top: 20px;
  font-weight: bold;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-a8bet__text-content {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Floating Buttons */
.page-a8bet__floating-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1000;
}

.page-a8bet__floating-button {
  display: block;
  padding: 12px 25px;
  border-radius: 30px;
  font-size: 1.1em;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-a8bet__floating-button--register {
  background-color: #007bff; /* Blue */
}

.page-a8bet__floating-button--register:hover {
  background-color: #0056b3;
  transform: translateY(-3px);
}

.page-a8bet__floating-button--login {
  background-color: #28a745; /* Green */
}

.page-a8bet__floating-button--login:hover {
  background-color: #1e7e34;
  transform: translateY(-3px);
}

/* Hero Section */
.page-a8bet__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #ffffff;
  min-height: 70vh;
  padding-top: 10px; /* Small decorative padding, main offset from body */
  padding-bottom: 50px;
  background-color: #0d0d1a;
  overflow: hidden;
}

.page-a8bet__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.3;
}

.page-a8bet__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.page-a8bet__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #e6b31e;
  font-weight: bold;
  line-height: 1.2;
}

.page-a8bet__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  font-weight: 300;
}

.page-a8bet__hero-cta-button,
.page-a8bet__cta-button {
  display: inline-block;
  background-color: #e6b31e; /* Gold */
  color: #1a1a2e;
  padding: 15px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.page-a8bet__hero-cta-button:hover,
.page-a8bet__cta-button:hover {
  background-color: #d4a71c;
  transform: translateY(-3px);
}

/* About Section */
.page-a8bet__about-section {
  padding: 80px 0;
  background-color: #1a1a2e;
}

.page-a8bet__image-center {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* Products Section */
.page-a8bet__products-section {
  padding: 80px 0;
  background-color: #0d0d1a;
}

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

.page-a8bet__product-item {
  background-color: #2a2a4a;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.3s ease;
  padding-bottom: 20px;
}

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

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

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

.page-a8bet__product-description {
  font-size: 1em;
  color: #cccccc;
  padding: 0 15px;
}

/* Promotions Section */
.page-a8bet__promotions-section {
  padding: 80px 0;
  background-color: #1a1a2e;
}

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

.page-a8bet__promotion-item {
  background-color: #2a2a4a;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.3s ease;
  padding-bottom: 20px;
}

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

.page-a8bet__promotion-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 15px;
}

.page-a8bet__promotion-title {
  font-size: 1.6em;
  color: #e6b31e;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-a8bet__promotion-description {
  font-size: 1em;
  color: #cccccc;
  padding: 0 15px;
}

.page-a8bet__center-button-wrapper {
  text-align: center;
  margin-top: 50px;
}

/* Why Choose Section */
.page-a8bet__why-choose-section {
  padding: 80px 0;
  background-color: #0d0d1a;
}

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

.page-a8bet__feature-item {
  background-color: #2a2a4a;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s ease;
}

.page-a8bet__feature-item:hover {
  background-color: #3a3a5a;
}

.page-a8bet__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px rgba(230, 179, 30, 0.5)); /* Gold glow for icons */
}

.page-a8bet__feature-title {
  font-size: 1.5em;
  color: #e6b31e;
  margin-bottom: 10px;
}

.page-a8bet__feature-description {
  font-size: 1em;
  color: #cccccc;
}

/* Login Guide Section */
.page-a8bet__login-guide-section {
  padding: 80px 0;
  background-color: #1a1a2e;
}

.page-a8bet__guide-list {
  list-style: none;
  padding: 0;
  margin: 40px auto 0 auto;
  max-width: 800px;
}

.page-a8bet__guide-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
  background-color: #2a2a4a;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s ease;
}

.page-a8bet__guide-item:hover {
  background-color: #3a3a5a;
}

.page-a8bet__guide-step-number {
  font-size: 2em;
  font-weight: bold;
  color: #e6b31e;
  margin-right: 20px;
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 2px solid #e6b31e;
  border-radius: 50%;
}

.page-a8bet__guide-content {
  flex-grow: 1;
}

.page-a8bet__guide-title {
  font-size: 1.4em;
  color: #ffffff;
  margin-bottom: 5px;
}

.page-a8bet__guide-description {
  font-size: 1em;
  color: #cccccc;
}

/* FAQ Section */
.page-a8bet__faq-section {
  padding: 80px 0;
  background-color: #0d0d1a;
}

.page-a8bet__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
}

.page-a8bet__faq-item {
  background-color: #2a2a4a;
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-a8bet__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  user-select: none;
  background-color: #3a3a5a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease;
}

.page-a8bet__faq-question:hover {
  background-color: #4a4a6a;
}

.page-a8bet__faq-item.active .page-a8bet__faq-question {
  background-color: #e6b31e;
  color: #1a1a2e;
}

.page-a8bet__faq-item.active .page-a8bet__faq-question .page-a8bet__faq-q-text {
  color: #1a1a2e;
}

.page-a8bet__faq-q-text {
  font-size: 1.3em;
  color: #ffffff;
  margin: 0;
  pointer-events: none; /* Prevent text from blocking click event */
}

.page-a8bet__faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: #e6b31e;
  transition: transform 0.3s ease, color 0.3s ease;
  pointer-events: none; /* Prevent icon from blocking click event */
}

.page-a8bet__faq-item.active .page-a8bet__faq-toggle {
  transform: rotate(45deg);
  color: #1a1a2e;
}

.page-a8bet__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: #cccccc;
  background-color: #2a2a4a;
}

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

.page-a8bet__faq-answer p {
  margin: 0;
  padding-bottom: 10px; /* Add some space if there are multiple paragraphs */
}

/* Final CTA Section */
.page-a8bet__final-cta-section {
  padding: 80px 0;
  background-color: #1a1a2e;
  text-align: center;
}

.page-a8bet__final-cta-content {
  background-color: #2a2a4a;
  padding: 50px;
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-a8bet__hero-title {
    font-size: 3em;
  }
  .page-a8bet__hero-description {
    font-size: 1.2em;
  }
  .page-a8bet__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-a8bet__container {
    padding: 15px;
  }
  .page-a8bet__hero-section {
    min-height: 60vh;
  }
  .page-a8bet__hero-title {
    font-size: 2.5em;
  }
  .page-a8bet__hero-description {
    font-size: 1.1em;
  }
  .page-a8bet__hero-cta-button, .page-a8bet__cta-button {
    padding: 12px 30px;
    font-size: 1.1em;
  }
  .page-a8bet__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-a8bet__text-content {
    font-size: 1em;
  }
  .page-a8bet__product-grid, .page-a8bet__promotion-grid, .page-a8bet__feature-grid {
    grid-template-columns: 1fr;
  }
  .page-a8bet__floating-buttons {
    flex-direction: row;
    width: 100%;
    left: 0;
    right: 0;
    bottom: 0;
    justify-content: space-around;
    padding: 10px 0;
    background-color: rgba(26, 26, 46, 0.9);
    border-top: 1px solid rgba(230, 179, 30, 0.2);
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.3);
  }
  .page-a8bet__floating-button {
    padding: 10px 15px;
    font-size: 1em;
    flex-grow: 1;
    margin: 0 5px;
  }

  /* List item responsive styles */
  .page-a8bet__guide-list,
  .page-a8bet__product-grid,
  .page-a8bet__promotion-grid,
  .page-a8bet__feature-grid {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 10px !important; /* Adjust padding for mobile */
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .page-a8bet__guide-item,
  .page-a8bet__product-item,
  .page-a8bet__promotion-item,
  .page-a8bet__feature-item {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 20px 15px !important; /* Adjust padding */
  }

  .page-a8bet__guide-description,
  .page-a8bet__product-description,
  .page-a8bet__promotion-description,
  .page-a8bet__feature-description,
  .page-a8bet__faq-answer p {
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
  }

  .page-a8bet__faq-question {
    padding: 15px 20px;
  }
  .page-a8bet__faq-q-text {
    font-size: 1.1em;
  }
  .page-a8bet__faq-toggle {
    font-size: 1.5em;
  }
  .page-a8bet__faq-item.active .page-a8bet__faq-answer {
    padding: 15px 20px !important;
  }
  .page-a8bet__image-center, .page-a8bet__product-image, .page-a8bet__promotion-image, .page-a8bet__feature-icon {
    max-width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 480px) {
  .page-a8bet__hero-title {
    font-size: 2em;
  }
  .page-a8bet__hero-description {
    font-size: 1em;
  }
  .page-a8bet__section-title {
    font-size: 1.5em;
  }
  .page-a8bet__faq-q-text {
    font-size: 1em;
  }
  .page-a8bet__floating-button {
    padding: 8px 10px;
    font-size: 0.9em;
  }
  .page-a8bet__guide-step-number {
    width: 40px;
    height: 40px;
    font-size: 1.5em;
    margin-right: 15px;
  }
  .page-a8bet__guide-title {
    font-size: 1.2em;
  }
}
  