.page-index-review-tot88 {
  --primary-color: #007BFF;
  --secondary-color: #FFC107;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f8f9fa;
  --bg-dark: #2c3e50;
  --border-color: #e0e0e0;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
}

.page-index-review-tot88 .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-index-review-tot88 .module-section {
  padding: 60px 0;
}

.page-index-review-tot88 .module-section.bg-light {
  background-color: var(--bg-light);
}

.page-index-review-tot88 h1,
.page-index-review-tot88 h2,
.page-index-review-tot88 h3 {
  color: var(--primary-color);
  margin-bottom: 20px;
  text-align: center;
  font-weight: bold;
}

.page-index-review-tot88 h1 {
  font-size: 2.8em;
  color: var(--text-light);
}

.page-index-review-tot88 h2 {
  font-size: 2.2em;
}

.page-index-review-tot88 h3 {
  font-size: 1.6em;
  color: var(--text-dark);
}

.page-index-review-tot88 p {
  margin-bottom: 15px;
  text-align: center;
  font-size: 1.1em;
}

.page-index-review-tot88 p:not(.hero-content p) {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-review-tot88 .btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
  border: none;
}

.page-index-review-tot88 .btn-primary {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-index-review-tot88 .btn-primary:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
}

.page-index-review-tot88 .btn-secondary {
  background-color: var(--secondary-color);
  color: var(--text-dark);
}

.page-index-review-tot88 .btn-secondary:hover {
  background-color: #e0a800;
  transform: translateY(-2px);
}

.page-index-review-tot88 .btn-outline {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-index-review-tot88 .btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--text-light);
  transform: translateY(-2px);
}

.page-index-review-tot88 .btn-small {
  padding: 8px 18px;
  font-size: 0.9em;
}

.page-index-review-tot88 .large-btn {
  padding: 15px 40px;
  font-size: 1.2em;
  margin-top: 30px;
}

/* HERO Section */
.page-index .hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, var(--primary-color), #0056b3);
  color: var(--text-light);
}

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

.page-index .hero-image {
  width: 100%;
  margin-bottom: 30px;
}

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

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

.page-index .hero-content h1 {
  margin-bottom: 15px;
  color: var(--text-light);
}

.page-index .hero-content p {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
}

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

