/* style/payment-methods.css */
.page-payment-methods {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #121212; /* Inherited from body, explicit for clarity */
}

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

.page-payment-methods__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: #26A9E0; /* Brand color as background */
  color: #ffffff;
  overflow: hidden;
}

.page-payment-methods__hero-image-wrapper {
  width: 100%;
  max-height: 675px; /* Max height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

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

.page-payment-methods__hero-content {
  z-index: 1; /* Ensure content is above image if any overlap */
  max-width: 900px;
}

.page-payment-methods__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

.page-payment-methods__hero-description {
  font-size: 1.15rem;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-payment-methods__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.page-payment-methods__btn-primary,
.page-payment-methods__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-payment-methods__btn-primary {
  background-color: #EA7C07; /* Login color */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-payment-methods__btn-primary:hover {
  background-color: #d16b06;
  border-color: #d16b06;
}

.page-payment-methods__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-payment-methods__btn-secondary:hover {
  background-color: #e0f7fa;
  color: #1a7a9e;
  border-color: #1a7a9e;
}

.page-payment-methods__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  line-height: 1.3;
}

.page-payment-methods__text-block {
  font-size: 1.05rem;
  margin-bottom: 20px;
  line-height: 1.7;
}

/* Background color specific sections */
.page-payment-methods__dark-bg {
  background-color: #1a1a1a;
  color: #ffffff;
}

.page-payment-methods__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-payment-methods__intro-section,
.page-payment-methods__withdrawal-section,
.page-payment-methods__faq-section,
.page-payment-methods__conclusion-section {
  padding: 80px 0;
}

.page-payment-methods__methods-section,
.page-payment-methods__security-section,
.page-payment-methods__contact-cta {
  padding: 80px 0;
}

.page-payment-methods__method-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-payment-methods__method-card {
  background-color: #ffffff;
  color: #333333;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-payment-methods__method-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-payment-methods__method-icon {
  width: 150px; /* Ensure minimum 200px equivalent display, but allow responsive */
  height: auto;
  max-width: 100%;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-payment-methods__method-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-payment-methods__method-description {
  font-size: 1rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-payment-methods__btn-text {
  color: #EA7C07;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  border-bottom: 2px solid #EA7C07;
  padding-bottom: 2px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.page-payment-methods__btn-text:hover {
  color: #d16b06;
  border-color: #d16b06;
}

.page-payment-methods__withdrawal-steps {
  margin-top: 40px;
}

.page-payment-methods__step-card {
  background-color: #ffffff;
  color: #333333;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

.page-payment-methods__step-icon {
  width: 150px; /* Ensure minimum 200px equivalent display, but allow responsive */
  height: auto;
  max-width: 100%;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods__step-title {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #26A9E0;
  text-align: center;
}

.page-payment-methods__step-list {
  list-style: decimal;
  padding-left: 25px;
  font-size: 1.05rem;
}

.page-payment-methods__step-list li {
  margin-bottom: 10px;
}

.page-payment-methods__subsection-title {
  font-size: 1.6rem;
  font-weight: 600;
  margin-top: 50px;
  margin-bottom: 25px;
  color: #26A9E0;
  text-align: center;
}

.page-payment-methods__info-list {
  list-style: disc;
  padding-left: 25px;
  font-size: 1.05rem;
  color: #333333;
}

.page-payment-methods__info-list li {
  margin-bottom: 10px;
}

.page-payment-methods__security-image {
  width: 100%;
  height: auto;
  display: block;
  max-width: 800px;
  margin: 40px auto 0 auto;
  border-radius: 12px;
}

.page-payment-methods__link {
  color: #EA7C07;
  text-decoration: underline;
  font-weight: 600;
}

.page-payment-methods__link:hover {
  color: #d16b06;
}

.page-payment-methods__faq-list {
  margin-top: 40px;
}

.page-payment-methods__faq-item {
  background-color: #f8f8f8;
  color: #333333;
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #26A9E0;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease;
}

.page-payment-methods__faq-question:hover {
  background-color: #e0f7fa;
}

.page-payment-methods__faq-item summary {
  list-style: none;
}

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

.page-payment-methods__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-payment-methods__faq-item[open] .page-payment-methods__faq-toggle {
  transform: rotate(45deg);
}

.page-payment-methods__faq-answer {
  padding: 15px 25px 20px 25px;
  font-size: 1rem;
  line-height: 1.7;
  border-top: 1px solid #eee;
  color: #555555;
}

.page-payment-methods__contact-cta .page-payment-methods__section-title,
.page-payment-methods__contact-cta .page-payment-methods__text-block {
  color: #ffffff;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-payment-methods__hero-image-wrapper {
    max-height: 500px;
  }
  .page-payment-methods__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
  .page-payment-methods__section-title {
    font-size: clamp(1.6rem, 3.8vw, 2.5rem);
  }
}

@media (max-width: 768px) {
  .page-payment-methods__container {
    padding: 0 15px;
  }
  .page-payment-methods__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }
  .page-payment-methods__hero-image-wrapper {
    max-height: 400px;
    margin-bottom: 15px;
  }
  .page-payment-methods__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    margin-bottom: 15px;
  }
  .page-payment-methods__hero-description {
    font-size: 1rem;
    margin-bottom: 20px;
  }
  .page-payment-methods__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }
  .page-payment-methods__btn-primary,
  .page-payment-methods__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 20px;
    font-size: 0.95rem;
  }
  .page-payment-methods__intro-section,
  .page-payment-methods__methods-section,
  .page-payment-methods__withdrawal-section,
  .page-payment-methods__security-section,
  .page-payment-methods__faq-section,
  .page-payment-methods__contact-cta,
  .page-payment-methods__conclusion-section {
    padding: 50px 0;
  }
  .page-payment-methods__section-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
    margin-bottom: 25px;
  }
  .page-payment-methods__text-block {
    font-size: 0.95rem;
    margin-bottom: 15px;
  }
  .page-payment-methods__method-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-payment-methods__method-card,
  .page-payment-methods__step-card {
    padding: 20px;
  }
  .page-payment-methods__method-icon,
  .page-payment-methods__step-icon {
    width: 100% !important;
    max-width: 250px !important; /* Ensure min 200px */
    height: auto !important;
    margin-left: auto;
    margin-right: auto;
  }
  .page-payment-methods__method-title {
    font-size: 1.3rem;
  }
  .page-payment-methods__method-description,
  .page-payment-methods__step-list li,
  .page-payment-methods__info-list li {
    font-size: 0.9rem;
  }
  .page-payment-methods__step-title {
    font-size: 1.5rem;
  }
  .page-payment-methods__subsection-title {
    font-size: 1.4rem;
    margin-top: 40px;
    margin-bottom: 20px;
  }
  .page-payment-methods__security-image {
    margin-top: 30px;
  }
  .page-payment-methods__faq-question {
    padding: 15px 20px;
    font-size: 1rem;
  }
  .page-payment-methods__faq-answer {
    padding: 10px 20px 15px 20px;
    font-size: 0.95rem;
  }
  .page-payment-methods img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-payment-methods video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-payment-methods__section,
  .page-payment-methods__card,
  .page-payment-methods__container,
  .page-payment-methods__video-section,
  .page-payment-methods__video-container,
  .page-payment-methods__video-wrapper,
  .page-payment-methods__cta-buttons,
  .page-payment-methods__button-group,
  .page-payment-methods__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important;
  }
}