/* style/payment-methods-e-wallets.css */
:root {
  --primary-color: #DAA520; /* Luxury Gold */
  --secondary-color: #1E1E1E; /* Deep Black */
  --accent-color: #CC0000; /* Deep Red for highlights */
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f1f3f5;
  --card-background: #ffffff;
  --border-light: #e0e0e0;
}

.page-payment-methods-e-wallets {
  font-family: 'Arial', sans-serif;
  line-height: 1.7;
  color: var(--text-light); /* Default text color for body background */
  background-color: var(--secondary-color); /* Body background from shared.css */
}

.page-payment-methods-e-wallets__hero-section {
  padding-top: 180px; /* Adjust for fixed header on desktop */
  padding-bottom: 60px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--text-light);
  text-align: center;
}

.page-payment-methods-e-wallets__hero-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-payment-methods-e-wallets__main-title {
  font-size: 44px;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--text-light);
}

.page-payment-methods-e-wallets__hero-description {
  font-size: 20px;
  margin-bottom: 40px;
  color: #f0f0f0;
}

.page-payment-methods-e-wallets__cta-button {
  display: inline-block;
  padding: 15px 35px;
  background: var(--accent-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-payment-methods-e-wallets__cta-button:hover {
  background: #cc3333;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-payment-methods-e-wallets__cta-button--centered {
  display: block;
  margin: 40px auto 0 auto;
  max-width: fit-content;
}

.page-payment-methods-e-wallets__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-payment-methods-e-wallets__section-title {
  font-size: 32px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: var(--primary-color);
}

.page-payment-methods-e-wallets__introduction-section,
.page-payment-methods-e-wallets__popular-e-wallets,
.page-payment-methods-e-wallets__security-tips,
.page-payment-methods-e-wallets__conclusion-section {
  padding: 60px 0;
  color: var(--text-dark);
}

.page-payment-methods-e-wallets__dark-bg {
  background-color: var(--secondary-color);
  color: var(--text-light);
}

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

.page-payment-methods-e-wallets__introduction-section p,
.page-payment-methods-e-wallets__security-tips p,
.page-payment-methods-e-wallets__conclusion-section p {
  font-size: 17px;
  margin-bottom: 15px;
  text-align: justify;
}

.page-payment-methods-e-wallets__introduction-section p a,
.page-payment-methods-e-wallets__security-tips p a,
.page-payment-methods-e-wallets__conclusion-section p a,
.page-payment-methods-e-wallets__introduction-section li a,
.page-payment-methods-e-wallets__security-tips li a,
.page-payment-methods-e-wallets__conclusion-section li a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-payment-methods-e-wallets__introduction-section p a:hover,
.page-payment-methods-e-wallets__security-tips p a:hover,
.page-payment-methods-e-wallets__conclusion-section p a:hover,
.page-payment-methods-e-wallets__introduction-section li a:hover,
.page-payment-methods-e-wallets__security-tips li a:hover,
.page-payment-methods-e-wallets__conclusion-section li a:hover {
  text-decoration: underline;
}

.page-payment-methods-e-wallets__content-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.page-payment-methods-e-wallets__card {
  background: var(--card-background);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-dark);
}

.page-payment-methods-e-wallets__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-payment-methods-e-wallets__card-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-payment-methods-e-wallets__card p {
  font-size: 16px;
  line-height: 1.6;
}

.page-payment-methods-e-wallets__list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.page-payment-methods-e-wallets__list-item {
  background: var(--card-background);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  text-align: center;
  color: var(--text-dark);
  transition: transform 0.3s ease;
}

.page-payment-methods-e-wallets__list-item:hover {
  transform: translateY(-3px);
}

.page-payment-methods-e-wallets__method-logo {
  max-width: 150px;
  height: auto;
  margin-bottom: 15px;
  border-radius: 5px;
}

.page-payment-methods-e-wallets__method-name {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--secondary-color);
}

.page-payment-methods-e-wallets__how-to-guide {
  padding: 60px 0;
}

.page-payment-methods-e-wallets__guide-section {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: var(--text-light);
}

.page-payment-methods-e-wallets__guide-title {
  font-size: 26px;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--primary-color);
  text-align: center;
}

.page-payment-methods-e-wallets__guide-list {
  list-style: decimal;
  padding-left: 25px;
  margin-bottom: 25px;
  font-size: 17px;
}

.page-payment-methods-e-wallets__guide-list li {
  margin-bottom: 10px;
}

.page-payment-methods-e-wallets__guide-list li strong {
  color: var(--primary-color);
}

