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

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

.page-payment-methods__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 500px; /* Limit height for hero image */
  filter: brightness(0.7); /* Slightly darken image for text readability */
}

.page-payment-methods__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--text-main-color);
  z-index: 10;
  max-width: 90%;
  padding: 20px;
  box-sizing: border-box;
}

.page-payment-methods__main-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: var(--gold-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-payment-methods__description {
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-secondary-color);
}

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

.page-payment-methods__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.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(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 30px;
  color: var(--text-main-color);
  position: relative;
  padding-bottom: 10px;
}

.page-payment-methods__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

.page-payment-methods__text-block {
  font-size: 1.1rem;
  text-align: center;
  margin-bottom: 40px;
  color: var(--text-secondary-color);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods__features-section,
.page-payment-methods__deposit-methods-section,
.page-payment-methods__guide-section,
.page-payment-methods__withdrawal-methods-section,
.page-payment-methods__faq-section,
.page-payment-methods__tips-section,
.page-payment-methods__conclusion-section {
  padding: 60px 0;
  background-color: var(--bg-color);
  color: var(--text-main-color);
}

.page-payment-methods__feature-cards {
  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-color);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-payment-methods__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

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

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

.page-payment-methods__card-text {
  font-size: 1rem;
  color: var(--text-secondary-color);
}

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

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

.page-payment-methods__method-icon {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
  object-fit: contain;
}

.page-payment-methods__method-name {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-main-color);
}

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

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

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

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

.page-payment-methods__step-number {
  width: 60px;
  height: 60px;
  line-height: 60px;
  background-color: var(--primary-color);
  color: #ffffff;
  font-size: 2rem;
  font-weight: bold;
  border-radius: 50%;
  margin: 0 auto 20px auto;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__step-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--gold-color);
}

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

.page-payment-methods__faq-list {
  margin-top: 40px;
  border: 1px solid var(--divider-color);
  border-radius: 12px;
  overflow: hidden;
}

.page-payment-methods__faq-item {
  background-color: var(--card-bg-color);
  border-bottom: 1px solid var(--divider-color);
}

.page-payment-methods__faq-item:last-child {
  border-bottom: none;
}

.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-main-color);
  cursor: pointer;
  transition: background-color 0.3s ease;
  list-style: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

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

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

.page-payment-methods__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-color);
  margin-left: 15px;
}

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

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

.page-payment-methods__tips-section .page-payment-methods__text-block {
  margin-bottom: 30px;
}

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

.page-payment-methods__tip-item {
  background-color: var(--card-bg-color);
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  border-left: 5px solid var(--primary-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  color: var(--text-secondary-color);
  font-size: 1rem;
}

.page-payment-methods__tip-item strong {
  color: var(--text-main-color);
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-payment-methods__hero-image {
    max-height: 400px;
  }

  .page-payment-methods__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }

  .page-payment-methods__description {
    font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  }
}

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

  .page-payment-methods__hero-image {
    max-height: 300px;
  }

  .page-payment-methods__hero-content {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    padding: 20px;
    max-width: 100%;
    background: rgba(8, 22, 15, 0.8); /* Dark overlay for text on smaller screens */
    border-radius: 0;
  }

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

  .page-payment-methods__description {
    font-size: clamp(0.9rem, 3vw, 1rem);
    margin-bottom: 20px;
  }

  .page-payment-methods__section-title {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
    margin-bottom: 25px;
  }

  .page-payment-methods__text-block {
    font-size: 1rem;
    margin-bottom: 30px;
  }

  .page-payment-methods__features-section,
  .page-payment-methods__deposit-methods-section,
  .page-payment-methods__guide-section,
  .page-payment-methods__withdrawal-methods-section,
  .page-payment-methods__faq-section,
  .page-payment-methods__tips-section,
  .page-payment-methods__conclusion-section {
    padding: 40px 0;
  }

  .page-payment-methods__feature-cards,
  .page-payment-methods__method-list,
  .page-payment-methods__steps {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-payment-methods__card,
  .page-payment-methods__method-item,
  .page-payment-methods__step-item {
    padding: 25px;
  }

  .page-payment-methods__card-image,
  .page-payment-methods__method-icon {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-payment-methods__cta-block {
    margin-top: 40px;
  }

  .page-payment-methods__faq-question {
    font-size: 1.05rem;
    padding: 18px 20px;
  }

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

  .page-payment-methods__tip-item {
    font-size: 0.95rem;
    padding: 12px 15px;
  }

  /* Force full width for buttons and their containers */
  .page-payment-methods__btn-primary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

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

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

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

/* Color Variables */
:root {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --bg-color: #08160F;
  --card-bg-color: #11271B;
  --text-main-color: #F2FFF6;
  --text-secondary-color: #A7D9B8;
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green-color: #0A4B2C;
  --primary-color-rgb: 17, 168, 78;
}

/* General text contrast enforcement */
.page-payment-methods p,
.page-payment-methods li,
.page-payment-methods__card-text,
.page-payment-methods__method-description,
.page-payment-methods__step-description,
.page-payment-methods__faq-answer p {
  color: var(--text-secondary-color);
}

.page-payment-methods h1,
.page-payment-methods h2,
.page-payment-methods h3,
.page-payment-methods__card-title,
.page-payment-methods__method-name,
.page-payment-methods__step-title,
.page-payment-methods__faq-question {
  color: var(--text-main-color);
}

.page-payment-methods__main-title,
.page-payment-methods__step-title {
  color: var(--gold-color);
}

.page-payment-methods__section-title::after,
.page-payment-methods__step-number {
  background-color: var(--primary-color);
}

.page-payment-methods__faq-toggle {
  color: var(--primary-color);
}