/* style/resources-hm88-game-introduction.css */
.page-resources-hm88-game-introduction {
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #f8f8f8;
}

.page-resources-hm88-game-introduction .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-resources-hm88-game-introduction .hero-section {
  background: linear-gradient(135deg, #003366 0%, #004488 100%); /* Dark blue gradient */
  color: #ffffff;
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-resources-hm88-game-introduction .hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFCC00; /* Gold for title */
  font-weight: bold;
  line-height: 1.2;
}

.page-resources-hm88-game-introduction .hero-subtitle {
  font-size: 1.4em;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #e0e0e0;
}

.page-resources-hm88-game-introduction .hero-actions .btn {
  margin: 0 10px;
  padding: 15px 30px;
  font-size: 1.1em;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
  display: inline-block;
}

.page-resources-hm88-game-introduction .btn-primary {
  background-color: #FFCC00;
  color: #003366;
  border: 2px solid #FFCC00;
}

.page-resources-hm88-game-introduction .btn-primary:hover {
  background-color: #e6b800;
  border-color: #e6b800;
  transform: translateY(-2px);
}

.page-resources-hm88-game-introduction .btn-secondary {
  background-color: transparent;
  color: #FFCC00;
  border: 2px solid #FFCC00;
}

.page-resources-hm88-game-introduction .btn-secondary:hover {
  background-color: #FFCC00;
  color: #003366;
  transform: translateY(-2px);
}

.page-resources-hm88-game-introduction .section-title {
  font-size: 2.5em;
  color: #003366;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-resources-hm88-game-introduction .section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFCC00;
  border-radius: 2px;
}

.page-resources-hm88-game-introduction .section-description {
  text-align: center;
  font-size: 1.1em;
  margin-bottom: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #555;
}

.page-resources-hm88-game-introduction section {
  padding: 60px 0;
}

.page-resources-hm88-game-introduction .introduction-section .content-block {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.page-resources-hm88-game-introduction .introduction-section .text-content {
  flex: 1;
  min-width: 300px;
}

.page-resources-hm88-game-introduction .introduction-section .text-content p {
  margin-bottom: 20px;
  font-size: 1.05em;
  color: #444;
}

.page-resources-hm88-game-introduction .introduction-section .image-content {
  flex: 1;
  min-width: 300px;
}

.page-resources-hm88-game-introduction .img-fluid {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.page-resources-hm88-game-introduction .game-category-item {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.page-resources-hm88-game-introduction .game-category-item.reverse-layout {
  flex-direction: row-reverse;
}

.page-resources-hm88-game-introduction .game-category-item .text-content,
.page-resources-hm88-game-introduction .game-category-item .image-content {
  flex: 1;
  min-width: 300px;
}

.page-resources-hm88-game-introduction .game-category-item h3 {
  font-size: 2em;
  color: #003366;
  margin-bottom: 15px;
}

.page-resources-hm88-game-introduction .game-category-item p {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #555;
}

.page-resources-hm88-game-introduction .btn-sm {
  padding: 10px 20px;
  font-size: 0.95em;
  background-color: #003366;
  color: #FFCC00;
  border: 1px solid #003366;
  border-radius: 5px;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-resources-hm88-game-introduction .btn-sm:hover {
  background-color: #FFCC00;
  color: #003366;
}

.page-resources-hm88-game-introduction .bg-dark-blue {
  background-color: #003366;
  color: #ffffff;
}

.page-resources-hm88-game-introduction .bg-dark-blue .section-title {
  color: #FFCC00; /* Gold for title on dark blue background */
}

.page-resources-hm88-game-introduction .bg-dark-blue .section-title::after {
  background-color: #FFCC00;
}

.page-resources-hm88-game-introduction .why-choose-hm88-section .features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-resources-hm88-game-introduction .why-choose-hm88-section .feature-item {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white for items */
  padding: 30px;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.page-resources-hm88-game-introduction .why-choose-hm88-section .feature-item:hover {
  transform: translateY(-5px);
}

.page-resources-hm88-game-introduction .why-choose-hm88-section .feature-item .icon-img {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
}

.page-resources-hm88-game-introduction .why-choose-hm88-section .feature-item h3 {
  font-size: 1.5em;
  color: #FFCC00;
  margin-bottom: 10px;
}

.page-resources-hm88-game-introduction .why-choose-hm88-section .feature-item p {
  color: #e0e0e0;
  font-size: 1em;
}

.page-resources-hm88-game-introduction .how-to-start-section .steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-resources-hm88-game-introduction .how-to-start-section .step-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.page-resources-hm88-game-introduction .how-to-start-section .step-item:hover {
  transform: translateY(-5px);
}

.page-resources-hm88-game-introduction .how-to-start-section .step-item .step-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
}

.page-resources-hm88-game-introduction .how-to-start-section .step-item h3 {
  font-size: 1.6em;
  color: #003366;
  margin-bottom: 15px;
}

.page-resources-hm88-game-introduction .how-to-start-section .step-item p {
  color: #555;
  font-size: 1.05em;
  margin-bottom: 20px;
}

.page-resources-hm88-game-introduction .promotions-cta-section {
  text-align: center;
  padding: 80px 0;
  background-color: #FFCC00;
  color: #003366;
}

.page-resources-hm88-game-introduction .promotions-cta-section .section-title {
  color: #003366;
}

.page-resources-hm88-game-introduction .promotions-cta-section .section-title::after {
  background-color: #003366;
}

.page-resources-hm88-game-introduction .promotions-cta-section p {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 30px;
  color: #333;
}

.page-resources-hm88-game-introduction .btn-large {
  padding: 18px 40px;
  font-size: 1.2em;
}

.page-resources-hm88-game-introduction .faq-section .faq-item {
  background-color: #ffffff;
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-resources-hm88-game-introduction .faq-section .faq-item h3 {
  font-size: 1.3em;
  color: #003366;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-resources-hm88-game-introduction .faq-section .faq-item h3::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.2em;
  font-weight: bold;
  color: #FFCC00;
  transition: transform 0.3s ease;
}

.page-resources-hm88-game-introduction .faq-section .faq-item.active h3::after {
  content: '-';
  transform: rotate(0deg);
}

.page-resources-hm88-game-introduction .faq-section .faq-item p {
  font-size: 1.05em;
  color: #666;
  display: none; /* Hidden by default */
  padding-top: 10px;
  border-top: 1px solid #eee;
  margin-top: 10px;
}

.page-resources-hm88-game-introduction .faq-section .faq-item.active p {
  display: block;
}

.page-resources-hm88-game-introduction .final-cta-section {
  text-align: center;
  padding: 80px 0;
  background-color: #003366;
  color: #ffffff;
}

.page-resources-hm88-game-introduction .final-cta-section .section-title {
  color: #FFCC00;
}

.page-resources-hm88-game-introduction .final-cta-section .section-title::after {
  background-color: #FFCC00;
}

.page-resources-hm88-game-introduction .final-cta-section p {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 30px;
  color: #e0e0e0;
}

.page-resources-hm88-game-introduction .btn-huge {
  padding: 20px 50px;
  font-size: 1.5em;
}

/* Floating Ad Menu */
.page-resources-hm88-game-introduction .floating-ad-menu {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  background-color: #FFCC00;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-resources-hm88-game-introduction .floating-ad-menu a {
  display: flex;
  align-items: center;
  padding: 10px 20px;
  text-decoration: none;
  color: #003366;
  font-weight: bold;
  font-size: 1.1em;
}

.page-resources-hm88-game-introduction .floating-ad-menu .ad-icon {
  width: 40px;
  height: 40px;
  margin-right: 10px;
  animation: pulse 2s infinite;
}

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

.page-resources-hm88-game-introduction .floating-ad-menu:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-resources-hm88-game-introduction .hero-title {
    font-size: 2.8em;
  }
  .page-resources-hm88-game-introduction .hero-subtitle {
    font-size: 1.2em;
  }
  .page-resources-hm88-game-introduction .section-title {
    font-size: 2em;
  }
  .page-resources-hm88-game-introduction .introduction-section .content-block,
  .page-resources-hm88-game-introduction .game-category-item,
  .page-resources-hm88-game-introduction .game-category-item.reverse-layout {
    flex-direction: column;
    text-align: center;
  }
  .page-resources-hm88-game-introduction .game-category-item .image-content {
    order: -1; /* Image first for mobile on reversed layout */
  }
  .page-resources-hm88-game-introduction .why-choose-hm88-section .feature-item,
  .page-resources-hm88-game-introduction .how-to-start-section .step-item {
    padding: 25px;
  }
  .page-resources-hm88-game-introduction .btn-huge {
    padding: 15px 30px;
    font-size: 1.2em;
  }
}

@media (max-width: 768px) {
  .page-resources-hm88-game-introduction .hero-title {
    font-size: 2.2em;
  }
  .page-resources-hm88-game-introduction .hero-subtitle {
    font-size: 1.1em;
  }
  .page-resources-hm88-game-introduction .hero-actions .btn {
    display: block;
    margin: 15px auto;
  }
  .page-resources-hm88-game-introduction .section-title {
    font-size: 1.8em;
  }
  .page-resources-hm88-game-introduction .section-description {
    font-size: 1em;
  }
  .page-resources-hm88-game-introduction .floating-ad-menu {
    bottom: 15px;
    right: 15px;
  }
  .page-resources-hm88-game-introduction .floating-ad-menu a {
    padding: 8px 15px;
    font-size: 1em;
  }
  .page-resources-hm88-game-introduction .floating-ad-menu .ad-icon {
    width: 30px;
    height: 30px;
  }
}

@media (max-width: 480px) {
  .page-resources-hm88-game-introduction .hero-section {
    padding: 60px 0;
  }
  .page-resources-hm88-game-introduction .hero-title {
    font-size: 1.8em;
  }
  .page-resources-hm88-game-introduction .hero-subtitle {
    font-size: 0.95em;
  }
  .page-resources-hm88-game-introduction .section-title {
    font-size: 1.6em;
  }
  .page-resources-hm88-game-introduction .game-category-item h3 {
    font-size: 1.5em;
  }
  .page-resources-hm88-game-introduction .why-choose-hm88-section .feature-item h3,
  .page-resources-hm88-game-introduction .how-to-start-section .step-item h3 {
    font-size: 1.3em;
  }
  .page-resources-hm88-game-introduction .btn-sm {
    padding: 8px 15px;
    font-size: 0.9em;
  }
}