.page-index {
  font-family: 'Arial', sans-serif;
  color: #E0E0E0; /* Màu chữ nhạt trên nền tối */
  background-color: #1A202C; /* Màu nền chính */
}

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

.page-index .section-title {
  font-size: 36px;
  font-weight: bold;
  color: #FFD700; /* Màu vàng phụ đạo cho tiêu đề */
  text-align: center;
  margin-bottom: 20px;
  padding-top: 40px;
}

.page-index .section-description {
  font-size: 18px;
  color: #B0B0B0;
  text-align: center;
  margin-bottom: 60px;
  line-height: 1.6;
}

/* 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: 60px 20px;
  background: #1A202C;
}

.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;
}

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

.page-index .hero-title {
  font-size: 48px;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-index .hero-description {
  font-size: 20px;
  color: #E0E0E0;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-index .hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-index .cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-index .primary-button {
  background: #FFD700;
  color: #1A202C;
}

.page-index .primary-button:hover {
  background: #E6C200;
  transform: translateY(-2px);
}

.page-index .secondary-button {
  background: #3A4750;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-index .secondary-button:hover {
  background: #FFD700;
  color: #1A202C;
  transform: translateY(-2px);
}

/* Section Intro */
.page-index .section-intro {
  padding: 80px 0;
  background-color: #242B38;
}

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

.page-index .intro-item {
  background-color: #1A202C;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

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

.page-index .intro-item h3 {
  font-size: 24px;
  color: #FFD700;
  margin-top: 20px;
  margin-bottom: 15px;
}

.page-index .intro-item p {
  font-size: 16px;
  color: #B0B0B0;
  line-height: 1.6;
}

.page-index .intro-image {
  width: 250px;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

/* Section Quick Links */
.page-index .section-quick-links {
  padding: 80px 0;
  background-color: #1A202C;
}

.page-index .links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}

.page-index .quick-link-card {
  background-color: #242B38;
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  text-decoration: none;
  color: #E0E0E0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, background-color 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-index .quick-link-card:hover {
  transform: translateY(-5px);
  background-color: #3A4750;
}

.page-index .link-icon {
  width: 200px;
  height: 150px;
  object-fit: contain;
  margin-bottom: 15px;
}

.page-index .link-title {
  font-size: 20px;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-index .link-text {
  font-size: 14px;
  color: #B0B0B0;
  line-height: 1.5;
}

/* Section Games */
.page-index .section-games {
  padding: 80px 0;
  background-color: #242B38;
}

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

.page-index .game-card {
  background-color: #1A202C;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.page-index .game-card:hover {
  transform: translateY(-5px);
}

.page-index .game-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.page-index .game-title {
  font-size: 24px;
  color: #FFD700;
  padding: 20px 20px 10px;
}

.page-index .game-description {
  font-size: 16px;
  color: #B0B0B0;
  padding: 0 20px 20px;
  line-height: 1.6;
}

.page-index .game-button {
  display: inline-block;
  background-color: #FFD700;
  color: #1A202C;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin: 0 20px 20px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-index .game-button:hover {
  background-color: #E6C200;
  transform: translateY(-2px);
}

/* Section Promotions */
.page-index .section-promotions {
  padding: 80px 0;
  background-color: #1A202C;
}

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

.page-index .promotion-card {
  background-color: #242B38;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.page-index .promotion-card:hover {
  transform: translateY(-5px);
}

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

.page-index .promotion-title {
  font-size: 22px;
  color: #FFD700;
  padding: 20px 20px 10px;
}

.page-index .promotion-description {
  font-size: 15px;
  color: #B0B0B0;
  padding: 0 20px 20px;
  line-height: 1.6;
}

.page-index .promotion-button {
  display: inline-block;
  background-color: #FFD700;
  color: #1A202C;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin: 0 20px 20px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-index .promotion-button:hover {
  background-color: #E6C200;
  transform: translateY(-2px);
}

/* Section Security & Support */
.page-index .section-security-support {
  padding: 80px 0;
  background-color: #242B38;
}

.page-index .security-support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-index .info-card {
  background-color: #1A202C;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.page-index .info-card:hover {
  transform: translateY(-5px);
}

.page-index .info-icon {
  width: 200px;
  height: 150px;
  object-fit: contain;
  margin-bottom: 15px;
}

.page-index .info-title {
  font-size: 24px;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-index .info-description {
  font-size: 16px;
  color: #B0B0B0;
  line-height: 1.6;
}

/* Section FAQ */
.page-index .section-faq {
  padding: 80px 0;
  background-color: #1A202C;
}

.page-index .faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-index .faq-item {
  margin-bottom: 15px;
  border: 1px solid #3A4750;
  border-radius: 8px;
  background-color: #242B38;
  overflow: hidden;
}

.page-index .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #242B38;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-index .faq-question:hover {
  background: #3A4750;
}

.page-index .faq-question h3 {
  font-size: 20px;
  color: #FFD700;
  margin: 0;
}

.page-index .faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFD700;
  transition: transform 0.3s ease;
  line-height: 1;
}

.page-index .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background-color: #1A202C;
}

