.page-index {
  --primary-color: #1A202C;
  --secondary-color: #FFD700;
  --text-color-light: #ffffff;
  --text-color-dark: #1A202C;
  --background-dark: #1A202C;
  --background-light: #F8F8F8;
  --card-background: #2D3748;
  --border-color: #4A5568;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-color-light);
  background-color: var(--background-dark);
}

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

.page-index section {
  padding: 60px 0;
  text-align: center;
}

.page-index section:nth-of-type(even) {
  background-color: var(--background-dark);
  color: var(--text-color-light);
}

.page-index section:nth-of-type(odd) {
  background-color: #242b3a; /* Slightly lighter dark for contrast */
  color: var(--text-color-light);
}

.page-index h1, .page-index h2, .page-index h3, .page-index h4, .page-index h5, .page-index h6 {
  color: var(--secondary-color);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-index h1 {
  font-size: 3.2em;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-index h2 {
  font-size: 2.5em;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 10px;
}

.page-index h2::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--secondary-color);
}

.page-index h3 {
  font-size: 1.8em;
  color: var(--text-color-light);
}

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

.page-index ul {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-index ul li {
  background: #2D3748;
  margin-bottom: 10px;
  padding: 10px 15px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  color: #D1D1D1;
}

.page-index ul li::before {
  content: '✓';
  color: var(--secondary-color);
  font-weight: bold;
  margin-right: 10px;
}

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

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

.page-index .cta-button, .page-index .btn-promo, .page-index .btn-more, .page-index .btn-contact, .page-index .btn-more-blog {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--text-color-dark);
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-index .cta-button:hover, .page-index .btn-promo:hover, .page-index .btn-more:hover, .page-index .btn-contact:hover, .page-index .btn-more-blog:hover {
  background: #FFEA00;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 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: 80px 20px 60px; /* Reduced bottom padding */
  background-color: var(--background-dark);
}

.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 20px 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(--text-color-light);
  font-size: 3.5em;
  margin-bottom: 20px;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
}

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

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

.page-index .intro-card {
  background-color: var(--card-background);
  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;
}

.page-index .intro-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-index .intro-card img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 5px;
}

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

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

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

.page-index .quick-link-card {
  background-color: var(--card-background);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-index .quick-link-card:hover {
  transform: translateY(-5px);
  background-color: #3A475C;
}

.page-index .quick-link-card img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 15px;
  border-radius: 5px;
}

.page-index .quick-link-card h3 {
  font-size: 1.3em;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

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

/* Games Section */
.page-index .game-category {
  background-color: var(--card-background);
  padding: 40px;
  border-radius: 10px;
  margin-bottom: 30px;
  text-align: left;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-index .game-category h3 {
  color: var(--secondary-color);
  font-size: 2em;
  margin-bottom: 20px;
}

.page-index .game-category img {
  width: 100%;
  max-width: 600px;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-index .game-category p {
  color: #E0E0E0;
  margin-bottom: 20px;
}

.page-index .game-category ul {
  list-style: none;
  padding: 0;
  margin-left: 20px;
}

.page-index .game-category ul li {
  background: none;
  padding: 5px 0;
  margin-bottom: 5px;
  color: #D1D1D1;
  text-align: left;
}

.page-index .game-category ul li::before {
  content: '▶';
  color: var(--secondary-color);
  margin-right: 10px;
}

/* Promotions Section */
.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: var(--card-background);
  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;
}

.page-index .promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-index .promo-card img {
  width: 100%;
  max-height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-index .promo-card h3 {
  color: var(--secondary-color);
  font-size: 1.6em;
  margin-bottom: 10px;
}

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

.page-index .promo-card .btn-promo {
  margin-top: 20px;
  padding: 12px 25px;
  font-size: 1em;
}

/* Security & Customer Service Section */
.page-index .security-cs-section {
  text-align: left;
}

.page-index .security-cs-section h2 {
  text-align: center;
}

.page-index .security-features, .page-index .payment-withdrawal, .page-index .customer-service {
  background-color: var(--card-background);
  padding: 40px;
  border-radius: 10px;
  margin-bottom: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-index .security-features h3, .page-index .payment-withdrawal h3, .page-index .customer-service h3 {
  color: var(--secondary-color);
  font-size: 1.8em;
  margin-bottom: 20px;
  text-align: center;
}

.page-index .security-features img, .page-index .payment-withdrawal img, .page-index .customer-service img {
  display: block;
  margin: 0 auto 25px;
  width: 150px;
  height: 150px;
  object-fit: contain;
  border-radius: 5px;
}

.page-index .security-features ul, .page-index .payment-withdrawal ul, .page-index .customer-service ul {
  margin-left: 0;
  padding-left: 0;
}

.page-index .security-features ul li, .page-index .payment-withdrawal ul li, .page-index .customer-service ul li {
  background: none;
  border-bottom: 1px solid #3A475C;
  padding: 10px 0;
  margin-bottom: 0;
  color: #D1D1D1;
}

.page-index .security-features ul li:last-child, .page-index .payment-withdrawal ul li:last-child, .page-index .customer-service ul li:last-child {
  border-bottom: none;
}

.page-index .btn-contact {
  margin-top: 30px;
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

/* FAQ Section */
.page-index .faq-section {
  text-align: left;
}

.page-index .faq-section h2 {
  text-align: center;
}

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

.page-index .faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--card-background);
}

.page-index .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: var(--card-background);
  cursor: pointer;
  transition: background-color 0.3s ease;
  color: var(--text-color-light);
}

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

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

.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: #FFEA00;
}

.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: #2D3748; /* Slightly different background for answer */
  color: #D1D1D1;
}

