.page-payment-methods-deposit-withdrawal {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-payment-methods-deposit-withdrawal__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-payment-methods-deposit-withdrawal__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background-color: #017439; /* Brand color for hero */
  color: #ffffff;
  overflow: hidden;
}

.page-payment-methods-deposit-withdrawal__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Blend with background color */
  z-index: 1;
}

.page-payment-methods-deposit-withdrawal__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.page-payment-methods-deposit-withdrawal__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFFF00; /* Custom color for important titles */
}

.page-payment-methods-deposit-withdrawal__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
}

.page-payment-methods-deposit-withdrawal__hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-payment-methods-deposit-withdrawal__btn-primary,
.page-payment-methods-deposit-withdrawal__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  min-width: 180px;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-payment-methods-deposit-withdrawal__btn-primary {
  background-color: #C30808; /* Custom color for Register/Login */
  color: #FFFF00; /* Custom color for Register/Login font */
  border: 2px solid #C30808;
}

.page-payment-methods-deposit-withdrawal__btn-primary:hover {
  background-color: #e02a2a;
  border-color: #e02a2a;
}

.page-payment-methods-deposit-withdrawal__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-payment-methods-deposit-withdrawal__btn-secondary:hover {
  background-color: #ffffff;
  color: #017439;
}

.page-payment-methods-deposit-withdrawal__section-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  text-align: center;
  color: #FFFF00; /* Custom color for important titles */
}

.page-payment-methods-deposit-withdrawal__section-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods-deposit-withdrawal__intro-section,
.page-payment-methods-deposit-withdrawal__deposit-process,
.page-payment-methods-deposit-withdrawal__withdrawal-process,
.page-payment-methods-deposit-withdrawal__security-section,
.page-payment-methods-deposit-withdrawal__payment-methods-section,
.page-payment-methods-deposit-withdrawal__faq-section,
.page-payment-methods-deposit-withdrawal__cta-section,
.page-payment-methods-deposit-withdrawal__video-section {
  padding: 60px 0;
}

.page-payment-methods-deposit-withdrawal__dark-bg {
  background-color: #017439; /* Brand color */
  color: #ffffff;
}

.page-payment-methods-deposit-withdrawal__light-bg {
  background-color: #ffffff;
  color: #333333; /* Dark text for light background */
}

/* Video Section */
.page-payment-methods-deposit-withdrawal__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin: 30px auto;
  border-radius: 10px;
}

.page-payment-methods-deposit-withdrawal__video-link {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.page-payment-methods-deposit-withdrawal__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  cursor: pointer;
}

/* Process Steps */
.page-payment-methods-deposit-withdrawal__process-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-bottom: 40px;
}

.page-payment-methods-deposit-withdrawal__step-item {
  flex: 1 1 calc(33% - 40px);
  max-width: calc(33% - 40px);
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for dark bg */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-payment-methods-deposit-withdrawal__light-bg .page-payment-methods-deposit-withdrawal__step-item {
  background-color: #f9f9f9; /* Light background for light section */
  color: #333333;
}

.page-payment-methods-deposit-withdrawal__step-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #FFFF00; /* Custom color for important titles */
}

.page-payment-methods-deposit-withdrawal__step-description {
  font-size: 1em;
}

.page-payment-methods-deposit-withdrawal__process-image,
.page-payment-methods-deposit-withdrawal__security-image,
.page-payment-methods-deposit-withdrawal__payment-image {
  display: block;
  margin: 40px auto;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Security Features */
.page-payment-methods-deposit-withdrawal__security-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.page-payment-methods-deposit-withdrawal__feature-item {
  flex: 1 1 calc(33% - 40px);
  max-width: calc(33% - 40px);
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-payment-methods-deposit-withdrawal__feature-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #FFFF00; /* Custom color for important titles */
}

/* Payment Methods */
.page-payment-methods-deposit-withdrawal__methods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-payment-methods-deposit-withdrawal__method-card {
  background-color: #f9f9f9;
  color: #333333;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-payment-methods-deposit-withdrawal__method-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #017439; /* Brand color for titles on light background */
}

/* FAQ Section */
.page-payment-methods-deposit-withdrawal__faq-list {
  max-width: 900px;
  margin: 40px auto 0;
}

.page-payment-methods-deposit-withdrawal__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.page-payment-methods-deposit-withdrawal__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  color: #ffffff;
  background-color: #017439; /* Brand color for FAQ question background */
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  list-style: none; /* For details/summary */
}

.page-payment-methods-deposit-withdrawal__faq-question::-webkit-details-marker {
  display: none; /* For details/summary */
}

