/* style/payment-methods.css */

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

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

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

.page-payment-methods__light-bg {
  background-color: #ffffff;
  color: #333333;
}

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

.page-payment-methods__flex-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-payment-methods__section {
  padding: 60px 0;
}

.page-payment-methods__section-title {
  font-size: 2.5em;
  font-weight: bold;
  margin-bottom: 30px;
  text-align: center;
  color: inherit; /* Inherit from section for contrast */
  line-height: 1.2;
}

.page-payment-methods__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: inherit;
}

/* Hero Section */
.page-payment-methods__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 10px 0 60px 0; /* Small top padding, larger bottom for content */
}

.page-payment-methods__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height for aesthetic */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

.page-payment-methods__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 200px; /* Min size */
}

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

.page-payment-methods__main-title {
  font-size: 3em;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--page-payment-methods-text-main);
  line-height: 1.2;
}

.page-payment-methods__description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: var(--page-payment-methods-text-secondary);
}

/* 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: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

.page-payment-methods__btn-primary {
  background: var(--page-payment-methods-button-gradient);
  color: #ffffff;
  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);
  opacity: 0.9;
}

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

.page-payment-methods__btn-secondary:hover {
  background-color: var(--page-payment-methods-primary-color);
  color: #ffffff;
}

/* Why Choose Us Section */
.page-payment-methods__why-choose-us .page-payment-methods__section-title,
.page-payment-methods__why-choose-us .page-payment-methods__text-block {
  color: #333333;
}

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

.page-payment-methods__feature-item {
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  background-color: #ffffff; /* Light background for card */
  color: #333333; /* Dark text for contrast */
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  border: 1px solid #e0e0e0;
}

.page-payment-methods__feature-item:hover {
  transform: translateY(-5px);
}

.page-payment-methods__feature-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--page-payment-methods-primary-color);
}

.page-payment-methods__feature-description {
  font-size: 1em;
  color: #555555;
}

/* Popular Methods Section */
.page-payment-methods__popular-methods .page-payment-methods__section-title,
.page-payment-methods__popular-methods .page-payment-methods__text-block {
  color: var(--page-payment-methods-text-main);
}

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

.page-payment-methods__method-card {
  background-color: var(--page-payment-methods-card-bg); /* Custom dark card background */
  color: var(--page-payment-methods-text-main);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid var(--page-payment-methods-border);
}

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

.page-payment-methods__method-title {
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--page-payment-methods-gold);
}

.page-payment-methods__method-description {
  font-size: 1em;
  margin-bottom: 20px;
  color: var(--page-payment-methods-text-secondary);
  flex-grow: 1;
}

/* How-To Sections */
.page-payment-methods__how-to-deposit .page-payment-methods__section-title,
.page-payment-methods__how-to-deposit .page-payment-methods__text-block {
  color: #333333;
}

.page-payment-methods__how-to-withdraw .page-payment-methods__section-title,
.page-payment-methods__how-to-withdraw .page-payment-methods__text-block {
  color: var(--page-payment-methods-text-main);
}

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

.page-payment-methods__step-item {
  background-color: #ffffff;
  color: #333333;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  border: 1px solid #e0e0e0;
}

.page-payment-methods__dark-bg .page-payment-methods__step-item {
  background-color: var(--page-payment-methods-card-bg);
  color: var(--page-payment-methods-text-main);
  border: 1px solid var(--page-payment-methods-border);
}

.page-payment-methods__dark-bg .page-payment-methods__step-item .page-payment-methods__step-title {
  color: var(--page-payment-methods-gold);
}

.page-payment-methods__dark-bg .page-payment-methods__step-item .page-payment-methods__step-description {
  color: var(--page-payment-methods-text-secondary);
}

.page-payment-methods__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--page-payment-methods-button-gradient);
  color: #ffffff;
  border-radius: 50%;
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-payment-methods__step-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--page-payment-methods-primary-color);
}

.page-payment-methods__step-description {
  font-size: 1em;
  color: #555555;
}

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

