/* style/payment-methods.css */

/* Custom properties for colors */
:root {
  --page-payment-methods-primary: #11A84E;
  --page-payment-methods-secondary: #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 {
  background-color: var(--page-payment-methods-background); /* Dark background from custom palette */
  color: var(--page-payment-methods-text-main); /* Light text for dark background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

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

.page-payment-methods__hero-image-wrapper {
  width: 100%;
  position: relative;
  margin-bottom: 40px;
}

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

.page-payment-methods__hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  padding: 0 20px;
}

.page-payment-methods__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--page-payment-methods-gold);
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

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

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

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

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

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

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

.page-payment-methods__btn-secondary:hover {
  background: var(--page-payment-methods-primary);
  color: var(--page-payment-methods-text-main);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(17, 168, 78, 0.4);
}

/* Section common styles */
.page-payment-methods__overview-section,
.page-payment-methods__deposit-methods,
.page-payment-methods__withdrawal-methods,
.page-payment-methods__guide-section,
.page-payment-methods__security-section,
.page-payment-methods__faq-section,
.page-payment-methods__contact-section {
  padding: 80px 0;
}

.page-payment-methods__section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: var(--page-payment-methods-gold);
}

.page-payment-methods__section-subtitle {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: bold;
  text-align: center;
  margin-bottom: 30px;
  color: var(--page-payment-methods-primary);
}

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

/* Light and Dark Backgrounds */
.page-payment-methods__light-bg {
  background-color: var(--page-payment-methods-background);
  color: var(--page-payment-methods-text-main);
}

.page-payment-methods__light-bg .page-payment-methods__section-title {
  color: var(--page-payment-methods-gold);
}

.page-payment-methods__light-bg .page-payment-methods__section-subtitle {
  color: var(--page-payment-methods-primary);
}

.page-payment-methods__light-bg .page-payment-methods__text-block {
  color: var(--page-payment-methods-text-secondary);
}

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

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

.page-payment-methods__dark-bg .page-payment-methods__section-subtitle {
  color: var(--page-payment-methods-primary);
}

.page-payment-methods__dark-bg .page-payment-methods__text-block {
  color: var(--page-payment-methods-text-secondary);
}

/* Deposit/Withdrawal Methods Grid */
.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);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid var(--page-payment-methods-border);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--page-payment-methods-text-main);
}

.page-payment-methods__method-icon {
  width: 100%; /* Ensure image takes full width of card */
  max-width: 400px; /* Max width for images within cards */
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-payment-methods__method-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--page-payment-methods-gold);
}

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

.page-payment-methods__method-details {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
  width: 100%;
}

.page-payment-methods__method-details li {
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: var(--page-payment-methods-text-secondary);
  position: relative;
  padding-left: 20px;
}

.page-payment-methods__method-details li::before {
  content: '✓';
  color: var(--page-payment-methods-glow);
  position: absolute;
  left: 0;
  top: 0;
}

.page-payment-methods__note-block {
  background-color: var(--page-payment-methods-deep-green);
  border: 1px solid var(--page-payment-methods-border);
  border-radius: 8px;
  padding: 30px;
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: var(--page-payment-methods-text-main);
}

.page-payment-methods__note-title {
  font-size: 1.4rem;
  font-weight: bold;
  color: var(--page-payment-methods-gold);
  margin-bottom: 15px;
  text-align: center;
}

.page-payment-methods__note-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-payment-methods__note-list li {
  margin-bottom: 10px;
  font-size: 1rem;
  color: var(--page-payment-methods-text-secondary);
  position: relative;
  padding-left: 25px;
}

.page-payment-methods__note-list li::before {
  content: '⚠️';
  position: absolute;
  left: 0;
  top: 0;
}

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

/* Guide Section */
.page-payment-methods__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.page-payment-methods__guide-block {
  background-color: var(--page-payment-methods-card-bg);
  padding: 30px;
  border-radius: 10px;
  border: 1px solid var(--page-payment-methods-border);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: var(--page-payment-methods-text-main);
}

