/* style/hi88.css */
.page-hi88 {
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #f8f9fa;
}

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

.page-hi88__hero-section {
  background: linear-gradient(135deg, #007BFF, #FFC107);
  color: #fff;
  padding: 100px 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  min-height: 500px; /* Ensure sufficient height */
}

.page-hi88__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('[IMAGE:hero_main_bg]') no-repeat center center/cover;
  opacity: 0.2;
  z-index: 0;
}

.page-hi88__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.page-hi88__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-hi88__hero-subtitle {
  font-size: 1.5em;
  margin-bottom: 40px;
  opacity: 0.9;
}

.page-hi88__hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-hi88__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.page-hi88__btn--primary {
  background-color: #FFC107;
  color: #007BFF;
  box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
}

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

.page-hi88__btn--secondary {
  background-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  border: 2px solid #fff;
}

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

.page-hi88__btn--small {
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-hi88__btn--large {
  padding: 20px 40px;
  font-size: 1.2em;
}

.page-hi88__hero-image-container {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  pointer-events: none;
  z-index: 0; /* Ensure it's behind content */
}

.page-hi88__hero-image {
  max-width: 50%;
  height: auto;
  object-fit: contain;
  transform: translateY(20px);
  opacity: 0.8;
}

.page-hi88__about-section, .page-hi88__features-section, .page-hi88__how-to-start-section, .page-hi88__cta-section {
  padding: 60px 0;
}

.page-hi88__about-section {
  background-color: #fff;
}

.page-hi88__section-title {
  font-size: 2.5em;
  color: #007BFF;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-hi88__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FFC107;
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-hi88__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #555;
  text-align: justify;
}

.page-hi88__text-block--center {
  text-align: center;
}

.page-hi88__features-section {
  background-color: #f0f8ff;
}

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

.page-hi88__feature-item {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-hi88__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-hi88__feature-title {
  font-size: 1.8em;
  color: #007BFF;
  margin-bottom: 15px;
}

.page-hi88__feature-description {
  font-size: 1em;
  color: #666;
  margin-bottom: 15px;
}

.page-hi88__feature-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
}

.page-hi88__how-to-start-section {
  background-color: #fff;
}

.page-hi88__step-list {
  list-style: none;
  padding: 0;
  counter-reset: step-counter;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.page-hi88__step-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background-color: #fdfdfd;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
  position: relative;
}

.page-hi88__step-item::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: 50%;
  background-color: #007BFF;
  color: #fff;
  font-size: 1.8em;
  font-weight: bold;
  flex-shrink: 0;
}

.page-hi88__step-title {
  font-size: 1.6em;
  color: #007BFF;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-hi88__step-item p {
  color: #666;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-hi88__actions-bottom {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.page-hi88__cta-section {
  background: linear-gradient(to right, #007BFF, #0056b3);
  color: #fff;
  text-align: center;
  padding: 80px 0;
  border-radius: 10px;
  margin: 40px auto;
  max-width: 1000px;
  box-shadow: 0 10px 30px rgba(0, 123, 255, 0.4);
}

.page-hi88__cta-content {
  padding: 0 40px;
}

.page-hi88__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.page-hi88__cta-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-hi88__hero-title {
    font-size: 2.8em;
  }
  .page-hi88__hero-subtitle {
    font-size: 1.3em;
  }
  .page-hi88__section-title {
    font-size: 2em;
  }
  .page-hi88__cta-title {
    font-size: 2.2em;
  }
  .page-hi88__hero-image {
    max-width: 70%;
  }
}

@media (max-width: 768px) {
  .page-hi88__hero-section {
    padding: 80px 0;
  }
  .page-hi88__hero-title {
    font-size: 2.2em;
  }
  .page-hi88__hero-subtitle {
    font-size: 1.1em;
  }
  .page-hi88__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-hi88__btn {
    width: 80%;
    margin: 0 auto;
  }
  .page-hi88__features-grid {
    grid-template-columns: 1fr;
  }
  .page-hi88__step-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .page-hi88__step-item::before {
    margin-bottom: 15px;
  }
  .page-hi88__actions-bottom {
    flex-direction: column;
    gap: 15px;
  }
  .page-hi88__cta-title {
    font-size: 1.8em;
  }
  .page-hi88__cta-description {
    font-size: 1.1em;
  }
  .page-hi88__hero-image {
    display: none; /* Hide image on smaller screens if it obstructs content */
  }
}

@media (max-width: 480px) {
  .page-hi88__hero-title {
    font-size: 1.8em;
  }
  .page-hi88__hero-subtitle {
    font-size: 1em;
  }
  .page-hi88__section-title {
    font-size: 1.8em;
  }
  .page-hi88__btn--large {
    font-size: 1em;
    padding: 15px 30px;
  }
}