/* style/payment-methods.css */

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

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

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

.page-payment-methods__light-bg {
  background-color: #0d1e16; /* A slightly lighter dark green to provide contrast from main background */
  color: var(--text-main);
}

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

.page-payment-methods__section-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive H2 font size */
  font-weight: 700;
  text-align: center;
  margin-bottom: 30px;
  color: var(--glow-color);
  line-height: 1.2;
}

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

/* Hero Section */
.page-payment-methods__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding as body handles header offset */
  padding-bottom: 60px;
  overflow: hidden;
  min-height: 500px;
}

.page-payment-methods__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
}

.page-payment-methods__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly dim the image for text readability */
}

.page-payment-methods__hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
}

.page-payment-methods__main-title {
  font-size: clamp(2.5rem, 5vw, 3.8rem); /* H1 font size with clamp */
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-payment-methods__hero-description {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 30px;
  line-height: 1.6;
}

/* Buttons */
.page-payment-methods__btn-primary,
.page-payment-methods__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  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(--button-gradient);
  color: #ffffff; /* White text for contrast */
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 0 15px var(--glow-color);
}

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

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

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

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

/* Introduction Section */
.page-payment-methods__introduction-section {
  padding: 80px 0;
}

.page-payment-methods__introduction-section p {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: var(--text-secondary);
  text-align: justify;
}

.page-payment-methods__introduction-section p a {
  color: var(--glow-color);
  text-decoration: underline;
}

.page-payment-methods__text-block {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
  margin-bottom: 50px;
}

.page-payment-methods__text-block p {
  flex: 1 1 55%;
  min-width: 300px;
}

.page-payment-methods__image-content {
  flex: 1 1 35%;
  min-width: 300px;
  max-width: 400px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

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

.page-payment-methods__feature-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--glow-color);
  margin-bottom: 15px;
}

.page-payment-methods__feature-item p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Methods Section */
.page-payment-methods__methods-section {
  padding: 80px 0;
}

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

.page-payment-methods__method-card {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.page-payment-methods__method-icon {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

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

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

.page-payment-methods__method-description a {
  color: var(--gold-color);
  text-decoration: underline;
}

/* Guide Steps Sections */
.page-payment-methods__deposit-guide,
.page-payment-methods__withdraw-guide {
  padding: 80px 0;
}

.page-payment-methods__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-payment-methods__step-item {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  position: relative;
  padding-top: 60px; /* Space for step number */
}

.page-payment-methods__step-number {
  position: absolute;
  top: 15px;
  left: 30px;
  background-color: var(--primary-color);
  color: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

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

.page-payment-methods__step-item p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.page-payment-methods__step-item p a {
  color: var(--gold-color);
  text-decoration: underline;
}

/* Important Notes Section */
.page-payment-methods__important-notes {
  padding: 80px 0;
}

.page-payment-methods__notes-list {
  list-style: none;
  padding: 0;
  margin-bottom: 40px;
}

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

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

.page-payment-methods__notes-list li a {
  color: var(--gold-color);
  text-decoration: underline;
}

/* FAQ Section */
.page-payment-methods__faq-section {
  padding: 80px 0;
}

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

.page-payment-methods__faq-item {
  background-color: var(--card-bg);
  margin-bottom: 15px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

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

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

.page-payment-methods__faq-toggle {
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--glow-color);
  margin-left: 15px;
}

.page-payment-methods__faq-item[open] .page-payment-methods__faq-question {
  background-color: var(--deep-green);
  border-bottom: 1px solid var(--divider-color);
}

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

.page-payment-methods__faq-answer a {
  color: var(--gold-color);
  text-decoration: underline;
}

/* Conclusion CTA Section */
.page-payment-methods__conclusion-cta {
  padding: 80px 0;
  text-align: center;
}

.page-payment-methods__conclusion-cta p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods__conclusion-cta p a {
  color: var(--glow-color);
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-payment-methods__hero-image-wrapper {
    max-height: 500px;
  }
  .page-payment-methods__hero-description {
    font-size: 1.1rem;
  }
  .page-payment-methods__btn-primary,
  .page-payment-methods__btn-secondary {
    font-size: 1rem;
    padding: 12px 25px;
  }
}

@media (max-width: 768px) {
  .page-payment-methods__container {
    padding: 30px 15px;
  }
  .page-payment-methods__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }
  .page-payment-methods__main-title {
    font-size: 2.2rem;
  }
  .page-payment-methods__hero-description {
    font-size: 1rem;
  }
  .page-payment-methods__btn-secondary {
    margin-left: 0;
    margin-top: 15px;
  }
  .page-payment-methods__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
  .page-payment-methods__btn-primary,
  .page-payment-methods__btn-secondary {
    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__text-block {
    flex-direction: column;
  }
  .page-payment-methods__image-content {
    width: 100%;
    max-width: 100%;
  }
  .page-payment-methods__method-icon {
    height: 150px;
  }
  .page-payment-methods__section-title {
    font-size: 1.8rem;
  }
  .page-payment-methods__section-description {
    font-size: 0.95rem;
  }
  .page-payment-methods img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-payment-methods__section,
  .page-payment-methods__card,
  .page-payment-methods__container,
  .page-payment-methods__hero-section,
  .page-payment-methods__introduction-section,
  .page-payment-methods__methods-section,
  .page-payment-methods__deposit-guide,
  .page-payment-methods__withdraw-guide,
  .page-payment-methods__important-notes,
  .page-payment-methods__faq-section,
  .page-payment-methods__conclusion-cta,
  .page-payment-methods__hero-image-wrapper,
  .page-payment-methods__text-block,
  .page-payment-methods__features-list,
  .page-payment-methods__method-grid,
  .page-payment-methods__guide-steps,
  .page-payment-methods__notes-list,
  .page-payment-methods__faq-list,
  .page-payment-methods__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }
  .page-payment-methods__video-section {
    padding-top: 10px !important;
  }
  .page-payment-methods__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }
  .page-payment-methods__faq-answer {
    padding: 0 20px 15px 20px;
  }
  .page-payment-methods__step-item {
    padding-top: 45px;
  }
  .page-payment-methods__step-number {
    width: 35px;
    height: 35px;
    font-size: 1.3rem;
    left: 20px;
    top: 10px;
  }
}

@media (max-width: 480px) {
  .page-payment-methods__main-title {
    font-size: 1.8rem;
  }
  .page-payment-methods__hero-description {
    font-size: 0.9rem;
  }
  .page-payment-methods__section-title {
    font-size: 1.5rem;
  }
  .page-payment-methods__btn-primary,
  .page-payment-methods__btn-secondary {
    font-size: 0.9rem;
    padding: 10px 20px;
  }
  .page-payment-methods__feature-title {
    font-size: 1.3rem;
  }
  .page-payment-methods__method-title {
    font-size: 1.2rem;
  }
  .page-payment-methods__method-icon {
    height: 120px;
  }
}