.page-resources-sunwin-web-game-strategy {
  font-family: 'Arial', sans-serif;
  color: #333333;
  line-height: 1.6;
  background-color: var(--secondary-color); /* Matches body background */
}

.page-resources-sunwin-web-game-strategy__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); /* Ensures content is not hidden by fixed header */
  background: linear-gradient(135deg, var(--primary-color), #000000); /* Darker gradient for contrast */
  color: #ffffff;
}

.page-resources-sunwin-web-game-strategy__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-resources-sunwin-web-game-strategy__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-resources-sunwin-web-game-strategy__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-resources-sunwin-web-game-strategy__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-resources-sunwin-web-game-strategy__main-title {
  font-size: 3.2em;
  margin-bottom: 15px;
  color: #FFFF00; /* Register/Login font color for highlight */
  font-weight: bold;
}

.page-resources-sunwin-web-game-strategy__intro-text {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: #f0f0f0;
}

.page-resources-sunwin-web-game-strategy__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-resources-sunwin-web-game-strategy__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-resources-sunwin-web-game-strategy__btn-primary {
  background: #C30808; /* Register color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

.page-resources-sunwin-web-game-strategy__btn-primary:hover {
  background: #a30606;
  border-color: #a30606;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-resources-sunwin-web-game-strategy__btn-secondary {
  background: var(--primary-color); /* Main brand color */
  color: #ffffff;
  border: 2px solid var(--primary-color);
}

.page-resources-sunwin-web-game-strategy__btn-secondary:hover {
  background: #005a2d;
  border-color: #005a2d;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-resources-sunwin-web-game-strategy__section {
  padding: 60px 20px;
  text-align: center;
}

.page-resources-sunwin-web-game-strategy__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-resources-sunwin-web-game-strategy__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  color: var(--primary-color);
  font-weight: bold;
}

.page-resources-sunwin-web-game-strategy__dark-bg {
  background: var(--primary-color);
  color: #ffffff;
}

.page-resources-sunwin-web-game-strategy__dark-bg .page-resources-sunwin-web-game-strategy__section-title {
  color: #FFFF00;
}

.page-resources-sunwin-web-game-strategy__light-bg {
  background: #ffffff;
  color: #333333;
}

.page-resources-sunwin-web-game-strategy p {
  margin-bottom: 20px;
  font-size: 1.1em;
  line-height: 1.7;
  text-align: left;
}

.page-resources-sunwin-web-game-strategy ul {
  text-align: left;
  margin-bottom: 20px;
  padding-left: 25px;
}

.page-resources-sunwin-web-game-strategy li {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-resources-sunwin-web-game-strategy__game-strategies,
.page-resources-sunwin-web-game-strategy__promo-grid,
.page-resources-sunwin-web-game-strategy__features-grid,
.page-resources-sunwin-web-game-strategy__news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-sunwin-web-game-strategy__card,
.page-resources-sunwin-web-game-strategy__promo-card,
.page-resources-sunwin-web-game-strategy__feature-item,
.page-resources-sunwin-web-game-strategy__news-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #333333;
}

.page-resources-sunwin-web-game-strategy__card:hover,
.page-resources-sunwin-web-game-strategy__promo-card:hover,
.page-resources-sunwin-web-game-strategy__feature-item:hover,
.page-resources-sunwin-web-game-strategy__news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-resources-sunwin-web-game-strategy__card-image,
.page-resources-sunwin-web-game-strategy__promo-card img,
.page-resources-sunwin-web-game-strategy__feature-item img,
.page-resources-sunwin-web-game-strategy__news-card img {
  width: 100%;
  height: 250px; /* Consistent height for card images */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-resources-sunwin-web-game-strategy__card-title,
.page-resources-sunwin-web-game-strategy__promo-title,
.page-resources-sunwin-web-game-strategy__feature-item h3,
.page-resources-sunwin-web-game-strategy__news-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  font-weight: bold;
  color: var(--primary-color);
}

.page-resources-sunwin-web-game-strategy__card-title a,
.page-resources-sunwin-web-game-strategy__promo-title a,
.page-resources-sunwin-web-game-strategy__news-title a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-resources-sunwin-web-game-strategy__card-title a:hover,
.page-resources-sunwin-web-game-strategy__promo-title a:hover,
.page-resources-sunwin-web-game-strategy__news-title a:hover {
  color: #005a2d;
}