.page-payment-methods-e-wallets__guide-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 25px auto 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-payment-methods-e-wallets__tips-list {
  list-style: disc;
  padding-left: 25px;
  margin-top: 20px;
  font-size: 17px;
}

.page-payment-methods-e-wallets__tips-list li {
  margin-bottom: 10px;
}

.page-payment-methods-e-wallets__tips-list li strong {
  color: var(--secondary-color);
}

.page-payment-methods-e-wallets__faq-section {
  padding: 60px 0;
  background-color: var(--secondary-color);
  color: var(--text-light);
}

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

.page-payment-methods-e-wallets__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-payment-methods-e-wallets__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
  padding: 0 15px;
  opacity: 0;
  color: var(--text-dark);
}

.page-payment-methods-e-wallets__faq-item.active .page-payment-methods-e-wallets__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: var(--card-background);
  border-radius: 0 0 5px 5px;
}

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

.page-payment-methods-e-wallets__faq-question:hover {
  background: #C4911A;
  border-color: #C4911A;
}

.page-payment-methods-e-wallets__faq-question:active {
  background: #B08218;
}

.page-payment-methods-e-wallets__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--text-light);
}

.page-payment-methods-e-wallets__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: var(--text-light);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-payment-methods-e-wallets__faq-item.active .page-payment-methods-e-wallets__faq-toggle {
  color: var(--text-light);
}

.page-payment-methods-e-wallets__faq-answer p {
  color: var(--text-dark);
  font-size: 16px;
  line-height: 1.6;
}

.page-payment-methods-e-wallets__faq-answer p a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-payment-methods-e-wallets__faq-answer p a:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-payment-methods-e-wallets__main-title {
    font-size: 38px;
  }
  .page-payment-methods-e-wallets__hero-description {
    font-size: 18px;
  }
  .page-payment-methods-e-wallets__section-title {
    font-size: 28px;
  }
  .page-payment-methods-e-wallets__card-title {
    font-size: 20px;
  }
  .page-payment-methods-e-wallets__method-name {
    font-size: 18px;
  }
  .page-payment-methods-e-wallets__guide-title {
    font-size: 24px;
  }
}

@media (max-width: 768px) {
  .page-payment-methods-e-wallets__hero-section {
    padding-top: 140px; /* Adjust for fixed header on mobile */
    padding-bottom: 40px;
  }
  .page-payment-methods-e-wallets__main-title {
    font-size: 30px;
  }
  .page-payment-methods-e-wallets__hero-description {
    font-size: 16px;
  }
  .page-payment-methods-e-wallets__cta-button {
    padding: 12px 25px;
    font-size: 16px;
  }
  .page-payment-methods-e-wallets__container {
    padding: 20px 15px;
  }
  .page-payment-methods-e-wallets__section-title {
    font-size: 24px;
    margin-bottom: 30px;
  }
  .page-payment-methods-e-wallets__introduction-section,
  .page-payment-methods-e-wallets__benefits-section,
  .page-payment-methods-e-wallets__popular-e-wallets,
  .page-payment-methods-e-wallets__how-to-guide,
  .page-payment-methods-e-wallets__security-tips,
  .page-payment-methods-e-wallets__faq-section,
  .page-payment-methods-e-wallets__conclusion-section {
    padding: 40px 0;
  }
  .page-payment-methods-e-wallets__grid,
  .page-payment-methods-e-wallets__list-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-payment-methods-e-wallets__card,
  .page-payment-methods-e-wallets__list-item,
  .page-payment-methods-e-wallets__guide-section {
    padding: 20px;
  }
  .page-payment-methods-e-wallets__card-title {
    font-size: 18px;
  }
  .page-payment-methods-e-wallets__method-logo {
    max-width: 120px;
  }
  .page-payment-methods-e-wallets__method-name {
    font-size: 17px;
  }
  .page-payment-methods-e-wallets__guide-title {
    font-size: 20px;
  }
  .page-payment-methods-e-wallets__guide-list,
  .page-payment-methods-e-wallets__tips-list {
    font-size: 15px;
    padding-left: 20px;
  }
  .page-payment-methods-e-wallets__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  .page-payment-methods-e-wallets__faq-question h3 {
    font-size: 15px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  .page-payment-methods-e-wallets__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  .page-payment-methods-e-wallets__faq-answer {
    padding: 0 15px;
  }
  .page-payment-methods-e-wallets__faq-item.active .page-payment-methods-e-wallets__faq-answer {
    padding: 15px !important;
  }
  .page-payment-methods-e-wallets__faq-answer p {
    font-size: 15px;
  }
}