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

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

.page-index .section-title {
  font-size: 36px;
  font-weight: bold;
  color: #8B0000;
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  padding-bottom: 15px;
}

.page-index .section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  border-radius: 2px;
}

.page-index .btn-primary, .page-index .btn-secondary, .page-index .cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
}

.page-index .btn-primary {
  background-color: #FFD700;
  color: #333333;
  border: 2px solid #FFD700;
}

.page-index .btn-primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
  box-shadow: 0 6px 15px rgba(255, 215, 0, 0.4);
}

.page-index .btn-secondary {
  background-color: #8B0000;
  color: #ffffff;
  border: 2px solid #8B0000;
}

.page-index .btn-secondary:hover {
  background-color: #6a0000;
  border-color: #6a0000;
  box-shadow: 0 6px 15px rgba(139, 0, 0, 0.4);
}

/* 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: #1a1a1a; /* Dark background for contrast */
  color: #ffffff;
}

.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;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-index .hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
}

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

.page-index .hero-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #FFD700; /* Gold for title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-index .hero-description {
  font-size: 20px;
  margin-bottom: 30px;
  color: #e0e0e0;
}

.page-index .cta-button {
  background-color: #8B0000;
  color: #ffffff;
  padding: 18px 45px;
  font-size: 22px;
  border: none;
  box-shadow: 0 8px 20px rgba(139, 0, 0, 0.5);
}

.page-index .cta-button:hover {
  background-color: #a00000;
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(139, 0, 0, 0.6);
}

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

.page-index .intro-grid {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-index .intro-text {
  flex: 1;
}

.page-index .intro-text p {
  margin-bottom: 20px;
  font-size: 17px;
  color: #555555;
}

.page-index .intro-image {
  flex: 1;
  text-align: center;
}

.page-index .intro-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Quick Access Section */
.page-index .quick-access-section {
  padding: 80px 0;
  background-color: #f9f9f9;
}

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

.page-index .quick-link-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  color: #333333;
}

.page-index .quick-link-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.page-index .quick-link-card img {
  max-width: 100%;
  height: 180px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-index .quick-link-card h3 {
  font-size: 22px;
  color: #8B0000;
  margin-bottom: 10px;
}

.page-index .quick-link-card p {
  font-size: 15px;
  color: #666666;
}

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

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

.page-index .game-card {
  background-color: #fefefe;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-index .game-card img {
  width: 100%;
  height: 220px; /* Fixed height for game images */
  object-fit: cover;
}

.page-index .game-card h3 {
  font-size: 24px;
  color: #8B0000;
  padding: 15px 20px 0;
}

.page-index .game-card h3 a {
  color: #8B0000;
  text-decoration: none;
}

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

.page-index .game-card p {
  font-size: 16px;
  color: #555555;
  padding: 0 20px 20px;
}

/* Offers Section */
.page-index .offers-section {
  padding: 80px 0;
  background-color: #f9f9f9;
}

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

.page-index .offer-card {
  background-color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-index .offer-card img {
  width: 100%;
  height: 200px; /* Fixed height for offer images */
  object-fit: cover;
}

.page-index .offer-card h3 {
  font-size: 22px;
  color: #8B0000;
  padding: 15px 20px 0;
}

.page-index .offer-card h3 a {
  color: #8B0000;
  text-decoration: none;
}

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

.page-index .offer-card p {
  font-size: 16px;
  color: #555555;
  padding: 0 20px 20px;
}

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

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

.page-index .support-item {
  text-align: center;
  padding: 30px;
  background-color: #fefefe;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
}

.page-index .support-item img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-index .support-item h3 {
  font-size: 24px;
  color: #8B0000;
  margin-bottom: 15px;
}

.page-index .support-item p {
  font-size: 16px;
  color: #555555;
}

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

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

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

.page-index .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background-color: #FFD700; /* Gold background for questions */
  color: #333333;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

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

.page-index .faq-question h3 {
  font-size: 20px;
  margin: 0;
  color: #333333; /* Dark text on gold */
}

.page-index .faq-toggle {
  font-size: 28px;
  font-weight: bold;
  transition: transform 0.3s ease;
  line-height: 1;
  color: #8B0000; /* Dark red for toggle */
}

.page-index .faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: #333333; /* Darker when active */
}

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

.page-index .faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to contain content */
  padding: 20px 25px;
  border-top: 1px solid #eee;
}

.page-index .faq-answer p {
  margin: 0;
  font-size: 16px;
}

.page-index .faq-answer a {
  color: #8B0000;
  text-decoration: underline;
}

.page-index .faq-answer a:hover {
  color: #FFD700;
}

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

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

.page-index .blog-card {
  background-color: #fefefe;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-index .blog-card img {
  width: 100%;
  height: 200px; /* Fixed height for blog images */
  object-fit: cover;
}

.page-index .blog-card h3 {
  font-size: 22px;
  color: #8B0000;
  padding: 15px 20px 0;
}

.page-index .blog-card h3 a {
  color: #8B0000;
  text-decoration: none;
}

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

.page-index .blog-card p {
  font-size: 16px;
  color: #555555;
  padding: 0 20px;
}

.page-index .blog-date {
  font-size: 14px;
  color: #999999;
  padding: 0 20px 20px;
  margin-top: 10px;
}

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

/* Responsive Design */
@media (max-width: 992px) {
  .page-index .section-title {
    font-size: 30px;
  }

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

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

  .page-index .cta-button {
    padding: 15px 35px;
    font-size: 20px;
  }

  .page-index .intro-grid {
    flex-direction: column;
  }

  .page-index .intro-text, .page-index .intro-image {
    flex: none;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-index .section-title {
    font-size: 26px;
    margin-bottom: 30px;
  }

  .page-index .hero-section {
    padding: 40px 15px;
  }

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

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

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

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

  .page-index .quick-links-grid, .page-index .games-grid, .page-index .offers-grid, .page-index .support-grid, .page-index .blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-index .quick-link-card img, .page-index .game-card img, .page-index .offer-card img, .page-index .blog-card img {
    height: 160px;
  }

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

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

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

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