/* style/index.css */
/* --------------------------------------------------- */
/* Global Reset & Base Styles for .page-index scope */
/* --------------------------------------------------- */
.page-index {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text for light body background #f4f4f4 */
  background-color: #f4f4f4; /* Match body background */
}

.page-index__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

.page-index__section-title {
  font-size: 36px;
  font-weight: bold;
  color: #B80F0A; /* Primary brand color */
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-index__section-text {
  font-size: 18px;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #555555;
}

/* --------------------------------------------------- */
/* HERO Section Styles */
/* --------------------------------------------------- */
.page-index__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  background: linear-gradient(135deg, #B80F0A, #FFD700); /* Brand colors gradient */
  color: #ffffff; /* White text for gradient background */
}

.page-index__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.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);
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
  max-width: 100%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-index__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 0 15px;
}

.page-index__hero-title {
  font-size: 48px;
  font-weight: 900;
  margin-bottom: 20px;
  color: #FFD700; /* Secondary brand color for highlight */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.1;
}

.page-index__hero-description {
  font-size: 22px;
  margin-bottom: 40px;
  color: #f0f0f0;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-index__hero-cta-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow wrapping on small screens */
}

.page-index__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  min-width: 180px; /* Ensure button has a decent minimum width */
}

.page-index__cta-button--primary {
  background: #FFD700; /* Secondary brand color for primary CTA */
  color: #B80F0A; /* Primary brand color for text */
  border: 2px solid #FFD700;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

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

.page-index__cta-button--secondary {
  background: #B80F0A; /* Primary brand color for secondary CTA */
  color: #ffffff;
  border: 2px solid #ffffff;
  box-shadow: 0 4px 15px rgba(184, 15, 10, 0.4);
}

.page-index__cta-button--secondary:hover {
  background: #9e0d09;
  border-color: #FFD700;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(184, 15, 10, 0.6);
}

/* --------------------------------------------------- */
/* Module 1: Introduction Section */
/* --------------------------------------------------- */
.page-index__introduction-section {
  padding: 80px 0;
  background-color: #f9f9f9; /* Slightly off-white for contrast */
}

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

.page-index__feature-item {
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #eeeeee;
}

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

.page-index__feature-item img {
  
  
  object-fit: contain;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
  max-width: 100%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-index__feature-item h3 {
  font-size: 24px;
  color: #B80F0A;
  margin-bottom: 15px;
}

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

/* --------------------------------------------------- */
/* Module 2: Quick Access Section */
/* --------------------------------------------------- */
.page-index__quick-access-section {
  padding: 80px 0;
  background-color: #B80F0A; /* Primary brand color dark background */
  color: #ffffff; /* White text */
}

.page-index__quick-access-section .page-index__section-title {
  color: #FFD700; /* Secondary brand color for title */
}

.page-index__quick-access-section .page-index__section-text {
  color: #f0f0f0;
}

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

.page-index__quick-link-card {
  display: block;
  background: #ffffff;
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  text-decoration: none;
  color: #333333;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #eeeeee;
}

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

.page-index__quick-link-card img {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
  max-width: 100%;
  height: auto; /* Override fixed height for responsiveness */
  display: block;
}

.page-index__quick-link-card h3 {
  font-size: 22px;
  color: #B80F0A;
  margin-bottom: 10px;
}

.page-index__quick-link-card p {
  font-size: 15px;
  color: #666666;
}

/* --------------------------------------------------- */
/* Module 3: Core Games/Services Section */
/* --------------------------------------------------- */
.page-index__games-section {
  padding: 80px 0;
  background-color: #f9f9f9;
}

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

.page-index__game-card {
  background: #ffffff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #eeeeee;
  text-align: center;
}

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

.page-index__game-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
  max-width: 100%;
  height: auto; /* Override fixed height for responsiveness */
  display: block;
}

.page-index__game-card h3 {
  font-size: 24px;
  color: #B80F0A;
  margin-bottom: 15px;
}

.page-index__game-card p {
  font-size: 16px;
  color: #666666;
  margin-bottom: 20px;
}

.page-index__btn-link {
  display: inline-block;
  padding: 10px 25px;
  background: #FFD700;
  color: #B80F0A;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-index__btn-link:hover {
  background: #e6c200;
}

/* --------------------------------------------------- */
/* Module 4: Promotions Section */
/* --------------------------------------------------- */
.page-index__promotions-section {
  padding: 80px 0;
  background-color: #B80F0A; /* Primary brand color dark background */
  color: #ffffff;
}

.page-index__promotions-section .page-index__section-title {
  color: #FFD700;
}

.page-index__promotions-section .page-index__section-text {
  color: #f0f0f0;
}

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

.page-index__promo-card {
  background: #ffffff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #eeeeee;
  text-align: center;
  text-decoration: none;
  color: #333333;
}

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

.page-index__promo-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
  max-width: 100%;
  height: auto; /* Override fixed height for responsiveness */
  display: block;
}

.page-index__promo-card h3 {
  font-size: 22px;
  color: #B80F0A;
  margin-bottom: 10px;
}

.page-index__promo-card p {
  font-size: 15px;
  color: #666666;
  margin-bottom: 20px;
}

/* --------------------------------------------------- */
/* Module 5: Security & Customer Service Section */
/* --------------------------------------------------- */
.page-index__security-cs-section {
  padding: 80px 0;
  background-color: #f9f9f9;
}

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

.page-index__info-card {
  background: #ffffff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #eeeeee;
  text-align: center;
}

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

.page-index__info-card img {
  
  
  object-fit: contain;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
  max-width: 100%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-index__info-card h3 {
  font-size: 22px;
  color: #B80F0A;
  margin-bottom: 10px;
}

.page-index__info-card p {
  font-size: 15px;
  color: #666666;
  margin-bottom: 20px;
}

/* --------------------------------------------------- */
/* Module 6: FAQ Section */
/* --------------------------------------------------- */
.page-index__faq-section {
  padding: 80px 0;
  background-color: #B80F0A; /* Primary brand color dark background */
  color: #ffffff;
}

.page-index__faq-section .page-index__section-title {
  color: #FFD700;
}

.page-index__faq-section .page-index__section-text {
  color: #f0f0f0;
}

.page-index__faq-list {
  max-width: 900px;
  margin: 50px auto 0 auto;
}

/* FAQ容器样式 */
.page-index__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* FAQ默认状态 - 答案隐藏 */
.page-index__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 20px;
  opacity: 0;
  color: #333333; /* Dark text for light answer background */
}