.page-index {
  --primary-color: #FFD700;
  --secondary-color: #1E90FF;
  --dark-text-color: #333333;
  --light-text-color: #ffffff;
  --bg-light: #f5f8fa;
  --bg-dark: #2c3e50;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-index .section-spacing {
  padding: 80px 0;
}

.page-index .bg-light {
  background-color: var(--bg-light);
}

.page-index .section-title {
  font-size: 38px;
  color: var(--dark-text-color);
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-index .section-description {
  font-size: 18px;
  color: #555555;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 60px auto;
  line-height: 1.8;
}

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

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

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

.page-index .grid-4-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
}

.page-index .cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
}

.page-index .cta-button.primary-button {
  background: var(--primary-color);
  color: var(--dark-text-color);
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-index .cta-button.primary-button:hover {
  background: #e0bf00;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

.page-index .cta-button.secondary-button {
  background: var(--secondary-color);
  color: var(--light-text-color);
  margin-left: 20px;
  box-shadow: 0 4px 15px rgba(30, 144, 255, 0.4);
}

.page-index .cta-button.secondary-button:hover {
  background: #1a7ae6;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(30, 144, 255, 0.6);
}

.page-index .cta-button.small-button {
  padding: 10px 25px;
  font-size: 16px;
  background: var(--secondary-color);
  color: var(--light-text-color);
  margin-top: 15px;
}

.page-index .cta-button.small-button:hover {
  background: #1a7ae6;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

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

.page-index .hero-title {
  font-size: 52px;
  margin-bottom: 20px;
  color: var(--primary-color);
  line-height: 1.2;
}

.page-index .hero-description {
  font-size: 22px;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--light-text-color);
}

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

/* Intro Section */
.page-index .intro-features {
  margin-top: 40px;
}

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

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

.page-index .feature-item .feature-image {
  width: 150px;
  height: 150px;
  object-fit: contain;
  margin-bottom: 25px;
  border-radius: 5px;
}

.page-index .feature-item h3 {
  font-size: 24px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-index .feature-item p {
  font-size: 16px;
  color: #666666;
}

/* Quick Access Section */
.page-index .quick-links {
  margin-top: 40px;
}

.page-index .quick-link-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  padding: 25px 15px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--dark-text-color);
  font-weight: bold;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.page-index .quick-link-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  color: var(--secondary-color);
}

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

.page-index .quick-link-text {
  font-size: 18px;
  text-align: center;
}

/* Games Section */
.page-index .games-grid {
  margin-top: 40px;
}

.page-index .game-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 30px;
}

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

.page-index .game-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 20px;
}

.page-index .game-card h3 {
  font-size: 26px;
  margin-bottom: 10px;
  padding: 0 20px;
}

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

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

.page-index .game-card p {
  font-size: 16px;
  color: #666666;
  padding: 0 20px;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Promotions Section */
.page-index .promotions-grid {
  margin-top: 40px;
}

.page-index .promotion-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 30px;
}

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

.page-index .promotion-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  margin-bottom: 20px;
}

.page-index .promotion-card h3 {
  font-size: 26px;
  color: var(--primary-color);
  margin-bottom: 10px;
  padding: 0 20px;
}

.page-index .promotion-card p {
  font-size: 16px;
  color: #666666;
  padding: 0 20px;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Security & Customer Section */
.page-index .security-grid {
  margin-top: 40px;
}

.page-index .security-item {
  text-align: center;
  padding: 30px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index .security-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
}

.page-index .security-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 5px;
}

.page-index .security-item h3 {
  font-size: 24px;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-index .security-item p {
  font-size: 16px;
  color: #666666;
}

/* FAQ Section */
.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: 20px;
  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 {
  font-size: 20px;
  color: var(--dark-text-color);
  margin: 0;
}

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

.page-index .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 20px;
  background: #f9f9f9;
  border-radius: 0 0 8px 8px;
}

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

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

.page-index .faq-answer p {
  color: #555555;
  font-size: 16px;
  margin: 0;
}

/* Blog Section */
.page-index .blog-grid {
  margin-top: 40px;
}

.page-index .blog-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  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 10px 22px rgba(0, 0, 0, 0.12);
}

.page-index .blog-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.page-index .blog-card h3 {
  font-size: 22px;
  margin: 20px 20px 10px 20px;
  flex-grow: 1;
}

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

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

.page-index .blog-summary {
  font-size: 15px;
  color: #666666;
  padding: 0 20px 20px 20px;
}

.page-index .blog-card .cta-button {
  margin: 0 20px 20px 20px;
  align-self: flex-start;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index .section-title {
    font-size: 32px;
  }
  .page-index .section-description {
    font-size: 16px;
    margin-bottom: 40px;
  }
  .page-index .hero-title {
    font-size: 42px;
  }
  .page-index .hero-description {
    font-size: 18px;
  }
  .page-index .grid-2-cols {
    grid-template-columns: 1fr;
  }
  .page-index .grid-3-cols {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .page-index .grid-4-cols {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-index .section-spacing {
    padding: 60px 0;
  }
  .page-index .hero-section {
    padding: 40px 15px;
  }
  .page-index .hero-image img {
    border-radius: 8px;
  }
  .page-index .hero-title {
    font-size: 34px;
    margin-bottom: 15px;
  }
  .page-index .hero-description {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .page-index .hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-index .cta-button.secondary-button {
    margin-left: 0;
  }
  .page-index .feature-item, .page-index .game-card, .page-index .promotion-card, .page-index .security-item, .page-index .blog-card {
    padding: 20px;
  }
  .page-index .feature-item h3, .page-index .game-card h3, .page-index .promotion-card h3, .page-index .security-item h3, .page-index .blog-card h3 {
    font-size: 20px;
  }
  .page-index .quick-link-image {
    width: 90px;
    height: 90px;
  }
  .page-index .quick-link-text {
    font-size: 16px;
  }
  .page-index .grid-3-cols {
    grid-template-columns: 1fr;
  }
  .page-index .grid-4-cols {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-index .faq-question {
    padding: 15px;
  }
  .page-index .faq-question h3 {
    font-size: 18px;
  }
  .page-index .faq-toggle {
    font-size: 20px;
  }
  .page-index .faq-answer {
    padding: 0 15px;
  }
  .page-index .faq-item.active .faq-answer {
    padding: 15px;
  }
  .page-index .blog-image {
    height: 180px;
  }
}

@media (max-width: 480px) {
  .page-index .section-title {
    font-size: 28px;
  }
  .page-index .hero-title {
    font-size: 28px;
  }
  .page-index .hero-description {
    font-size: 15px;
  }
  .page-index .cta-button {
    padding: 12px 25px;
    font-size: 16px;
  }
  .page-index .quick-link-item {
    padding: 15px 10px;
  }
  .page-index .quick-link-image {
    width: 70px;
    height: 70px;
  }
  .page-index .quick-link-text {
    font-size: 14px;
  }
  .page-index .grid-4-cols {
    grid-template-columns: 1fr;
  }
  .page-index .game-card h3 a, .page-index .promotion-card h3, .page-index .security-item h3, .page-index .blog-card h3 a {
    font-size: 20px;
  }
  .page-index .game-image {
    height: 200px;
  }
  .page-index .promotion-image {
    height: 180px;
  }
  .page-index .blog-image {
    height: 150px;
  }
}