/* style/index-hb88-top-games.css */

/* Variables for colors */
:root {
  --primary-color: #0A192F;
  --secondary-color: #FFD700;
  --text-light: #F0F2F5; /* Light text for dark backgrounds */
  --text-dark: #1A1A1A; /* Dark text for light backgrounds */
  --highlight-text: #FFD700; /* Gold for highlights */
  --background-dark: #0A192F;
  --background-light: #FFFFFF;
  --button-hover-dark: #071221;
  --button-hover-light: #E0B800;
}

.page-index-hb88-top-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark); /* Default text color for light sections */
  background-color: var(--background-light);
}

.page-index-hb88-top-games__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero Section */
.page-index-hb88-top-games__hero-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, #1a345e 50%, var(--primary-color) 100%); /* Darker gradient for background */
  color: var(--text-light);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

.page-index-hb88-top-games__hero-section .page-index-hb88-top-games__container {
  position: relative;
  z-index: 1;
}

.page-index-hb88-top-games__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: var(--secondary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-index-hb88-top-games__intro-text {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-hb88-top-games__cta-group {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-index-hb88-top-games__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  font-size: 1.1em;
}

.page-index-hb88-top-games__button--primary {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border: 2px solid var(--secondary-color);
}

.page-index-hb88-top-games__button--primary:hover {
  background-color: var(--button-hover-light);
  transform: translateY(-2px);
}

.page-index-hb88-top-games__button--secondary {
  background-color: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
}

.page-index-hb88-top-games__button--secondary:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
}

.page-index-hb88-top-games__section-title {
  font-size: 2.5em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  padding-top: 60px;
}

.page-index-hb88-top-games__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: -20px auto 60px auto;
  color: var(--text-dark);
}

/* Why Choose Us Section */
.page-index-hb88-top-games__why-choose-us {
  background-color: var(--background-light);
  padding: 60px 0;
  text-align: center;
}

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

.page-index-hb88-top-games__feature-item {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: left;
  transition: transform 0.3s ease;
}

.page-index-hb88-top-games__feature-item:hover {
  transform: translateY(-5px);
}

