/* style/resources-platform-selection-guide.css */
.page-resources-platform-selection-guide {
  color: #ffffff; /* Dark body background #0a0a0a, so use light text */
  background-color: transparent; /* Main content background is transparent to show body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-resources-platform-selection-guide__hero-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--header-offset, 120px) 0 60px 0; /* Assume shared.css doesn't set body padding-top, apply here */
  background: linear-gradient(to right, #26A9E0, #0a0a0a);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.page-resources-platform-selection-guide__hero-content {
  max-width: 50%;
  padding: 0 40px;
  z-index: 1;
}

.page-resources-platform-selection-guide__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

.page-resources-platform-selection-guide__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
}

.page-resources-platform-selection-guide__hero-image-container {
  max-width: 50%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  position: relative;
}

.page-resources-platform-selection-guide__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.page-resources-platform-selection-guide__section {
  padding: 60px 0;
}

.page-resources-platform-selection-guide__section--why-choose {
  background-color: #0a0a0a;
}

.page-resources-platform-selection-guide__section--criteria {
  background-color: #1a1a1a;
}

.page-resources-platform-selection-guide__section--how-to-choose {
  background-color: #0a0a0a;
}

.page-resources-platform-selection-guide__section--cta-register {
  background: linear-gradient(to right, #0a0a0a, #26A9E0);
  color: #ffffff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-resources-platform-selection-guide__section--gameshow {
  background-color: #1a1a1a;
}

.page-resources-platform-selection-guide__section--tips {
  background-color: #0a0a0a;
}

.page-resources-platform-selection-guide__section--faq {
  background-color: #1a1a1a;
}

.page-resources-platform-selection-guide__section--conclusion {
  background-color: #0a0a0a;
}

.page-resources-platform-selection-guide__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-resources-platform-selection-guide__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-resources-platform-selection-guide__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #ffffff;
  margin: 15px auto 0 auto;
  border-radius: 2px;
}

.page-resources-platform-selection-guide__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
  color: #f0f0f0;
}

.page-resources-platform-selection-guide__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin: 10px;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-platform-selection-guide__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-resources-platform-selection-guide__btn-primary:hover {
  background-color: #1f8ec9;
  transform: translateY(-3px);
}

.page-resources-platform-selection-guide__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-resources-platform-selection-guide__btn-secondary:hover {
  background-color: #ffffff;
  color: #26A9E0;
  transform: translateY(-3px);
}

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

.page-resources-platform-selection-guide__card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
  color: #ffffff;
  display: flex;
  flex-direction: column;
}

.page-resources-platform-selection-guide__card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-resources-platform-selection-guide__card-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-resources-platform-selection-guide__card p {
  font-size: 1em;
  color: #f0f0f0;
  flex-grow: 1;
}

.page-resources-platform-selection-guide__numbered-list,
.page-resources-platform-selection-guide__bullet-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-resources-platform-selection-guide__numbered-list li {
  background-color: rgba(255, 255, 255, 0.05);
  margin-bottom: 20px;
  padding: 25px;
  border-left: 5px solid #26A9E0;
  border-radius: 5px;
  color: #f0f0f0;
}

.page-resources-platform-selection-guide__numbered-list h3 {
  color: #26A9E0;
  font-size: 1.4em;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-resources-platform-selection-guide__numbered-list p {
  font-size: 1em;
  color: #f0f0f0;
}

.page-resources-platform-selection-guide__bullet-list li {
  background-color: rgba(255, 255, 255, 0.05);
  margin-bottom: 15px;
  padding: 20px;
  border-left: 4px solid #EA7C07; /* Custom color for 'Login' related items */
  border-radius: 5px;
  color: #f0f0f0;
  font-size: 1em;
}

.page-resources-platform-selection-guide__bullet-list li strong {
  color: #26A9E0;
}

.page-resources-platform-selection-guide__image-wrapper {
  margin-top: 40px;
  text-align: center;
}

.page-resources-platform-selection-guide__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-resources-platform-selection-guide__cta-container {
  padding: 80px 20px;
  position: relative;
}

.page-resources-platform-selection-guide__cta-container .page-resources-platform-selection-guide__text-block {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-platform-selection-guide__cta-container .page-resources-platform-selection-guide__image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.1;
  filter: grayscale(100%); /* Maintain original image color, but apply grayscale filter for background effect */
  pointer-events: none;
}

.page-resources-platform-selection-guide__cta-container .page-resources-platform-selection-guide__image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-resources-platform-selection-guide__gameshow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-platform-selection-guide__gameshow-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  color: #ffffff;
  display: flex;
  flex-direction: column;
}

.page-resources-platform-selection-guide__gameshow-item:hover {
  transform: translateY(-5px);
}

.page-resources-platform-selection-guide__gameshow-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.page-resources-platform-selection-guide__gameshow-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-resources-platform-selection-guide__gameshow-item p {
  font-size: 0.95em;
  color: #f0f0f0;
  flex-grow: 1;
}

.page-resources-platform-selection-guide__faq-list {
  margin-top: 40px;
}

.page-resources-platform-selection-guide__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.page-resources-platform-selection-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease;
}

.page-resources-platform-selection-guide__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.page-resources-platform-selection-guide__faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: #ffffff;
}

.page-resources-platform-selection-guide__faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: #26A9E0;
  transition: transform 0.3s ease;
}

.page-resources-platform-selection-guide__faq-item.active .page-resources-platform-selection-guide__faq-toggle {
  transform: rotate(45deg);
}

.page-resources-platform-selection-guide__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