.page-payment-methods__guide-title {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--page-payment-methods-gold);
  margin-bottom: 25px;
  text-align: center;
}

.page-payment-methods__guide-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-payment-methods__guide-list li {
  margin-bottom: 25px;
}

.page-payment-methods__guide-step-title {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--page-payment-methods-primary);
  margin-bottom: 8px;
}

.page-payment-methods__guide-list p {
  font-size: 1rem;
  color: var(--page-payment-methods-text-secondary);
  margin: 0;
}

/* Security Section */
.page-payment-methods__security-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: center;
}

.page-payment-methods__feature-item {
  background-color: var(--page-payment-methods-card-bg);
  padding: 30px;
  border-radius: 10px;
  border: 1px solid var(--page-payment-methods-border);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: var(--page-payment-methods-text-main);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-payment-methods__feature-icon {
  width: 150px;
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
}

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

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

/* FAQ Section */
.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(--page-payment-methods-card-bg);
  border: 1px solid var(--page-payment-methods-border);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--page-payment-methods-text-main);
}

.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  color: var(--page-payment-methods-primary);
  background-color: var(--page-payment-methods-deep-green);
  user-select: none;
}

.page-payment-methods__faq-item[open] .page-payment-methods__faq-question {
  background-color: var(--page-payment-methods-primary);
  color: var(--page-payment-methods-text-main);
}

.page-payment-methods__faq-qtext {
  flex-grow: 1;
}

.page-payment-methods__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
}

.page-payment-methods__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  color: var(--page-payment-methods-text-secondary);
  border-top: 1px solid var(--page-payment-methods-divider);
}

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

/* Contact Section */
.page-payment-methods__contact-section {
  text-align: center;
  background-color: var(--page-payment-methods-deep-green);
  color: var(--page-payment-methods-text-main);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-payment-methods__hero-image-wrapper {
    margin-bottom: 30px;
  }

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

  .page-payment-methods__description {
    font-size: 1.1rem;
  }

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

  .page-payment-methods__section-title {
    font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  }

  .page-payment-methods__section-subtitle {
    font-size: clamp(1.4rem, 3vw, 2rem);
  }
}

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

  .page-payment-methods__container {
    padding: 0 15px !important;
  }

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

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

  .page-payment-methods__description {
    font-size: 1rem;
  }

  .page-payment-methods__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    padding: 0 15px;
  }

  .page-payment-methods__btn-primary,
  .page-payment-methods__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-payment-methods__overview-section,
  .page-payment-methods__deposit-methods,
  .page-payment-methods__withdrawal-methods,
  .page-payment-methods__guide-section,
  .page-payment-methods__security-section,
  .page-payment-methods__faq-section,
  .page-payment-methods__contact-section {
    padding: 50px 0;
  }

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

  .page-payment-methods__section-subtitle {
    font-size: clamp(1.3rem, 4.5vw, 1.8rem);
    margin-bottom: 25px;
  }

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

  .page-payment-methods__methods-grid,
  .page-payment-methods__guide-steps,
  .page-payment-methods__security-features {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-payment-methods__method-card,
  .page-payment-methods__guide-block,
  .page-payment-methods__feature-item,
  .page-payment-methods__faq-item {
    padding: 25px;
  }

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

  .page-payment-methods__note-block {
    padding: 20px;
  }

  .page-payment-methods__note-title {
    font-size: 1.2rem;
  }

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

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

  /* Ensure all containers with images/videos/buttons are responsive */
  .page-payment-methods__section,
  .page-payment-methods__card,
  .page-payment-methods__container,
  .page-payment-methods__hero-section,
  .page-payment-methods__overview-section,
  .page-payment-methods__deposit-methods,
  .page-payment-methods__withdrawal-methods,
  .page-payment-methods__guide-section,
  .page-payment-methods__security-section,
  .page-payment-methods__faq-section,
  .page-payment-methods__contact-section,
  .page-payment-methods__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
}