.page-index .faq-item.active .faq-answer {
  max-height: 500px; /* Enough to show content */
  padding: 25px;
  border-top: 1px solid var(--border-color);
}

.page-index .faq-answer p {
  margin-bottom: 15px;
  color: #D1D1D1;
}

.page-index .faq-answer .faq-link {
  display: inline-block;
  margin-top: 10px;
  color: var(--secondary-color);
  font-weight: bold;
}

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

.page-index .blog-card {
  background-color: var(--card-background);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  color: var(--text-color-light);
}

.page-index .blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-index .blog-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-index .blog-card h3 {
  font-size: 1.4em;
  color: var(--secondary-color);
  margin-bottom: 10px;
  flex-grow: 1;
}

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

.page-index .blog-card .blog-date {
  font-size: 0.85em;
  color: #888;
  display: block;
  margin-top: auto;
}

.page-index .btn-more-blog {
  margin-top: 50px;
}

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

@media (max-width: 768px) {
  .page-index section {
    padding: 40px 0;
  }
  .page-index h1 {
    font-size: 2.2em;
  }
  .page-index h2 {
    font-size: 1.8em;
    margin-bottom: 20px;
  }
  .page-index h3 {
    font-size: 1.4em;
  }
  .page-index p {
    font-size: 1em;
  }
  .page-index .cta-button, .page-index .btn-promo, .page-index .btn-more, .page-index .btn-contact, .page-index .btn-more-blog {
    padding: 12px 30px;
    font-size: 1em;
    margin-top: 20px;
  }
  .page-index .intro-grid, .page-index .links-grid, .page-index .promo-grid, .page-index .blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-index .hero-section {
    padding: 60px 15px 40px;
  }
  .page-index .intro-card, .page-index .quick-link-card, .page-index .promo-card, .page-index .blog-card {
    padding: 20px;
  }
  .page-index .game-category {
    padding: 30px;
  }
  .page-index .game-category img {
    max-width: 100%;
  }
  .page-index .security-features, .page-index .payment-withdrawal, .page-index .customer-service {
    padding: 30px;
  }
  .page-index .faq-question {
    padding: 15px 20px;
  }
  .page-index .faq-answer {
    padding: 15px 20px;
  }
  .page-index .faq-question h3 {
    font-size: 1.1em;
  }
  .page-index .faq-toggle {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .page-index h1 {
    font-size: 1.8em;
  }
  .page-index h2 {
    font-size: 1.5em;
  }
  .page-index h3 {
    font-size: 1.2em;
  }
  .page-index .hero-content p {
    font-size: 0.95em;
  }
  .page-index .cta-button {
    padding: 10px 25px;
    font-size: 0.9em;
  }
  .page-index .intro-card img, .page-index .quick-link-card img {
    width: 70px;
    height: 70px;
  }
  .page-index .security-features img, .page-index .payment-withdrawal img, .page-index .customer-service img {
    width: 100px;
    height: 100px;
  }
}