.page-resources-platform-selection-guide__faq-item.active .page-resources-platform-selection-guide__faq-answer {
  max-height: 1000px !important; /* Sufficiently large value */
  padding: 20px;
}

.page-resources-platform-selection-guide__faq-answer p {
  margin: 0;
  font-size: 1em;
}

/* General image styling for content area */
.page-resources-platform-selection-guide img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- Responsive Styles --- */

/* Tablet and Mobile */
@media (max-width: 1024px) {
  .page-resources-platform-selection-guide__hero-section {
    flex-direction: column;
    text-align: center;
    padding: var(--header-offset, 120px) 0 40px 0;
  }

  .page-resources-platform-selection-guide__hero-content {
    max-width: 90%;
    padding: 0 20px;
    margin-bottom: 30px;
  }

  .page-resources-platform-selection-guide__hero-image-container {
    max-width: 90%;
    justify-content: center;
  }

  .page-resources-platform-selection-guide__hero-title {
    font-size: 2.5em;
  }

  .page-resources-platform-selection-guide__section-title {
    font-size: 2em;
  }

  .page-resources-platform-selection-guide__criteria-grid,
  .page-resources-platform-selection-guide__gameshow-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }

  .page-resources-platform-selection-guide__card {
    padding: 25px;
  }

  .page-resources-platform-selection-guide__gameshow-image {
    height: 180px;
  }

  .page-resources-platform-selection-guide__numbered-list li,
  .page-resources-platform-selection-guide__bullet-list li {
    padding: 20px;
  }

  .page-resources-platform-selection-guide__faq-question {
    padding: 18px;
  }

  .page-resources-platform-selection-guide__faq-question h3 {
    font-size: 1.1em;
  }

  .page-resources-platform-selection-guide__faq-answer {
    padding: 0 18px;
  }

  .page-resources-platform-selection-guide__faq-item.active .page-resources-platform-selection-guide__faq-answer {
    padding: 18px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .page-resources-platform-selection-guide {
    font-size: 16px;
    line-height: 1.6;
  }

  /* HERO 主图区域 */
  .page-resources-platform-selection-guide__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure padding for fixed header */
    padding-bottom: 30px;
    background: linear-gradient(to bottom, #26A9E0, #0a0a0a) !important; /* Adjust gradient for vertical flow */
  }

  .page-resources-platform-selection-guide__hero-content {
    max-width: 100% !important;
    padding: 0 15px !important;
    margin-bottom: 20px;
  }

  .page-resources-platform-selection-guide__hero-title {
    font-size: 2em !important;
    text-align: center;
  }

  .page-resources-platform-selection-guide__hero-description {
    font-size: 1em !important;
    text-align: center;
  }

  .page-resources-platform-selection-guide__hero-image-container {
    max-width: 100% !important;
    padding: 0 15px;
  }

  /* 产品展示图区域 */
  .page-resources-platform-selection-guide__gameshow-grid {
    grid-template-columns: 1fr !important; /* Single column layout for mobile */
    gap: 20px !important;
    padding: 0 15px;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }

  .page-resources-platform-selection-guide__gameshow-item {
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-resources-platform-selection-guide__gameshow-image {
    height: 150px !important;
  }

  /* 通用图片与容器 */
  .page-resources-platform-selection-guide img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-resources-platform-selection-guide__section,
  .page-resources-platform-selection-guide__card,
  .page-resources-platform-selection-guide__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .page-resources-platform-selection-guide__image-wrapper {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* 按钮与按钮容器 */
  .page-resources-platform-selection-guide__cta-button,
  .page-resources-platform-selection-guide__btn-primary,
  .page-resources-platform-selection-guide__btn-secondary,
  .page-resources-platform-selection-guide a[class*="button"],
  .page-resources-platform-selection-guide 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 !important;
    padding-right: 15px !important;
    margin: 10px 0 !important; /* Stack buttons vertically */
  }
  
  .page-resources-platform-selection-guide__cta-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 15px !important;
  }

  .page-resources-platform-selection-guide__cta-container .page-resources-platform-selection-guide__cta-button {
    margin: 10px 0 !important;
  }

  /* 其他内容模块 */
  .page-resources-platform-selection-guide__section-title {
    font-size: 1.8em !important;
    margin-bottom: 30px !important;
  }

  .page-resources-platform-selection-guide__section-title::after {
    margin-top: 10px !important;
  }

  .page-resources-platform-selection-guide__text-block {
    font-size: 1em !important;
    margin-bottom: 15px !important;
  }

  .page-resources-platform-selection-guide__card {
    padding: 20px !important;
  }

  .page-resources-platform-selection-guide__card-title {
    font-size: 1.3em !important;
  }

  .page-resources-platform-selection-guide__numbered-list li,
  .page-resources-platform-selection-guide__bullet-list li {
    padding: 15px !important;
  }

  .page-resources-platform-selection-guide__numbered-list h3 {
    font-size: 1.2em !important;
  }

  .page-resources-platform-selection-guide__faq-question {
    padding: 15px !important;
  }

  .page-resources-platform-selection-guide__faq-question h3 {
    font-size: 1em !important;
  }

  .page-resources-platform-selection-guide__faq-answer {
    padding: 0 15px !important;
  }

  .page-resources-platform-selection-guide__faq-item.active .page-resources-platform-selection-guide__faq-answer {
    padding: 15px !important;
  }
}

/* CSS for background image filter, to be removed if filter is not allowed */
.page-resources-platform-selection-guide__cta-container .page-resources-platform-selection-guide__image-wrapper {
  filter: grayscale(100%); /* This filter is for background effect, not changing image color */
}