/* style/payment-methods.css */

/* Base styles for the payment methods page */
.page-payment-methods {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--background);
}

/* Ensure images are responsive by default */
.page-payment-methods img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Section spacing and container */
.page-payment-methods__section {
  padding: 60px 0;
  text-align: center;
}

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

.page-payment-methods__section-title {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 40px;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.page-payment-methods__text-block {
  font-size: 18px;
  margin-bottom: 20px;
  color: var(--text-secondary);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods__highlight {
  color: var(--gold);
  font-weight: bold;
}

.page-payment-methods__inline-link {
  color: var(--glow);
  text-decoration: underline;
}

/* Hero Section */
.page-payment-methods__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: var(--background);
  overflow: hidden;
}

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

.page-payment-methods__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-payment-methods__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  text-align: center;
  color: var(--text-main);
  padding: 0 20px;
  box-sizing: border-box;
}

.page-payment-methods__hero-title {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  color: var(--glow);
  margin-bottom: 20px;
  line-height: 1.1;
  letter-spacing: -1px;
  text-shadow: 0 0 15px rgba(87, 227, 141, 0.6);
}

.page-payment-methods__hero-description {
  font-size: 20px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods__cta-button {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  font-size: 20px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(17, 168, 78, 0.4);
  border: none;
  cursor: pointer;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

.page-payment-methods__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(17, 168, 78, 0.6);
  opacity: 0.9;
}

/* Intro Section */
.page-payment-methods__intro-section {
  background-color: var(--background);
}

/* Deposit/Withdrawal Methods Section */
.page-payment-methods__deposit-methods-section,
.page-payment-methods__guide-section {
  background-color: var(--background-dark);
}

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

.page-payment-methods__card {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border);
  color: var(--text-secondary);
}

.page-payment-methods__card.page-payment-methods__light-bg {
  background-color: #11271B; /* Use a slightly lighter dark for contrast */
  color: var(--text-main);
}

.page-payment-methods__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

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

.page-payment-methods__card-description {
  font-size: 16px;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-payment-methods__list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  width: 100%;
}

.page-payment-methods__list-item {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 8px;
  position: relative;
  padding-left: 25px;
}

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

.page-payment-methods__btn-primary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  margin-top: auto; /* Push button to bottom */
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

.page-payment-methods__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(17, 168, 78, 0.4);
}

.page-payment-methods__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  background: var(--background);
  color: var(--glow);
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid var(--glow);
  cursor: pointer;
  margin-top: auto; /* Push button to bottom */
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

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

/* Step-by-step guide section */
.page-payment-methods__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-payment-methods__step-card {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-payment-methods__step-number {
  font-size: 48px;
  font-weight: 800;
  color: var(--glow);
  margin-bottom: 15px;
  display: block;
  line-height: 1;
}

.page-payment-methods__step-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 15px;
}

.page-payment-methods__step-description {
  font-size: 16px;
  color: var(--text-secondary);
}

/* Important notes section */
.page-payment-methods__important-notes-section {
  background-color: var(--background);
}

.page-payment-methods__info-list {
  list-style: none;
  padding: 0;
  margin: 40px auto 0 auto;
  max-width: 900px;
}

.page-payment-methods__list-item--icon {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
  text-align: left;
}

.page-payment-methods__list-icon {
  min-width: 60px; /* Enforce min size */
  min-height: 60px; /* Enforce min size */
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-right: 20px;
  border-radius: 50%;
  background-color: var(--deep-green);
  padding: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.page-payment-methods__list-content {
  flex-grow: 1;
}

.page-payment-methods__list-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 5px;
}

.page-payment-methods__list-description {
  font-size: 16px;
  color: var(--text-secondary);
}

/* FAQ Section */
.page-payment-methods__faq-section {
  background-color: var(--background-dark);
}

.page-payment-methods__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

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

.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 18px;
  font-weight: bold;
  color: var(--text-main);
  cursor: pointer;
  background-color: #11271B; /* Slightly different background for question */
  user-select: none;
  list-style: none; /* For details/summary */
}

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

.page-payment-methods__faq-qtext {
  flex-grow: 1;
  margin-right: 15px;
}

.page-payment-methods__faq-toggle {
  font-size: 24px;
  line-height: 1;
  color: var(--glow);
  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 25px 20px;
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
  border-top: 1px solid var(--divider);
}

/* Call to Action Bottom Section */
.page-payment-methods__cta-bottom-section {
  background: linear-gradient(90deg, var(--main-color) 0%, var(--auxiliary-color) 100%);
  padding: 80px 20px;
  color: #ffffff;
}

.page-payment-methods__cta-content {
  max-width: 900px;
}

.page-payment-methods__cta-bottom-section .page-payment-methods__section-title {
  color: #ffffff;
  margin-bottom: 25px;
}

.page-payment-methods__cta-bottom-section .page-payment-methods__text-block {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
}

.page-payment-methods__button-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-payment-methods__button-group .page-payment-methods__cta-button {
  min-width: 220px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-payment-methods__hero-image-wrapper {
    margin-bottom: 20px;
  }
  .page-payment-methods__hero-title {
    font-size: clamp(32px, 4vw, 50px);
  }
  .page-payment-methods__hero-description {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .page-payment-methods__section {
    padding: 40px 0;
  }
  .page-payment-methods__container {
    padding: 0 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

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

  /* Card images */
  .page-payment-methods__card-image {
    height: 180px;
  }

  /* Icon images */
  .page-payment-methods__list-icon {
    min-width: 50px !important;
    min-height: 50px !important;
    width: 50px !important;
    height: 50px !important;
    margin-right: 15px;
  }

  .page-payment-methods__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }
  .page-payment-methods__hero-title {
    font-size: clamp(28px, 6vw, 40px);
  }
  .page-payment-methods__hero-description {
    font-size: 16px;
  }

  .page-payment-methods__cta-button,
  .page-payment-methods__btn-primary,
  .page-payment-methods__btn-secondary,
  .page-payment-methods a[class*="button"],
  .page-payment-methods a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 15px;
  }

  .page-payment-methods__button-group {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-payment-methods__step-card {
    padding: 25px;
  }

  .page-payment-methods__list-item--icon {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 25px;
  }
  .page-payment-methods__list-icon {
    margin-right: 0;
    margin-bottom: 15px;
  }

  .page-payment-methods__faq-question {
    padding: 15px 20px;
    font-size: 16px;
  }
  .page-payment-methods__faq-answer {
    padding: 10px 20px 15px;
    font-size: 15px;
  }

  .page-payment-methods__section-title {
    font-size: clamp(24px, 5vw, 36px);
    margin-bottom: 30px;
  }

  .page-payment-methods__text-block {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .page-payment-methods__hero-title {
    font-size: clamp(26px, 7vw, 36px);
  }
  .page-payment-methods__hero-description {
    font-size: 15px;
  }
  .page-payment-methods__cta-button {
    font-size: 18px;
    padding: 12px 25px;
  }
}