
    /* General styles for the page, scoped to .page-ac88 */
.page-ac88 {
  font-family: 'Arial', sans-serif;
  color: #f0f0f0;
  background-color: #1a1a1a;
  line-height: 1.6;
  padding-bottom: 80px; /* Space for floating buttons */
  box-sizing: border-box;
}

/* Container for content width */
.page-ac88__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

/* Section titles */
.page-ac88__section-title {
  color: #ffcc00; /* Vibrant yellow for titles */
  text-align: center;
  margin-bottom: 30px;
  padding-top: 20px;
  font-size: 2.2em;
  font-weight: bold;
}

.page-ac88__text {
  margin-bottom: 15px;
  color: #cccccc;
  font-size: 1.1em;
}

/* Buttons */
.page-ac88__cta-button,
.page-ac88__promotion-button {
  display: inline-block;
  background-color: #ff6600; /* Orange for CTA */
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  cursor: pointer;
  border: none;
  text-align: center;
}

.page-ac88__cta-button:hover,
.page-ac88__promotion-button:hover {
  background-color: #e65c00;
}

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

.page-ac88__floating-button {
  background-color: #007bff; /* Blue for register/login */
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s ease;
  min-width: 120px; /* Ensure buttons are not too small */
}

.page-ac88__floating-button:hover {
  background-color: #0056b3;
}

.page-ac88__register-button {
  background-color: #28a745; /* Green for register */
}

.page-ac88__register-button:hover {
  background-color: #218838;
}

/* Hero Section */
.page-ac88__hero-section {
  position: relative;
  width: 100%;
  min-height: 400px; /* Adjusted for mobile */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: 10px; /* Small decorative padding, body handles header offset */
  box-sizing: border-box;
}

.page-ac88__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(0.6); /* Allowed for background darkening, not color change */
  max-width: 100%; /* Responsive image */
}

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

.page-ac88__main-title {
  color: #ffcc00;
  font-size: 2.8em;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-ac88__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #ffffff;
}

/* About Section */
.page-ac88__about-section {
  padding: 40px 0;
  background-color: #222222;
}

.page-ac88__about-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.page-ac88__about-image {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  max-width: 100%; /* Responsive image */
}

/* Products Section */
.page-ac88__products-section {
  padding: 40px 0;
  background-color: #1a1a1a;
}

.page-ac88__product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 30px;
  justify-items: center; /* Center items in grid */
}

.page-ac88__product-item {
  background-color: #2c2c2c;
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  width: 100%; /* Ensure item takes full width in its grid cell */
  max-width: 350px; /* Limit max width for aesthetic */
  box-sizing: border-box;
}

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

.page-ac88__product-image {
  width: 100%;
  height: 200px; /* Fixed height for product images */
  object-fit: cover;
  margin-bottom: 15px;
  max-width: 100%; /* Responsive image */
}

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

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

/* Promotions Section */
.page-ac88__promotions-section {
  padding: 40px 0;
  background-color: #222222;
}

.page-ac88__promotion-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 30px;
  justify-items: center; /* Center items in grid */
}

.page-ac88__promotion-item {
  background-color: #2c2c2c;
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  width: 100%;
  max-width: 400px;
  box-sizing: border-box;
}

.page-ac88__promotion-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  margin-bottom: 15px;
  max-width: 100%; /* Responsive image */
}

.page-ac88__promotion-title {
  color: #ffcc00;
  font-size: 1.4em;
  margin-bottom: 10px;
  padding: 0 15px;
}

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

.page-ac88__cta-bottom {
  text-align: center;
  margin-top: 50px;
}

/* FAQ Section */
.page-ac88__faq-section {
  padding: 40px 0;
  background-color: #1a1a1a;
}

.page-ac88__faq-list {
  margin-top: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.page-ac88__faq-item {
  background-color: #2c2c2c;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  width: 100%; /* Ensure full width */
  box-sizing: border-box;
}

.page-ac88__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  cursor: pointer;
  background-color: #3a3a3a;
  color: #ffcc00;
  font-weight: bold;
  user-select: none;
  transition: background-color 0.3s ease;
  box-sizing: border-box;
}

.page-ac88__faq-question:hover {
  background-color: #4a4a4a;
}

.page-ac88__faq-q-text {
  margin: 0;
  font-size: 1.2em;
  pointer-events: none; /* Prevent text from interfering with click event */
  color: #ffcc00; /* Ensure high contrast */
}

.page-ac88__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  pointer-events: none; /* Prevent toggle from interfering with click event */
  color: #ffffff; /* Ensure high contrast */
}

.page-ac88__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 15px;
  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;
  box-sizing: border-box;
}

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

/* Contact Info Section */
.page-ac88__contact-info-section {
  padding: 40px 0;
  background-color: #222222;
  text-align: center;
}

.page-ac88__contact-details {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.page-ac88__contact-item {
  font-size: 1.1em;
  color: #ffffff;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-ac88__main-title {
    font-size: 2em;
  }

  .page-ac88__hero-description {
    font-size: 1em;
  }

  .page-ac88__section-title {
    font-size: 1.8em;
  }

  .page-ac88__about-content {
    flex-direction: column;
    text-align: center;
  }

  .page-ac88__product-grid,
  .page-ac88__promotion-grid {
    grid-template-columns: 1fr; /* Single column on mobile */
  }

  .page-ac88__product-item,
  .page-ac88__promotion-item {
    max-width: 90%; /* Adjust width for smaller screens */
    margin: 0 auto; /* Center items */
    width: 100% !important; /* Ensure full width of container */
    box-sizing: border-box !important;
  }

  /* List item specific responsive rules */
  .page-ac88__faq-list {
    padding: 0; /* Remove horizontal padding from container */
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-ac88__faq-item {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .page-ac88__faq-answer p {
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
  }
  .page-ac88__faq-answer {
    padding: 15px 10px !important; /* Smaller padding for mobile */
  }
  .page-ac88__faq-item.active .page-ac88__faq-answer {
    padding: 15px 10px !important; /* Smaller padding for mobile active state */
  }
  .page-ac88__faq-question {
    padding: 12px 15px;
  }
  .page-ac88__faq-q-text {
    font-size: 1.1em;
  }

  .page-ac88__floating-buttons {
    flex-direction: row;
    bottom: 10px;
    left: 10px;
    right: 10px;
    justify-content: center;
    gap: 8px;
  }

  .page-ac88__floating-button {
    flex: 1;
    min-width: unset;
    padding: 10px 15px;
  }
  
  .page-ac88 {
    padding-bottom: 70px; /* Adjust for smaller floating buttons */
  }
}

@media (min-width: 769px) {
  .page-ac88__hero-section {
    min-height: 600px;
  }
  .page-ac88__main-title {
    font-size: 3.5em;
  }
  .page-ac88__section-title {
    font-size: 2.5em;
  }
  .page-ac88__about-content {
    flex-direction: row;
    text-align: left;
  }
  .page-ac88__about-image {
    margin-right: 30px;
    margin-bottom: 0;
  }
}
  