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

.page-payment-methods {
  color: var(--text-main); /* Default text color for dark body background */
  background-color: var(--bg-dark);
}

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

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

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

.page-payment-methods__hero-content {
  max-width: 900px;
  padding: 0 20px;
  z-index: 1;
}

.page-payment-methods__main-title {
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 15px;
  font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size */
}

.page-payment-methods__hero-description {
  color: var(--text-secondary);
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods__section {
  padding: 60px 0;
  background-color: var(--bg-dark);
}

.page-payment-methods__introduction, .page-payment-methods__guide, .page-payment-methods__faq {
  background-color: var(--bg-dark);
}

.page-payment-methods__dark-bg {
  background-color: var(--bg-dark);
  color: var(--text-main);
}

.page-payment-methods__light-bg {
  background-color: var(--bg-card);
  color: var(--text-main);
}

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

.page-payment-methods__section-title {
  color: var(--text-main);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.3;
}

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

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

.page-payment-methods__btn-primary {
  background: var(--btn-gradient);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

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

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

.page-payment-methods__btn-secondary:hover {
  background-color: rgba(17, 168, 78, 0.1);
  color: var(--text-main);
  border-color: var(--text-main);
  transform: translateY(-2px);
}

.page-payment-methods__cta-button {
  margin-top: 20px;
}

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

.page-payment-methods__method-card,
.page-payment-methods__step-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-payment-methods__method-card:hover,
.page-payment-methods__step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-payment-methods__method-icon {
  width: 200px;
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: none; /* Ensure no CSS filter is applied */
}

.page-payment-methods__method-icon, .page-payment-methods img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

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

.page-payment-methods__step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--btn-gradient);
  color: #ffffff;
  font-size: 1.8rem;
  font-weight: 700;
  border-radius: 50%;
  margin-bottom: 20px;
  box-shadow: 0 3px 10px rgba(34, 199, 104, 0.3);
}

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

.page-payment-methods__notes-list li {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 1rem;
}

.page-payment-methods__notes-list li strong {
  color: var(--text-main);
  font-weight: 600;
}

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

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

.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  color: var(--text-main);
  font-size: 1.15rem;
  font-weight: 600;
  background-color: var(--bg-card);
  position: relative;
  list-style: none;
}

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

.page-payment-methods__faq-question .page-payment-methods__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  color: var(--primary-color);
  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: 0 20px 20px;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
}

.page-payment-methods__faq-answer p {
  margin: 0;
  text-align: left;
}

.page-payment-methods__cta-bottom {
  text-align: center;
  padding: 80px 0;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-payment-methods__hero-image {
    height: 500px;
  }
  .page-payment-methods__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
  .page-payment-methods__hero-description {
    font-size: 1rem;
  }
  .page-payment-methods__section-title {
    font-size: clamp(1.6rem, 3.8vw, 2.5rem);
  }
}

@media (max-width: 768px) {
  .page-payment-methods__hero-section {
    padding: 10px 15px 40px; /* Small top padding, more bottom padding */
  }
  .page-payment-methods__hero-image {
    height: 300px;
  }
  .page-payment-methods__hero-content {
    padding: 0 15px;
  }
  .page-payment-methods__main-title {
    font-size: 2.2rem;
  }
  .page-payment-methods__hero-description {
    font-size: 0.95rem;
  }
  .page-payment-methods__section {
    padding: 40px 0;
  }
  .page-payment-methods__container {
    padding: 0 15px;
  }
  .page-payment-methods__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }
  .page-payment-methods__text-block {
    font-size: 0.9rem;
  }
  .page-payment-methods__methods-grid,
  .page-payment-methods__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }
  .page-payment-methods__method-card,
  .page-payment-methods__step-card {
    padding: 25px;
  }
  .page-payment-methods__notes-list,
  .page-payment-methods__faq-list {
    margin-top: 30px;
  }
  .page-payment-methods__notes-list li,
  .page-payment-methods__faq-question {
    font-size: 1rem;
    padding: 18px;
  }
  .page-payment-methods__faq-answer {
    font-size: 0.9rem;
    padding: 0 18px 18px;
  }
  .page-payment-methods__btn-primary,
  .page-payment-methods__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 20px;
    font-size: 1rem;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-payment-methods__cta-button {
    margin-top: 15px;
  }
  .page-payment-methods__cta-bottom {
    padding: 60px 0;
  }

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

  .page-payment-methods__hero-image-wrapper,
  .page-payment-methods__section,
  .page-payment-methods__container,
  .page-payment-methods__method-card,
  .page-payment-methods__step-card,
  .page-payment-methods__faq-item,
  .page-payment-methods__cta-bottom {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no overflow */
  }

  .page-payment-methods__hero-section {
    padding-top: 10px !important;
  }
}

@media (max-width: 480px) {
  .page-payment-methods__main-title {
    font-size: 1.8rem;
  }
  .page-payment-methods__hero-description {
    font-size: 0.85rem;
  }
  .page-payment-methods__section-title {
    font-size: 1.5rem;
  }
  .page-payment-methods__card-title {
    font-size: 1.2rem;
  }
  .page-payment-methods__card-description {
    font-size: 0.85rem;
  }
}