/* style/payment-methods.css */

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

.page-payment-methods {
  background-color: var(--page-bg-color);
  color: var(--text-main-color);
  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;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  overflow: hidden;
  background-color: var(--deep-green-color);
}

.page-payment-methods__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

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

.page-payment-methods__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin-top: 40px;
  padding: 0 20px;
}

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

.page-payment-methods__intro-text {
  font-size: 1.1em;
  color: var(--text-secondary-color);
  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 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  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-main-color);
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

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

.page-payment-methods__btn-secondary:hover {
  background: var(--glow-color);
  color: var(--page-bg-color);
  transform: translateY(-2px);
}

.page-payment-methods__overview-section,
.page-payment-methods__deposit-guide-section,
.page-payment-methods__withdraw-guide-section,
.page-payment-methods__security-section,
.page-payment-methods__tips-section,
.page-payment-methods__faq-section,
.page-payment-methods__conclusion-section {
  padding: 60px 0;
}

.page-payment-methods__dark-section {
  background-color: var(--deep-green-color);
}

.page-payment-methods__text-block {
  background-color: var(--page-bg-color);
}

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

.page-payment-methods__section-description {
  font-size: 1.05em;
  color: var(--text-secondary-color);
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

.page-payment-methods__payment-methods-grid,
.page-payment-methods__guide-step-grid,
.page-payment-methods__security-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

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

.page-payment-methods__payment-icon,
.page-payment-methods__guide-image,
.page-payment-methods__feature-icon {
  width: 100%; /* Ensure images take full width of card */
  max-width: 400px; /* Limit max width for smaller images */
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

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

.page-payment-methods__card-description {
  font-size: 0.95em;
  color: var(--text-secondary-color);
  flex-grow: 1;
}

.page-payment-methods__sub-section-title {
  font-size: 1.8em;
  font-weight: 600;
  color: var(--gold-color);
  text-align: center;
  margin-top: 60px;
  margin-bottom: 30px;
}

.page-payment-methods__guide-list {
  text-align: left;
  list-style: none;
  padding-left: 0;
  margin-top: 20px;
}

.page-payment-methods__guide-list li {
  color: var(--text-secondary-color);
  margin-bottom: 15px;
  position: relative;
  padding-left: 25px;
}

.page-payment-methods__guide-list li::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  background-color: var(--primary-color);
  color: var(--text-main-color);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8em;
  font-weight: 700;
  position: absolute;
  left: 0;
  top: 3px;
}

.page-payment-methods__bullet-list {
  text-align: left;
  list-style: none;
  padding-left: 0;
  max-width: 900px;
  margin: 0 auto;
}

.page-payment-methods__bullet-list li {
  color: var(--text-secondary-color);
  margin-bottom: 10px;
  position: relative;
  padding-left: 20px;
}

.page-payment-methods__bullet-list li::before {
  content: '•';
  color: var(--primary-color);
  position: absolute;
  left: 0;
  font-size: 1.2em;
  line-height: 1;
}

.page-payment-methods__tips-list {
  text-align: left;
  list-style: none;
  padding-left: 0;
  max-width: 900px;
  margin: 0 auto;
}

.page-payment-methods__tips-list li {
  color: var(--text-secondary-color);
  margin-bottom: 15px;
  position: relative;
  padding-left: 25px;
}

.page-payment-methods__tips-list li::before {
  content: '✓';
  color: var(--glow-color);
  position: absolute;
  left: 0;
  font-size: 1.2em;
  line-height: 1;
}

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

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

.page-payment-methods__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.1em;
  font-weight: 600;
  color: var(--text-main-color);
  list-style: none;
}

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

.page-payment-methods__faq-item[open] summary .page-payment-methods__faq-toggle {
  content: '−';
}

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

.page-payment-methods__faq-item[open] .page-payment-methods__faq-toggle {
  transform: rotate(180deg);
}

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

.page-payment-methods__conclusion-section .page-payment-methods__cta-buttons {
  margin-top: 40px;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-payment-methods__hero-content {
    margin-top: 20px;
    padding: 0 15px;
  }
}

@media (max-width: 768px) {
  .page-payment-methods__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

  .page-payment-methods__hero-content {
    margin-top: 30px;
  }

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

  .page-payment-methods__intro-text {
    font-size: 1em;
  }

  .page-payment-methods__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 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__overview-section,
  .page-payment-methods__deposit-guide-section,
  .page-payment-methods__withdraw-guide-section,
  .page-payment-methods__security-section,
  .page-payment-methods__tips-section,
  .page-payment-methods__faq-section,
  .page-payment-methods__conclusion-section {
    padding: 40px 0;
  }

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

  .page-payment-methods__section-title {
    font-size: 1.8em;
  }

  .page-payment-methods__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-payment-methods__payment-methods-grid,
  .page-payment-methods__guide-step-grid,
  .page-payment-methods__security-features {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-payment-methods__card {
    padding: 25px;
  }

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

  .page-payment-methods__payment-icon,
  .page-payment-methods__guide-image,
  .page-payment-methods__feature-icon {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-payment-methods__sub-section-title {
    font-size: 1.5em;
    margin-top: 40px;
    margin-bottom: 20px;
  }

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

  .page-payment-methods__faq-answer {
    padding: 0 20px 15px 20px;
    font-size: 0.95em;
  }
}

@media (max-width: 480px) {
  .page-payment-methods__main-title {
    font-size: 1.8em;
  }

  .page-payment-methods__section-title {
    font-size: 1.6em;
  }

  .page-payment-methods__intro-text,
  .page-payment-methods__section-description,
  .page-payment-methods__card-description,
  .page-payment-methods__guide-list li,
  .page-payment-methods__bullet-list li,
  .page-payment-methods__tips-list li,
  .page-payment-methods__faq-answer {
    font-size: 0.9em;
  }
}