/* style/payment-methods.css */

/* Base styles for page-payment-methods */
.page-payment-methods {
  background-color: #08160F; /* Custom background color */
  color: #F2FFF6; /* Main text color for dark background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

/* Headings */
.page-payment-methods h1,
.page-payment-methods h2,
.page-payment-methods h3,
.page-payment-methods h4 {
  color: #F2FFF6; /* Main text color for headings */
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-payment-methods__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 20px auto;
}

.page-payment-methods__section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem); /* Responsive font size */
  font-weight: 700;
  text-align: center;
  margin-bottom: 30px;
  color: #F2C14E; /* Gold for section titles */
}

.page-payment-methods__method-title,
.page-payment-methods__step-title,
.page-payment-methods__feature-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 15px;
  margin-bottom: 10px;
  color: #F2FFF6;
}

/* Text elements */
.page-payment-methods p {
  margin-bottom: 1em;
  color: #F2FFF6;
}

.page-payment-methods__description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: #A7D9B8; /* Secondary text color */
}

.page-payment-methods__text-block {
  color: #A7D9B8;
  margin-bottom: 20px;
}

/* Containers and Sections */
.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;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  overflow: hidden;
  min-height: 500px;
  background-color: #08160F;
}

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

.page-payment-methods__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); /* Darken image for text readability */
}

.page-payment-methods__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent background for text */
  border-radius: 10px;
}

.page-payment-methods__intro-section,
.page-payment-methods__deposit-methods-section,
.page-payment-methods__withdraw-methods-section,
.page-payment-methods__security-section,
.page-payment-methods__faq-section,
.page-payment-methods__conclusion-section {
  padding: 80px 0;
  background-color: #08160F;
}

.page-payment-methods__method-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__process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

/* Cards */
.page-payment-methods__card {
  background-color: #11271B; /* Card Background */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  color: #F2FFF6;
  border: 1px solid #2E7A4E; /* Border color */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-payment-methods__method-icon,
.page-payment-methods__feature-icon {
  width: 200px;
  height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
  border: 1px solid #2E7A4E;
}

.page-payment-methods__method-description,
.page-payment-methods__feature-description {
  color: #A7D9B8;
  margin-bottom: 20px;
}

.page-payment-methods__method-features,
.page-payment-methods__step-list {
  list-style: none;
  padding: 0;
  text-align: left;
  width: 100%;
  color: #A7D9B8;
}

.page-payment-methods__method-features li,
.page-payment-methods__step-list li {
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative;
}

.page-payment-methods__method-features li::before,
.page-payment-methods__step-list li::before {
  content: '✓';
  color: #2AD16F;
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Buttons */
.page-payment-methods__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

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

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

.page-payment-methods__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6; /* Text Main */
  border: 2px solid transparent;
}

.page-payment-methods__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(42, 209, 111, 0.4);
}

.page-payment-methods__btn-secondary {
  background: transparent;
  color: #2AD16F; /* Button color */
  border: 2px solid #2AD16F;
}

.page-payment-methods__btn-secondary:hover {
  background: #2AD16F;
  color: #08160F;
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(42, 209, 111, 0.2);
}

/* FAQ Section */
.page-payment-methods__faq-list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-payment-methods__faq-item {
  background-color: #11271B; /* Card Background */
  border: 1px solid #2E7A4E; /* Border color */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  text-align: left;
  padding: 0;
}

.page-payment-methods__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: #F2FFF6;
  background-color: #11271B;
  position: relative;
}

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

.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

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

.page-payment-methods__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #2AD16F;
}

.page-payment-methods__faq-answer {
  padding: 0 30px 20px 30px;
  color: #A7D9B8;
  font-size: 0.95em;
  line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-payment-methods__hero-content {
    padding: 15px;
  }

  .page-payment-methods__section-title {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
  }

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

  .page-payment-methods__intro-section,
  .page-payment-methods__deposit-methods-section,
  .page-payment-methods__withdraw-methods-section,
  .page-payment-methods__security-section,
  .page-payment-methods__faq-section,
  .page-payment-methods__conclusion-section {
    padding: 60px 0;
  }
}

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

  .page-payment-methods__hero-section {
    min-height: 400px;
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-payment-methods__main-title {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    margin-bottom: 15px;
  }

  .page-payment-methods__description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .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: 0.95em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-payment-methods__intro-section,
  .page-payment-methods__deposit-methods-section,
  .page-payment-methods__withdraw-methods-section,
  .page-payment-methods__security-section,
  .page-payment-methods__faq-section,
  .page-payment-methods__conclusion-section {
    padding: 40px 0;
  }

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

  .page-payment-methods__method-icon,
  .page-payment-methods__feature-icon {
    width: 150px;
    height: 150px;
  }

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

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

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

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

@media (max-width: 480px) {
  .page-payment-methods__hero-section {
    padding: 30px 10px;
  }

  .page-payment-methods__main-title {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
  }

  .page-payment-methods__section-title {
    font-size: clamp(1.4rem, 5vw, 2rem);
  }

  .page-payment-methods__intro-section,
  .page-payment-methods__deposit-methods-section,
  .page-payment-methods__withdraw-methods-section,
  .page-payment-methods__security-section,
  .page-payment-methods__faq-section,
  .page-payment-methods__conclusion-section {
    padding: 30px 0;
  }

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

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