/* style/payment-methods.css */

/* Root variables for consistent spacing and colors */
:root {
  --page-payment-methods-primary-color: #11A84E;
  --page-payment-methods-secondary-color: #22C768;
  --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-color: #2E7A4E;
  --page-payment-methods-glow-color: #57E38D;
  --page-payment-methods-gold-color: #F2C14E;
  --page-payment-methods-divider-color: #1E3A2A;
  --page-payment-methods-deep-green: #0A4B2C;
  --page-payment-methods-light-text: #ffffff;
  --page-payment-methods-dark-text: #333333;
  --page-payment-methods-light-bg: #f8f9fa;
  --page-payment-methods-dark-bg-color: #0d0d0d; /* Assuming body bg is dark from shared.css */
}

/* Base styles for the page content, assuming a dark body background from shared.css */
.page-payment-methods {
  color: var(--page-payment-methods-text-main); /* Light text on dark background */
  background-color: var(--page-payment-methods-background);
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

/* Sections with specific background colors */
.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: var(--page-payment-methods-light-bg);
  color: var(--page-payment-methods-dark-text);
}

.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;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 0 60px 0; /* Small top padding, large bottom padding */
  overflow: hidden;
  min-height: 500px;
}

.page-payment-methods__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.page-payment-methods__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); /* Darken image for text readability */
}

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

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

.page-payment-methods__hero-description {
  font-size: 1.15rem;
  color: var(--page-payment-methods-text-main);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Buttons */
.page-payment-methods__btn-primary,
.page-payment-methods__btn-secondary,
.page-payment-methods__btn-small {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
}

.page-payment-methods__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: var(--page-payment-methods-light-text);
  border: 2px solid transparent;
}

.page-payment-methods__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 0 15px var(--page-payment-methods-glow-color);
}

.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: var(--page-payment-methods-light-text);
  box-shadow: 0 0 15px var(--page-payment-methods-primary-color);
}

.page-payment-methods__btn-small {
  padding: 10px 20px;
  font-size: 0.95rem;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: var(--page-payment-methods-light-text);
  border: none;
  width: 100%;
  margin-top: auto; /* Push button to bottom of card */
}

.page-payment-methods__btn-small:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 0 10px var(--page-payment-methods-glow-color);
}

/* Section Titles */
.page-payment-methods__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  padding-top: 40px;
  color: var(--page-payment-methods-gold-color); /* Gold for titles */
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.page-payment-methods__light-bg .page-payment-methods__section-title {
  color: var(--page-payment-methods-deep-green);
  text-shadow: none;
}

.page-payment-methods__text-block {
  font-size: 1.05rem;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  color: var(--page-payment-methods-text-secondary); /* Secondary text color */
}

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

/* Feature Grid */
.page-payment-methods__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 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: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  color: var(--page-payment-methods-text-main);
  transition: transform 0.3s ease;
  border: 1px solid var(--page-payment-methods-border-color);
}

.page-payment-methods__light-bg .page-payment-methods__feature-item {
  background-color: #ffffff;
  color: var(--page-payment-methods-dark-text);
  border-color: #e0e0e0;
}

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

.page-payment-methods__feature-icon {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
}

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

/* Method Grid (Deposit/Withdrawal) */
.page-payment-methods__method-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-payment-methods__method-card {
  background-color: var(--page-payment-methods-card-bg);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  color: var(--page-payment-methods-text-main);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--page-payment-methods-border-color);
}

.page-payment-methods__light-bg .page-payment-methods__method-card {
  background-color: #ffffff;
  color: var(--page-payment-methods-dark-text);
  border-color: #e0e0e0;
}

.page-payment-methods__method-title {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--page-payment-methods-gold-color);
  text-align: center;
}

.page-payment-methods__light-bg .page-payment-methods__method-title {
  color: var(--page-payment-methods-deep-green);
}

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

.page-payment-methods__method-details {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
  flex-grow: 1; /* Allow details to take available space */
}

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

.page-payment-methods__light-bg .page-payment-methods__method-details li {
  color: var(--page-payment-methods-dark-text);
}

