/* style/hi88.css */

/* Variables */
:root {
  --page-hi88-primary-color: #007BFF;
  --page-hi88-secondary-color: #FFC107;
  --page-hi88-text-dark: #212529;
  --page-hi88-text-light: #f8f9fa;
  --page-hi88-bg-light: #f8f9fa;
  --page-hi88-bg-dark: #343a40;
  --page-hi88-border-color: #dee2e6;
}

.page-hi88 {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--page-hi88-text-dark);
  background-color: var(--page-hi88-bg-light);
}

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

.page-hi88__section-title {
  font-size: 2.5em;
  color: var(--page-hi88-primary-color);
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-hi88__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  color: var(--page-hi88-text-dark);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-hi88__hero {
  position: relative;
  background: linear-gradient(135deg, var(--page-hi88-primary-color) 0%, #0056b3 100%); /* Darker blue for gradient */
  color: var(--page-hi88-text-light);
  padding: 80px 0;
  text-align: center;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

.page-hi88__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  z-index: 0;
}

.page-hi88__hero .page-hi88__container {
  position: relative;
  z-index: 1;
}

.page-hi88__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.1;
  font-weight: bold;
  color: var(--page-hi88-text-light);
}

.page-hi88__hero-subtitle {
  font-size: 1.4em;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: var(--page-hi88-text-light);
}

.page-hi88__hero-actions .page-hi88__btn {
  margin: 0 10px;
}

/* Buttons */
.page-hi88__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 1.1em;
}

.page-hi88__btn--primary {
  background-color: var(--page-hi88-secondary-color);
  color: var(--page-hi88-text-dark);
  border: 2px solid var(--page-hi88-secondary-color);
}

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

.page-hi88__btn--secondary {
  background-color: transparent;
  color: var(--page-hi88-text-light);
  border: 2px solid var(--page-hi88-text-light);
}

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

.page-hi88__btn--large {
  padding: 15px 35px;
  font-size: 1.3em;
}

/* Intro Section */
.page-hi88__intro {
  padding: 60px 0;
  background-color: var(--page-hi88-bg-light);
}

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

.page-hi88__feature-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px 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 6px 20px rgba(0, 0, 0, 0.12);
}

.page-hi88__feature-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.1));
}

