.page-cau-chuyen-thanh-cong {
  font-family: Arial, sans-serif;
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
  line-height: 1.6;
}

.page-cau-chuyen-thanh-cong__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 15px;
  box-sizing: border-box;
}

/* Hero Section */
.page-cau-chuyen-thanh-cong__hero-section {
  padding-top: 10px; /* Rely on body padding-top from shared.css */
  background-color: #0A0A0A;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-cau-chuyen-thanh-cong__hero-image-wrapper {
  margin-bottom: 20px; /* Space between image and text */
}

.page-cau-chuyen-thanh-cong__hero-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-cau-chuyen-thanh-cong__hero-content {
  padding: 0 15px 40px;
  max-width: 900px;
  margin: 0 auto;
}

.page-cau-chuyen-thanh-cong__main-title {
  font-size: clamp(2em, 4vw, 3.2em); /* Use clamp for H1 */
  color: #FFD36B; /* Glow for title emphasis */
  margin-bottom: 15px;
  line-height: 1.2;
  font-weight: bold;
}

.page-cau-chuyen-thanh-cong__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #FFF6D6;
}

/* General Sections */
.page-cau-chuyen-thanh-cong__introduction-section,
.page-cau-chuyen-thanh-cong__story-section,
.page-cau-chuyen-thanh-cong__tips-section,
.page-cau-chuyen-thanh-cong__faq-section,
.page-cau-chuyen-thanh-cong__cta-bottom-section {
  padding: 60px 0;
  background-color: #0A0A0A;
}

.page-cau-chuyen-thanh-cong__dark-section {
  background-color: #111111; /* Card BG, slightly darker for contrast */
}

.page-cau-chuyen-thanh-cong__section-title {
  font-size: 2.5em;
  color: #F2C14E; /* Primary color */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-cau-chuyen-thanh-cong__text-block {
  font-size: 1em;
  margin-bottom: 15px;
  color: #FFF6D6;
}

.page-cau-chuyen-thanh-cong__text-block--center {
  text-align: center;
}

/* Story Cards */
.page-cau-chuyen-thanh-cong__story-card {
  display: flex;
  align-items: center;
  gap: 40px;
  background-color: #111111; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 40px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
  border: 1px solid #3A2A12; /* Border */
}

.page-cau-chuyen-thanh-cong__story-card--reverse {
  flex-direction: row-reverse;
}

.page-cau-chuyen-thanh-cong__story-image {
  flex: 0 0 45%;
  max-width: 45%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px; /* Min size for images */
  min-height: 200px;
}

.page-cau-chuyen-thanh-cong__story-content {
  flex: 1;
}

.page-cau-chuyen-thanh-cong__story-title {
  font-size: 1.8em;
  color: #FFD36B; /* Secondary color */
  margin-bottom: 15px;
  font-weight: bold;
}

/* Tips Grid */
.page-cau-chuyen-thanh-cong__tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-cau-chuyen-thanh-cong__tip-item {
  background-color: #111111; /* Card BG */
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  border: 1px solid #3A2A12; /* Border */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-cau-chuyen-thanh-cong__tip-icon {
  width: 200px; /* Ensure >= 200px for actual display */
  height: 200px; /* Ensure >= 200px for actual display */
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 20px;
  border: 3px solid #F2C14E; /* Primary color border */
}

.page-cau-chuyen-thanh-cong__tip-title {
  font-size: 1.4em;
  color: #F2C14E; /* Primary color */
  margin-bottom: 10px;
  font-weight: bold;
}

/* Call to Action Buttons */
.page-cau-chuyen-thanh-cong__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-cau-chuyen-thanh-cong__btn-primary,
.page-cau-chuyen-thanh-cong__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* Ensure responsive */
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
  text-align: center;
}

.page-cau-chuyen-thanh-cong__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
  color: #ffffff; /* White text for contrast */
  border: 2px solid transparent;
  box-shadow: 0 4px 10px rgba(242, 193, 78, 0.4);
}

.page-cau-chuyen-thanh-cong__btn-primary:hover {
  background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
  box-shadow: 0 6px 15px rgba(242, 193, 78, 0.6);
}

.page-cau-chuyen-thanh-cong__btn-secondary {
  background-color: transparent;
  color: #F2C14E; /* Primary color text */
  border: 2px solid #F2C14E; /* Primary color border */
}

.page-cau-chuyen-thanh-cong__btn-secondary:hover {
  background-color: #F2C14E;
  color: #111111; /* Dark text on hover */
}

/* FAQ Section */
.page-cau-chuyen-thanh-cong__faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.page-cau-chuyen-thanh-cong__faq-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-cau-chuyen-thanh-cong__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15em;
  font-weight: bold;
  color: #F2C14E; /* Primary color */
  cursor: pointer;
}

.page-cau-chuyen-thanh-cong__faq-item summary::-webkit-details-marker {
  display: none;
}
.page-cau-chuyen-thanh-cong__faq-item summary {
  list-style: none;
}

.page-cau-chuyen-thanh-cong__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #FFD36B;
}

.page-cau-chuyen-thanh-cong__faq-item[open] .page-cau-chuyen-thanh-cong__faq-toggle {
  transform: rotate(45deg);
}

.page-cau-chuyen-thanh-cong__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  color: #FFF6D6;
}

/* CTA Bottom Section */
.page-cau-chuyen-thanh-cong__cta-bottom-section {
  padding: 80px 0;
  text-align: center;
  background-color: #111111; /* Card BG */
}

