/* style/payment-methods.css */
:root {
  --primary-color: #0056B3;
  --secondary-color: #FFD700;
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
  --background-dark: #0a0a0a;
  --background-light: #f8f9fa;
  --card-bg-light: #ffffff;
  --border-color: #e0e0e0;
}

/* Base styles for the payment methods page */
.page-payment-methods {
  font-family: 'Arial', sans-serif;
  color: var(--text-color-light); /* Body background is dark, so text is light */
  line-height: 1.6;
  padding-top: 120px; /* Adjust for fixed header */
}

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

.page-payment-methods__section-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-color-light);
  text-align: center;
  margin-bottom: 40px;
  padding-top: 60px;
}

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

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

.page-payment-methods__light-bg {
  background-color: var(--card-bg-light);
  color: var(--text-color-dark);
}

/* Hero Section */
.page-payment-methods__hero-section {
  padding: 100px 0;
  text-align: center;
  background-color: var(--primary-color);
  background-image: linear-gradient(135deg, var(--primary-color) 0%, #003366 100%);
  position: relative;
  overflow: hidden;
  color: var(--text-color-light);
  padding-top: calc(120px + 60px); /* Ensure space for fixed header + hero specific padding */
}

.page-payment-methods__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.page-payment-methods__hero-section > .page-payment-methods__container {
  position: relative;
  z-index: 2;
}

.page-payment-methods__main-title {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--secondary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-payment-methods__hero-description {
  font-size: 20px;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: var(--text-color-light);
}

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

.page-payment-methods__cta-button {
  display: inline-block;
  padding: 15px 40px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

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

.page-payment-methods__btn-primary:hover {
  background: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

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

.page-payment-methods__btn-secondary:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__cta-button--large {
  padding: 18px 50px;
  font-size: 20px;
}

/* Introduction Section */
.page-payment-methods__introduction-section {
  background-color: var(--background-dark);
  padding: 80px 0;
}

.page-payment-methods__introduction-section .page-payment-methods__section-title {
  color: var(--text-color-light);
}

.page-payment-methods__content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-payment-methods__content-wrapper--reversed {
  flex-direction: row-reverse;
}

.page-payment-methods__text-block {
  flex: 1;
  color: var(--text-color-light);
}

.page-payment-methods__text-block p {
  margin-bottom: 15px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-color-light);
}

.page-payment-methods__image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-payment-methods__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Deposit Methods Section */
.page-payment-methods__deposit-methods {
  padding: 80px 0;
  background-color: var(--background-dark);
}

.page-payment-methods__deposit-methods .page-payment-methods__section-title,
.page-payment-methods__deposit-methods .page-payment-methods__section-description {
  color: var(--text-color-light);
}

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

.page-payment-methods__card {
  background-color: var(--card-bg-light);
  color: var(--text-color-dark);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-payment-methods__card-icon {
  width: 120px; /* Increased size for content image, not small icon */
  height: 120px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-payment-methods__card-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-payment-methods__card p {
  font-size: 16px;
  margin-bottom: 25px;
  flex-grow: 1;
  color: var(--text-color-dark);
}

.page-payment-methods__card-button {
  width: 100%;
  padding: 12px 20px;
  font-size: 16px;
  border-radius: 6px;
  text-decoration: none;
  white-space: normal;
  word-wrap: break-word;
}

/* Deposit Guide Section */
.page-payment-methods__deposit-guide {
  background-color: var(--background-dark);
  padding: 80px 0;
}

.page-payment-methods__deposit-guide .page-payment-methods__section-title {
  color: var(--text-color-light);
}

.page-payment-methods__step-list {
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--text-color-light);
}

.page-payment-methods__step-list li {
  background-color: rgba(255, 255, 255, 0.08);
  margin-bottom: 15px;
  padding: 20px 25px;
  border-left: 5px solid var(--secondary-color);
  border-radius: 5px;
  font-size: 17px;
  line-height: 1.6;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__step-list li strong {
  color: var(--secondary-color);
  font-size: 18px;
}

/* Withdrawal Methods Section */
.page-payment-methods__withdrawal-methods {
  padding: 80px 0;
  background-color: var(--background-dark);
}

.page-payment-methods__withdrawal-methods .page-payment-methods__section-title,
.page-payment-methods__withdrawal-methods .page-payment-methods__section-description {
  color: var(--text-color-light);
}

.page-payment-methods__withdrawal-methods .page-payment-methods__card {
  background-color: var(--card-bg-light);
  color: var(--text-color-dark);
}

.page-payment-methods__list {
  list-style: disc;
  padding-left: 20px;
  text-align: left;
  font-size: 16px;
  color: var(--text-color-dark);
}

.page-payment-methods__list li {
  margin-bottom: 10px;
}

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

/* Security Section */
.page-payment-methods__security-section {
  background-color: var(--background-dark);
  padding: 80px 0;
}

.page-payment-methods__security-section .page-payment-methods__section-title {
  color: var(--text-color-light);
}

/* FAQ Section */
.page-payment-methods__faq-section {
  background-color: var(--background-dark);
  padding: 80px 0;
}

.page-payment-methods__faq-section .page-payment-methods__section-title {
  color: var(--text-color-light);
}

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

.page-payment-methods__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: var(--primary-color);
  color: var(--text-color-light);
  border: 1px solid #004080;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-payment-methods__faq-question:hover {
  background: #004080;
  border-color: #003366;
}

.page-payment-methods__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none; /* Prevent h3 from blocking click event */
  color: var(--text-color-light);
}

.page-payment-methods__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--secondary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 20px;
  pointer-events: none; /* Prevent icon from blocking click event */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.page-payment-methods__faq-item.active .page-payment-methods__faq-question {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  background: #004080;
}

.page-payment-methods__faq-item.active .page-payment-methods__faq-toggle {
  color: var(--secondary-color);
  transform: rotate(45deg); /* Change to X or rotate */
}

.page-payment-methods__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  background: var(--card-bg-light);
  color: var(--text-color-dark);
  border: 1px solid var(--border-color);
  border-top: none;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.page-payment-methods__faq-item.active .page-payment-methods__faq-answer {
  max-height: 2000px !important; /* Sufficiently large to contain any content */
  padding: 20px 25px !important;
  opacity: 1;
}

.page-payment-methods__faq-answer p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-color-dark);
}

/* Conclusion Section */
.page-payment-methods__conclusion-section {
  background-color: var(--primary-color);
  background-image: linear-gradient(135deg, var(--primary-color) 0%, #003366 100%);
  padding: 80px 0;
  text-align: center;
  color: var(--text-color-light);
}

.page-payment-methods__conclusion-section .page-payment-methods__section-title {
  color: var(--secondary-color);
}

.page-payment-methods__conclusion-section .page-payment-methods__section-description {
  font-size: 18px;
  margin-bottom: 30px;
  color: var(--text-color-light);
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-payment-methods__main-title {
    font-size: 40px;
  }
  .page-payment-methods__section-title {
    font-size: 30px;
  }
  .page-payment-methods__hero-description,
  .page-payment-methods__section-description,
  .page-payment-methods__text-block p,
  .page-payment-methods__step-list li,
  .page-payment-methods__list li,
  .page-payment-methods__faq-answer p {
    font-size: 16px;
  }
  .page-payment-methods__cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }
  .page-payment-methods__cta-button--large {
    padding: 15px 40px;
    font-size: 18px;
  }
  .page-payment-methods__grid-layout {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .page-payment-methods__card-icon {
    width: 100px;
    height: 100px;
  }
  .page-payment-methods__card-title {
    font-size: 22px;
  }
  .page-payment-methods__faq-question h3 {
    font-size: 17px;
  }
  .page-payment-methods__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 768px) {
  .page-payment-methods {
    padding-top: 100px !important; /* Mobile fixed header adjustment */
    font-size: 16px;
    line-height: 1.6;
  }
  .page-payment-methods__hero-section {
    padding: 60px 0;
    padding-top: calc(100px + 40px);
  }
  .page-payment-methods__main-title {
    font-size: 32px;
  }
  .page-payment-methods__section-title {
    font-size: 26px;
    padding-top: 40px;
    margin-bottom: 30px;
  }
  .page-payment-methods__section-description {
    font-size: 15px;
    margin-bottom: 30px;
  }
  .page-payment-methods__container {
    padding: 0 15px;
  }
  .page-payment-methods__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-payment-methods__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 20px !important;
    font-size: 16px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-payment-methods__content-wrapper,
  .page-payment-methods__content-wrapper--reversed {
    flex-direction: column;
    gap: 30px;
  }
  .page-payment-methods__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }
  .page-payment-methods__image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-payment-methods__text-block {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-payment-methods__grid-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-payment-methods__card {
    padding: 25px;
  }
  .page-payment-methods__card-icon {
    width: 80px;
    height: 80px;
  }
  .page-payment-methods__card-title {
    font-size: 20px;
  }
  .page-payment-methods__card p {
    font-size: 15px;
  }
  .page-payment-methods__step-list li {
    font-size: 15px;
    padding: 15px 20px;
  }
  .page-payment-methods__step-list li strong {
    font-size: 16px;
  }
  .page-payment-methods__cta-center .page-payment-methods__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 20px !important;
  }
  .page-payment-methods__faq-list {
    margin-top: 30px;
  }
  .page-payment-methods__faq-question {
    padding: 15px 20px;
  }
  .page-payment-methods__faq-question h3 {
    font-size: 16px;
  }
  .page-payment-methods__faq-toggle {
    font-size: 22px;
    width: 26px;
    height: 26px;
    margin-left: 15px;
  }
  .page-payment-methods__faq-answer {
    padding: 15px 20px !important;
  }
  .page-payment-methods__faq-answer p {
    font-size: 15px;
  }
  .page-payment-methods__conclusion-section .page-payment-methods__cta-button--large {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 15px 30px !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__deposit-methods, .page-payment-methods__deposit-guide, .page-payment-methods__withdrawal-methods, .page-payment-methods__security-section, .page-payment-methods__faq-section, .page-payment-methods__conclusion-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-payment-methods__hero-section, .page-payment-methods__introduction-section, .page-payment-methods__deposit-methods, .page-payment-methods__deposit-guide, .page-payment-methods__withdrawal-methods, .page-payment-methods__security-section, .page-payment-methods__faq-section, .page-payment-methods__conclusion-section {
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 480px) {
  .page-payment-methods__main-title {
    font-size: 28px;
  }
  .page-payment-methods__section-title {
    font-size: 24px;
  }
  .page-payment-methods__hero-section {
    padding-top: calc(100px + 30px);
  }
  .page-payment-methods__cta-button {
    font-size: 15px !important;
  }
  .page-payment-methods__card-title {
    font-size: 18px;
  }
  .page-payment-methods__faq-question h3 {
    font-size: 15px;
  }
}