.page-resources-hi88-app-guide {
  --primary-color: #003366;
  --secondary-color: #FFD700;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f4f7f6;
  --bg-dark: #002244;
  --accent-color: #e0a800;
}

.page-resources-hi88-app-guide h1, .page-resources-hi88-app-guide h2, .page-resources-hi88-app-guide h3, .page-resources-hi88-app-guide h4, .page-resources-hi88-app-guide h5, .page-resources-hi88-app-guide h6 {
  color: var(--primary-color);
  font-weight: bold;
  line-height: 1.3;
  margin-bottom: 20px;
}

.page-resources-hi88-app-guide h1 {
  font-size: 2.8em;
  color: var(--text-light);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.page-resources-hi88-app-guide h2 {
  font-size: 2.2em;
  margin-top: 40px;
  margin-bottom: 25px;
  text-align: center;
}

.page-resources-hi88-app-guide h3 {
  font-size: 1.6em;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-resources-hi88-app-guide p {
  line-height: 1.7;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.page-resources-hi88-app-guide a {
  color: var(--primary-color);
  text-decoration: none;
}

.page-resources-hi88-app-guide a:hover {
  text-decoration: underline;
  color: var(--secondary-color);
}

.page-resources-hi88-app-guide ul {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.page-resources-hi88-app-guide ol {
  list-style-type: decimal;
  margin-left: 20px;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.page-resources-hi88-app-guide li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.page-resources-hi88-app-guide container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero Section */
.page-resources-hi88-app-guide .hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background: var(--primary-color);
  color: var(--text-light);
}

.page-resources-hi88-app-guide .hero-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-resources-hi88-app-guide .hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-resources-hi88-app-guide .hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-resources-hi88-app-guide .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-resources-hi88-app-guide .hero-content p {
  color: var(--text-light);
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.page-resources-hi88-app-guide .cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-resources-hi88-app-guide .cta-button:hover {
  background: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* General Section Styling */
.page-resources-hi88-app-guide .section-intro, 
.page-resources-hi88-app-guide .section-download, 
.page-resources-hi88-app-guide .section-register, 
.page-resources-hi88-app-guide .section-transactions, 
.page-resources-hi88-app-guide .section-games, 
.page-resources-hi88-app-guide .section-promotions, 
.page-resources-hi88-app-guide .section-security-support, 
.page-resources-hi88-app-guide .section-faq, 
.page-resources-hi88-app-guide .section-blog {
  padding: 60px 0;
  background-color: var(--bg-light);
}

.page-resources-hi88-app-guide .section-intro {
  background-color: #ffffff;
}

.page-resources-hi88-app-guide .section-download {
  background-color: var(--bg-light);
}

.page-resources-hi88-app-guide .section-register {
  background-color: #ffffff;
}

.page-resources-hi88-app-guide .section-transactions {
  background-color: var(--bg-light);
}

.page-resources-hi88-app-guide .section-games {
  background-color: #ffffff;
}

.page-resources-hi88-app-guide .section-promotions {
  background-color: var(--bg-light);
}

.page-resources-hi88-app-guide .section-security-support {
  background-color: #ffffff;
}

.page-resources-hi88-app-guide .section-blog {
  background-color: var(--bg-light);
}

/* Download Section */
.page-resources-hi88-app-guide .download-methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 30px;
}

.page-resources-hi88-app-guide .download-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: left;
}

.page-resources-hi88-app-guide .download-card img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-hi88-app-guide .download-card h3 {
  color: var(--primary-color);
  font-size: 1.4em;
  margin-bottom: 15px;
}

.page-resources-hi88-app-guide .download-card ol {
  padding-left: 20px;
}

.page-resources-hi88-app-guide .download-card li {
  margin-bottom: 10px;
  color: var(--text-dark);
}

.page-resources-hi88-app-guide .download-tip {
  text-align: center;
  margin-top: 30px;
  font-style: italic;
  color: var(--primary-color);
}

/* Register Section */
.page-resources-hi88-app-guide .register-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
  text-align: left;
}

.page-resources-hi88-app-guide .step-item {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-resources-hi88-app-guide .step-item img {
  width: 100%;
  max-width: 350px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  align-self: center;
}

.page-resources-hi88-app-guide .step-item h3 {
  color: var(--primary-color);
  font-size: 1.3em;
  margin-top: 0;
}

.page-resources-hi88-app-guide .step-item p {
  color: var(--text-dark);
}

/* Transaction Section */
.page-resources-hi88-app-guide .section-transactions img {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 8px;
  margin: 30px auto;
  display: block;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-resources-hi88-app-guide .transaction-tip {
  text-align: center;
  margin-top: 30px;
  font-style: italic;
  color: var(--primary-color);
}

/* Games Section */
.page-resources-hi88-app-guide .game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-resources-hi88-app-guide .game-card {
  background: var(--bg-light);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-hi88-app-guide .game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-resources-hi88-app-guide .game-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-resources-hi88-app-guide .game-card h3 {
  color: var(--primary-color);
  font-size: 1.3em;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-resources-hi88-app-guide .game-card p {
  color: var(--text-dark);
  flex-grow: 1;
}

.page-resources-hi88-app-guide .card-button {
  display: inline-block;
  padding: 10px 20px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  margin-top: 20px;
  transition: background-color 0.3s ease;
}

.page-resources-hi88-app-guide .card-button:hover {
  background: var(--accent-color);
  text-decoration: none;
}

/* Promotions Section */
.page-resources-hi88-app-guide .promo-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-resources-hi88-app-guide .promo-item {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-hi88-app-guide .promo-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-resources-hi88-app-guide .promo-item img {
  width: 100%;
  max-width: 250px;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  margin: 0 auto 20px auto;
  display: block;
}

.page-resources-hi88-app-guide .promo-item h3 {
  color: var(--primary-color);
  font-size: 1.3em;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-resources-hi88-app-guide .promo-item p {
  color: var(--text-dark);
  flex-grow: 1;
}

.page-resources-hi88-app-guide .promo-button {
  display: inline-block;
  padding: 10px 20px;
  background: var(--primary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  margin-top: 20px;
  transition: background-color 0.3s ease;
}

.page-resources-hi88-app-guide .promo-button:hover {
  background: #004488;
  text-decoration: none;
}

/* Security & Support Section */
.page-resources-hi88-app-guide .security-support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-resources-hi88-app-guide .security-card {
  background: var(--bg-light);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: left;
}

.page-resources-hi88-app-guide .security-card img {
  width: 100%;
  max-width: 200px;
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-hi88-app-guide .security-card h3 {
  color: var(--primary-color);
  font-size: 1.4em;
  margin-top: 0;
  text-align: center;
}

.page-resources-hi88-app-guide .security-card p, .page-resources-hi88-app-guide .security-card ul {
  color: var(--text-dark);
}

/* FAQ Section */
.page-resources-hi88-app-guide .faq-list {
  margin-top: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-hi88-app-guide .faq-item {
  margin-bottom: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-resources-hi88-app-guide .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: #ffffff;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-resources-hi88-app-guide .faq-question:hover {
  background: #f5f5f5;
}

.page-resources-hi88-app-guide .faq-question h3 {
  margin: 0;
  font-size: 1.15em;
  color: var(--primary-color);
  flex-grow: 1;
}

.page-resources-hi88-app-guide .faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  transition: transform 0.3s ease;
  margin-left: 15px;
}

.page-resources-hi88-app-guide .faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: var(--secondary-color);
}

.page-resources-hi88-app-guide .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  padding: 0 20px;
  background: #f9f9f9;
  color: var(--text-dark);
}

.page-resources-hi88-app-guide .faq-item.active .faq-answer {
  max-height: 500px; /* Adjust as needed for content */
  padding: 15px 20px;
  border-top: 1px solid #eee;
}

.page-resources-hi88-app-guide .faq-answer p {
  margin-bottom: 0;
}

/* Blog Section */
.page-resources-hi88-app-guide .blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-resources-hi88-app-guide .blog-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-hi88-app-guide .blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-resources-hi88-app-guide .blog-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-resources-hi88-app-guide .blog-card h3 {
  font-size: 1.25em;
  margin: 20px 20px 10px 20px;
  line-height: 1.4;
}

.page-resources-hi88-app-guide .blog-card h3 a {
  color: var(--primary-color);
  text-decoration: none;
}

.page-resources-hi88-app-guide .blog-card h3 a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

.page-resources-hi88-app-guide .blog-card p {
  color: var(--text-dark);
  padding: 0 20px;
  margin-bottom: 15px;
}

.page-resources-hi88-app-guide .blog-card time {
  display: block;
  font-size: 0.9em;
  color: #777;
  padding: 0 20px 20px 20px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-resources-hi88-app-guide h1 {
    font-size: 2.4em;
  }
  .page-resources-hi88-app-guide h2 {
    font-size: 1.8em;
  }
  .page-resources-hi88-app-guide h3 {
    font-size: 1.4em;
  }
  .page-resources-hi88-app-guide .download-methods, 
  .page-resources-hi88-app-guide .game-grid, 
  .page-resources-hi88-app-guide .promo-list, 
  .page-resources-hi88-app-guide .security-support-grid, 
  .page-resources-hi88-app-guide .blog-grid {
    grid-template-columns: 1fr;
  }
  .page-resources-hi88-app-guide .download-card, 
  .page-resources-hi88-app-guide .step-item, 
  .page-resources-hi88-app-guide .game-card, 
  .page-resources-hi88-app-guide .promo-item, 
  .page-resources-hi88-app-guide .security-card, 
  .page-resources-hi88-app-guide .blog-card {
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .page-resources-hi88-app-guide .hero-section {
    padding: 60px 15px;
  }
  .page-resources-hi88-app-guide h1 {
    font-size: 2em;
  }
  .page-resources-hi88-app-guide h2 {
    font-size: 1.6em;
  }
  .page-resources-hi88-app-guide h3 {
    font-size: 1.2em;
  }
  .page-resources-hi88-app-guide p {
    font-size: 0.95em;
  }
  .page-resources-hi88-app-guide .cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }
  .page-resources-hi88-app-guide .section-intro, 
  .page-resources-hi88-app-guide .section-download, 
  .page-resources-hi88-app-guide .section-register, 
  .page-resources-hi88-app-guide .section-transactions, 
  .page-resources-hi88-app-guide .section-games, 
  .page-resources-hi88-app-guide .section-promotions, 
  .page-resources-hi88-app-guide .section-security-support, 
  .page-resources-hi88-app-guide .section-faq, 
  .page-resources-hi88-app-guide .section-blog {
    padding: 40px 0;
  }
  .page-resources-hi88-app-guide .faq-question {
    padding: 12px 15px;
  }
  .page-resources-hi88-app-guide .faq-question h3 {
    font-size: 1em;
  }
  .page-resources-hi88-app-guide .faq-toggle {
    font-size: 20px;
  }
  .page-resources-hi88-app-guide .faq-answer {
    padding: 10px 15px;
  }
}