.page-payment-methods {
  background-color: var(--color-background, #0D0E12);
  color: var(--color-text-main, #FFF3E6);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

/* Hero Section */
.page-payment-methods__hero-section {
  position: relative;
  text-align: center;
  padding-top: 10px; /* Small top padding, assuming body handles header-offset */
  margin-bottom: 40px;
  background-color: #0D0E12;
  overflow: hidden;
}

.page-payment-methods__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.page-payment-methods__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.page-payment-methods__hero-content {
  position: relative;
  z-index: 2;
  padding: 80px 20px;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.page-payment-methods__main-title {
  font-size: 3.2em;
  font-weight: bold;
  color: var(--color-text-main, #FFF3E6);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-payment-methods__description {
  font-size: 1.1em;
  color: var(--color-text-main, #FFF3E6);
  margin-bottom: 30px;
  max-width: 800px;
}

/* Section Titles */
.page-payment-methods__section-title {
  font-size: 2.5em;
  color: var(--color-primary, #FF8C1A);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

/* Buttons */
.page-payment-methods__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-payment-methods__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

/* Method Cards Section */
.page-payment-methods__methods-section {
  padding: 40px 0;
  margin-bottom: 40px;
}

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

.page-payment-methods__method-card {
  background-color: var(--color-card-bg, #17191F);
  border: 1px solid var(--color-border, #A84F0C);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--color-text-main, #FFF3E6);
}

.page-payment-methods__method-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 15px var(--color-glow, #FFB04D);
}

.page-payment-methods__method-icon {
  width: 150px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-payment-methods__card-title {
  font-size: 1.8em;
  color: var(--color-primary, #FF8C1A);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-payment-methods__card-description {
  font-size: 1em;
  color: var(--color-text-main, #FFF3E6);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-payment-methods__card-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  text-align: left;
  width: 100%;
}

.page-payment-methods__card-list li {
  color: var(--color-text-main, #FFF3E6);
  margin-bottom: 8px;
  padding-left: 25px;
  position: relative;
}

.page-payment-methods__card-list li::before {
  content: '✓';
  color: var(--color-deep-orange, #D96800);
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Withdrawal Section */
.page-payment-methods__withdrawal-section,
.page-payment-methods__security-section {
  padding: 40px 0;
  margin-bottom: 40px;
  background-color: var(--color-card-bg, #17191F);
  border-top: 1px solid var(--color-border, #A84F0C);
  border-bottom: 1px solid var(--color-border, #A84F0C);
}

.page-payment-methods__process-list,
.page-payment-methods__security-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 30px auto;
  max-width: 800px;
  text-align: left;
}

.page-payment-methods__process-list li,
.page-payment-methods__security-list li {
  background-color: #1f2229;
  border-left: 4px solid var(--color-primary, #FF8C1A);
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  color: var(--color-text-main, #FFF3E6);
  font-size: 1.1em;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-payment-methods__note {
  background-color: #2a2e38;
  border-left: 4px solid var(--color-deep-orange, #D96800);
  padding: 20px;
  margin: 30px auto;
  border-radius: 8px;
  max-width: 800px;
  color: var(--color-text-main, #FFF3E6);
  font-style: italic;
}

/* Security Section */
.page-payment-methods__security-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 40px auto 0 auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* FAQ Section */
.page-payment-methods__faq-section {
  padding: 40px 0;
}

.page-payment-methods__faq-list {
  max-width: 900px;
  margin: 0 auto 40px auto;
}

details.page-payment-methods__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid var(--color-border, #A84F0C);
  overflow: hidden;
  background: var(--color-card-bg, #17191F);
  color: var(--color-text-main, #FFF3E6);
}

details.page-payment-methods__faq-item summary.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  font-weight: bold;
}

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

details.page-payment-methods__faq-item summary.page-payment-methods__faq-question:hover {
  background: #252830; /* Slightly lighter than card BG */
}

.page-payment-methods__faq-qtext {
  flex: 1;
  font-size: 1.1em;
  line-height: 1.5;
  text-align: left;
  color: var(--color-text-main, #FFF3E6);
}

.page-payment-methods__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: var(--color-primary, #FF8C1A);
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}

details.page-payment-methods__faq-item .page-payment-methods__faq-answer {
  padding: 0 25px 20px;
  background: #1f2229; /* Slightly lighter background for answer */
  border-radius: 0 0 10px 10px;
  color: var(--color-text-main, #FFF3E6);
}

.page-payment-methods__faq-answer p {
  margin: 0;
  padding: 0;
  font-size: 1em;
}

.page-payment-methods__cta-wrapper {
  text-align: center;
  margin-top: 40px;
}

/* General image styling */
.page-payment-methods img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-payment-methods__main-title {
    font-size: 2.8em;
  }
  .page-payment-methods__section-title {
    font-size: 2em;
  }
  .page-payment-methods__hero-content {
    padding: 60px 20px;
  }
  .page-payment-methods__method-card {
    padding: 25px;
  }
  .page-payment-methods__method-icon {
    width: 120px;
  }
  .page-payment-methods__card-title {
    font-size: 1.6em;
  }
}

@media (max-width: 768px) {
  /* Hero Section */
  .page-payment-methods__hero-section {
    padding-top: 10px !important;
    margin-bottom: 30px;
  }
  .page-payment-methods__hero-content {
    padding: 40px 15px;
    min-height: 300px;
  }
  .page-payment-methods__main-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }
  .page-payment-methods__description {
    font-size: 0.95em;
    margin-bottom: 25px;
  }
  .page-payment-methods__btn-primary {
    padding: 12px 25px;
    font-size: 0.9em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* General Section & Container */
  .page-payment-methods__container {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

  /* Method Cards Grid */
  .page-payment-methods__method-cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-payment-methods__method-card {
    padding: 20px;
  }
  .page-payment-methods__method-icon {
    width: 100px;
    height: auto;
  }
  .page-payment-methods__card-title {
    font-size: 1.4em;
  }
  .page-payment-methods__card-description {
    font-size: 0.9em;
  }
  .page-payment-methods__card-list li {
    font-size: 0.9em;
  }

  /* Withdrawal & Security Sections */
  .page-payment-methods__withdrawal-section,
  .page-payment-methods__security-section {
    padding: 30px 0;
    margin-bottom: 30px;
  }
  .page-payment-methods__process-list li,
  .page-payment-methods__security-list li {
    padding: 12px 15px;
    font-size: 1em;
    margin-bottom: 10px;
  }
  .page-payment-methods__note {
    padding: 15px;
    font-size: 0.95em;
    margin: 20px auto;
  }
  .page-payment-methods__security-image {
    margin-top: 30px;
  }

  /* FAQ Section */
  .page-payment-methods__faq-section {
    padding: 30px 0;
  }
  .page-payment-methods__faq-list {
    margin-bottom: 30px;
  }
  details.page-payment-methods__faq-item summary.page-payment-methods__faq-question {
    padding: 15px 20px;
  }
  .page-payment-methods__faq-qtext {
    font-size: 1em;
  }
  .page-payment-methods__faq-toggle {
    font-size: 24px;
    width: 25px;
  }
  details.page-payment-methods__faq-item .page-payment-methods__faq-answer {
    padding: 0 20px 15px;
  }
  .page-payment-methods__faq-answer p {
    font-size: 0.95em;
  }

  /* All Images */
  .page-payment-methods img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* All Button Containers */
  .page-payment-methods__cta-wrapper,
  .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;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-payment-methods__cta-wrapper .page-payment-methods__btn-primary {
    margin-top: 10px; /* Add some space if multiple buttons wrap */
  }
}