.page-index {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark grey for good contrast on light backgrounds */
  background-color: #f8f8f8;
}

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

.page-index h1,
.page-index h2,
.page-index h3 {
  color: #E44D26; /* Primary color for headings */
  margin-bottom: 20px;
  text-align: center;
}

.page-index h1 {
  font-size: 2.8em;
  color: #ffffff; /* White for hero section */
}

.page-index h2 {
  font-size: 2.2em;
  margin-top: 40px;
}

.page-index h3 {
  font-size: 1.6em;
  margin-top: 25px;
  color: #333333; /* Dark grey for content headings */
}

.page-index p {
  margin-bottom: 15px;
  text-align: justify;
}

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

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

/* 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: linear-gradient(135deg, #E44D26, #FFB800);
}

.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 20px rgba(0, 0, 0, 0.3);
}

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

.page-index .hero-content p {
  color: #ffffff;
  font-size: 1.2em;
  margin-bottom: 30px;
}

.page-index .cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: #FFB800; /* Secondary color for CTA */
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-index .cta-button:hover {
  background: #E44D26; /* Primary color on hover */
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Intro Section */
.page-index .intro-section {
  padding: 60px 0;
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Quick Links Section */
.page-index .quick-links-section {
  padding: 60px 0;
  background-color: #f0f0f0;
  text-align: center;
}

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

.page-index .quick-link-button {
  display: block;
  padding: 18px 25px;
  background: #E44D26; /* Primary color */
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.page-index .quick-link-button:hover {
  background-color: #FFB800; /* Secondary color on hover */
  transform: translateY(-3px);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.2);
}

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

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

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

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

.page-index .game-card img {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-index .game-card h3 {
  padding: 15px 20px 5px;
  margin-bottom: 0;
  color: #E44D26;
}

.page-index .game-card h3 a {
  color: #E44D26; /* Ensure link in H3 is primary color */
}

.page-index .game-card h3 a:hover {
  color: #FFB800; /* Secondary color on hover */
}

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

.page-index .read-more-button {
  display: inline-block;
  padding: 10px 20px;
  margin-bottom: 20px;
  background: #FFB800;
  color: #ffffff;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.page-index .read-more-button:hover {
  background-color: #E44D26;
}

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

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

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

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

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

.page-index .promo-card h3 {
  padding: 15px 20px 5px;
  margin-bottom: 0;
  color: #E44D26;
}

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

.page-index .promo-button {
  display: inline-block;
  padding: 12px 25px;
  margin-bottom: 20px;
  background: #E44D26;
  color: #ffffff;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.page-index .promo-button:hover {
  background-color: #FFB800;
}

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

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

.page-index .feature-item {
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.page-index .feature-item h3 {
  color: #E44D26;
  margin-bottom: 15px;
  text-align: center;
}

.page-index .feature-item p {
  color: #555555;
  text-align: left;
}

.page-index .feature-item ul {
  list-style: none;
  padding: 0;
  margin-top: 15px;
  text-align: left;
}

.page-index .feature-item ul li {
  margin-bottom: 8px;
  color: #555555;
}

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

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

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

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

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

.faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: #333333; /* Dark grey for question text */
  text-align: left;
}

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

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: #FFB800;
}

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

.faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to accommodate content */
  padding: 15px 25px;
  border-top: 1px solid #e0e0e0;
}

.faq-answer p {
  margin: 0;
  text-align: left;
}

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

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

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

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

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

.page-index .blog-card h3 {
  padding: 15px 20px 5px;
  margin-bottom: 0;
  color: #E44D26;
}

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

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

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

/* Responsive Design */
@media (max-width: 992px) {
  .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: 1.1em;
  }
  .page-index .cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .page-index .container {
    padding: 15px;
  }
  .page-index h1 {
    font-size: 1.8em;
  }
  .page-index h2 {
    font-size: 1.6em;
  }
  .page-index h3 {
    font-size: 1.2em;
  }
  .page-index .hero-section {
    padding: 40px 15px;
  }
  .page-index .hero-image {
    margin-bottom: 20px;
  }
  .page-index .hero-content p {
    font-size: 1em;
  }
  .page-index .cta-button {
    padding: 10px 25px;
    font-size: 15px;
  }
  .page-index .quick-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 .game-card img,
  .page-index .promo-card img,
  .page-index .blog-card img {
    height: 180px;
  }
  .faq-question {
    padding: 15px 20px;
  }
  .faq-question h3 {
    font-size: 1.1em;
  }
  .faq-toggle {
    font-size: 20px;
  }
  .faq-answer {
    padding: 0 20px;
  }
  .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-index h1 {
    font-size: 1.5em;
  }
  .page-index h2 {
    font-size: 1.4em;
  }
  .page-index h3 {
    font-size: 1.1em;
  }
  .page-index .cta-button {
    width: 100%;
    max-width: 250px;
  }
  .page-index .quick-link-button {
    font-size: 1em;
    padding: 15px;
  }
}