/* style/payment-methods.css */
:root {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --bg-dark: #08160F;
  --card-bg-dark: #11271B;
  --text-light-main: #F2FFF6;
  --text-light-secondary: #A7D9B8;
  --border-green: #2E7A4E;
  --glow-green: #57E38D;
  --gold-accent: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green-accent: #0A4B2C;
}

.page-payment-methods {
  color: var(--text-light-main); /* Default text color for dark body background */
  background-color: var(--bg-dark); /* Ensure consistency if body background is not inherited */
}

.page-payment-methods__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  text-align: center;
  overflow: hidden;
}

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

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

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

.page-payment-methods__main-title {
  font-weight: 700;
  line-height: 1.2;
  color: var(--gold-accent);
  margin-bottom: 20px;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods__description {
  font-size: 1.1em;
  line-height: 1.6;
  color: var(--text-light-secondary);
  margin-bottom: 30px;
}

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

.page-payment-methods__btn-primary,
.page-payment-methods__btn-secondary {
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-payment-methods__btn-primary {
  background: var(--button-gradient);
  color: var(--text-light-main);
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-payment-methods__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

.page-payment-methods__btn-secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-payment-methods__btn-secondary:hover {
  background: var(--primary-color);
  color: var(--text-light-main);
}

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

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

.page-payment-methods__heading {
  font-size: 2.5em;
  font-weight: 700;
  color: var(--gold-accent);
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.3;
}

.page-payment-methods__sub-heading {
  font-size: 1.8em;
  font-weight: 600;
  color: var(--primary-color);
  margin-top: 30px;
  margin-bottom: 20px;
}

.page-payment-methods__text-block {
  font-size: 1.05em;
  line-height: 1.7;
  margin-bottom: 20px;
  color: var(--text-light-secondary);
}

.page-payment-methods__list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.page-payment-methods__list-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  line-height: 1.6;
  color: var(--text-light-secondary);
}

.page-payment-methods__list-item::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

.page-payment-methods__ordered-list {
  list-style-type: decimal;
  padding-left: 25px;
  margin-bottom: 20px;
}

.page-payment-methods__ordered-list .page-payment-methods__list-item {
  padding-left: 0;
  margin-bottom: 10px;
  color: var(--text-light-secondary);
}

.page-payment-methods__ordered-list .page-payment-methods__list-item::before {
  content: none;
}

.page-payment-methods__note {
  font-style: italic;
  color: var(--text-light-secondary);
  border-left: 4px solid var(--primary-color);
  padding-left: 15px;
  margin-top: 30px;
}

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

.page-payment-methods__card {
  background-color: var(--card-bg-dark);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-green);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.page-payment-methods__card-image {
  width: 100%;
  height: auto;
  max-width: 400px;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-payment-methods__card-title {
  font-size: 1.5em;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-payment-methods__card-text {
  font-size: 1em;
  line-height: 1.6;
  color: var(--text-light-secondary);
}

.page-payment-methods__image-full-width {
  width: 100%;
  height: auto;
  max-width: 1000px;
  margin: 40px auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

.page-payment-methods__method-card {
  background-color: var(--card-bg-dark);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-green);
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

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

.page-payment-methods__method-icon {
  width: 100%;
  height: auto;
  max-width: 200px;
  object-fit: contain;
  margin-top: auto; /* Push icon to bottom if card content varies */
}

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

.page-payment-methods__faq-item {
  background-color: var(--card-bg-dark);
  border: 1px solid var(--border-green);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

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

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

.page-payment-methods__faq-item[open] > .page-payment-methods__faq-question {
  background-color: var(--primary-color);
}

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

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

.page-payment-methods__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 20px;
  color: var(--text-light-main);
}

.page-payment-methods__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  line-height: 1.7;
  color: var(--text-light-secondary);
  border-top: 1px solid var(--divider-color);
}

.page-payment-methods__cta-bottom {
  text-align: center;
  margin-top: 50px;
}

/* Responsive styles */
@media (max-width: 768px) {
  .page-payment-methods__hero-section {
    padding: 40px 15px;
  }

  .page-payment-methods__main-title {
    font-size: 2em;
  }

  .page-payment-methods__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: 1em;
  }

  .page-payment-methods__section {
    padding: 40px 15px;
  }

  .page-payment-methods__heading {
    font-size: 2em;
    margin-bottom: 30px;
  }

  .page-payment-methods__sub-heading {
    font-size: 1.5em;
  }

  .page-payment-methods__text-block,
  .page-payment-methods__list-item,
  .page-payment-methods__card-text,
  .page-payment-methods__method-description,
  .page-payment-methods__faq-answer p {
    font-size: 0.95em;
  }

  .page-payment-methods__card-grid,
  .page-payment-methods__method-card-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-payment-methods__card,
  .page-payment-methods__method-card {
    padding: 20px;
  }

  .page-payment-methods__card-title,
  .page-payment-methods__method-title {
    font-size: 1.3em;
  }

  .page-payment-methods__image-full-width {
    margin: 30px auto;
  }

  .page-payment-methods img {
    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__hero-image-wrapper,
  .page-payment-methods__cta-buttons,
  .page-payment-methods__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-payment-methods__hero-section,
  .page-payment-methods__deposit-guide-section,
  .page-payment-methods__withdrawal-guide-section,
  .page-payment-methods__detailed-methods-section,
  .page-payment-methods__faq-section,
  .page-payment-methods__conclusion-section {
    padding-left: 0;
    padding-right: 0;
  }

  .page-payment-methods__hero-content {
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-payment-methods__faq-answer {
    padding: 15px 20px;
  }
}