
    /* General Styling for 88xeng Page */
.page-88xeng {
  font-family: 'Arial', sans-serif;
  color: #e0e0e0; /* Light text for dark background */
  background-color: #1a1a2e; /* Dark background */
  line-height: 1.6;
}

.page-88xeng__section {
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-88xeng__section-title {
  font-size: 2.5em;
  color: #e94560; /* Accent color */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

/* Hero Section */
.page-88xeng__hero-section {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('[GALLERY:hero:1920x1080:casino,gaming,88xeng]') no-repeat center center/cover;
  color: #ffffff;
  text-align: center;
  padding: 10px 20px 80px; /* Small padding-top as per rule, larger bottom padding */
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  position: relative;
  box-sizing: border-box; /* Ensure padding is included in height */
}

.page-88xeng__hero-content {
  max-width: 900px;
  z-index: 1;
}

.page-88xeng__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #f7b32b; /* Golden accent for title */
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-88xeng__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #e0e0e0;
}

.page-88xeng__button--primary {
  display: inline-block;
  background-color: #e94560; /* Red accent for button */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-88xeng__button--primary:hover {
  background-color: #d13a52;
  transform: translateY(-2px);
}

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

.page-88xeng__button--register,
.page-88xeng__button--login {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 50px;
  border-radius: 25px;
  font-size: 1.1em;
  font-weight: bold;
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease, background-color 0.3s ease;
}

.page-88xeng__button--register {
  background-color: #28a745; /* Green for Register */
}

.page-88xeng__button--register:hover {
  background-color: #218838;
  transform: scale(1.05);
}

.page-88xeng__button--login {
  background-color: #007bff; /* Blue for Login */
}

.page-88xeng__button--login:hover {
  background-color: #0056b3;
  transform: scale(1.05);
}

/* Product Showcase */
.page-88xeng__product-showcase {
  background-color: #1a1a2e;
}

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

.page-88xeng__product-item {
  background-color: #2a2a4a;
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding-bottom: 20px;
  box-sizing: border-box; /* Added for list items */
}

.page-88xeng__product-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-88xeng__product-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  margin-bottom: 15px;
  max-width: 100%; /* Responsive image */
  box-sizing: border-box; /* Added for image */
}

.page-88xeng__product-title {
  font-size: 1.8em;
  color: #f7b32b;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-88xeng__product-description {
  font-size: 1em;
  color: #c0c0c0;
  padding: 0 15px;
}

/* Promotions Section */
.page-88xeng__promotions {
  background-color: #121223;
}

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

.page-88xeng__promotion-card {
  background-color: #2a2a4a;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  padding-bottom: 20px;
  box-sizing: border-box; /* Added for list items */
}

.page-88xeng__promotion-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-88xeng__promotion-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  margin-bottom: 15px;
  max-width: 100%; /* Responsive image */
  box-sizing: border-box; /* Added for image */
}

.page-88xeng__promotion-title {
  font-size: 1.7em;
  color: #e94560;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-88xeng__promotion-description {
  font-size: 1em;
  color: #c0c0c0;
  padding: 0 15px;
}

/* News Section */
.page-88xeng__news {
  background-color: #1a1a2e;
}

.page-88xeng__news-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
}

.page-88xeng__news-item {
  background-color: #2a2a4a;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box; /* Added for list items */
}

.page-88xeng__news-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-88xeng__news-image {
  width: 250px;
  height: 150px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
  max-width: 100%; /* Responsive image */
  box-sizing: border-box; /* Added for image */
}

.page-88xeng__news-content {
  padding: 20px;
  flex-grow: 1;
}

.page-88xeng__news-title {
  font-size: 1.5em;
  color: #f7b32b;
  margin-bottom: 10px;
}

.page-88xeng__news-date {
  font-size: 0.9em;
  color: #888;
  margin-bottom: 10px;
}

.page-88xeng__news-description {
  font-size: 1em;
  color: #c0c0c0;
}

/* About Section */
.page-88xeng__about {
  background-color: #121223;
  text-align: center;
}

.page-88xeng__about-content p {
  font-size: 1.1em;
  color: #e0e0e0;
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-88xeng__about-content a {
  color: #e94560;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-88xeng__about-content a:hover {
  color: #f7b32b;
}

/* FAQ Section */
.page-88xeng__faq-section {
  background-color: #1a1a2e;
}

.page-88xeng__faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.page-88xeng__faq-item {
  background-color: #2a2a4a;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  box-sizing: border-box; /* Added for list items */
}

.page-88xeng__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  cursor: pointer;
  background-color: #3f3f6e;
  color: #ffffff;
  font-size: 1.2em;
  font-weight: bold;
  user-select: none;
  transition: background-color 0.3s ease;
}