.page-payment-methods-deposit-withdrawal__faq-qtext {
  flex-grow: 1;
}

.page-payment-methods-deposit-withdrawal__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  color: #FFFF00; /* Custom color for toggle icon */
}

.page-payment-methods-deposit-withdrawal__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.05); /* Lighter background for answer */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-payment-methods-deposit-withdrawal__hero-title {
    font-size: 2.8em;
  }
  .page-payment-methods-deposit-withdrawal__section-title {
    font-size: 2em;
  }
  .page-payment-methods-deposit-withdrawal__process-steps,
  .page-payment-methods-deposit-withdrawal__security-features {
    flex-direction: column;
    align-items: center;
  }
  .page-payment-methods-deposit-withdrawal__step-item,
  .page-payment-methods-deposit-withdrawal__feature-item {
    flex: 1 1 80%;
    max-width: 80%;
  }
}

@media (max-width: 768px) {
  .page-payment-methods-deposit-withdrawal {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-payment-methods-deposit-withdrawal__hero-section {
    padding: 60px 15px;
  }
  .page-payment-methods-deposit-withdrawal__hero-title {
    font-size: 2.2em;
  }
  .page-payment-methods-deposit-withdrawal__hero-description {
    font-size: 1.1em;
  }
  .page-payment-methods-deposit-withdrawal__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-payment-methods-deposit-withdrawal__btn-primary,
  .page-payment-methods-deposit-withdrawal__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-payment-methods-deposit-withdrawal__section-title {
    font-size: 1.8em;
  }
  .page-payment-methods-deposit-withdrawal__section-description {
    font-size: 1em;
  }

  /* Images, Videos, and Containers */
  .page-payment-methods-deposit-withdrawal img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-payment-methods-deposit-withdrawal video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-payment-methods-deposit-withdrawal__container,
  .page-payment-methods-deposit-withdrawal__hero-section,
  .page-payment-methods-deposit-withdrawal__intro-section,
  .page-payment-methods-deposit-withdrawal__deposit-process,
  .page-payment-methods-deposit-withdrawal__withdrawal-process,
  .page-payment-methods-deposit-withdrawal__security-section,
  .page-payment-methods-deposit-withdrawal__payment-methods-section,
  .page-payment-methods-deposit-withdrawal__faq-section,
  .page-payment-methods-deposit-withdrawal__cta-section,
  .page-payment-methods-deposit-withdrawal__video-section,
  .page-payment-methods-deposit-withdrawal__video-wrapper,
  .page-payment-methods-deposit-withdrawal__cta-buttons,
  .page-payment-methods-deposit-withdrawal__process-steps,
  .page-payment-methods-deposit-withdrawal__security-features,
  .page-payment-methods-deposit-withdrawal__methods-grid,
  .page-payment-methods-deposit-withdrawal__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }

  .page-payment-methods-deposit-withdrawal__video-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure video section starts below header */
  }

  .page-payment-methods-deposit-withdrawal__step-item,
  .page-payment-methods-deposit-withdrawal__feature-item {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .page-payment-methods-deposit-withdrawal__methods-grid {
    grid-template-columns: 1fr;
  }
}

/* Color contrast fixes for specific elements */
.page-payment-methods-deposit-withdrawal__light-bg .page-payment-methods-deposit-withdrawal__section-title {
  color: #017439; /* Brand color on light background */
}
.page-payment-methods-deposit-withdrawal__light-bg .page-payment-methods-deposit-withdrawal__step-title {
  color: #017439; /* Brand color on light background */
}
.page-payment-methods-deposit-withdrawal__light-bg .page-payment-methods-deposit-withdrawal__section-description {
  color: #333333;
}
.page-payment-methods-deposit-withdrawal__light-bg .page-payment-methods-deposit-withdrawal__step-description {
  color: #333333;
}
.page-payment-methods-deposit-withdrawal__light-bg .page-payment-methods-deposit-withdrawal__method-description {
  color: #333333;
}
.page-payment-methods-deposit-withdrawal__light-bg .page-payment-methods-deposit-withdrawal__cta-section .page-payment-methods-deposit-withdrawal__btn-secondary {
  background-color: transparent;
  color: #017439;
  border: 2px solid #017439;
}
.page-payment-methods-deposit-withdrawal__light-bg .page-payment-methods-deposit-withdrawal__cta-section .page-payment-methods-deposit-withdrawal__btn-secondary:hover {
  background-color: #017439;
  color: #ffffff;
}

/* Ensure no filter on images */
.page-payment-methods-deposit-withdrawal img {
  filter: none !important;
}