.page-resources-fcb8-deposit-withdrawal-tutorial {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
}

.page-resources-fcb8-deposit-withdrawal-tutorial__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-resources-fcb8-deposit-withdrawal-tutorial__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 */
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(139, 0, 0, 0.1)); /* Subtle gradient for depth */
}

.page-resources-fcb8-deposit-withdrawal-tutorial__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.page-resources-fcb8-deposit-withdrawal-tutorial__hero-image-wrapper {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-resources-fcb8-deposit-withdrawal-tutorial__hero-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
  filter: brightness(0.8); /* Slightly darkens image for better text contrast */
}

.page-resources-fcb8-deposit-withdrawal-tutorial__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  margin-top: -80px; /* Overlap with image for integrated look */
  padding: 0 20px;
}

.page-resources-fcb8-deposit-withdrawal-tutorial__hero-title {
  font-size: 3.2em;
  color: #FFD700; /* Gold for main title */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-resources-fcb8-deposit-withdrawal-tutorial__hero-description {
  font-size: 1.15em;
  color: #ffffff;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-fcb8-deposit-withdrawal-tutorial__hero-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-resources-fcb8-deposit-withdrawal-tutorial__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-fcb8-deposit-withdrawal-tutorial__cta-button--primary {
  background: #FFD700; /* Primary gold color */
  color: #1a1a1a; /* Dark text for gold background */
  border: 2px solid #FFD700;
}

.page-resources-fcb8-deposit-withdrawal-tutorial__cta-button--primary:hover {
  background: #e6c200;
  border-color: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-resources-fcb8-deposit-withdrawal-tutorial__cta-button--secondary {
  background: #8B0000; /* Secondary dark red color */
  color: #ffffff;
  border: 2px solid #8B0000;
}

.page-resources-fcb8-deposit-withdrawal-tutorial__cta-button--secondary:hover {
  background: #6a0000;
  border-color: #6a0000;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-resources-fcb8-deposit-withdrawal-tutorial__content-section {
  padding: 60px 0;
  background-color: #1f1f1f; /* Slightly lighter dark background for content sections */
  border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.page-resources-fcb8-deposit-withdrawal-tutorial__content-section:last-of-type {
  border-bottom: none;
}

.page-resources-fcb8-deposit-withdrawal-tutorial__section-title {
  font-size: 2.2em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-resources-fcb8-deposit-withdrawal-tutorial__sub-section-title {
  font-size: 1.8em;
  color: #ffffff;
  margin-top: 40px;
  margin-bottom: 25px;
  border-left: 5px solid #FFD700;
  padding-left: 15px;
}

.page-resources-fcb8-deposit-withdrawal-tutorial__paragraph {
  font-size: 1.05em;
  color: #e0e0e0;
  margin-bottom: 20px;
  text-align: justify;
}

.page-resources-fcb8-deposit-withdrawal-tutorial__image-container {
  margin: 40px auto;
  text-align: center;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-resources-fcb8-deposit-withdrawal-tutorial__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  object-fit: cover;
  border-radius: 12px;
  min-width: 200px; /* Enforce min-size for content images */
  min-height: 200px;
}

.page-resources-fcb8-deposit-withdrawal-tutorial__method-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-resources-fcb8-deposit-withdrawal-tutorial__method-card {
  background-color: #2a2a2a; /* Darker card background */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 215, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-fcb8-deposit-withdrawal-tutorial__method-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-resources-fcb8-deposit-withdrawal-tutorial__method-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-top: 0;
  margin-bottom: 20px;
}

.page-resources-fcb8-deposit-withdrawal-tutorial__step-list {
  list-style-type: decimal;
  padding-left: 25px;
  margin-bottom: 20px;
  color: #e0e0e0;
}

.page-resources-fcb8-deposit-withdrawal-tutorial__step-list li {
  margin-bottom: 10px;
  font-size: 1.0em;
}

.page-resources-fcb8-deposit-withdrawal-tutorial__step-list li strong {
  color: #FFD700;
}

.page-resources-fcb8-deposit-withdrawal-tutorial__list {
  list-style-type: disc;
  padding-left: 25px;
  margin-bottom: 20px;
  color: #e0e0e0;
}

.page-resources-fcb8-deposit-withdrawal-tutorial__list li {
  margin-bottom: 10px;
  font-size: 1.0em;
}

.page-resources-fcb8-deposit-withdrawal-tutorial__list li strong {
  color: #FFD700;
}

.page-resources-fcb8-deposit-withdrawal-tutorial__faq-section {
  padding: 60px 0;
  background-color: #1f1f1f;
}

/* FAQ容器样式 */
.page-resources-fcb8-deposit-withdrawal-tutorial__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* FAQ默认状态 - 答案隐藏 */
.page-resources-fcb8-deposit-withdrawal-tutorial__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;
  background: #2a2a2a; /* Darker background for answer */
  color: #e0e0e0;
}

/* FAQ展开状态 - 🚨 使用!important和足够大的max-height确保一定能展开 */
.page-resources-fcb8-deposit-withdrawal-tutorial__faq-item.active .page-resources-fcb8-deposit-withdrawal-tutorial__faq-answer {
  max-height: 2000px !important; /* 🚨 Sử dụng !important để đảm bảo ưu tiên, giá trị đủ lớn để chứa mọi nội dung */
  padding: 20px !important;
  opacity: 1;
  background: #2a2a2a;
  border-top: 1px solid rgba(255, 215, 0, 0.2);
}

/* 问题样式 */
.page-resources-fcb8-deposit-withdrawal-tutorial__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #333333; /* Darker background for question */
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-resources-fcb8-deposit-withdrawal-tutorial__faq-question:hover {
  background: #444444;
  border-color: #FFD700;
}

.page-resources-fcb8-deposit-withdrawal-tutorial__faq-question:active {
  background: #555555;
}

/* 问题标题样式 */
.page-resources-fcb8-deposit-withdrawal-tutorial__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.15em;
  font-weight: 600;
  line-height: 1.5;
  color: #ffffff;
  pointer-events: none; /* 防止h3标签阻止点击事件 */
}

/* 切换图标 */
.page-resources-fcb8-deposit-withdrawal-tutorial__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700;
  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: 32px;
  height: 32px;
}

