/* style/payment-methods.css */

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

/* Base styles for the page, ensuring dark theme and light text */
.page-payment-methods {
  font-family: Arial, sans-serif;
  color: var(--text-main); /* #F2FFF6 */
  background-color: var(--bg-color); /* #08160F */
  line-height: 1.6;
  padding-top: 0; /* Handled by body padding-top in shared.css */
}

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

.page-payment-methods__section-title {
  font-size: 2.5em;
  color: var(--gold); /* #F2C14E */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-payment-methods__subtitle {
  font-size: 1.8em;
  color: var(--text-main); /* #F2FFF6 */
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-payment-methods__text-block {
  font-size: 1.1em;
  color: var(--text-secondary); /* #A7D9B8 */
  margin-bottom: 20px;
  text-align: justify;
}

/* Hero Section */
.page-payment-methods__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  overflow: hidden;
  text-align: center;
  padding: 10px 0 60px; /* Small top padding, more bottom padding */
  background-color: var(--card-bg); /* Darker green for hero background */
}

.page-payment-methods__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit image height */
  overflow: hidden;
  margin-bottom: 30px; /* Space between image and content */
}

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

.page-payment-methods__hero-content {
  position: relative; /* Ensure content is above any background elements */
  z-index: 1;
  max-width: 900px;
  padding: 0 20px;
}

.page-payment-methods__main-title {
  font-size: 3em;
  color: var(--gold); /* #F2C14E */
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-payment-methods__hero-description {
  font-size: 1.3em;
  color: var(--text-main); /* #F2FFF6 */
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.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;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

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

.page-payment-methods__btn-secondary {
  background: transparent;
  color: var(--text-main); /* #F2FFF6 */
  border: 2px solid var(--border); /* #2E7A4E */
}

.page-payment-methods__btn-secondary:hover {
  background: var(--border); /* #2E7A4E */
  color: #ffffff;
}

.page-payment-methods__cta-buttons--center {
  justify-content: center;
}

/* Overview Section */
.page-payment-methods__overview-section {
  padding: 60px 0;
  background-color: var(--bg-color); /* #08160F */
}

/* Deposit Methods Section */
.page-payment-methods__deposit-methods-section {
  padding: 60px 0;
  background-color: var(--card-bg); /* #11271B */
}

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

.page-payment-methods__card {
  background-color: var(--deep-green); /* #0A4B2C */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border); /* #2E7A4E */
}

.page-payment-methods__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.page-payment-methods__card-title {
  font-size: 1.5em;
  color: var(--gold); /* #F2C14E */
  margin-bottom: 20px;
  font-weight: bold;
}

.page-payment-methods__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-payment-methods__card-text {
  color: var(--text-secondary); /* #A7D9B8 */
  font-size: 0.95em;
  margin-bottom: 20px;
  text-align: left;
}

.page-payment-methods__list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.page-payment-methods__list li {
  color: var(--text-main); /* #F2FFF6 */
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  font-size: 0.95em;
}

.page-payment-methods__list-icon {
  margin-right: 10px;
  color: var(--glow); /* #57E38D */
  font-weight: bold;
  font-size: 1.1em;
  line-height: 1;
}

.page-payment-methods__list--bullet li::before {
  content: '•';
  color: var(--glow); /* #57E38D */
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

.page-payment-methods__list--warning .page-payment-methods__list-icon {
  color: var(--gold); /* #F2C14E for warnings */
}

/* Withdrawal Methods Section */
.page-payment-methods__withdrawal-methods-section {
  padding: 60px 0;
  background-color: var(--bg-color); /* #08160F */
}

.page-payment-methods__method-single {
  max-width: 600px;
  margin: 40px auto;
}

/* Guide Section */
.page-payment-methods__guide-section {
  padding: 60px 0;
  background-color: var(--card-bg); /* #11271B */
}

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

.page-payment-methods__step-item {
  background-color: var(--deep-green); /* #0A4B2C */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  border: 1px solid var(--border); /* #2E7A4E */
}

.page-payment-methods__step-number {
  font-size: 2.5em;
  font-weight: bold;
  color: var(--glow); /* #57E38D */
  margin-bottom: 15px;
}

.page-payment-methods__step-title {
  font-size: 1.4em;
  color: var(--gold); /* #F2C14E */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-payment-methods__step-description {
  color: var(--text-secondary); /* #A7D9B8 */
  font-size: 0.95em;
}

/* Security Section */
.page-payment-methods__security-section {
  padding: 60px 0;
  background-color: var(--bg-color); /* #08160F */
  text-align: center;
}

.page-payment-methods__security-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  margin: 30px auto 40px;
  display: block;
}

.page-payment-methods__list--shield .page-payment-methods__list-icon {
  color: var(--glow); /* #57E38D */
}

/* FAQ Section */
.page-payment-methods__faq-section {
  padding: 60px 0;
  background-color: var(--card-bg); /* #11271B */
}

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

.page-payment-methods__faq-item {
  background-color: var(--deep-green); /* #0A4B2C */
  border: 1px solid var(--border); /* #2E7A4E */
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: background-color 0.3s ease;
}

.page-payment-methods__faq-item[open] {
  background-color: var(--divider); /* Slightly different shade when open */
}

.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--text-main); /* #F2FFF6 */
  transition: color 0.3s ease;
}

