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

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

.page-index h1, .page-index h2, .page-index h3 {
  color: var(--primary-color, #0A2342);
  margin-bottom: 20px;
  font-weight: bold;
}

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

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

.page-index h2::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: var(--secondary-color, #FFD700);
  margin: 10px auto 0;
  border-radius: 2px;
}

.page-index h3 {
  font-size: 1.8em;
  margin-bottom: 15px;
}

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

.page-index a {
  color: var(--primary-color, #0A2342);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-index a:hover {
  color: var(--secondary-color, #FFD700);
}

/* 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: var(--primary-color, #0A2342);
  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;
}

.page-index .hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 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 h1 {
  color: var(--secondary-color, #FFD700);
  font-size: 3.8em;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

.page-index .hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-index .cta-button {
  display: inline-block;
  padding: 18px 45px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
}

.page-index .primary-button {
  background: var(--secondary-color, #FFD700);
  color: var(--primary-color, #0A2342);
}

.page-index .primary-button:hover {
  background: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-index .secondary-button {
  background: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-index .secondary-button:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

.page-index .intro-section p {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: justify;
}

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

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

.page-index .access-link-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #333333;
}

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

.page-index .access-link-card h3 {
  color: var(--primary-color, #0A2342);
  font-size: 1.4em;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-index .access-link-card p {
  font-size: 1em;
  color: #666666;
  flex-grow: 1;
}

.page-index .access-link-card img {
  width: 100%;
  max-height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-top: 15px;
}

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

.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: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

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

.page-index .game-card h3 {
  font-size: 1.6em;
  color: var(--primary-color, #0A2342);
  margin-bottom: 10px;
}

.page-index .game-card h3 a {
  color: var(--primary-color, #0A2342);
}

.page-index .game-card h3 a:hover {
  color: var(--secondary-color, #FFD700);
}

.page-index .game-card p {
  font-size: 1em;
  color: #666666;
  text-align: justify;
}

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

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

.page-index .promo-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

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

.page-index .promo-card h3 {
  font-size: 1.5em;
  color: var(--primary-color, #0A2342);
  margin-bottom: 10px;
}

.page-index .promo-card h3 a {
  color: var(--primary-color, #0A2342);
}

.page-index .promo-card h3 a:hover {
  color: var(--secondary-color, #FFD700);
}

.page-index .promo-card p {
  font-size: 1em;
  color: #666666;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-index .promo-button {
  display: inline-block;
  padding: 12px 25px;
  background: var(--secondary-color, #FFD700);
  color: var(--primary-color, #0A2342);
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
}

.page-index .promo-button:hover {
  background: #e6c200;
  transform: translateY(-2px);
}

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

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

.page-index .security-info, .page-index .payment-info, .page-index .support-info {
  background: #fdfdfd;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-index .security-info h3, .page-index .payment-info h3, .page-index .support-info h3 {
  color: var(--primary-color, #0A2342);
  font-size: 1.6em;
  margin-bottom: 15px;
}

.page-index .security-info img, .page-index .payment-info img, .page-index .support-info img {
  width: 100%;
  max-height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-index .security-info p, .page-index .payment-info p, .page-index .support-info p {
  font-size: 1em;
  color: #555555;
  text-align: justify;
}

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

.page-index .faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.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: var(--primary-color, #0A2342);
  flex-grow: 1;
  text-align: left;
}

.page-index .faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--secondary-color, #FFD700);
  transition: transform 0.3s ease;
  margin-left: 15px;
}

.page-index .faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: var(--primary-color, #0A2342);
}

.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: #fcfcfc;
  border-radius: 0 0 8px 8px;
  border: 1px solid #e0e0e0;
  border-top: none;
}

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

.page-index .faq-answer p {
  margin-bottom: 0;
  color: #444444;
  font-size: 1em;
  text-align: justify;
}

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

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

.page-index .article-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  color: #333333;
  text-decoration: none;
}

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

.page-index .article-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
}

.page-index .article-card h3 {
  font-size: 1.4em;
  color: var(--primary-color, #0A2342);
  padding: 15px 20px 10px;
  margin-top: 0;
}

.page-index .article-card p {
  font-size: 0.95em;
  color: #666666;
  padding: 0 20px;
  flex-grow: 1;
  text-align: justify;
}

.page-index .article-card .read-more {
  display: flex;
  align-items: center;
  color: var(--secondary-color, #FFD700);
  font-weight: bold;
  padding: 15px 20px 20px;
  transition: color 0.3s ease;
}

.page-index .article-card .read-more:hover {
  color: var(--primary-color, #0A2342);
}

.page-index .article-card .read-more .arrow-right {
  margin-left: 8px;
  display: inline-block;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 5px solid var(--secondary-color, #FFD700);
  transition: border-left-color 0.3s ease;
}

.page-index .article-card .read-more:hover .arrow-right {
  border-left-color: var(--primary-color, #0A2342);
}

/* 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 .cta-button {
    padding: 15px 35px;
    font-size: 1.1em;
  }
  .page-index h2 {
    font-size: 2em;
  }
  .page-index h3 {
    font-size: 1.5em;
  }
}

@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 .hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-index .cta-button {
    width: 80%;
    max-width: 300px;
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-index h2 {
    font-size: 1.8em;
    margin-top: 30px;
    margin-bottom: 20px;
  }
  .page-index h3 {
    font-size: 1.3em;
  }
  .page-index p {
    font-size: 0.95em;
  }
  .page-index .access-links-grid, .page-index .game-categories, .page-index .promotions-grid, .page-index .security-support-content, .page-index .blog-articles-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-index .access-link-card, .page-index .game-card, .page-index .promo-card, .page-index .security-info, .page-index .payment-info, .page-index .support-info, .page-index .article-card {
    padding: 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;
  }
  .page-index .faq-toggle {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .page-index .hero-content h1 {
    font-size: 2em;
  }
  .page-index .hero-content p {
    font-size: 0.9em;
  }
  .page-index .cta-button {
    width: 90%;
    max-width: 280px;
  }
  .page-index h2 {
    font-size: 1.6em;
  }
  .page-index h3 {
    font-size: 1.2em;
  }
  .page-index .container {
    padding: 15px;
  }
}