.page-how-to-deposit-withdraw {
  font-family: 'Arial', sans-serif;
  color: #333333;
  line-height: 1.6;
  background: #FFFFFF;
}

.page-how-to-deposit-withdraw__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-how-to-deposit-withdraw__section {
  padding: 60px 0;
}

.page-how-to-deposit-withdraw__dark-section {
  background: #017439;
  color: #ffffff;
}

.page-how-to-deposit-withdraw__section-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #017439;
}

.page-how-to-deposit-withdraw__dark-section .page-how-to-deposit-withdraw__section-title {
  color: #ffffff;
}

.page-how-to-deposit-withdraw__sub-description,
.page-how-to-deposit-withdraw__description {
  font-size: 18px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px;
}

/* Hero Section */
.page-how-to-deposit-withdraw__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 10px; /* Small padding-top to avoid double header offset */
  padding-bottom: 60px;
  overflow: hidden;
}

.page-how-to-deposit-withdraw__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  max-height: 500px;
}

.page-how-to-deposit-withdraw__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 40px 20px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  margin-top: 100px;
}

.page-how-to-deposit-withdraw__main-title {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 800;
  margin-bottom: 20px;
  color: #017439;
  line-height: 1.2;
}

.page-how-to-deposit-withdraw__hero-content .page-how-to-deposit-withdraw__description {
  font-size: 18px;
  margin-bottom: 30px;
  color: #333333;
}

.page-how-to-deposit-withdraw__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-how-to-deposit-withdraw__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-how-to-deposit-withdraw__btn-primary {
  background: #C30808;
  color: #FFFF00;
  border: 2px solid #C30808;
}

.page-how-to-deposit-withdraw__btn-primary:hover {
  background: #a80707;
  border-color: #a80707;
}

.page-how-to-deposit-withdraw__btn-secondary {
  background: #017439;
  color: #FFFFFF;
  border: 2px solid #017439;
}

.page-how-to-deposit-withdraw__btn-secondary:hover {
  background: #005a2e;
  border-color: #005a2e;
}

/* Why Choose Section */
.page-how-to-deposit-withdraw__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-how-to-deposit-withdraw__card {
  background: #ffffff;
  color: #333333;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-how-to-deposit-withdraw__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-how-to-deposit-withdraw__feature-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #017439;
}

/* Steps Container */
.page-how-to-deposit-withdraw__steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-how-to-deposit-withdraw__step-item {
  text-align: center;
  padding: 20px;
  background: #f9f9f9;
  border-radius: 10px;
  border: 1px solid #e0e0e0;
}

.page-how-to-deposit-withdraw__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #017439;
  color: #ffffff;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
}

.page-how-to-deposit-withdraw__step-title {
  font-size: 20px;
  font-weight: 600;
  color: #017439;
  margin-bottom: 10px;
}

/* Methods Detail */
.page-how-to-deposit-withdraw__methods-detail {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.page-how-to-deposit-withdraw__method-card {
  padding: 25px;
}

.page-how-to-deposit-withdraw__method-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-how-to-deposit-withdraw__method-title {
  font-size: 22px;
  font-weight: 700;
  color: #017439;
  margin-bottom: 15px;
}

.page-how-to-deposit-withdraw__btn-small {
  padding: 10px 20px;
  font-size: 16px;
  margin-top: 20px;
}

/* Withdraw Section */
.page-how-to-deposit-withdraw__withdraw-image,
.page-how-to-deposit-withdraw__security-image {
  width: 100%;
  height: auto;
  max-width: 800px;
  margin: 50px auto 0;
  display: block;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Regulations List */
.page-how-to-deposit-withdraw__regulation-list {
  max-width: 800px;
  margin: 50px auto 0;
  list-style: none;
  padding: 0;
}

.page-how-to-deposit-withdraw__regulation-list li {
  background: #f0fdf4; /* Light green background */
  border-left: 5px solid #017439;
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  font-size: 17px;
  line-height: 1.5;
}

.page-how-to-deposit-withdraw__regulation-list li strong {
  color: #017439;
}

/* FAQ Section */
details.page-how-to-deposit-withdraw__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}
details.page-how-to-deposit-withdraw__faq-item summary.page-how-to-deposit-withdraw__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-how-to-deposit-withdraw__faq-item summary.page-how-to-deposit-withdraw__faq-question::-webkit-details-marker {
  display: none;
}
details.page-how-to-deposit-withdraw__faq-item summary.page-how-to-deposit-withdraw__faq-question:hover {
  background: #f5f5f5;
}
.page-how-to-deposit-withdraw__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}
.page-how-to-deposit-withdraw__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-how-to-deposit-withdraw__faq-item .page-how-to-deposit-withdraw__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  font-size: 16px;
  color: #555555;
}

/* Conclusion Section */
.page-how-to-deposit-withdraw__conclusion .page-how-to-deposit-withdraw__description {
  color: #ffffff;
}