.page-index-hb88-top-games__feature-title {
  font-size: 1.8em;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-index-hb88-top-games__feature-item p {
  color: var(--text-dark);
}

.page-index-hb88-top-games__link-button {
  display: inline-flex;
  align-items: center;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  margin-top: 15px;
  transition: color 0.3s ease;
}

.page-index-hb88-top-games__link-button:hover {
  color: var(--secondary-color);
}

.page-index-hb88-top-games__arrow {
  margin-left: 8px;
  font-size: 1.2em;
}

.page-index-hb88-top-games__feature-image {
  width: 100%;
  max-width: 800px;
  margin-top: 60px;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Game Categories Section */
.page-index-hb88-top-games__game-categories {
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 60px 0;
}

.page-index-hb88-top-games__game-categories .page-index-hb88-top-games__section-title,
.page-index-hb88-top-games__game-categories .page-index-hb88-top-games__section-description {
  color: var(--text-light);
}

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

.page-index-hb88-top-games__game-card {
  background-color: #1a2a47; /* Slightly lighter dark background for cards */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease;
}

.page-index-hb88-top-games__game-card:hover {
  transform: translateY(-8px);
}

.page-index-hb88-top-games__game-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.page-index-hb88-top-games__game-card-title {
  font-size: 1.6em;
  color: var(--secondary-color);
  margin: 20px 15px 10px;
}

.page-index-hb88-top-games__game-card-description {
  font-size: 0.95em;
  color: #cccccc;
  padding: 0 15px 20px;
}

.page-index-hb88-top-games__button--small {
  padding: 10px 20px;
  font-size: 0.9em;
  margin-bottom: 20px;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border: none;
}

.page-index-hb88-top-games__button--small:hover {
  background-color: var(--button-hover-light);
}

/* How To Start Section */
.page-index-hb88-top-games__how-to-start {
  background-color: var(--background-light);
  padding: 60px 0;
}

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

.page-index-hb88-top-games__step-item {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.page-index-hb88-top-games__step-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
}

.page-index-hb88-top-games__step-title {
  font-size: 1.8em;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-index-hb88-top-games__step-item p {
  color: var(--text-dark);
  margin-bottom: 20px;
}

.page-index-hb88-top-games__process-image {
  width: 100%;
  max-width: 900px;
  margin: 60px auto 0 auto;
  display: block;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Commitment Section */
.page-index-hb88-top-games__commitment {
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 80px 0;
  text-align: center;
}

.page-index-hb88-top-games__commitment .page-index-hb88-top-games__section-title {
  color: var(--secondary-color);
}

.page-index-hb88-top-games__commitment-text {
  font-size: 1.2em;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: #f0f0f0;
}

/* FAQ Section */
.page-index-hb88-top-games__faq-section {
  background-color: var(--background-light);
  padding: 60px 0 80px 0;
}

.page-index-hb88-top-games__faq-list {
  margin-top: 40px;
}

.page-index-hb88-top-games__faq-item {
  background-color: #f9f9f9;
  border-radius: 8px;
  margin-bottom: 20px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-index-hb88-top-games__faq-question {
  font-size: 1.4em;
  color: var(--primary-color);
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-index-hb88-top-games__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--secondary-color);
  transition: transform 0.3s ease;
}

.page-index-hb88-top-games__faq-question.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-index-hb88-top-games__faq-answer {
  color: var(--text-dark);
  font-size: 1.05em;
  display: none;
  padding-top: 10px;
  border-top: 1px solid #eee;
  margin-top: 15px;
}

.page-index-hb88-top-games__faq-answer.active {
  display: block;
}

/* Highlight text */
.page-index-hb88-top-games .highlight {
  color: var(--highlight-text);
  font-weight: bold;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-index-hb88-top-games__main-title {
    font-size: 2.5em;
  }

  .page-index-hb88-top-games__intro-text {
    font-size: 1em;
  }

  .page-index-hb88-top-games__cta-group {
    flex-direction: column;
    gap: 15px;
  }

  .page-index-hb88-top-games__button {
    width: 80%;
    margin: 0 auto;
  }

  .page-index-hb88-top-games__section-title {
    font-size: 2em;
  }

  .page-index-hb88-top-games__features-grid,
  .page-index-hb88-top-games__game-grid,
  .page-index-hb88-top-games__steps-grid {
    grid-template-columns: 1fr;
  }

  .page-index-hb88-top-games__feature-item,
  .page-index-hb88-top-games__game-card,
  .page-index-hb88-top-games__step-item {
    padding: 25px;
  }

  .page-index-hb88-top-games__game-card-title {
    font-size: 1.4em;
  }

  .page-index-hb88-top-games__step-title {
    font-size: 1.6em;
  }

  .page-index-hb88-top-games__faq-question {
    font-size: 1.2em;
  }
}

@media (max-width: 480px) {
  .page-index-hb88-top-games__main-title {
    font-size: 2em;
  }

  .page-index-hb88-top-games__intro-text {
    font-size: 0.9em;
  }

  .page-index-hb88-top-games__button {
    padding: 12px 20px;
    font-size: 1em;
    width: 90%;
  }

  .page-index-hb88-top-games__section-title {
    font-size: 1.8em;
  }

  .page-index-hb88-top-games__section-description {
    font-size: 0.95em;
  }

  .page-index-hb88-top-games__hero-section,
  .page-index-hb88-top-games__why-choose-us,
  .page-index-hb88-top-games__game-categories,
  .page-index-hb88-top-games__how-to-start,
  .page-index-hb88-top-games__commitment,
  .page-index-hb88-top-games__faq-section {
    padding: 40px 0;
  }

  .page-index-hb88-top-games__feature-title,
  .page-index-hb88-top-games__game-card-title,
  .page-index-hb88-top-games__step-title {
    font-size: 1.3em;
  }

  .page-index-hb88-top-games__faq-question {
    font-size: 1.1em;
  }
}