.page-hi88__feature-title {
  font-size: 1.5em;
  color: var(--page-hi88-primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-hi88__feature-text {
  font-size: 1em;
  color: var(--page-hi88-text-dark);
}

/* Games Showcase Section */
.page-hi88__games-showcase {
  padding: 60px 0;
  background-color: #f0f2f5;
}

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

.page-hi88__game-card {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-hi88__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

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

.page-hi88__game-title {
  font-size: 1.4em;
  color: var(--page-hi88-primary-color);
  padding: 20px 15px 10px;
  font-weight: bold;
}

.page-hi88__game-text {
  font-size: 0.95em;
  color: var(--page-hi88-text-dark);
  padding: 0 15px 20px;
}

/* Registration Guide Section */
.page-hi88__registration-guide {
  padding: 60px 0;
  background-color: var(--page-hi88-bg-light);
}

.page-hi88__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-hi88__steps-list li {
  background-color: #ffffff;
  padding: 25px;
  margin-bottom: 20px;
  border-left: 5px solid var(--page-hi88-primary-color);
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-hi88__step-title {
  font-size: 1.6em;
  color: var(--page-hi88-primary-color);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-hi88__step-text {
  font-size: 1.05em;
  color: var(--page-hi88-text-dark);
}

.page-hi88__cta-area {
  text-align: center;
  margin-top: 50px;
  padding: 40px;
  background-color: #e9f5ff; /* Lighter blue background */
  border-radius: 8px;
  border: 1px solid var(--page-hi88-primary-color);
}

.page-hi88__cta-text {
  font-size: 1.3em;
  margin-bottom: 25px;
  color: var(--page-hi88-text-dark);
  font-weight: 500;
}

/* Promotions Section */
.page-hi88__promotions {
  padding: 60px 0;
  background-color: #f0f2f5;
}

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

.page-hi88__promo-card {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-hi88__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.page-hi88__promo-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.page-hi88__promo-title {
  font-size: 1.5em;
  color: var(--page-hi88-primary-color);
  padding: 20px 15px 10px;
  font-weight: bold;
}

.page-hi88__promo-text {
  font-size: 1em;
  color: var(--page-hi88-text-dark);
  padding: 0 15px 20px;
}

/* Commitment Section */
.page-hi88__commitment {
  padding: 60px 0;
  background-color: var(--page-hi88-bg-light);
}

.page-hi88__commitment-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.page-hi88__commitment-list li {
  background-color: #ffffff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  text-align: left;
  color: var(--page-hi88-text-dark);
}

.page-hi88__commitment-icon {
  width: 40px;
  height: 40px;
  margin-right: 15px;
  flex-shrink: 0;
}

.page-hi88__commitment-list li strong {
  color: var(--page-hi88-primary-color);
  font-weight: bold;
}

/* FAQ Section */
.page-hi88__faq {
  padding: 60px 0;
  background-color: #f0f2f5;
}

.page-hi88__accordion {
  max-width: 900px;
  margin: 40px auto 0;
  border: 1px solid var(--page-hi88-border-color);
  border-radius: 8px;
  overflow: hidden;
}

.page-hi88__accordion-item {
  border-bottom: 1px solid var(--page-hi88-border-color);
}

.page-hi88__accordion-item:last-child {
  border-bottom: none;
}

.page-hi88__accordion-header {
  background-color: #ffffff;
  color: var(--page-hi88-primary-color);
  padding: 20px 25px;
  width: 100%;
  text-align: left;
  border: none;
  outline: none;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-hi88__accordion-header::after {
  content: '+';
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-hi88__accordion-header.active {
  background-color: #e9f5ff;
}

.page-hi88__accordion-header.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-hi88__accordion-content {
  padding: 0 25px;
  background-color: #fcfdff;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-hi88__accordion-content p {
  padding: 15px 0;
  margin: 0;
  color: var(--page-hi88-text-dark);
  font-size: 1em;
}

.page-hi88__accordion-content.show {
  max-height: 200px; /* Adjust as needed for content length */
  padding: 15px 25px;
}

/* Final CTA Section */
.page-hi88__final-cta {
  background: linear-gradient(45deg, var(--page-hi88-primary-color), #0056b3);
  padding: 80px 0;
  text-align: center;
  color: var(--page-hi88-text-light);
}

.page-hi88__final-cta-title {
  font-size: 3em;
  margin-bottom: 20px;
  font-weight: bold;
  color: var(--page-hi88-text-light);
}

.page-hi88__final-cta-text {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: var(--page-hi88-text-light);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-hi88__hero-title {
    font-size: 2.8em;
  }
  .page-hi88__hero-subtitle {
    font-size: 1.2em;
  }
  .page-hi88__section-title {
    font-size: 2em;
  }
  .page-hi88__final-cta-title {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  .page-hi88__hero {
    padding: 60px 0;
    min-height: 400px;
  }
  .page-hi88__hero-title {
    font-size: 2.2em;
  }
  .page-hi88__hero-subtitle {
    font-size: 1.1em;
  }
  .page-hi88__hero-actions .page-hi88__btn {
    display: block;
    margin: 15px auto;
    width: 80%;
  }
  .page-hi88__section-title {
    font-size: 1.8em;
  }
  .page-hi88__features-grid, .page-hi88__game-categories, .page-hi88__promo-grid, .page-hi88__commitment-list {
    grid-template-columns: 1fr;
  }
  .page-hi88__btn--large {
    font-size: 1.1em;
    padding: 12px 25px;
  }
  .page-hi88__final-cta-title {
    font-size: 2em;
  }
  .page-hi88__final-cta-text {
    font-size: 1.1em;
  }
}

@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.5em;
  }
  .page-hi88__feature-title, .page-hi88__game-title, .page-hi88__promo-title, .page-hi88__step-title {
    font-size: 1.3em;
  }
  .page-hi88__cta-area {
    padding: 25px;
  }
  .page-hi88__cta-text {
    font-size: 1.1em;
  }
  .page-hi88__accordion-header {
    font-size: 1em;
    padding: 15px 20px;
  }
  .page-hi88__accordion-content p {
    font-size: 0.9em;
  }
  .page-hi88__final-cta-title {
    font-size: 1.8em;
  }
  .page-hi88__final-cta-text {
    font-size: 1em;
  }
}