.page-resources-fcb8-deposit-withdrawal-tutorial__faq-item.active .page-resources-fcb8-deposit-withdrawal-tutorial__faq-toggle {
  color: #8B0000;
  transform: rotate(45deg); /* Rotate to form an 'X' or 'minus' */
}

.page-resources-fcb8-deposit-withdrawal-tutorial__cta-bottom-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #8B0000, #FFD700); /* Inverted gradient for a different feel */
  color: #ffffff;
}

.page-resources-fcb8-deposit-withdrawal-tutorial__text-center {
  text-align: center;
}

.page-resources-fcb8-deposit-withdrawal-tutorial__cta-bottom-section .page-resources-fcb8-deposit-withdrawal-tutorial__section-title {
  color: #ffffff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-resources-fcb8-deposit-withdrawal-tutorial__cta-bottom-section .page-resources-fcb8-deposit-withdrawal-tutorial__paragraph {
  color: #f0f0f0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-fcb8-deposit-withdrawal-tutorial__hero-title {
    font-size: 2.8em;
  }

  .page-resources-fcb8-deposit-withdrawal-tutorial__section-title {
    font-size: 2em;
  }

  .page-resources-fcb8-deposit-withdrawal-tutorial__sub-section-title {
    font-size: 1.6em;
  }
}

@media (max-width: 768px) {
  .page-resources-fcb8-deposit-withdrawal-tutorial__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-resources-fcb8-deposit-withdrawal-tutorial__hero-title {
    font-size: 2.2em;
    margin-top: 20px;
  }

  .page-resources-fcb8-deposit-withdrawal-tutorial__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-resources-fcb8-deposit-withdrawal-tutorial__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }

  .page-resources-fcb8-deposit-withdrawal-tutorial__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-resources-fcb8-deposit-withdrawal-tutorial__content-section {
    padding: 40px 0;
  }

  .page-resources-fcb8-deposit-withdrawal-tutorial__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-resources-fcb8-deposit-withdrawal-tutorial__sub-section-title {
    font-size: 1.4em;
    margin-top: 30px;
    margin-bottom: 20px;
  }

  .page-resources-fcb8-deposit-withdrawal-tutorial__paragraph,
  .page-resources-fcb8-deposit-withdrawal-tutorial__list li,
  .page-resources-fcb8-deposit-withdrawal-tutorial__step-list li {
    font-size: 0.95em;
  }

  .page-resources-fcb8-deposit-withdrawal-tutorial__image-container {
    margin: 30px auto;
  }

  .page-resources-fcb8-deposit-withdrawal-tutorial__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-resources-fcb8-deposit-withdrawal-tutorial__method-card-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-resources-fcb8-deposit-withdrawal-tutorial__method-card {
    padding: 20px;
  }

  .page-resources-fcb8-deposit-withdrawal-tutorial__method-title {
    font-size: 1.3em;
  }

  .page-resources-fcb8-deposit-withdrawal-tutorial__faq-question {
    padding: 15px;
  }

  .page-resources-fcb8-deposit-withdrawal-tutorial__faq-question h3 {
    font-size: 1em;
  }

  .page-resources-fcb8-deposit-withdrawal-tutorial__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }

  .page-resources-fcb8-deposit-withdrawal-tutorial__faq-item.active .page-resources-fcb8-deposit-withdrawal-tutorial__faq-answer {
    padding: 15px !important;
  }

  .page-resources-fcb8-deposit-withdrawal-tutorial__cta-bottom-section {
    padding: 60px 0;
  }

  .page-resources-fcb8-deposit-withdrawal-tutorial__container,
  .page-resources-fcb8-deposit-withdrawal-tutorial__deposit-section,
  .page-resources-fcb8-deposit-withdrawal-tutorial__withdrawal-section,
  .page-resources-fcb8-deposit-withdrawal-tutorial__tips-section,
  .page-resources-fcb8-deposit-withdrawal-tutorial__faq-section,
  .page-resources-fcb8-deposit-withdrawal-tutorial__cta-bottom-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Ensure images within content sections are fully responsive */
  .page-resources-fcb8-deposit-withdrawal-tutorial__content-section img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
}