.page-88xeng__faq-question:hover {
  background-color: #4c4c82;
}

.page-88xeng__faq-question h3 {
  margin: 0;
  flex-grow: 1;
  color: #f7b32b;
}

.page-88xeng__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
  color: #e94560;
}

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

.page-88xeng__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px; /* Initial padding */
  opacity: 0;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  background-color: #2a2a4a;
  color: #c0c0c0;
  box-sizing: border-box; /* Added for list items */
}

.page-88xeng__faq-item.active .page-88xeng__faq-answer {
  max-height: 2000px !important; /* Sufficiently large value */
  padding: 20px !important; /* Updated padding for expanded state */
  opacity: 1;
}

.page-88xeng__faq-answer p {
  margin: 0;
  padding: 0;
  font-size: 1em;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-88xeng__hero-title {
    font-size: 3em;
  }
  .page-88xeng__hero-description {
    font-size: 1.2em;
  }
  .page-88xeng__section-title {
    font-size: 2em;
  }
  .page-88xeng__product-grid,
  .page-88xeng__promotions-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-88xeng__hero-section {
    min-height: 400px;
    padding-bottom: 60px;
  }
  .page-88xeng__hero-title {
    font-size: 2.5em;
  }
  .page-88xeng__hero-description {
    font-size: 1.1em;
  }
  .page-88xeng__button--primary {
    padding: 12px 25px;
    font-size: 1.1em;
  }
  .page-88xeng__section {
    padding: 30px 15px;
  }
  .page-88xeng__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  /* Floating buttons */
  .page-88xeng__floating-buttons {
    right: 10px;
    bottom: 10px;
    flex-direction: row; /* Horizontal on mobile */
    gap: 8px;
  }
  .page-88xeng__button--register,
  .page-88xeng__button--login {
    width: 100px;
    height: 45px;
    font-size: 1em;
  }

  /* Product Grid & Promotions Grid - list item responsive */
  .page-88xeng__product-grid,
  .page-88xeng__promotions-grid {
    grid-template-columns: 1fr; /* Single column */
  }
  .page-88xeng__product-item,
  .page-88xeng__promotion-card {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }
  .page-88xeng__product-image,
  .page-88xeng__promotion-image {
    max-width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }
  .page-88xeng__product-title,
  .page-88xeng__promotion-title {
    font-size: 1.5em;
  }
  .page-88xeng__product-description,
  .page-88xeng__promotion-description {
    font-size: 0.95em;
  }

  /* News List - list item responsive */
  .page-88xeng__news-item {
    flex-direction: column; /* Stack image and content */
    align-items: flex-start;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }
  .page-88xeng__news-image {
    width: 100% !important;
    height: 200px !important; /* Adjust height for mobile */
    object-fit: cover;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-88xeng__news-content {
    padding: 15px;
    word-wrap: break-word !important; /* Ensure text wraps */
    overflow-wrap: break-word !important;
    word-break: break-word !important;
  }
  .page-88xeng__news-title {
    font-size: 1.3em;
  }
  .page-88xeng__news-description {
    font-size: 0.9em;
  }

  /* FAQ Section - list item responsive */
  .page-88xeng__faq-item {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }
  .page-88xeng__faq-question {
    font-size: 1.1em;
    padding: 12px 15px;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
  }
  .page-88xeng__faq-answer {
    padding: 15px !important; /* Adjust padding for mobile */
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
  }
  .page-88xeng__faq-answer p {
    font-size: 0.95em;
  }
}

@media (max-width: 480px) {
  .page-88xeng__hero-title {
    font-size: 2em;
  }
  .page-88xeng__hero-description {
    font-size: 1em;
  }
  .page-88xeng__section-title {
    font-size: 1.5em;
  }
  .page-88xeng__floating-buttons {
    flex-direction: column; /* Stack vertically on very small screens */
    align-items: center;
  }
  .page-88xeng__button--register,
  .page-88xeng__button--login {
    width: 100px; /* Keep fixed width */
  }
}

/* Ensure images are responsive and don't change color */
.page-88xeng img {
  max-width: 100%;
  height: auto;
  display: block;
  filter: none !important; /* Strict rule: no filter to change color */
}
  