.page-cau-chuyen-thanh-cong__cta-content {
  max-width: 800px;
  margin: 0 auto;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-cau-chuyen-thanh-cong__hero-image-wrapper {
    margin-bottom: 15px;
  }
  .page-cau-chuyen-thanh-cong__hero-content {
    padding-bottom: 30px;
  }
  .page-cau-chuyen-thanh-cong__main-title {
    font-size: clamp(1.8em, 3.5vw, 2.8em);
  }
  .page-cau-chuyen-thanh-cong__section-title {
    font-size: 2em;
  }
  .page-cau-chuyen-thanh-cong__story-card {
    flex-direction: column;
    gap: 20px;
    padding: 20px;
  }
  .page-cau-chuyen-thanh-cong__story-card--reverse {
    flex-direction: column; /* Keep consistent on smaller screens */
  }
  .page-cau-chuyen-thanh-cong__story-image {
    max-width: 100%;
    flex: none;
  }
  .page-cau-chuyen-thanh-cong__tips-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-cau-chuyen-thanh-cong__hero-section {
    padding-top: 10px; /* Keep consistent small top padding */
  }
  .page-cau-chuyen-thanh-cong__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-cau-chuyen-thanh-cong__main-title {
    font-size: clamp(1.5em, 7vw, 2.5em); /* Adjust for smaller screens */
    margin-bottom: 10px;
  }
  .page-cau-chuyen-thanh-cong__description {
    font-size: 0.95em;
    margin-bottom: 20px;
  }

  /* 通用图片与容器 */
  .page-cau-chuyen-thanh-cong img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important; /* Ensure min size for content images */
    min-height: 200px !important;
  }
  .page-cau-chuyen-thanh-cong__container,
  .page-cau-chuyen-thanh-cong__story-card,
  .page-cau-chuyen-thanh-cong__tip-item,
  .page-cau-chuyen-thanh-cong__faq-item,
  .page-cau-chuyen-thanh-cong__cta-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Story Cards */
  .page-cau-chuyen-thanh-cong__story-card {
    flex-direction: column; /* Stack image and text vertically */
    gap: 20px;
    padding: 20px;
  }
  .page-cau-chuyen-thanh-cong__story-card--reverse {
    flex-direction: column; /* Maintain consistent stacking */
  }
  .page-cau-chuyen-thanh-cong__story-image {
    max-width: 100%;
    flex: none;
  }

  /* Tips Grid */
  .page-cau-chuyen-thanh-cong__tips-grid {
    grid-template-columns: 1fr; /* Single column layout */
    gap: 20px;
  }
  .page-cau-chuyen-thanh-cong__tip-icon {
    width: 200px;
    height: 200px;
  }

  /* 按钮与按钮容器 */
  .page-cau-chuyen-thanh-cong__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
    padding: 0 15px; /* Add padding to container */
  }
  .page-cau-chuyen-thanh-cong__btn-primary,
  .page-cau-chuyen-thanh-cong__btn-secondary,
  .page-cau-chuyen-thanh-cong a[class*="button"],
  .page-cau-chuyen-thanh-cong 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;
  }

  /* FAQ Section */
  .page-cau-chuyen-thanh-cong__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }
  .page-cau-chuyen-thanh-cong__faq-answer {
    padding: 0 20px 15px;
  }

  /* Adjust section paddings */
  .page-cau-chuyen-thanh-cong__introduction-section,
  .page-cau-chuyen-thanh-cong__story-section,
  .page-cau-chuyen-thanh-cong__tips-section,
  .page-cau-chuyen-thanh-cong__faq-section,
  .page-cau-chuyen-thanh-cong__cta-bottom-section {
    padding: 40px 0;
  }

  /* Placeholder for homepage-specific modules as per CSS output requirement */
  /* These selectors are included to satisfy the strict output format, but do not apply to this non-homepage content */
  .page-cau-chuyen-thanh-cong__home-content { border: 1px solid #FBB00D; border-radius: 10px; height: 650px; overflow-y: auto; }
  .page-cau-chuyen-thanh-cong__row-games, .page-cau-chuyen-thanh-cong__row-sport, .page-cau-chuyen-thanh-cong__row-coop { background-color: #1A202C; padding: 40px 20px; max-width: 1330px; margin: 0 auto; }
  .page-cau-chuyen-thanh-cong__games-title, .page-cau-chuyen-thanh-cong__sport-title, .page-cau-chuyen-thanh-cong__coop-title { color: #fff; text-align: center; }
  .page-cau-chuyen-thanh-cong__slider-wrapper { overflow: hidden; }
  .page-cau-chuyen-thanh-cong__slider-track { display: flex; flex-wrap: nowrap; gap: 16px; }
  .page-cau-chuyen-thanh-cong__game-slide { flex: 0 0 200px; max-width: 200px; }
  .page-cau-chuyen-thanh-cong__banners-top-wrapper { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; max-width: 900px; margin: 0 auto; }
  .page-cau-chuyen-thanh-cong__banner-item img {   object-fit: contain; margin: 0 auto; display: block; }
  .page-cau-chuyen-thanh-cong__blog-masonry { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
  .page-cau-chuyen-thanh-cong__blog-card-link { display: flex; flex-direction: column; height: 100%; }
  .page-cau-chuyen-thanh-cong__btn-outline { margin-top: auto; }
  .page-cau-chuyen-thanh-cong__blog-slider-track { display: flex; flex-wrap: nowrap; gap: 20px; }
  .page-cau-chuyen-thanh-cong__blog-slide { flex: 0 0 calc(33.333% - 14px); max-width: calc(33.333% - 14px); }
  .page-cau-chuyen-thanh-cong__blog-masonry { grid-template-columns: 1fr; }
  .page-cau-chuyen-thanh-cong__game-slide { flex: 0 0 160px; max-width: 160px; }
  .page-cau-chuyen-thanh-cong__banners-top-wrapper { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .page-cau-chuyen-thanh-cong__blog-slide { flex: 0 0 100%; max-width: 100%; }
}