.page-index {
  --primary-color: #FFD700;
  --secondary-color: #1A2B3C;
  --text-dark: #1A2B3C;
  --text-light: #ffffff;
  --background-light: #f5f5f5;
  --background-dark: #1A2B3C;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-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-light);
}

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

.page-index h1 {
  font-size: 3.2em;
  color: var(--primary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

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

.page-index h3 {
  font-size: 1.8em;
  margin-top: 25px;
}

.page-index p {
  font-size: 1.1em;
  margin-bottom: 15px;
  color: var(--text-dark);
}

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

.page-index .cta-button.primary-button {
  background: var(--primary-color);
  color: var(--text-dark);
}

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

.page-index .cta-button.secondary-button {
  background: var(--secondary-color);
  color: var(--text-light);
}

.page-index .cta-button.secondary-button:hover {
  background: #10202e;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-index .cta-button.small-button {
  padding: 10px 25px;
  font-size: 0.9em;
  margin: 10px 5px;
}

/* 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(--background-dark);
  color: var(--text-light);
}

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

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

.page-index .hero-content h1 {
  color: var(--primary-color);
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-index .hero-content p {
  color: var(--text-light);
  font-size: 1.3em;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

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

/* Section Intro */
.page-index .section-intro p strong {
  color: var(--secondary-color);
}

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

.page-index .access-card {
  background-color: var(--text-light);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  color: var(--text-dark);
}

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

.page-index .access-card h3 {
  color: var(--primary-color);
  margin-top: 0;
  font-size: 1.6em;
}

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

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

.page-index .game-card {
  background-color: var(--text-light);
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  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(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

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

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

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

.page-index .game-card .learn-more-link {
  display: block;
  padding: 15px;
  background-color: var(--primary-color);
  color: var(--text-dark);
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  margin-top: auto;
}

.page-index .game-card .learn-more-link:hover {
  background-color: #e6c200;
}

/* Promotions Section */
.page-index .section-promotions {
  background-color: var(--background-dark);
  color: var(--text-light);
}

.page-index .section-promotions h2 {
  color: var(--primary-color);
}

.page-index .section-promotions p {
  color: var(--text-light);
}

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

.page-index .promo-card {
  background-color: #2a3e50;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  color: var(--text-light);
}

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

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

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

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

/* Security & Support Section */
.page-index .security-support-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 40px;
  text-align: left;
}

.page-index .security-info, .page-index .support-info {
  background-color: var(--text-light);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.page-index .security-info h3, .page-index .support-info h3 {
  color: var(--secondary-color);
  margin-top: 0;
}

.page-index .security-info img, .page-index .support-info img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  margin-top: 20px;
  border-radius: 8px;
}

/* FAQ Section */
.page-index .faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
  text-align: left;
}

.page-index .faq-item {
  background-color: var(--text-light);
  border-radius: 12px;
  margin-bottom: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.page-index .faq-question {
  padding: 20px 30px;
  margin: 0;
  cursor: pointer;
  background-color: #fcfcfc;
  color: var(--secondary-color);
  font-size: 1.4em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.page-index .faq-question::after {
  content: '+';
  font-size: 1.5em;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.page-index .faq-question.active {
  background-color: #eee;
}

.page-index .faq-question.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-index .faq-answer {
  padding: 0 30px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-index .faq-answer.active {
  max-height: 300px; /* Adjust as needed */
  padding: 20px 30px;
}

.page-index .faq-answer p {
  color: #555;
  font-size: 1em;
  margin-bottom: 15px;
}

/* Blog Section */
.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: var(--text-light);
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

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

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

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

.page-index .blog-card h3 a:hover {
  color: var(--primary-color);
}

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

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

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

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

  .page-index h2 {
    font-size: 2em;
  }

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

  .page-index h3 {
    font-size: 1.4em;
  }

  .page-index p {
    font-size: 1em;
  }

  .page-index .hero-image img {
    border-radius: 8px;
  }

  .page-index .cta-button {
    padding: 12px 25px;
    font-size: 1em;
    margin: 10px 5px;
  }

  .page-index .access-links-grid,
  .page-index .game-grid,
  .page-index .promotion-grid,
  .page-index .security-support-content,
  .page-index .blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-index .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .page-index .hero-actions .cta-button {
    width: 80%;
    max-width: 300px;
  }

  .page-index .faq-question {
    padding: 15px 20px;
    font-size: 1.2em;
  }

  .page-index .faq-answer {
    padding: 15px 20px;
  }

  .page-index .game-card img,
  .page-index .promo-card img,
  .page-index .blog-card img {
    height: 180px;
  }

  .page-index .security-info img, .page-index .support-info img {
    height: 180px;
  }
}

@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 .cta-button {
    width: 90%;
    max-width: none;
    margin: 8px 0;
  }

  .page-index .hero-section {
    padding: 30px 15px;
  }
}