.page-index {
  font-family: 'Arial', sans-serif;
  color: #333333;
  line-height: 1.6;
  background-color: #f8f8f8;
}

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

/* Màu sắc tổng thể */
:root {
  --primary-color: #FFD700; /* Vàng */
  --secondary-color: #B22222; /* Đỏ sẫm */
  --text-dark: #222222;
  --text-light: #ffffff;
  --background-dark: #1a1a1a;
  --background-light: #f8f8f8;
  --border-color: #e0e0e0;
}

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

.page-index h1 {
  font-size: 3.2em;
  text-align: center;
  color: var(--text-light);
}

.page-index h2 {
  font-size: 2.5em;
  text-align: center;
  margin-top: 40px;
  margin-bottom: 30px;
  color: var(--secondary-color);
}

.page-index h3 {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: var(--text-dark);
}

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

.page-index a {
  text-decoration: none;
  color: var(--secondary-color);
  transition: color 0.3s ease;
}

.page-index a:hover {
  color: var(--primary-color);
}

/* 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: var(--background-dark);
  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: 10px;
  object-fit: cover;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

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

.page-index .hero-content h1 {
  color: var(--primary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  margin-bottom: 25px;
}

.page-index .hero-content p {
  font-size: 1.3em;
  color: #e0e0e0;
  margin-bottom: 40px;
}

.page-index .cta-button {
  display: inline-block;
  padding: 18px 45px;
  background: var(--secondary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.4em;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  border: 2px solid var(--secondary-color);
}

.page-index .cta-button:hover {
  background: var(--primary-color);
  color: var(--text-dark);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  border-color: var(--primary-color);
}

/* Section Intro */
.page-index .section-intro {
  background-color: var(--background-light);
  padding: 80px 0;
  text-align: center;
}

.page-index .section-intro h2 {
  color: var(--secondary-color);
}

.page-index .section-intro > p {
  max-width: 900px;
  margin: 0 auto 50px;
  font-size: 1.2em;
  color: var(--text-dark);
}

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

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

