.page-faq-deposit-withdrawal {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: var(--dark-bg); /* Inherit from shared.css */
}

.page-faq-deposit-withdrawal__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  padding-bottom: 60px;
  background: linear-gradient(135deg, #1A1A2E 0%, #0f0f1d 100%);
  color: #ffffff;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page-faq-deposit-withdrawal__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
  z-index: 1;
}

.page-faq-deposit-withdrawal__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FBC02D;
  text-shadow: 0 0 10px rgba(251, 192, 45, 0.5);
  line-height: 1.2;
}

.page-faq-deposit-withdrawal__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-faq-deposit-withdrawal__hero-cta-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-faq-deposit-withdrawal__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  opacity: 0.15;
}

.page-faq-deposit-withdrawal__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(5px);
  transform: scale(1.1);
}

.page-faq-deposit-withdrawal__section {
  padding: 60px 0;
}

.page-faq-deposit-withdrawal__section--intro {
  background-color: #1A1A2E;
  color: #ffffff;
}

.page-faq-deposit-withdrawal__section--faq-deposit {
  background-color: #0f0f1d;
  color: #ffffff;
}

.page-faq-deposit-withdrawal__section--faq-withdrawal {
  background-color: #1A1A2E;
  color: #ffffff;
}

.page-faq-deposit-withdrawal__section--support {
  background-color: #0f0f1d;
  color: #ffffff;
}

.page-faq-deposit-withdrawal__section--security-tips {
  background-color: #1A1A2E;
  color: #ffffff;
}

.page-faq-deposit-withdrawal__section--conclusion {
  background-color: #0f0f1d;
  color: #ffffff;
  text-align: center;
}

.page-faq-deposit-withdrawal__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-faq-deposit-withdrawal__section-title {
  font-size: 2.5em;
  color: #FBC02D;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-faq-deposit-withdrawal__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FBC02D;
  border-radius: 2px;
}

.page-faq-deposit-withdrawal__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-faq-deposit-withdrawal__text-block--tip {
  background-color: rgba(251, 192, 45, 0.1);
  border-left: 5px solid #FBC02D;
  padding: 15px 20px;
  margin-top: 30px;
  border-radius: 5px;
}

.page-faq-deposit-withdrawal__feature-grid, 
.page-faq-deposit-withdrawal__support-grid, 
.page-faq-deposit-withdrawal__security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-faq-deposit-withdrawal__feature-item,
.page-faq-deposit-withdrawal__support-item,
.page-faq-deposit-withdrawal__security-item {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-faq-deposit-withdrawal__feature-item:hover,
.page-faq-deposit-withdrawal__support-item:hover,
.page-faq-deposit-withdrawal__security-item:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.08);
}

.page-faq-deposit-withdrawal__feature-icon,
.page-faq-deposit-withdrawal__support-image,
.page-faq-deposit-withdrawal__security-icon {
  width: 100%;
  height: 200px; /* Enforce min-size for content images */
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-faq-deposit-withdrawal__feature-title,
.page-faq-deposit-withdrawal__support-title,
.page-faq-deposit-withdrawal__security-title {
  font-size: 1.5em;
  color: #FBC02D;
  margin-bottom: 15px;
}

.page-faq-deposit-withdrawal__feature-description,
.page-faq-deposit-withdrawal__support-description,
.page-faq-deposit-withdrawal__security-description {
  font-size: 1em;
  color: #e0e0e0;
}

.page-faq-deposit-withdrawal__faq-list {
  margin-top: 40px;
}

.page-faq-deposit-withdrawal__faq-item {
  background-color: rgba(255, 255, 255, 0.07);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-faq-deposit-withdrawal__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-faq-deposit-withdrawal__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.page-faq-deposit-withdrawal__faq-title {
  font-size: 1.25em;
  color: #FBC02D;
  margin: 0;
}

.page-faq-deposit-withdrawal__faq-toggle {
  font-size: 1.8em;
  color: #FBC02D;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.page-faq-deposit-withdrawal__faq-item.active .page-faq-deposit-withdrawal__faq-toggle {
  transform: rotate(45deg);
}

.page-faq-deposit-withdrawal__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #e0e0e0;
  text-align: justify;
}

.page-faq-deposit-withdrawal__faq-item.active .page-faq-deposit-withdrawal__faq-answer {
  max-height: 1000px !important; /* Sufficient height for content */
  padding: 20px;
}

.page-faq-deposit-withdrawal__faq-answer p {
  margin-bottom: 15px;
}

.page-faq-deposit-withdrawal__faq-answer ul {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 15px;
}

.page-faq-deposit-withdrawal__faq-answer li {
  margin-bottom: 8px;
}

.page-faq-deposit-withdrawal__image-block {
  text-align: center;
  margin: 40px 0;
}

.page-faq-deposit-withdrawal__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  min-height: 200px;
}