.page-payment-methods__detail-label {
  font-weight: 600;
  color: var(--page-payment-methods-primary-color);
}

.page-payment-methods__note {
  font-style: italic;
  margin-top: 30px;
  font-size: 0.95rem;
  text-align: center;
  color: var(--page-payment-methods-text-secondary);
}

.page-payment-methods__light-bg .page-payment-methods__note {
  color: var(--page-payment-methods-dark-text);
}

/* Security Section */
.page-payment-methods__security-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods__security-list li {
  background-color: var(--page-payment-methods-card-bg);
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 10px;
  font-size: 1.05rem;
  color: var(--page-payment-methods-text-main);
  border-left: 5px solid var(--page-payment-methods-primary-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-payment-methods__security-list li:last-child {
  margin-bottom: 0;
}

.page-payment-methods__list-item-title {
  font-weight: 700;
  color: var(--page-payment-methods-gold-color);
  margin-right: 10px;
}

.page-payment-methods__security-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 40px auto 0 auto;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* Tips Section */
.page-payment-methods__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods__tips-list li {
  background-color: #ffffff;
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 10px;
  font-size: 1.05rem;
  color: var(--page-payment-methods-dark-text);
  border-left: 5px solid var(--page-payment-methods-secondary-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-payment-methods__tips-list li:last-child {
  margin-bottom: 0;
}

.page-payment-methods__light-bg .page-payment-methods__list-item-title {
  color: var(--page-payment-methods-deep-green);
}

/* 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);
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--page-payment-methods-border-color);
}

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

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

.page-payment-methods__faq-item summary:hover {
  background-color: var(--page-payment-methods-deep-green);
}

.page-payment-methods__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
  color: var(--page-payment-methods-gold-color);
}

.page-payment-methods__faq-item[open] .page-payment-methods__faq-toggle {
  transform: rotate(45deg);
}

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

/* Bottom CTA Section */
.page-payment-methods__cta-bottom-section {
  padding: 60px 20px;
  text-align: center;
}

/* General Section Padding */
.page-payment-methods__overview-section,
.page-payment-methods__deposit-section,
.page-payment-methods__withdrawal-section,
.page-payment-methods__security-section,
.page-payment-methods__tips-section,
.page-payment-methods__faq-section {
  padding: 60px 0;
}

/* Image & Video Responsive */
.page-payment-methods img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-payment-methods__hero-section {
    padding: 10px 0 40px 0;
    min-height: 400px;
  }

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

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

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

  .page-payment-methods__btn-primary,
  .page-payment-methods__btn-secondary,
  .page-payment-methods__btn-small {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 0.95rem;
  }

  .page-payment-methods__section-title {
    font-size: clamp(1.8rem, 7vw, 2.2rem);
    margin-bottom: 30px;
    padding-top: 30px;
  }

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

  .page-payment-methods__feature-grid,
  .page-payment-methods__method-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
  }

  .page-payment-methods__feature-item,
  .page-payment-methods__method-card,
  .page-payment-methods__security-list li,
  .page-payment-methods__tips-list li,
  .page-payment-methods__faq-item {
    padding: 20px;
  }

  .page-payment-methods__method-title {
    font-size: 1.4rem;
  }

  .page-payment-methods__method-details li {
    font-size: 0.9rem;
  }

  .page-payment-methods__list-item-title {
    font-size: 1rem;
  }

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

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

  .page-payment-methods__overview-section,
  .page-payment-methods__deposit-section,
  .page-payment-methods__withdrawal-section,
  .page-payment-methods__security-section,
  .page-payment-methods__tips-section,
  .page-payment-methods__faq-section,
  .page-payment-methods__cta-bottom-section {
    padding: 40px 0;
  }

  /* Ensure all images and their containers are responsive and do not overflow */
  .page-payment-methods img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-payment-methods__section,
  .page-payment-methods__card,
  .page-payment-methods__container,
  .page-payment-methods__hero-image-wrapper,
  .page-payment-methods__hero-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

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

  .page-payment-methods__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
  }
}