.page-how-to-deposit-withdraw__conclusion .page-how-to-deposit-withdraw__btn-primary {
  background: #FFFF00;
  color: #C30808;
  border-color: #FFFF00;
}

.page-how-to-deposit-withdraw__conclusion .page-how-to-deposit-withdraw__btn-primary:hover {
  background: #e6e600;
  border-color: #e6e600;
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
  .page-how-to-deposit-withdraw__container {
    padding: 0 15px;
  }
  .page-how-to-deposit-withdraw__section-title {
    font-size: 32px;
  }
  .page-how-to-deposit-withdraw__sub-description,
  .page-how-to-deposit-withdraw__description {
    font-size: 17px;
  }
  .page-how-to-deposit-withdraw__hero-content {
    margin-top: 80px;
    padding: 30px 15px;
  }
  .page-how-to-deposit-withdraw__main-title {
    font-size: clamp(26px, 3.2vw, 42px);
  }
  .page-how-to-deposit-withdraw__btn {
    padding: 12px 25px;
    font-size: 17px;
  }
  .page-how-to-deposit-withdraw__feature-title {
    font-size: 22px;
  }
  .page-how-to-deposit-withdraw__step-title {
    font-size: 19px;
  }
  .page-how-to-deposit-withdraw__method-title {
    font-size: 20px;
  }
  .page-how-to-deposit-withdraw__faq-qtext {
    font-size: 17px;
  }
}

@media (max-width: 768px) {
  .page-how-to-deposit-withdraw__section {
    padding: 40px 0;
  }
  .page-how-to-deposit-withdraw__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .page-how-to-deposit-withdraw__sub-description,
  .page-how-to-deposit-withdraw__description {
    font-size: 16px;
    margin-bottom: 20px;
  }

  /* Hero Section */
  .page-how-to-deposit-withdraw__hero-section {
    padding-bottom: 40px;
  }
  .page-how-to-deposit-withdraw__hero-image {
    max-height: 350px;
    object-fit: contain;
  }
  .page-how-to-deposit-withdraw__hero-content {
    margin-top: 60px;
    padding: 25px 15px;
  }
  .page-how-to-deposit-withdraw__main-title {
    font-size: clamp(24px, 6vw, 36px);
    margin-bottom: 15px;
  }
  .page-how-to-deposit-withdraw__hero-content .page-how-to-deposit-withdraw__description {
    font-size: 16px;
    margin-bottom: 25px;
  }
  .page-how-to-deposit-withdraw__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-how-to-deposit-withdraw__btn {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 20px;
    font-size: 16px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* Why Choose Section */
  .page-how-to-deposit-withdraw__feature-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }
  .page-how-to-deposit-withdraw__card {
    padding: 25px;
  }
  .page-how-to-deposit-withdraw__feature-title {
    font-size: 20px;
  }

  /* Steps Container */
  .page-how-to-deposit-withdraw__steps-container {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }
  .page-how-to-deposit-withdraw__step-item {
    padding: 15px;
  }
  .page-how-to-deposit-withdraw__step-number {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
  .page-how-to-deposit-withdraw__step-title {
    font-size: 18px;
  }

  /* Methods Detail */
  .page-how-to-deposit-withdraw__methods-detail {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 40px;
  }
  .page-how-to-deposit-withdraw__method-card {
    padding: 20px;
  }
  .page-how-to-deposit-withdraw__method-image {
    height: 180px;
  }
  .page-how-to-deposit-withdraw__method-title {
    font-size: 19px;
  }
  .page-how-to-deposit-withdraw__btn-small {
    padding: 10px 15px;
    font-size: 15px;
    width: auto !important; /* Allow small buttons to not be full width */
    max-width: fit-content !important;
    margin: 20px auto 0;
    display: block;
  }

  /* Images in content */
  .page-how-to-deposit-withdraw__withdraw-image,
  .page-how-to-deposit-withdraw__security-image,
  .page-how-to-deposit-withdraw img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
    padding: 0 15px;
  }
  .page-how-to-deposit-withdraw__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Regulations List */
  .page-how-to-deposit-withdraw__regulation-list {
    margin-top: 30px;
  }
  .page-how-to-deposit-withdraw__regulation-list li {
    font-size: 16px;
    padding: 12px 15px;
  }

  /* FAQ Section */
  details.page-how-to-deposit-withdraw__faq-item summary.page-how-to-deposit-withdraw__faq-question { padding: 15px; }
  .page-how-to-deposit-withdraw__faq-qtext { font-size: 15px; }
  .page-how-to-deposit-withdraw__faq-toggle { font-size: 20px; width: 24px; height: 24px; margin-left: 10px; }
  details.page-how-to-deposit-withdraw__faq-item .page-how-to-deposit-withdraw__faq-answer { padding: 0 15px 15px; font-size: 15px; }

  /* Conclusion Section */
  .page-how-to-deposit-withdraw__conclusion .page-how-to-deposit-withdraw__btn-primary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}