/* style/payment-methods.css */
.page-payment-methods {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--background-color);
}

.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 as body handles --header-offset */
  overflow: hidden;
  background: var(--background-color);
}

.page-payment-methods__hero-image-wrapper {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  position: relative;
}

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

.page-payment-methods__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin-top: 40px;
}

.page-payment-methods__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-payment-methods__hero-description {
  font-size: 1.1em;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

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

.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: all 0.3s ease;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-payment-methods__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: var(--text-main);
  border: none;
}

.page-payment-methods__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-payment-methods__btn-secondary {
  background: var(--card-bg);
  color: var(--text-main);
  border: 2px solid var(--border-color);
}

.page-payment-methods__btn-secondary:hover {
  background: var(--deep-green);
  color: var(--text-main);
  transform: translateY(-2px);
}

.page-payment-methods__section {
  padding: 60px 20px;
  background-color: var(--background-color);
  color: var(--text-main);
}

.page-payment-methods__section:nth-of-type(even) {
  background-color: var(--card-bg);
}

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

.page-payment-methods__section-title {
  font-size: clamp(1.8em, 3vw, 2.8em);
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: var(--text-main);
}

.page-payment-methods__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  color: var(--text-secondary);
}

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

.page-payment-methods__method-card {
  background: var(--card-bg);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
}

.page-payment-methods__method-icon {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods__method-title {
  font-size: 1.6em;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 15px;
}

.page-payment-methods__method-description {
  font-size: 1em;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.page-payment-methods__method-details {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
  color: var(--text-secondary);
}

.page-payment-methods__method-details li {
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}

.page-payment-methods__method-details li::before {
  content: '•';
  color: var(--glow);
  position: absolute;
  left: 0;
  top: 0;
}

.page-payment-methods__cta-deposit {
  text-align: center;
}

.page-payment-methods__image-content-layout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.page-payment-methods__content-block {
  flex: 1;
  min-width: 300px;
}

.page-payment-methods__image-block {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-payment-methods__content-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.page-payment-methods__sub-title {
  font-size: 1.5em;
  font-weight: 600;
  color: var(--text-main);
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-payment-methods__numbered-list {
  list-style: decimal;
  padding-left: 25px;
  margin-bottom: 30px;
  color: var(--text-secondary);
}

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

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

.page-payment-methods__feature-item {
  background: var(--card-bg);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
}

.page-payment-methods__feature-icon {
  width: 100%;
  max-width: 150px;
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods__feature-title {
  font-size: 1.4em;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 10px;
}

.page-payment-methods__feature-description {
  font-size: 0.95em;
  color: var(--text-secondary);
}

.page-payment-methods__tips-list {
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--text-secondary);
}

.page-payment-methods__tips-list li {
  background: var(--card-bg);
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-left: 5px solid var(--glow);
  font-size: 1.05em;
}

.page-payment-methods__tips-list li strong {
  color: var(--text-main);
}

.page-payment-methods__faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-payment-methods__faq-item {
  background: var(--card-bg);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
}

.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15em;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  background: var(--card-bg);
  transition: background-color 0.3s ease;
  list-style: none; /* For details summary */
}

.page-payment-methods__faq-question::-webkit-details-marker, /* For details summary */
.page-payment-methods__faq-question::marker { /* For details summary */
  display: none;
}

.page-payment-methods__faq-question:hover {
  background-color: var(--deep-green);
}

.page-payment-methods__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: var(--glow);
}

.page-payment-methods__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  color: var(--text-secondary);
}

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

.page-payment-methods__conclusion {
  text-align: center;
  padding-top: 40px;
  padding-bottom: 40px;
}

/* Color overrides for light sections if needed */
.page-payment-methods__light-bg .page-payment-methods__section-title,
.page-payment-methods__light-bg .page-payment-methods__sub-title {
  color: var(--text-main);
}
.page-payment-methods__light-bg .page-payment-methods__section-description,
.page-payment-methods__light-bg p,
.page-payment-methods__light-bg li {
  color: var(--text-secondary);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-payment-methods__hero-content {
    margin-top: 20px;
  }
  .page-payment-methods__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }
  .page-payment-methods__section-title {
    font-size: clamp(1.6em, 4vw, 2.5em);
  }
  .page-payment-methods__methods-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-payment-methods__hero-section,
  .page-payment-methods__section {
    padding: 40px 15px;
  }

  .page-payment-methods__hero-content {
    margin-top: 0;
  }
  
  .page-payment-methods__hero-image-wrapper {
    max-height: 300px;
  }

  .page-payment-methods__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }

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

  .page-payment-methods__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-payment-methods__btn-primary,
  .page-payment-methods__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 0.95em;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-payment-methods__section-description {
    font-size: 0.95em;
  }

  .page-payment-methods__methods-grid,
  .page-payment-methods__security-features {
    grid-template-columns: 1fr;
  }

  .page-payment-methods__method-card,
  .page-payment-methods__feature-item,
  .page-payment-methods__faq-item {
    padding: 20px;
  }

  .page-payment-methods__method-icon,
  .page-payment-methods__feature-icon {
    max-width: 120px;
  }

  .page-payment-methods__image-content-layout {
    flex-direction: column;
  }

  .page-payment-methods__content-image {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }

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

  .page-payment-methods__faq-answer {
    padding: 0 20px 15px;
    font-size: 0.95em;
  }
  
  /* General image responsiveness */
  .page-payment-methods img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Video responsiveness (if any) */
  .page-payment-methods video,
  .page-payment-methods__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-payment-methods__video-section,
  .page-payment-methods__video-container,
  .page-payment-methods__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-payment-methods__video-section {
    padding-top: 10px !important;
  }
}