.page-resources-sunwin-web-game-strategy__btn-link {
  display: inline-block;
  margin-top: auto; /* Pushes button to bottom */
  padding: 10px 25px;
  background: var(--primary-color);
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.page-resources-sunwin-web-game-strategy__btn-link:hover {
  background: #005a2d;
}

.page-resources-sunwin-web-game-strategy__image-full-width {
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 12px;
  margin: 30px 0;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.page-resources-sunwin-web-game-strategy__step-by-step {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: left;
}

.page-resources-sunwin-web-game-strategy__step-item {
  background: #f9f9f9;
  border-left: 5px solid var(--primary-color);
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-resources-sunwin-web-game-strategy__step-title {
  font-size: 1.3em;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-resources-sunwin-web-game-strategy__cta-section {
  margin-top: 40px;
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-resources-sunwin-web-game-strategy__faq-list {
  margin-top: 40px;
  text-align: left;
}

/* FAQ容器样式 */
.page-resources-sunwin-web-game-strategy__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* FAQ默认状态 - 答案隐藏 */
.page-resources-sunwin-web-game-strategy__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 15px;
  opacity: 0;
}

/* FAQ展开状态 - 🚨 使用!important和足够大的max-height确保一定能展开 */
.page-resources-sunwin-web-game-strategy__faq-item.active .page-resources-sunwin-web-game-strategy__faq-answer {
  max-height: 2000px !important; /* 🚨 使用!important确保优先级，值足够大以容纳 any content */
  padding: 20px 15px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
}

/* 问题样式 */
.page-resources-sunwin-web-game-strategy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-resources-sunwin-web-game-strategy__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-resources-sunwin-web-game-strategy__faq-question:active {
  background: #eeeeee;
}

/* 问题标题样式 */
.page-resources-sunwin-web-game-strategy__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none; /* 防止h3标签阻止点击事件 */
}

/* 切换图标 */
.page-resources-sunwin-web-game-strategy__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: var(--primary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none; /* 防止图标阻止点击事件 */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-resources-sunwin-web-game-strategy__faq-item.active .page-resources-sunwin-web-game-strategy__faq-toggle {
  transform: rotate(45deg); /* Rotate for 'x' effect */
  color: #C30808;
}

/* Global image responsiveness */
.page-resources-sunwin-web-game-strategy img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* 🚨 移动端响应式设计 */
@media (max-width: 768px) {
  .page-resources-sunwin-web-game-strategy {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-resources-sunwin-web-game-strategy__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-resources-sunwin-web-game-strategy__main-title {
    font-size: 2.2em;
  }

  .page-resources-sunwin-web-game-strategy__intro-text {
    font-size: 1em;
  }

  .page-resources-sunwin-web-game-strategy__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources-sunwin-web-game-strategy__cta-button,
  .page-resources-sunwin-web-game-strategy__btn-primary,
  .page-resources-sunwin-web-game-strategy__btn-secondary,
  .page-resources-sunwin-web-game-strategy a[class*="button"],
  .page-resources-sunwin-web-game-strategy a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-resources-sunwin-web-game-strategy__cta-buttons,
  .page-resources-sunwin-web-game-strategy__button-group,
  .page-resources-sunwin-web-game-strategy__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-resources-sunwin-web-game-strategy__section {
    padding: 40px 15px;
  }

  .page-resources-sunwin-web-game-strategy__content-area {
    padding: 0 15px;
  }

  .page-resources-sunwin-web-game-strategy__section-title {
    font-size: 2em;
    margin-bottom: 20px;
  }

  .page-resources-sunwin-web-game-strategy__game-strategies,
  .page-resources-sunwin-web-game-strategy__promo-grid,
  .page-resources-sunwin-web-game-strategy__features-grid,
  .page-resources-sunwin-web-game-strategy__news-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-resources-sunwin-web-game-strategy__card,
  .page-resources-sunwin-web-game-strategy__promo-card,
  .page-resources-sunwin-web-game-strategy__feature-item,
  .page-resources-sunwin-web-game-strategy__news-card {
    padding: 20px;
  }

  .page-resources-sunwin-web-game-strategy__card-image,
  .page-resources-sunwin-web-game-strategy__promo-card img,
  .page-resources-sunwin-web-game-strategy__feature-item img,
  .page-resources-sunwin-web-game-strategy__news-card img {
    height: 200px;
  }

  .page-resources-sunwin-web-game-strategy__card-title,
  .page-resources-sunwin-web-game-strategy__promo-title,
  .page-resources-sunwin-web-game-strategy__feature-item h3,
  .page-resources-sunwin-web-game-strategy__news-title {
    font-size: 1.3em;
  }

  .page-resources-sunwin-web-game-strategy__step-item {
    padding: 20px;
  }

  .page-resources-sunwin-web-game-strategy__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  
  .page-resources-sunwin-web-game-strategy__faq-question h3 {
    font-size: 15px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  
  .page-resources-sunwin-web-game-strategy__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  
  .page-resources-sunwin-web-game-strategy__faq-answer {
    padding: 0 15px;
  }
  
  .page-resources-sunwin-web-game-strategy__faq-item.active .page-resources-sunwin-web-game-strategy__faq-answer {
    padding: 15px !important;
  }

  /* 🚨 内容区图片 CSS 尺寸下限 */
  .page-resources-sunwin-web-game-strategy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px; /* Ensure images are not too small */
    min-height: 200px;
  }
  .page-resources-sunwin-web-game-strategy__card-image,
  .page-resources-sunwin-web-game-strategy__promo-card img,
  .page-resources-sunwin-web-game-strategy__feature-item img,
  .page-resources-sunwin-web-game-strategy__news-card img {
    min-width: 200px !important;
    min-height: 200px !important;
  }
}