.page-payment-methods {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light body background */
  background-color: #f9f9f9; /* Matches body background */
}

/* Hero Section */
.page-payment-methods__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image on top, content below */
  align-items: center;
  padding-top: 10px; /* Small padding at the top, body handles main offset */
  background-color: #08160F; /* Dark background for hero section */
  color: #F2FFF6; /* Light text for dark background */
}

.page-payment-methods__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-payment-methods__hero-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-payment-methods__hero-content {
  max-width: 1200px;
  width: 100%;
  padding: 40px 20px;
  text-align: center;
  box-sizing: border-box;
  color: #F2FFF6; /* Light text for dark background */
}

.page-payment-methods__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #F2C14E; /* Gold color for main title */
  margin-bottom: 20px;
  max-width: 800px; /* Constrain H1 width for better readability */
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods__intro-text {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #A7D9B8; /* Secondary text color */
}

.page-payment-methods__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
  color: #ffffff; /* White text on button */
  transition: opacity 0.3s ease;
  border: none;
  cursor: pointer;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-payment-methods__cta-button:hover {
  opacity: 0.9;
}

/* General Section Styling */
.page-payment-methods__section {
  padding: 60px 0;
  border-bottom: 1px solid #e0e0e0;
}

.page-payment-methods__section:last-of-type {
  border-bottom: none;
}

.page-payment-methods__dark-bg {
  background-color: #08160F; /* Dark background */
  color: #F2FFF6; /* Light text for dark background */
}

.page-payment-methods__dark-bg .page-payment-methods__section-title {
  color: #F2C14E; /* Gold for titles on dark background */
}

.page-payment-methods__dark-bg .page-payment-methods__sub-title {
  color: #57E38D; /* Glow color for sub-titles on dark background */
}

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

.page-payment-methods__section-title {
  font-size: 2.5em;
  font-weight: bold;
  color: #11A84E; /* Main color for titles on light background */
  text-align: center;
  margin-bottom: 40px;
}

.page-payment-methods__sub-title {
  font-size: 1.8em;
  font-weight: bold;
  color: #22C768; /* Secondary color for sub-titles on light background */
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-payment-methods p {
  margin-bottom: 15px;
}

.page-payment-methods__note {
  font-style: italic;
  font-size: 0.9em;
  color: #A7D9B8; /* Secondary text color */
}

.page-payment-methods__list,
.page-payment-methods__list-numbered {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 15px;
  padding-left: 0;
}

.page-payment-methods__list li,
.page-payment-methods__list-numbered li {
  margin-bottom: 8px;
}

.page-payment-methods__list-numbered {
  list-style-type: decimal;
}

/* Card Grid for Deposit Methods */
.page-payment-methods__card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-payment-methods__card {
  background-color: #11271B; /* Card BG color */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #F2FFF6; /* Text Main color for cards */
  border: 1px solid #2E7A4E; /* Border color */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-payment-methods__card-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #57E38D; /* Glow color for card titles */
}

.page-payment-methods__card-image {
  width: 100%;
  height: auto;
  max-height: 250px; /* Max height for card images */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-payment-methods__card p {
  color: #A7D9B8; /* Secondary text color for card paragraphs */
}

.page-payment-methods__card ol li,
.page-payment-methods__card ul li {
  color: #A7D9B8; /* Secondary text color for card lists */
}

/* Video Section */
.page-payment-methods__video-wrapper {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 30px auto;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  background-color: #000;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-payment-methods__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  cursor: pointer;
}

/* Security Section */
.page-payment-methods__security-image {
  display: block;
  margin: 30px auto;
  max-width: 800px;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

/* Info Grid (for limits and fees) */
.page-payment-methods__info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-payment-methods__info-box {
  background-color: #11271B; /* Card BG color */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #F2FFF6; /* Text Main color */
  border: 1px solid #2E7A4E; /* Border color */
}

.page-payment-methods__info-box p {
  color: #A7D9B8; /* Secondary text color */
}

/* FAQ Section */
.page-payment-methods__faq-list {
  margin-top: 30px;
}

.page-payment-methods__faq-item {
  background-color: #11271B; /* Card BG color */
  border: 1px solid #2E7A4E; /* Border color */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #F2FFF6; /* Text Main color */
}

.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-weight: bold;
  font-size: 1.1em;
  cursor: pointer;
  background-color: #0A4B2C; /* Deep Green for question background */
  color: #F2FFF6; /* Text Main color */
}

.page-payment-methods__faq-question::-webkit-details-marker {
  display: none;
}

.page-payment-methods__faq-qtext {
  flex-grow: 1;
  color: #F2FFF6; /* Text Main color */
}

.page-payment-methods__faq-toggle {
  font-size: 1.5em;
  margin-left: 10px;
  color: #57E38D; /* Glow color for toggle */
}

.page-payment-methods__faq-item[open] .page-payment-methods__faq-toggle {
  content: "−";
}

.page-payment-methods__faq-answer {
  padding: 20px;
  padding-top: 0;
  color: #A7D9B8; /* Secondary text color for answer */
  font-size: 0.95em;
}

.page-payment-methods__faq-answer p {
  margin-bottom: 0;
}

/* Conclusion Section */
.page-payment-methods__conclusion {
  text-align: center;
  padding-bottom: 80px;
}

.page-payment-methods__cta-button--conclusion {
  margin-top: 30px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-payment-methods__main-title {
    font-size: 2.2em;
  }
  .page-payment-methods__section-title {
    font-size: 2em;
  }
  .page-payment-methods__sub-title {
    font-size: 1.6em;
  }
  .page-payment-methods__card-title {
    font-size: 1.3em;
  }
}

@media (max-width: 768px) {
  .page-payment-methods {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-payment-methods__hero-section {
    padding-top: 10px !important; /* Ensure small padding */
  }

  .page-payment-methods__hero-content {
    padding: 30px 15px;
  }

  .page-payment-methods__main-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }

  .page-payment-methods__intro-text {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-payment-methods__cta-button {
    padding: 12px 25px;
    font-size: 0.95em;
    max-width: 100% !important;
    width: 100% !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  
  .page-payment-methods__cta-button--hero {
    max-width: 300px !important; /* Limit width for hero button */
  }

  .page-payment-methods__section {
    padding: 40px 0;
  }

  .page-payment-methods__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-payment-methods__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-payment-methods__sub-title {
    font-size: 1.4em;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-payment-methods__card-grid,
  .page-payment-methods__info-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-payment-methods__card,
  .page-payment-methods__info-box {
    padding: 20px;
  }

  .page-payment-methods__card-image,
  .page-payment-methods__security-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-payment-methods__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }

  .page-payment-methods__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-payment-methods__faq-question {
    font-size: 1em;
    padding: 15px;
  }

  .page-payment-methods__faq-answer {
    padding: 15px;
    padding-top: 0;
  }
}