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

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

.page-index h1, .page-index h2, .page-index h3 {
  color: #2C3E50;
  margin-bottom: 20px;
  font-weight: bold;
}

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

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

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

.page-index h3 {
  font-size: 1.6em;
  color: #34495E;
}

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

.page-index .cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: #F39C12;
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(243, 156, 18, 0.3);
}

.page-index .cta-button:hover {
  background: #e08e0b;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(243, 156, 18, 0.4);
}

.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: #2C3E50; /* Fallback */
}

.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: 12px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

.page-index .hero-content h1 {
  color: #F39C12;
  font-size: 3.5em;
  margin-bottom: 25px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-index .hero-content p {
  font-size: 1.3em;
  color: #e0e0e0;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

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

.page-index .intro-container {
  max-width: 1000px;
  margin: 0 auto;
}

.page-index .intro-container ul {
  list-style: none;
  padding: 0;
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.page-index .intro-container ul li {
  background-color: #ecf0f1;
  padding: 20px;
  border-left: 5px solid #F39C12;
  border-radius: 5px;
  font-size: 1.1em;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.page-index .intro-container ul li strong {
  color: #2C3E50;
}

/* Quick Access Section */
.page-index .quick-access-section {
  padding: 80px 20px;
  background-color: #2C3E50;
  color: #ffffff;
}

.page-index .quick-access-section h2 {
  color: #F39C12;
}

.page-index .quick-access-section p {
  color: #e0e0e0;
  text-align: center;
  margin-bottom: 50px;
}

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

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

.page-index .access-link-card {
  background-color: #34495E;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  text-decoration: none;
  color: #ffffff;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-index .access-link-card:hover {
  background-color: #F39C12;
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(243, 156, 18, 0.4);
}

.page-index .access-link-card .access-icon {
  width: 100px; /* Enforce min size > 200px for the actual image, this is just a placeholder for the layout */
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: invert(0);
}

.page-index .access-link-card h3 {
  color: #ffffff;
  font-size: 1.4em;
  margin-bottom: 10px;
}

.page-index .access-link-card p {
  font-size: 0.95em;
  color: #cccccc;
}

/* Games Showcase Section */
.page-index .games-showcase-section {
  padding: 80px 20px;
  background-color: #f4f7f6;
}

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

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

.page-index .game-card {
  background-color: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  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 .game-thumbnail {
  width: 100%;
  height: 200px;
  object-fit: cover;
  filter: invert(0);
}

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

.page-index .game-card h3 a {
  color: #2C3E50;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

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

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

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

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

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

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

.page-index .promo-card .promo-thumbnail {
  width: 100%;
  height: 180px;
  object-fit: cover;
  filter: invert(0);
}

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

.page-index .promo-card h3 a {
  color: #2C3E50;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

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

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

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

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

.page-index .feature-card {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index .feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.12);
}

.page-index .feature-card .feature-icon {
  width: 100px; /* Enforce min size > 200px for the actual image, this is just a placeholder for the layout */
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: invert(0);
}

.page-index .feature-card h3 {
  color: #2C3E50;
  font-size: 1.4em;
  margin-bottom: 10px;
}

.page-index .feature-card p {
  font-size: 1em;
  color: #555;
}

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

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

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

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

.page-index .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  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.2em;
  color: #2C3E50;
}

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

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

.page-index .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 25px;
  background: #f9f9f9;
  color: #555;
}

.page-index .faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to contain content */
  padding: 20px 25px;
  border-radius: 0 0 8px 8px;
}

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

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

.page-index .blog-section h2 {
  color: #F39C12;
}

.page-index .blog-section p {
  color: #e0e0e0;
  text-align: center;
  margin-bottom: 50px;
}

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

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

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

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

.page-index .blog-post-card .blog-thumbnail {
  width: 100%;
  height: 200px;
  object-fit: cover;
  filter: invert(0);
}

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

.page-index .blog-post-card h3 a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

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

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index .hero-content h1 {
    font-size: 3em;
  }
  .page-index .hero-content p {
    font-size: 1.1em;
  }
  .page-index h2 {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-index .hero-section {
    padding: 40px 15px;
  }
  .page-index .hero-image img {
    border-radius: 8px;
  }
  .page-index .hero-content h1 {
    font-size: 2.5em;
  }
  .page-index .hero-content p {
    font-size: 1em;
  }
  .page-index .cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }
  .page-index h2 {
    font-size: 1.8em;
    margin-top: 40px;
    margin-bottom: 30px;
  }
  .page-index .intro-section, .page-index .quick-access-section, .page-index .games-showcase-section, .page-index .promotions-section, .page-index .security-support-section, .page-index .faq-section, .page-index .blog-section {
    padding: 40px 15px;
  }
  .page-index .access-links-grid, .page-index .game-categories, .page-index .promo-grid, .page-index .feature-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-answer {
    padding: 0 20px;
  }
  .page-index .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-index .hero-content h1 {
    font-size: 2em;
  }
  .page-index .hero-content p {
    font-size: 0.9em;
  }
  .page-index h2 {
    font-size: 1.5em;
  }
  .page-index h3 {
    font-size: 1.3em;
  }
  .page-index .cta-button {
    padding: 10px 25px;
    font-size: 0.9em;
  }
  .page-index .access-link-card .access-icon,
  .page-index .feature-card .feature-icon {
    width: 80px;
    height: 80px;
  }
  .page-index .game-card .game-thumbnail,
  .page-index .promo-card .promo-thumbnail,
  .page-index .blog-post-card .blog-thumbnail {
    height: 150px;
  }
}