.page-index .faq-item.active .faq-answer {
  max-height: 500px; /* Đủ cao để chứa nội dung */
  padding: 25px;
}

.page-index .faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.page-index .faq-answer p {
  font-size: 16px;
  color: #E0E0E0;
  line-height: 1.6;
  margin: 0;
}

.page-index .faq-answer p a {
  color: #FFD700;
  text-decoration: none;
}

.page-index .faq-answer p a:hover {
  text-decoration: underline;
}

/* Section Blog */
.page-index .section-blog {
  padding: 80px 0;
  background-color: #242B38;
}

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

.page-index .blog-card {
  background-color: #1A202C;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.page-index .blog-card:hover {
  transform: translateY(-5px);
}

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

.page-index .blog-content {
  padding: 20px;
}

.page-index .blog-title {
  font-size: 22px;
  margin-bottom: 10px;
}

.page-index .blog-title a {
  color: #FFD700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-index .blog-title a:hover {
  color: #E6C200;
}

.page-index .blog-excerpt {
  font-size: 15px;
  color: #B0B0B0;
  line-height: 1.6;
  margin-bottom: 15px;
}

.page-index .read-more {
  display: inline-block;
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  margin-top: 10px;
  transition: color 0.3s ease;
}

.page-index .read-more:hover {
  color: #E6C200;
  text-decoration: underline;
}

.page-index .blog-date {
  font-size: 13px;
  color: #888;
  display: block;
  margin-top: 15px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index .hero-title {
    font-size: 40px;
  }

  .page-index .hero-description {
    font-size: 18px;
  }

  .page-index .section-title {
    font-size: 30px;
  }

  .page-index .section-description {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .page-index .hero-section {
    padding: 40px 15px;
  }

  .page-index .hero-title {
    font-size: 32px;
  }

  .page-index .hero-description {
    font-size: 16px;
  }

  .page-index .hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-index .cta-button {
    width: 100%;
    max-width: 280px;
  }

  .page-index .section-intro, .page-index .section-quick-links, .page-index .section-games, .page-index .section-promotions, .page-index .section-security-support, .page-index .section-faq, .page-index .section-blog {
    padding: 50px 0;
  }

  .page-index .intro-grid, .page-index .links-grid, .page-index .games-grid, .page-index .promotions-grid, .page-index .security-support-grid, .page-index .blog-grid {
    grid-template-columns: 1fr;
  }

  .page-index .intro-item, .page-index .quick-link-card, .page-index .game-card, .page-index .promotion-card, .page-index .info-card, .page-index .blog-card {
    margin: 0 auto;
    max-width: 400px;
  }

  .page-index .faq-question {
    padding: 15px 20px;
  }

  .page-index .faq-question h3 {
    font-size: 18px;
  }

  .page-index .faq-toggle {
    font-size: 22px;
  }

  .page-index .faq-answer {
    padding: 0 20px;
  }

  .page-index .faq-item.active .faq-answer {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .page-index .hero-title {
    font-size: 28px;
  }

  .page-index .hero-description {
    font-size: 15px;
  }

  .page-index .cta-button {
    padding: 12px 25px;
    font-size: 16px;
  }

  .page-index .section-title {
    font-size: 26px;
  }

  .page-index .section-description {
    font-size: 14px;
  }

  .page-index .intro-item h3, .page-index .link-title, .page-index .game-title, .page-index .promotion-title, .page-index .info-title, .page-index .blog-title {
    font-size: 20px;
  }

  .page-index .intro-item p, .page-index .link-text, .page-index .game-description, .page-index .promotion-description, .page-index .info-description, .page-index .blog-excerpt, .page-index .faq-answer p {
    font-size: 14px;
  }
}