.page-payment-methods__faq-question:hover {
  color: var(--gold); /* #F2C14E */
}

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

.page-payment-methods__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  margin-left: 15px;
  color: var(--glow); /* #57E38D */
}

.page-payment-methods__faq-item[open] .page-payment-methods__faq-toggle {
  content: '−'; /* Change to minus when open */
}

.page-payment-methods__faq-answer {
  padding: 0 25px 20px;
  color: var(--text-secondary); /* #A7D9B8 */
  font-size: 1em;
  text-align: justify;
}

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

/* Conclusion Section */
.page-payment-methods__conclusion-section {
  padding: 60px 0;
  background-color: var(--bg-color); /* #08160F */
  text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-payment-methods__main-title {
    font-size: 2.5em;
  }
  .page-payment-methods__hero-description {
    font-size: 1.1em;
  }
  .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__hero-section {
    min-height: 450px;
    padding: 10px 0 40px;
  }

  .page-payment-methods__main-title {
    font-size: 1.8em; /* Adjusted for mobile, avoiding fixed large sizes */
    max-width: 100%;
    word-wrap: break-word;
    text-align: center;
  }

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

  .page-payment-methods__cta-buttons {
    flex-direction: column;
    gap: 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__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;
  }

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

  .page-payment-methods__card,
  .page-payment-methods__step-item {
    padding: 20px;
  }

  .page-payment-methods__card-image {
    height: 180px;
  }

  /* Mobile image responsiveness */
  .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 {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Specific mobile padding for video/hero if needed, but body handles global offset */
  .page-payment-methods__hero-section {
    padding-top: 10px !important; /* Small top padding for first section */
  }

  /* Video responsiveness (if any, though none in this content) */
  .page-payment-methods video,
  .page-payment-methods__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-payment-methods__video-section,
  .page-payment-methods__video-container,
  .page-payment-methods__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-payment-methods__video-section {
    padding-top: 10px !important;
  }
}

/* Ensure contrast for all text elements */
.page-payment-methods h1,
.page-payment-methods h2,
.page-payment-methods h3,
.page-payment-methods h4,
.page-payment-methods h5,
.page-payment-methods h6 {
  color: var(--gold); /* Use gold for titles for better visibility on dark */
}

.page-payment-methods p,
.page-payment-methods li,
.page-payment-methods span {
  color: var(--text-secondary); /* Use secondary text color for paragraphs and lists */
}

/* Override specific elements for main text color */
.page-payment-methods__hero-description,
.page-payment-methods__list li {
  color: var(--text-main); /* Ensure strong contrast for important text */
}

/* For elements on dark backgrounds, ensure light text */
.page-payment-methods__card-text,
.page-payment-methods__step-description,
.page-payment-methods__faq-answer {
  color: var(--text-secondary);
}

.page-payment-methods__faq-question {
  color: var(--text-main);
}