.page-index .cta-button:hover {
  background: #e0a800;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* Module 1: Giới thiệu trang chủ */
.page-index-review-tot88-intro p {
  text-align: left;
}

.page-index-review-tot88-intro img {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Module 2: Liên kết truy cập nhanh */
.page-index-review-tot88-quick-links .link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 30px;
  margin-bottom: 30px;
  text-align: center;
}

.page-index-review-tot88-quick-links .link-grid .btn {
  width: 100%;
  box-sizing: border-box;
}

/* Module 3: Giới thiệu trò chơi/dịch vụ cốt lõi */
.page-index-review-tot88-games .game-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-index-review-tot88-games .game-card {
  background-color: var(--text-light);
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-index-review-tot88-games .game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.page-index-review-tot88-games .game-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-index-review-tot88-games .game-card h3 {
  font-size: 1.4em;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-index-review-tot88-games .game-card h3 .card-title-link {
  color: var(--primary-color);
  text-decoration: none;
}

.page-index-review-tot88-games .game-card h3 .card-title-link:hover {
  text-decoration: underline;
}

.page-index-review-tot88-games .game-card p {
  font-size: 1em;
  color: var(--text-dark);
  text-align: left;
  flex-grow: 1;
}

.page-index-review-tot88-games .game-card .btn-small {
  margin-top: 20px;
  align-self: center;
}

/* Module 4: Chương trình khuyến mãi */
.page-index-review-tot88-promotions .promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-index-review-tot88-promotions .promo-card {
  background-color: var(--text-light);
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-review-tot88-promotions .promo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.page-index-review-tot88-promotions .promo-card h3 {
  font-size: 1.4em;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-index-review-tot88-promotions .promo-card h3 .card-title-link {
  color: var(--primary-color);
  text-decoration: none;
}

.page-index-review-tot88-promotions .promo-card h3 .card-title-link:hover {
  text-decoration: underline;
}

.page-index-review-tot88-promotions .promo-card p {
  font-size: 1em;
  color: var(--text-dark);
  text-align: center;
}

.page-index-review-tot88-promotions .large-btn {
  display: block;
  margin: 40px auto 0;
  max-width: 300px;
}

/* Module 5: An toàn và Dịch vụ khách hàng */
.page-index-review-tot88-security .security-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-index-review-tot88-security .feature-item {
  background-color: var(--text-light);
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-review-tot88-security .feature-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.page-index-review-tot88-security .feature-item h3 {
  font-size: 1.4em;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-index-review-tot88-security .feature-item p {
  font-size: 1em;
  color: var(--text-dark);
  text-align: center;
}

/* Module 6: Câu hỏi thường gặp */
.page-index-review-tot88-faq .faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-review-tot88-faq .faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
}

.page-index-review-tot88-faq .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: var(--text-light);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-index-review-tot88-faq .faq-question:hover {
  background: var(--bg-light);
}

.page-index-review-tot88-faq .faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  text-align: left;
  color: var(--text-dark);
}

.page-index-review-tot88-faq .faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.page-index-review-tot88-faq .faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: var(--secondary-color);
}

.page-index-review-tot88-faq .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  padding: 0 20px;
  background: var(--bg-light);
  color: var(--text-dark);
}

.page-index-review-tot88-faq .faq-item.active .faq-answer {
  max-height: 500px; /* Enough to contain content */
  padding: 15px 20px;
}

.page-index-review-tot88-faq .faq-answer p {
  text-align: left;
  font-size: 1em;
  margin: 0;
}

/* Module 7: Latest Blog Content */
.page-index-review-tot88-blog .blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-index-review-tot88-blog .blog-post-card {
  background-color: var(--text-light);
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.page-index-review-tot88-blog .blog-post-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.page-index-review-tot88-blog .blog-post-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 1px solid var(--border-color);
}

.page-index-review-tot88-blog .blog-post-card h3 {
  font-size: 1.3em;
  padding: 15px 20px 0;
  text-align: left;
  color: var(--primary-color);
  flex-grow: 1;
}

.page-index-review-tot88-blog .blog-post-card h3 .card-title-link {
  color: var(--primary-color);
  text-decoration: none;
}

.page-index-review-tot88-blog .blog-post-card h3 .card-title-link:hover {
  text-decoration: underline;
}

.page-index-review-tot88-blog .blog-post-card p {
  font-size: 0.95em;
  padding: 0 20px 15px;
  color: var(--text-dark);
  text-align: left;
}

.page-index-review-tot88-blog .blog-post-card .read-more-link {
  display: inline-block;
  padding: 10px 20px 20px;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
  align-self: flex-start;
}

.page-index-review-tot88-blog .blog-post-card .read-more-link:hover {
  color: #0056b3;
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-index-review-tot88 h1 {
    font-size: 2.2em;
  }
  .page-index-review-tot88 h2 {
    font-size: 1.8em;
  }
  .page-index-review-tot88 h3 {
    font-size: 1.4em;
  }
  .page-index .hero-content p {
    font-size: 1.1em;
  }
  .page-index .cta-button {
    padding: 12px 30px;
    font-size: 1.1em;
  }
  .page-index-review-tot88-games .game-card img {
    height: 160px;
  }
}

@media (max-width: 768px) {
  .page-index .hero-section {
    padding: 60px 15px;
  }
  .page-index .hero-image {
    margin-bottom: 20px;
  }
  .page-index .hero-image img {
    border-radius: 4px;
  }
  .page-index .hero-content h1 {
    font-size: 1.8em;
  }
  .page-index .hero-content p {
    font-size: 1em;
  }
  .page-index .cta-button {
    padding: 10px 25px;
    font-size: 1em;
    margin-top: 15px;
  }
  .page-index-review-tot88 .module-section {
    padding: 40px 0;
  }
  .page-index-review-tot88 h2 {
    font-size: 1.6em;
  }
  .page-index-review-tot88 p {
    font-size: 1em;
  }
  .page-index-review-tot88-quick-links .link-grid {
    grid-template-columns: 1fr;
  }
  .page-index-review-tot88-games .game-categories,
  .page-index-review-tot88-promotions .promo-grid,
  .page-index-review-tot88-security .security-features,
  .page-index-review-tot88-blog .blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-index-review-tot88-games .game-card,
  .page-index-review-tot88-promotions .promo-card,
  .page-index-review-tot88-security .feature-item,
  .page-index-review-tot88-blog .blog-post-card {
    padding: 20px;
  }
  .page-index-review-tot88-games .game-card img {
    height: 140px;
  }
  .page-index-review-tot88-faq .faq-question {
    padding: 15px;
  }
  .page-index-review-tot88-faq .faq-question h3 {
    font-size: 1.1em;
  }
  .page-index-review-tot88-faq .faq-toggle {
    font-size: 20px;
  }
  .page-index-review-tot88-faq .faq-answer {
    padding: 0 15px;
  }
  .page-index-review-tot88-faq .faq-item.active .faq-answer {
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .page-index .hero-section {
    padding: 40px 10px;
  }
  .page-index .hero-content h1 {
    font-size: 1.5em;
  }
  .page-index .hero-content p {
    font-size: 0.9em;
  }
  .page-index .cta-button {
    padding: 8px 20px;
    font-size: 0.9em;
  }
  .page-index-review-tot88 .module-section {
    padding: 30px 0;
  }
  .page-index-review-tot88 h2 {
    font-size: 1.4em;
  }
  .page-index-review-tot88 h3 {
    font-size: 1.2em;
  }
  .page-index-review-tot88 p {
    font-size: 0.9em;
  }
  .page-index-review-tot88-games .game-card img {
    height: 120px;
  }
}