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

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

.page-index h1, .page-index h2, .page-index h3 {
  color: #FFD700; /* Màu vàng kim cho tiêu đề */
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-index h1 {
  font-size: 2.8em;
  text-align: center;
}

.page-index h2 {
  font-size: 2.2em;
  text-align: center;
  margin-top: 40px;
  margin-bottom: 30px;
}

.page-index h3 {
  font-size: 1.6em;
}

.page-index p {
  margin-bottom: 1em;
  color: #C0C0C0; /* Màu chữ xám nhạt */
}

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

.page-index a:hover {
  color: #FFF;
}

.page-index .cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: #FFD700;
  color: #1A202C;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
  text-transform: uppercase;
}

.page-index .cta-button:hover {
  background: #FFF;
  color: #1A202C;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5);
}

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

.page-index .text-center {
  text-align: center;
}

/* 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-color: #1A202C;
  overflow: hidden;
}

.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 10px 30px rgba(0, 0, 0, 0.5);
}

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

.page-index .hero-content h1 {
  color: #FFD700;
  font-size: 3.5em;
  margin-bottom: 20px;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.7);
}

.page-index .hero-content p {
  color: #F0F0F0;
  font-size: 1.2em;
  margin-bottom: 30px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

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

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

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

.page-index .intro-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), 0 0 15px rgba(255, 215, 0, 0.2);
}

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

.page-index .intro-item p {
  color: #C0C0C0;
  font-size: 0.95em;
}

.page-index .intro-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin: 0 auto;
  display: block;
}

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

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

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

.page-index .quick-link-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), 0 0 10px rgba(255, 215, 0, 0.15);
}

.page-index .quick-link-card h3 {
  color: #FFD700;
  font-size: 1.4em;
  margin-top: 15px;
  margin-bottom: 10px;
}

.page-index .quick-link-card p {
  color: #B0B0B0;
  font-size: 0.9em;
}

.page-index .card-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

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

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

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

.page-index .game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), 0 0 15px rgba(255, 215, 0, 0.2);
}

.page-index .game-card .game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-index .game-card h3 {
  padding: 15px 20px 0;
  font-size: 1.4em;
}

.page-index .game-card h3 a {
  color: #FFD700;
}

.page-index .game-card p {
  padding: 0 20px 20px;
  font-size: 0.95em;
  color: #C0C0C0;
}

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

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

.page-index .promo-card {
  background-color: #2A303C;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index .promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), 0 0 15px rgba(255, 215, 0, 0.2);
}

.page-index .promo-card .promo-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.page-index .promo-card h3 {
  padding: 15px 20px 0;
  font-size: 1.4em;
}

.page-index .promo-card h3 a {
  color: #FFD700;
}

.page-index .promo-card p {
  padding: 0 20px 20px;
  font-size: 0.95em;
  color: #C0C0C0;
}

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

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

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

.page-index .security-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), 0 0 15px rgba(255, 215, 0, 0.2);
}

.page-index .security-item h3 {
  color: #FFD700;
  margin-top: 20px;
  margin-bottom: 10px;
  font-size: 1.5em;
}

.page-index .security-item p {
  color: #C0C0C0;
  font-size: 0.95em;
}

.page-index .security-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin: 0 auto;
  display: block;
}

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

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

.page-index .faq-item {
  margin-bottom: 15px;
  border: 1px solid #3A404C;
  border-radius: 8px;
  overflow: hidden;
}

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

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

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

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

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

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

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

.page-index .faq-answer p {
  color: #C0C0C0;
  font-size: 1em;
  margin-bottom: 0;
}

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

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

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

.page-index .blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), 0 0 15px rgba(255, 215, 0, 0.2);
}

.page-index .blog-card .blog-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-index .blog-card h3 {
  padding: 15px 20px 0;
  font-size: 1.4em;
}

.page-index .blog-card h3 a {
  color: #FFD700;
}

.page-index .blog-card p {
  padding: 0 20px;
  font-size: 0.95em;
  color: #C0C0C0;
}

.page-index .blog-date {
  display: block;
  font-size: 0.85em;
  color: #888;
  padding: 10px 20px 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index .hero-content h1 {
    font-size: 3em;
  }
  .page-index h2 {
    font-size: 2em;
  }
  .page-index h3 {
    font-size: 1.4em;
  }
  .page-index .cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .page-index .hero-section {
    padding: 40px 15px;
  }
  .page-index .hero-content h1 {
    font-size: 2.5em;
  }
  .page-index .hero-content p {
    font-size: 1em;
  }
  .page-index h2 {
    font-size: 1.8em;
    margin-top: 30px;
    margin-bottom: 20px;
  }
  .page-index h3 {
    font-size: 1.2em;
  }
  .page-index .intro-section, .page-index .quick-links-section, .page-index .games-section, .page-index .promotions-section, .page-index .security-support-section, .page-index .faq-section, .page-index .blog-section {
    padding: 50px 0;
  }
  .page-index .intro-grid, .page-index .links-grid, .page-index .games-grid, .page-index .promotions-grid, .page-index .security-grid, .page-index .blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-index .faq-question {
    padding: 15px 20px;
  }
  .page-index .faq-question h3 {
    font-size: 1.1em;
  }
  .page-index .faq-toggle {
    font-size: 20px;
  }
  .page-index .faq-answer {
    padding: 0 20px;
  }
  .page-index .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
  .page-index .card-icon, .page-index .intro-icon, .page-index .security-icon {
    width: 70px;
    height: 70px;
  }
}

@media (max-width: 480px) {
  .page-index .hero-content h1 {
    font-size: 2em;
  }
  .page-index .cta-button {
    padding: 10px 25px;
    font-size: 14px;
  }
  .page-index h2 {
    font-size: 1.5em;
  }
  .page-index h3 {
    font-size: 1.1em;
  }
  .page-index .hero-image img {
    border-radius: 4px;
  }
  .page-index .intro-item, .page-index .quick-link-card, .page-index .game-card, .page-index .promo-card, .page-index .security-item, .page-index .blog-card {
    padding: 20px;
  }
  .page-index .game-card .game-image {
    height: 150px;
  }
  .page-index .promo-card .promo-image {
    height: 140px;
  }
}