.page-hello88login {
  font-family: 'Arial', sans-serif;
  color: #333333;
  line-height: 1.6;
  background-color: #f8f9fa;
}

.page-hello88login__hero-section {
  text-align: center;
  padding-top: 10px; /* Small decorative padding, body handles --header-offset */
  padding-bottom: 40px;
  position: relative;
  overflow: hidden;
  background-color: #f8f9fa;
}

.page-hello88login__hero-image-wrapper {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  margin-bottom: 20px;
}

.page-hello88login__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
}

.page-hello88login__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-hello88login__hero-title {
  font-size: 2.8em;
  color: #2563eb;
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.2;
}

.page-hello88login__hero-description {
  font-size: 1.1em;
  color: #64748b;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-hello88login__btn-primary,
.page-hello88login__btn-secondary,
.page-hello88login__btn-outline,
.page-hello88login__btn-text {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-hello88login__btn-primary {
  background-color: #2563eb;
  color: #ffffff;
  border: 2px solid #2563eb;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.page-hello88login__btn-primary:hover {
  background-color: #1e4dbe;
  border-color: #1e4dbe;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.page-hello88login__btn-secondary {
  background-color: #ffffff;
  color: #2563eb;
  border: 2px solid #2563eb;
}

.page-hello88login__btn-secondary:hover {
  background-color: #f0f8ff;
  color: #1e4dbe;
  border-color: #1e4dbe;
}

.page-hello88login__btn-outline {
  background-color: transparent;
  color: #2563eb;
  border: 2px solid #2563eb;
}

.page-hello88login__btn-outline:hover {
  background-color: #2563eb;
  color: #ffffff;
}

.page-hello88login__btn-text {
  background-color: transparent;
  color: #2563eb;
  border: none;
  padding: 5px 10px;
  text-decoration: underline;
}

.page-hello88login__btn-text:hover {
  color: #1e4dbe;
}

.page-hello88login__section-title {
  font-size: 2.2em;
  color: #111111;
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-hello88login__section-description {
  font-size: 1.1em;
  color: #64748b;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-hello88login__why-login-section,
.page-hello88login__games-showcase,
.page-hello88login__login-guide-section,
.page-hello88login__promotions-section,
.page-hello88login__faq-section,
.page-hello88login__cta-final-section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-hello88login__dark-bg {
  background-color: #2563eb;
  color: #ffffff;
}

.page-hello88login__dark-bg .page-hello88login__section-title,
.page-hello88login__dark-bg .page-hello88login__section-description,
.page-hello88login__dark-bg .page-hello88login__feature-title,
.page-hello88login__dark-bg .page-hello88login__feature-description,
.page-hello88login__dark-bg .page-hello88login__promo-title,
.page-hello88login__dark-bg .page-hello88login__promo-desc {
  color: #ffffff;
}

.page-hello88login__features-grid,
.page-hello88login__games-grid,
.page-hello88login__guide-steps,
.page-hello88login__promo-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-hello88login__feature-item,
.page-hello88login__game-card,
.page-hello88login__step-item,
.page-hello88login__promo-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.page-hello88login__dark-bg .page-hello88login__feature-item,
.page-hello88login__dark-bg .page-hello88login__promo-card {
  background-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.page-hello88login__feature-item:hover,
.page-hello88login__game-card:hover,
.page-hello88login__step-item:hover,
.page-hello88login__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-hello88login__feature-icon,
.page-hello88login__game-image,
.page-hello88login__step-image,
.page-hello88login__promo-image {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-hello88login__feature-title,
.page-hello88login__game-title,
.page-hello88login__step-title,
.page-hello88login__promo-title {
  font-size: 1.4em;
  color: #2563eb;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-hello88login__feature-description,
.page-hello88login__game-desc,
.page-hello88login__step-description,
.page-hello88login__promo-desc {
  font-size: 1em;
  color: #64748b;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-hello88login__dark-bg .page-hello88login__feature-description,
.page-hello88login__dark-bg .page-hello88login__promo-desc {
  color: #e0e0e0;
}

.page-hello88login__cta-container {
  text-align: center;
  margin-top: 50px;
}

.page-hello88login__faq-list {
  margin-top: 40px;
}

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

.page-hello88login__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  user-select: none;
  background-color: #f0f8ff;
  border-bottom: 1px solid #e0e0e0;
}

.page-hello88login__faq-question:hover {
  background-color: #e6f2ff;
}

.page-hello88login__faq-qtext {
  font-size: 1.1em;
  font-weight: 600;
  color: #2563eb;
  pointer-events: none;
}

.page-hello88login__faq-toggle {
  font-size: 1.5em;
  font-weight: 700;
  color: #2563eb;
  pointer-events: none;
  transition: transform 0.3s ease;
}

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

.page-hello88login__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: #333333;
}

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

.page-hello88login__cta-final-section {
  text-align: center;
  background-color: #2563eb;
  color: #ffffff;
  padding: 80px 20px;
  border-radius: 12px;
  margin-bottom: 40px;
}

.page-hello88login__cta-final-section .page-hello88login__section-title,
.page-hello88login__cta-final-section .page-hello88login__section-description {
  color: #ffffff;
}

.page-hello88login__floating-login-btn {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #ffc107; /* Eye-catching color */
  color: #111111;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 1.2em;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  transition: background-color 0.3s ease, transform 0.3s ease;
  animation: pulse 2s infinite;
  display: none; /* Hidden by default, shown via JS on mobile */
  box-sizing: border-box;
  max-width: calc(100% - 40px);
  white-space: normal;
  word-wrap: break-word;
}

.page-hello88login__floating-login-btn:hover {
  background-color: #e0a800;
  transform: translateX(-50%) scale(1.05);
}

@keyframes pulse {
  0% { transform: translateX(-50%) scale(1); }
  50% { transform: translateX(-50%) scale(1.03); }
  100% { transform: translateX(-50%) scale(1); }
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-hello88login__hero-title {
    font-size: 2.5em;
  }

  .page-hello88login__section-title {
    font-size: 2em;
  }

  .page-hello88login__features-grid,
  .page-hello88login__games-grid,
  .page-hello88login__guide-steps,
  .page-hello88login__promo-cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
  }
}

@media (max-width: 768px) {
  .page-hello88login {
    font-size: 15px;
  }

  /* HERO Section */
  .page-hello88login__hero-section {
    padding-top: 10px !important;
    padding-bottom: 30px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-hello88login__hero-image-wrapper {
    max-height: 300px;
  }

  .page-hello88login__hero-title {
    font-size: 2em;
    margin-bottom: 10px;
  }

  .page-hello88login__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-hello88login__btn-primary,
  .page-hello88login__btn-secondary,
  .page-hello88login__btn-outline,
  .page-hello88login__btn-text {
    padding: 10px 20px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* General Image & Container */
  .page-hello88login img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-hello88login__why-login-section,
  .page-hello88login__games-showcase,
  .page-hello88login__login-guide-section,
  .page-hello88login__promotions-section,
  .page-hello88login__faq-section,
  .page-hello88login__cta-final-section {
    padding: 40px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-hello88login__section-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }

  .page-hello88login__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  /* Product Grid */
  .page-hello88login__features-grid,
  .page-hello88login__games-grid,
  .page-hello88login__promo-cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Guide Steps (can remain 1 column for clarity) */
  .page-hello88login__guide-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-hello88login__feature-item,
  .page-hello88login__game-card,
  .page-hello88login__step-item,
  .page-hello88login__promo-card {
    padding: 20px;
  }

  .page-hello88login__feature-title,
  .page-hello88login__game-title,
  .page-hello88login__step-title,
  .page-hello88login__promo-title {
    font-size: 1.2em;
  }

  .page-hello88login__feature-description,
  .page-hello88login__game-desc,
  .page-hello88login__step-description,
  .page-hello88login__promo-desc {
    font-size: 0.9em;
  }

  /* FAQ */
  .page-hello88login__faq-question {
    padding: 15px 20px;
  }

  .page-hello88login__faq-qtext {
    font-size: 1em;
  }

  .page-hello88login__faq-answer {
    padding: 0 20px;
  }

  .page-hello88login__faq-item.active .page-hello88login__faq-answer {
    padding: 15px 20px !important;
  }

  /* Floating Button */
  .page-hello88login__floating-login-btn {
    display: block;
    font-size: 1em;
    padding: 12px 20px;
  }
}