/* style/hi88.css */
.page-hi88 {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #E0E0E0; /* Light gray for general text for contrast with dark background */
  background-color: #0A192F; /* Primary dark background */
}

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

.page-hi88__hero-section {
  background: linear-gradient(135deg, #0A192F 0%, #1a3a60 100%); /* Dark blue gradient */
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hi88__hero-image {
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 900px;
  opacity: 0.2;
  z-index: 0;
}

.page-hi88__hero-title {
  font-size: 3.5em;
  color: #FFD700; /* Accent gold for main title */
  margin-bottom: 20px;
  line-height: 1.2;
  position: relative;
  z-index: 1;
}

.page-hi88__hero-description {
  font-size: 1.3em;
  color: #C0C0C0;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.page-hi88__hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  position: relative;
  z-index: 1;
}

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

.page-hi88__button--primary {
  background-color: #FFD700; /* Gold button */
  color: #0A192F; /* Dark blue text for contrast */
  border: 2px solid #FFD700;
}

.page-hi88__button--primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
  transform: translateY(-3px);
}

.page-hi88__button--secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-hi88__button--secondary:hover {
  background-color: #FFD700;
  color: #0A192F;
  transform: translateY(-3px);
}

.page-hi88__section {
  padding: 80px 0;
  text-align: center;
}

.page-hi88__section:nth-of-type(even) {
  background-color: #0F2140; /* Slightly lighter dark blue for alternating sections */
}

.page-hi88__section-title {
  font-size: 2.8em;
  color: #FFD700; /* Gold for section titles */
  margin-bottom: 25px;
}

.page-hi88__section-intro {
  font-size: 1.1em;
  color: #C0C0C0;
  max-width: 900px;
  margin: 0 auto 60px auto;
}

.page-hi88__highlight {
  color: #FFD700;
  font-weight: bold;
}

/* Feature Grid */
.page-hi88__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.page-hi88__feature-item {
  background-color: #1a2a4f; /* Darker blue for feature cards */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: left;
  transition: transform 0.3s ease;
}

.page-hi88__feature-item:hover {
  transform: translateY(-10px);
}

.page-hi88__feature-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px #FFD700);
}

.page-hi88__feature-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-hi88__feature-description {
  font-size: 1em;
  color: #E0E0E0;
}

/* How-to Steps */
.page-hi88__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-hi88__step-item {
  background-color: #1a2a4f;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-hi88__step-number {
  display: inline-block;
  width: 50px;
  height: 50px;
  line-height: 50px;
  border-radius: 50%;
  background-color: #FFD700;
  color: #0A192F;
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-hi88__step-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-hi88__step-description {
  font-size: 1em;
  color: #E0E0E0;
}

.page-hi88__cta-area {
  margin-top: 60px;
}

/* Game Categories */
.page-hi88__game-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-hi88__game-card {
  background-color: #1a2a4f;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.3s ease;
}

.page-hi88__game-card:hover {
  transform: translateY(-10px);
}

.page-hi88__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-hi88__game-title {
  font-size: 1.4em;
  color: #FFD700;
  margin: 20px 0 10px;
}

.page-hi88__game-description {
  font-size: 0.95em;
  color: #C0C0C0;
  padding: 0 20px 20px;
}

/* Mobile App Section */
.page-hi88__mobile-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 50px;
  margin-top: 40px;
  text-align: left;
}

.page-hi88__mobile-text {
  flex: 1;
  min-width: 300px;
}

.page-hi88__mobile-text p {
  font-size: 1.1em;
  color: #E0E0E0;
  margin-bottom: 20px;
}

.page-hi88__mobile-text ul {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-hi88__mobile-text ul li {
  color: #C0C0C0;
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.page-hi88__mobile-text ul li::before {
  content: '✔';
  color: #FFD700;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-hi88__mobile-image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-hi88__mobile-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Responsibility Section */
.page-hi88__responsibility ul {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 40px auto;
  text-align: left;
}

.page-hi88__responsibility ul li {
  background-color: #1a2a4f;
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  color: #E0E0E0;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-hi88__responsibility ul li strong {
  color: #FFD700;
}

.page-hi88__responsibility p {
  color: #C0C0C0;
  margin-top: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Conclusion Section */
.page-hi88__conclusion .page-hi88__section-intro {
  margin-bottom: 30px;
}

.page-hi88__cta-final {
  margin-top: 50px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-hi88__hero-title {
    font-size: 2.8em;
  }

  .page-hi88__section-title {
    font-size: 2.2em;
  }

  .page-hi88__hero-image {
    width: 90%;
  }
}

@media (max-width: 768px) {
  .page-hi88__hero-section {
    padding: 80px 0 150px 0;
  }

  .page-hi88__hero-title {
    font-size: 2.2em;
  }

  .page-hi88__hero-description {
    font-size: 1.1em;
  }

  .page-hi88__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-hi88__button {
    width: 80%;
    margin: 0 auto;
  }

  .page-hi88__section {
    padding: 60px 0;
  }

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

  .page-hi88__section-intro {
    margin-bottom: 40px;
  }

  .page-hi88__feature-item, .page-hi88__step-item, .page-hi88__game-card {
    padding: 25px;
  }

  .page-hi88__mobile-content {
    flex-direction: column;
    gap: 30px;
  }
}

@media (max-width: 480px) {
  .page-hi88__hero-section {
    padding: 60px 0 120px 0;
  }

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

  .page-hi88__hero-description {
    font-size: 0.95em;
  }

  .page-hi88__button {
    width: 90%;
  }

  .page-hi88__section-title {
    font-size: 1.5em;
  }

  .page-hi88__section-intro {
    font-size: 0.9em;
  }

  .page-hi88__feature-title, .page-hi88__step-title, .page-hi88__game-title {
    font-size: 1.3em;
  }

  .page-hi88__feature-description, .page-hi88__step-description, .page-hi88__game-description {
    font-size: 0.9em;
  }
}