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

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

.page-index-h1, .page-index-h2, .page-index-h3 {
  color: #FFD700;
  text-align: center;
  margin-bottom: 25px;
  line-height: 1.2;
}

.page-index-h1 {
  font-size: 2.8em;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-index-h2 {
  font-size: 2.2em;
  color: #B22222;
  margin-top: 40px;
  border-bottom: 2px solid #FFD700;
  padding-bottom: 10px;
}

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

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

.page-index-button {
  display: inline-block;
  padding: 12px 25px;
  background-color: #B22222;
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1em;
}

.page-index-button:hover {
  background-color: #FFD700;
  color: #1A1A1A;
  transform: translateY(-2px);
}

/* 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: #0D0D0D;
}

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

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

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

.page-index .cta-button:hover {
  background: #B22222;
  color: #ffffff;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 20px rgba(178, 34, 34, 0.5);
}

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

/* Quick Access Links */
.page-index .section-quick-access {
  padding: 60px 0;
  background-color: #1A1A1A;
}

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

.page-index .quick-link {
  display: block;
  background-color: #2A2A2A;
  padding: 25px;
  border-radius: 10px;
  text-decoration: none;
  color: #E0E0E0;
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  border: 1px solid #333;
}

.page-index .quick-link:hover {
  transform: translateY(-5px);
  background-color: #3A3A3A;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.5);
}

.page-index .quick-link h3 {
  color: #FFD700;
  font-size: 1.4em;
  margin-bottom: 10px;
  text-align: center;
}

.page-index .quick-link p {
  font-size: 0.95em;
  color: #C0C0C0;
  text-align: center;
}

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

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

.page-index .game-card {
  background-color: #2A2A2A;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #333;
}

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

.page-index .game-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 1px solid #444;
}

.page-index .game-card h3 {
  font-size: 1.5em;
  color: #FFD700;
  margin: 20px 0 10px;
}

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

.page-index .game-card .page-index-button {
  margin-bottom: 20px;
}

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

.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: #2A2A2A;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #333;
}

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

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

.page-index .promo-card h3 {
  font-size: 1.4em;
  color: #B22222;
  margin: 20px 0 10px;
}

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

.page-index .promo-card .page-index-button {
  margin-bottom: 20px;
}

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

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

.page-index .feature-item {
  background-color: #2A2A2A;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  border: 1px solid #333;
}

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

.page-index .feature-item h3 {
  color: #FFD700;
  font-size: 1.3em;
  margin-bottom: 10px;
}

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

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

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

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

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

.faq-question:hover {
  background: #3A3A3A;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: inherit;
  text-align: left;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #222222;
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Adjust as needed for content */
  padding: 20px 25px;
  border-top: 1px solid #333;
}

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

.faq-answer p {
  margin: 0;
  color: #C0C0C0;
}

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

.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: #2A2A2A;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #333;
}

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

.page-index .blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid #444;
}

.page-index .blog-card h3 {
  font-size: 1.4em;
  margin: 20px 20px 10px;
  line-height: 1.3;
}

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

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

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

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

.page-index .view-all-button {
  text-align: center;
  margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index-h1 {
    font-size: 2.4em;
  }
  .page-index-h2 {
    font-size: 1.8em;
  }
}

@media (max-width: 768px) {
  .page-index-h1 {
    font-size: 2em;
  }
  .page-index-h2 {
    font-size: 1.6em;
  }
  .page-index .hero-section {
    padding: 40px 15px;
  }
  .page-index .hero-image img {
    border-radius: 4px;
  }
  .page-index .cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }
  .page-index .links-grid, .page-index .game-categories, .page-index .promo-grid, .page-index .features-grid, .page-index .blog-grid {
    grid-template-columns: 1fr;
  }
  .page-index .quick-link, .page-index .game-card, .page-index .promo-card, .page-index .feature-item, .page-index .blog-card {
    margin-bottom: 20px;
  }
  .faq-question {
    padding: 15px 20px;
  }
  .faq-question h3 {
    font-size: 1.1em;
  }
  .faq-answer {
    padding: 0 20px;
  }
  .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.4em;
  }
  .page-index-p {
    font-size: 1em;
  }
  .page-index .cta-button {
    font-size: 14px;
    padding: 10px 25px;
  }
  .page-index .quick-link h3 {
    font-size: 1.2em;
  }
  .page-index .game-card h3, .page-index .promo-card h3, .page-index .feature-item h3, .page-index .blog-card h3 {
    font-size: 1.3em;
  }
}