.page-payment-methods {
  color: #ffffff; /* Body background is dark (#0a0a0a), so use light text */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-payment-methods__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* body handles header offset, this is for visual spacing */
  text-align: center;
  overflow: hidden;
}

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

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

.page-payment-methods__hero-content {
  padding: 40px 20px;
  max-width: 800px;
  margin-top: 20px; /* Spacing between image and text */
}

.page-payment-methods__hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: #26A9E0;
  margin-bottom: 20px;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

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

.page-payment-methods__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
}

.page-payment-methods__text-block {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-payment-methods__overview-section {
  padding: 60px 0;
}

.page-payment-methods__methods-section {
  padding: 60px 0;
}

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

.page-payment-methods__card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.1);
}

.page-payment-methods__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-payment-methods__card-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #26A9E0;
  margin: 20px 20px 10px 20px;
}

.page-payment-methods__card-description {
  font-size: 1rem;
  padding: 0 20px 20px 20px;
  flex-grow: 1;
}

.page-payment-methods__how-to-section {
  padding: 60px 0;
}

.page-payment-methods__instruction-block {
  margin-bottom: 40px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.05);
}

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

.page-payment-methods__instruction-list {
  list-style-type: decimal;
  padding-left: 25px;
  color: #f0f0f0;
}

.page-payment-methods__instruction-list li {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.page-payment-methods__instruction-list strong {
  color: #ffffff;
}

.page-payment-methods__security-section {
  padding: 60px 0;
  text-align: center;
}

.page-payment-methods__security-image {
  max-width: 600px;
  height: auto;
  margin-top: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-payment-methods__faq-section {
  padding: 60px 0;
}

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

.page-payment-methods__faq-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.15);
}

.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2rem;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
  background: rgba(38, 169, 224, 0.2);
  transition: background-color 0.3s ease;
}

.page-payment-methods__faq-question:hover {
  background: rgba(38, 169, 224, 0.3);
}

.page-payment-methods__faq-item[open] > .page-payment-methods__faq-question {
  background: #26A9E0;
  color: #ffffff;
}

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

.page-payment-methods__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  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 20px;
  font-size: 1.05rem;
  color: #f0f0f0;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.page-payment-methods__cta-section {
  padding: 60px 0;
  text-align: center;
}

/* Common button styles */
.page-payment-methods__btn-primary,
.page-payment-methods__btn-secondary,
.page-payment-methods__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-payment-methods__btn-primary:hover,
.page-payment-methods__cta-button:hover {
  background: #d66f06;
  border-color: #d66f06;
  transform: translateY(-2px);
}

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

.page-payment-methods__btn-secondary:hover {
  background: #26A9E0;
  color: #ffffff;
  transform: translateY(-2px);
}

/* Background color definitions */
.page-payment-methods__dark-bg {
  background: #0a0a0a;
  color: #ffffff;
}

.page-payment-methods__light-bg {
  background: #1a1a1a;
  color: #f0f0f0;
}

.page-payment-methods__dark-section {
  background: #0a0a0a;
  color: #ffffff;
}

/* Image sizing for content area - min 200x200px */
.page-payment-methods__card-image,
.page-payment-methods__security-image {
  min-width: 200px;
  min-height: 200px;
}

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

  .page-payment-methods__container,
  .page-payment-methods__hero-section,
  .page-payment-methods__overview-section,
  .page-payment-methods__methods-section,
  .page-payment-methods__how-to-section,
  .page-payment-methods__security-section,
  .page-payment-methods__faq-section,
  .page-payment-methods__cta-section {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  .page-payment-methods__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px !important;
  }

  .page-payment-methods__hero-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

  .page-payment-methods__hero-description {
    font-size: 1rem;
  }

  .page-payment-methods__section-title {
    font-size: clamp(1.8rem, 6vw, 2.2rem);
    margin-bottom: 30px;
  }

  .page-payment-methods__text-block {
    font-size: 1rem;
  }

  .page-payment-methods__grid {
    grid-template-columns: 1fr;
  }

  .page-payment-methods__card {
    margin-bottom: 20px;
  }

  .page-payment-methods__card-image {
    height: 200px;
  }

  .page-payment-methods__card-title {
    font-size: 1.3rem;
  }

  .page-payment-methods__instruction-title {
    font-size: 1.5rem;
  }

  .page-payment-methods__instruction-list li {
    font-size: 1rem;
  }

  .page-payment-methods__security-image {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .page-payment-methods__faq-question {
    font-size: 1.05rem;
    padding: 15px;
  }

  .page-payment-methods__faq-answer {
    font-size: 0.95rem;
    padding: 10px 15px;
  }

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

  .page-payment-methods__btn-primary,
  .page-payment-methods__btn-secondary,
  .page-payment-methods__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 15px !important;
  }

  .page-payment-methods__hero-content .page-payment-methods__cta-button {
    margin-top: 20px;
  }

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