/* style/payment-methods.css */

/* Base styles for the page-payment-methods scope */
.page-payment-methods {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: var(--bg-color, #ffffff); /* Inherit from shared or default white */
}

/* Dark background sections for contrast */
.page-payment-methods__dark-bg {
  background-color: #26A9E0; /* Brand primary color */
  color: #ffffff; /* White text for dark background */
}

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

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

.page-payment-methods__section {
  padding: 80px 0;
  text-align: center;
}

.page-payment-methods__section-title {
  font-size: clamp(2em, 2.5vw, 2.8em); /* H1 font size guideline: clamp */
  color: inherit;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-payment-methods__sub-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin-top: 40px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-payment-methods__text-block {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: inherit;
}

.page-payment-methods__list {
  list-style-type: disc;
  text-align: left;
  max-width: 800px;
  margin: 20px auto;
  padding-left: 40px;
  color: inherit;
}

.page-payment-methods__list li {
  margin-bottom: 10px;
  font-size: 1.1em;
}

/* Hero Section */
.page-payment-methods__hero-section {
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

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

.page-payment-methods__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  min-height: 200px; /* Ensure minimum size */
}

.page-payment-methods__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 0 20px;
}

.page-payment-methods__main-title {
  font-size: clamp(2.5em, 4vw, 3.5em);
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.1;
  color: #ffffff;
}

.page-payment-methods__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #ffffff;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.page-payment-methods__btn-primary,
.page-payment-methods__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;
  font-size: 1.1em;
  max-width: 100%; /* Button responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

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

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

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

.page-payment-methods__btn-secondary:hover {
  background-color: #e0f2f7;
  color: #1a8fb4;
}

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

.page-payment-methods__feature-card {
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  min-height: 450px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.page-payment-methods__feature-icon {
  width: 100%; /* Ensure full width within card */
  height: auto;
  max-height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
  min-width: 200px; /* Min image size */
  min-height: 200px;
}

.page-payment-methods__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: inherit;
  font-weight: 700;
}

.page-payment-methods__card-description {
  font-size: 1em;
  color: inherit;
  flex-grow: 1;
}

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

.page-payment-methods__method-card {
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.page-payment-methods__method-icon {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
  min-width: 200px; /* Min image size */
  min-height: 200px;
}

.page-payment-methods__method-details {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  text-align: left;
  width: 100%;
  font-size: 1em;
  color: inherit;
}

.page-payment-methods__method-details li {
  margin-bottom: 8px;
}

.page-payment-methods__method-card .page-payment-methods__btn-secondary {
  margin-top: 20px;
  width: 80%; /* Adjust button width within card */
}

/* Withdrawal Process */
.page-payment-methods__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-payment-methods__step-card {
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-payment-methods__step-card .page-payment-methods__card-title {
  color: #ffffff;
  font-size: 1.4em;
  margin-bottom: 10px;
}

.page-payment-methods__step-card .page-payment-methods__card-description {
  color: #f0f0f0;
}

.page-payment-methods__cta-wrapper {
  margin-top: 50px;
}

/* Guide Section */
.page-payment-methods__guide-content {
  text-align: left;
  max-width: 900px;
  margin: 0 auto;
}

.page-payment-methods__guide-content a {
  color: #26A9E0;
  text-decoration: underline;
}

.page-payment-methods__guide-content a:hover {
  color: #1a8fb4;
}

/* Safety Tips */
.page-payment-methods__safety-list {
  list-style-type: none;
  padding: 0;
  text-align: left;
  max-width: 800px;
  margin: 20px auto;
}

.page-payment-methods__safety-list li {
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 15px;
  padding: 15px 20px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  font-size: 1.1em;
  color: #ffffff;
}

.page-payment-methods__safety-list li strong {
  color: #ffffff;
  margin-right: 10px;
}

.page-payment-methods__safety-list li a {
  color: #ffffff;
  text-decoration: underline;
}

.page-payment-methods__safety-list li a:hover {
  color: #f0f0f0;
}

/* FAQ Section */
.page-payment-methods__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
  text-align: left;
}

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

.page-payment-methods__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-weight: bold;
  font-size: 1.1em;
  cursor: pointer;
  background-color: #f9f9f9;
  color: #26A9E0;
  list-style: none; /* Hide default marker */
}

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

.page-payment-methods__faq-qtext {
  flex-grow: 1;
}

.page-payment-methods__faq-toggle {
  font-size: 1.5em;
  margin-left: 10px;
  line-height: 1;
}

.page-payment-methods__faq-answer {
  padding: 15px 20px;
  background-color: #ffffff;
  border-top: 1px solid #eee;
  font-size: 1em;
  color: #333333;
}

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

.page-payment-methods__faq-answer a {
  color: #26A9E0;
  text-decoration: underline;
}

.page-payment-methods__faq-answer a:hover {
  color: #1a8fb4;
}

/* Conclusion Section */
.page-payment-methods__conclusion-section {
  padding-top: 80px;
  padding-bottom: 80px;
}

.page-payment-methods__conclusion-section .page-payment-methods__btn-primary {
  margin-top: 30px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-payment-methods__section {
    padding: 60px 0;
  }
  .page-payment-methods__section-title {
    font-size: clamp(2em, 3.5vw, 2.5em);
  }
  .page-payment-methods__hero-image-wrapper {
    max-height: 400px;
  }
}

@media (max-width: 768px) {
  .page-payment-methods {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-payment-methods__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }
  .page-payment-methods__main-title {
    font-size: clamp(2em, 6vw, 2.5em) !important;
    line-height: 1.2;
  }
  .page-payment-methods__hero-description {
    font-size: 1.1em;
  }
  .page-payment-methods__section {
    padding: 40px 0;
  }
  .page-payment-methods__section-title {
    font-size: clamp(1.8em, 5vw, 2.2em);
  }
  .page-payment-methods__sub-title {
    font-size: 1.5em;
  }
  .page-payment-methods__text-block,
  .page-payment-methods__list li,
  .page-payment-methods__card-description {
    font-size: 1em;
  }

  /* Image responsiveness */
  .page-payment-methods img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  /* Container responsiveness */
  .page-payment-methods__container,
  .page-payment-methods__hero-content,
  .page-payment-methods__feature-card,
  .page-payment-methods__method-card,
  .page-payment-methods__step-card,
  .page-payment-methods__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    margin-left: 0;
    margin-right: 0;
  }

  /* Button responsiveness */
  .page-payment-methods__btn-primary,
  .page-payment-methods__btn-secondary,
  .page-payment-methods a[class*="button"],
  .page-payment-methods a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 15px; /* Adjust padding for smaller screens */
  }

  .page-payment-methods__cta-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px; /* Space between buttons if multiple */
  }
  .page-payment-methods__method-card .page-payment-methods__btn-secondary {
    width: 100% !important;
  }
  
  .page-payment-methods__hero-image-wrapper {
    max-height: 250px;
  }
}

@media (max-width: 480px) {
  .page-payment-methods__section {
    padding: 30px 0;
  }
  .page-payment-methods__main-title {
    font-size: clamp(1.8em, 8vw, 2.2em) !important;
  }
  .page-payment-methods__hero-description {
    font-size: 0.95em;
  }
  .page-payment-methods__feature-card,
  .page-payment-methods__method-card,
  .page-payment-methods__step-card {
    padding: 20px;
    min-height: auto;
  }
  .page-payment-methods__card-title {
    font-size: 1.3em;
  }
  .page-payment-methods__faq-item summary {
    padding: 15px;
    font-size: 1em;
  }
  .page-payment-methods__faq-answer {
    padding: 10px 15px;
  }
}