.page-index .intro-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-index .intro-item .intro-icon {
  width: 150px;
  height: 150px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-index .intro-item h3 {
  color: var(--secondary-color);
  font-size: 1.5em;
  margin-bottom: 10px;
}

.page-index .intro-item p {
  font-size: 1em;
  color: #555555;
  text-align: center;
}

/* Quick Links Section */
.page-index .section-quick-links {
  background: linear-gradient(135deg, var(--background-dark), #333333);
  padding: 80px 0;
  text-align: center;
  color: var(--text-light);
}

.page-index .section-quick-links h2 {
  color: var(--primary-color);
}

.page-index .section-quick-links p {
  max-width: 800px;
  margin: 0 auto 50px;
  font-size: 1.2em;
  color: #e0e0e0;
}

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

.page-index .quick-link-button {
  display: block;
  padding: 18px 25px;
  background-color: var(--secondary-color);
  color: var(--text-light);
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: 2px solid var(--secondary-color);
}

.page-index .quick-link-button:hover {
  background-color: var(--primary-color);
  color: var(--text-dark);
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  border-color: var(--primary-color);
}

/* Games Section */
.page-index .section-games {
  background-color: #ffffff;
  padding: 80px 0;
  text-align: center;
}

.page-index .section-games h2 {
  color: var(--secondary-color);
}

.page-index .section-games > p {
  max-width: 900px;
  margin: 0 auto 50px;
  font-size: 1.2em;
  color: var(--text-dark);
}

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

.page-index .game-card {
  background-color: var(--background-light);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

.page-index .game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-index .game-card .game-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid var(--border-color);
}

.page-index .game-card h3 {
  font-size: 1.6em;
  margin: 20px 15px 10px;
}

.page-index .game-card h3 a {
  color: var(--secondary-color);
}

.page-index .game-card h3 a:hover {
  color: var(--primary-color);
}

.page-index .game-card p {
  font-size: 1em;
  color: #555555;
  padding: 0 15px 20px;
  text-align: center;
}

.page-index .btn-game-detail {
  display: inline-block;
  padding: 10px 25px;
  background-color: var(--primary-color);
  color: var(--text-dark);
  border-radius: 5px;
  font-weight: bold;
  margin-bottom: 20px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-index .btn-game-detail:hover {
  background-color: var(--secondary-color);
  color: var(--text-light);
  transform: translateY(-2px);
}

/* Promotions Section */
.page-index .section-promotions {
  background-color: var(--background-light);
  padding: 80px 0;
  text-align: center;
}

.page-index .section-promotions h2 {
  color: var(--secondary-color);
}

.page-index .section-promotions > p {
  max-width: 900px;
  margin: 0 auto 50px;
  font-size: 1.2em;
  color: var(--text-dark);
}

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

.page-index .promo-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

.page-index .promo-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-index .promo-card .promo-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 1px solid var(--border-color);
}

.page-index .promo-card h3 {
  font-size: 1.5em;
  margin: 20px 15px 10px;
}

.page-index .promo-card h3 a {
  color: var(--secondary-color);
}

.page-index .promo-card h3 a:hover {
  color: var(--primary-color);
}

.page-index .promo-card p {
  font-size: 1em;
  color: #555555;
  padding: 0 15px 20px;
  text-align: center;
}

.page-index .btn-promo-detail {
  display: inline-block;
  padding: 10px 25px;
  background-color: var(--secondary-color);
  color: var(--text-light);
  border-radius: 5px;
  font-weight: bold;
  margin-bottom: 20px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-index .btn-promo-detail:hover {
  background-color: var(--primary-color);
  color: var(--text-dark);
  transform: translateY(-2px);
}

/* Security & Support Section */
.page-index .section-security-support {
  background: linear-gradient(135deg, #333333, var(--background-dark));
  padding: 80px 0;
  text-align: center;
  color: var(--text-light);
}

.page-index .section-security-support h2 {
  color: var(--primary-color);
}

.page-index .section-security-support > p {
  max-width: 900px;
  margin: 0 auto 50px;
  font-size: 1.2em;
  color: #e0e0e0;
}

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

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

.page-index .security-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.page-index .security-item .security-icon {
  width: 150px;
  height: 150px;
  margin-bottom: 20px;
  object-fit: contain;
  filter: brightness(1.2);
}

.page-index .security-item h3 {
  color: var(--primary-color);
  font-size: 1.5em;
  margin-bottom: 10px;
}

.page-index .security-item p {
  font-size: 1em;
  color: #cccccc;
  text-align: center;
}

.page-index .btn-contact-support {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--secondary-color);
  color: var(--text-light);
  border-radius: 5px;
  font-weight: bold;
  margin-top: 20px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-index .btn-contact-support:hover {
  background-color: var(--primary-color);
  color: var(--text-dark);
  transform: translateY(-2px);
}

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

.page-index .section-faq h2 {
  color: var(--secondary-color);
}

.page-index .section-faq > p {
  max-width: 900px;
  margin: 0 auto 50px;
  font-size: 1.2em;
  color: var(--text-dark);
}

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

.page-index .faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

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

.page-index .faq-question h3 {
  margin: 0;
  font-size: 1.25em;
  color: var(--text-dark);
}

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

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

.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: #f9f9f9;
  color: #555555;
}

.page-index .faq-item.active .faq-answer {
  max-height: 500px; /* Đủ lớn để chứa nội dung */
  padding: 20px 25px;
  border-top: 1px solid var(--border-color);
}

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

/* Blog Section */
.page-index .section-blog {
  background-color: var(--background-light);
  padding: 80px 0;
  text-align: center;
}

.page-index .section-blog h2 {
  color: var(--secondary-color);
}

.page-index .section-blog > p {
  max-width: 900px;
  margin: 0 auto 50px;
  font-size: 1.2em;
  color: var(--text-dark);
}

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

.page-index .blog-post-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

.page-index .blog-post-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

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

.page-index .blog-post-card h3 {
  font-size: 1.5em;
  margin: 20px 20px 10px;
}

.page-index .blog-post-card h3 a {
  color: var(--secondary-color);
}

.page-index .blog-post-card h3 a:hover {
  color: var(--primary-color);
}

.page-index .blog-post-card p {
  font-size: 1em;
  color: #555555;
  padding: 0 20px 20px;
  text-align: left;
}

.page-index .btn-read-more {
  display: inline-block;
  padding: 10px 25px;
  background-color: var(--primary-color);
  color: var(--text-dark);
  border-radius: 5px;
  font-weight: bold;
  margin: 0 20px 20px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-index .btn-read-more:hover {
  background-color: var(--secondary-color);
  color: var(--text-light);
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index h1 {
    font-size: 2.8em;
  }
  .page-index h2 {
    font-size: 2em;
  }
  .page-index h3 {
    font-size: 1.6em;
  }
  .page-index .hero-content p {
    font-size: 1.1em;
  }
  .page-index .cta-button {
    padding: 15px 35px;
    font-size: 1.2em;
  }
  .page-index .intro-grid, .page-index .links-grid, .page-index .games-carousel, .page-index .promo-grid, .page-index .security-support-grid, .page-index .blog-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-index .hero-section {
    padding: 40px 15px;
  }
  .page-index h1 {
    font-size: 2.2em;
  }
  .page-index h2 {
    font-size: 1.8em;
  }
  .page-index h3 {
    font-size: 1.4em;
  }
  .page-index .hero-content p {
    font-size: 1em;
  }
  .page-index .cta-button {
    padding: 12px 30px;
    font-size: 1.1em;
  }
  .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: 60px 0;
  }
  .page-index .intro-item .intro-icon, .page-index .security-item .security-icon {
    width: 120px;
    height: 120px;
  }
  .page-index .quick-link-button {
    font-size: 1.1em;
    padding: 15px 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;
  }
}

@media (max-width: 480px) {
  .page-index h1 {
    font-size: 1.8em;
  }
  .page-index h2 {
    font-size: 1.6em;
  }
  .page-index .hero-image img {
    border-radius: 5px;
  }
  .page-index .cta-button {
    padding: 10px 25px;
    font-size: 1em;
  }
  .page-index .intro-grid, .page-index .links-grid, .page-index .games-carousel, .page-index .promo-grid, .page-index .security-support-grid, .page-index .blog-grid {
    grid-template-columns: 1fr;
  }
  .page-index .intro-item, .page-index .game-card, .page-index .promo-card, .page-index .security-item, .page-index .blog-post-card {
    margin: 0 10px;
  }
  .page-index .faq-list {
    margin: 40px 10px 0;
  }
}