.page-faq-deposit-withdrawal__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-faq-deposit-withdrawal__cta-buttons--center {
  text-align: center;
}

.page-faq-deposit-withdrawal__btn-primary,
.page-faq-deposit-withdrawal__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
}

.page-faq-deposit-withdrawal__btn-primary {
  background-color: #FBC02D;
  color: #1A1A2E;
  border: 2px solid #FBC02D;
}

.page-faq-deposit-withdrawal__btn-primary:hover {
  background-color: #e0ac27;
  border-color: #e0ac27;
  transform: translateY(-3px);
}

.page-faq-deposit-withdrawal__btn-secondary {
  background-color: transparent;
  color: #FBC02D;
  border: 2px solid #FBC02D;
}

.page-faq-deposit-withdrawal__btn-secondary:hover {
  background-color: #FBC02D;
  color: #1A1A2E;
  transform: translateY(-3px);
}

.page-faq-deposit-withdrawal__btn-primary--large,
.page-faq-deposit-withdrawal__btn-secondary--large {
  padding: 18px 35px;
  font-size: 1.2em;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-faq-deposit-withdrawal {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-faq-deposit-withdrawal__hero-title {
    font-size: 2.2em;
  }

  .page-faq-deposit-withdrawal__hero-description {
    font-size: 1em;
  }

  .page-faq-deposit-withdrawal__hero-cta-group {
    flex-direction: column;
    gap: 15px;
  }

  .page-faq-deposit-withdrawal__btn-primary,
  .page-faq-deposit-withdrawal__btn-secondary {
    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-faq-deposit-withdrawal__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-faq-deposit-withdrawal__section-title {
    font-size: 2em;
  }

  .page-faq-deposit-withdrawal__feature-grid,
  .page-faq-deposit-withdrawal__support-grid,
  .page-faq-deposit-withdrawal__security-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-faq-deposit-withdrawal__feature-item,
  .page-faq-deposit-withdrawal__support-item,
  .page-faq-deposit-withdrawal__security-item {
    padding: 20px;
  }

  .page-faq-deposit-withdrawal__feature-icon,
  .page-faq-deposit-withdrawal__support-image,
  .page-faq-deposit-withdrawal__security-icon,
  .page-faq-deposit-withdrawal__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: unset;
    min-height: unset;
  }

  .page-faq-deposit-withdrawal__section,
  .page-faq-deposit-withdrawal__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-faq-deposit-withdrawal__hero-section {
    padding-left: 15px;
    padding-right: 15px;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-faq-deposit-withdrawal__faq-title {
    font-size: 1.1em;
  }

  .page-faq-deposit-withdrawal__faq-toggle {
    font-size: 1.5em;
  }

  .page-faq-deposit-withdrawal__faq-question {
    padding: 15px;
  }

  .page-faq-deposit-withdrawal__faq-answer {
    padding: 0 15px;
  }

  .page-faq-deposit-withdrawal__faq-item.active .page-faq-deposit-withdrawal__faq-answer {
    padding: 15px;
  }
}