/* Security Measures Section */
.page-payment-methods__security-measures .page-payment-methods__section-title,
.page-payment-methods__security-measures .page-payment-methods__text-block {
  color: #333333;
}

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

.page-payment-methods__security-item {
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  background-color: #ffffff;
  color: #333333;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid #e0e0e0;
}

.page-payment-methods__security-icon {
  width: 100px;
  height: auto;
  margin-bottom: 20px;
  min-width: 200px; /* Min size */
  min-height: 200px; /* Min size */
}

.page-payment-methods__security-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--page-payment-methods-primary-color);
}

.page-payment-methods__security-description {
  font-size: 1em;
  color: #555555;
}

/* Promotions Section */
.page-payment-methods__promotions .page-payment-methods__section-title,
.page-payment-methods__promotions .page-payment-methods__text-block {
  color: var(--page-payment-methods-text-main);
}

/* FAQ Section */
.page-payment-methods__faq .page-payment-methods__section-title,
.page-payment-methods__faq .page-payment-methods__text-block {
  color: #333333;
}

.page-payment-methods__faq-list {
  margin-top: 40px;
}

.page-payment-methods__faq-item {
  background-color: #ffffff;
  color: #333333;
  margin-bottom: 15px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid #e0e0e0;
  overflow: hidden;
}

.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #333333;
  cursor: pointer;
  user-select: none;
  background-color: #f9f9f9;
  border-bottom: 1px solid #eee;
}

.page-payment-methods__faq-item[open] .page-payment-methods__faq-question {
  border-bottom: 1px solid #ddd;
}

.page-payment-methods__faq-qtext {
  flex-grow: 1;
  color: var(--page-payment-methods-deep-green);
}

.page-payment-methods__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--page-payment-methods-primary-color);
}

.page-payment-methods__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  color: #555555;
  background-color: #ffffff;
}

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

.page-payment-methods__faq-item summary {
  list-style: none;
}

/* Final CTA Section */
.page-payment-methods__final-cta .page-payment-methods__section-title,
.page-payment-methods__final-cta .page-payment-methods__text-block {
  color: var(--page-payment-methods-text-main);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-payment-methods__main-title {
    font-size: 2.5em;
  }

  .page-payment-methods__section-title {
    font-size: 2em;
  }
}

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

  .page-payment-methods__section {
    padding: 40px 0;
  }

  .page-payment-methods__hero-section {
    padding-top: 10px !important; /* body handles header offset */
    padding-bottom: 40px;
  }

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

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

  .page-payment-methods__main-title {
    font-size: 2em;
    margin-bottom: 15px;
  }

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

  .page-payment-methods__section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }

  .page-payment-methods__text-block {
    font-size: 0.95em;
    padding: 0 15px;
  }

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

  .page-payment-methods__method-image,
  .page-payment-methods__security-icon {
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-payment-methods__container,
  .page-payment-methods__section,
  .page-payment-methods__card,
  .page-payment-methods__method-card,
  .page-payment-methods__feature-item,
  .page-payment-methods__step-item,
  .page-payment-methods__security-item,
  .page-payment-methods__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Buttons responsive */
  .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 20px;
    font-size: 1em;
  }

  .page-payment-methods__cta-wrapper {
    padding: 0 15px;
  }

  .page-payment-methods__cta-buttons,
  .page-payment-methods__button-group,
  .page-payment-methods__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    overflow: hidden !important;
  }

  .page-payment-methods__cta-buttons {
    flex-direction: column;
  }

  .page-payment-methods__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

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

@media (max-width: 480px) {
  .page-payment-methods__main-title {
    font-size: 1.8em;
  }

  .page-payment-methods__section-title {
    font-size: 1.6em;
  }

  .page-payment-methods__features-grid,
  .page-payment-methods__methods-grid,
  .page-payment-methods__steps-list,
  .page-payment-methods__security-grid {
    grid-template-columns: 1fr;
  }

  .page-payment-methods__feature-title,
  .page-payment-methods__method-title,
  .page-payment-methods__step-title,
  .page-payment-methods__security-title {
    font-size: 1.3em;
  }

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