/* style/payment-methods-e-wallets.css */

:root {
  --taya365-primary-color: #F2C14E;
  --taya365-secondary-color: #FFD36B;
  --taya365-card-bg: #111111;
  --taya365-background: #0A0A0A;
  --taya365-text-main: #FFF6D6;
  --taya365-border-color: #3A2A12;
  --taya365-glow-color: #FFD36B;
  --taya365-button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  --header-offset: 120px; /* Default desktop offset */
}

.page-payment-methods-e-wallets {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default for light backgrounds */
  background-color: var(--taya365-background); /* Overall dark background */
}

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

.page-payment-methods-e-wallets__light-bg {
  background-color: #ffffff;
  color: #333333;
}

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

/* Hero Section */
.page-payment-methods-e-wallets__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  padding-bottom: 60px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-payment-methods-e-wallets__hero-content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 1200px;
  width: 100%;
  padding: 0 20px;
  z-index: 1;
}

.page-payment-methods-e-wallets__hero-image-container {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 20px;
}

.page-payment-methods-e-wallets__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-payment-methods-e-wallets__hero-text-container {
  max-width: 900px;
  margin-top: 20px;
}

.page-payment-methods-e-wallets__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--taya365-secondary-color);
  margin-bottom: 15px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
  /* No fixed font-size, rely on clamp if needed, otherwise responsive behavior */
}

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

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

.page-payment-methods-e-wallets__btn-primary,
.page-payment-methods-e-wallets__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-payment-methods-e-wallets__btn-primary {
  background: var(--taya365-button-gradient);
  color: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(255, 211, 107, 0.4);
}

.page-payment-methods-e-wallets__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 211, 107, 0.6);
}

.page-payment-methods-e-wallets__btn-secondary {
  background: var(--taya365-card-bg);
  color: var(--taya365-primary-color);
  border: 2px solid var(--taya365-primary-color);
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.2);
}

.page-payment-methods-e-wallets__btn-secondary:hover {
  background: var(--taya365-primary-color);
  color: var(--taya365-card-bg);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.4);
}

/* General Section Styles */
.page-payment-methods-e-wallets__section {
  padding: 60px 0;
}

.page-payment-methods-e-wallets__section-title {
  font-size: 2.2rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.3;
}

.page-payment-methods-e-wallets__introduction .page-payment-methods-e-wallets__section-title,
.page-payment-methods-e-wallets__deposit-guide .page-payment-methods-e-wallets__section-title,
.page-payment-methods-e-wallets__benefits .page-payment-methods-e-wallets__section-title,
.page-payment-methods-e-wallets__tips .page-payment-methods-e-wallets__section-title,
.page-payment-methods-e-wallets__cta-final .page-payment-methods-e-wallets__section-title {
  color: #333333;
}

.page-payment-methods-e-wallets__options .page-payment-methods-e-wallets__section-title,
.page-payment-methods-e-wallets__withdrawal-guide .page-payment-methods-e-wallets__section-title,
.page-payment-methods-e-wallets__security .page-payment-methods-e-wallets__section-title,
.page-payment-methods-e-wallets__faq-section .page-payment-methods-e-wallets__section-title {
  color: var(--taya365-text-main);
}

.page-payment-methods-e-wallets__text-block {
  font-size: 1.05rem;
  margin-bottom: 20px;
  text-align: justify;
}

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

/* Cards Grid */
.page-payment-methods-e-wallets__cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-payment-methods-e-wallets__card {
  background-color: var(--taya365-card-bg);
  color: var(--taya365-text-main);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--taya365-border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-payment-methods-e-wallets__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
}

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

.page-payment-methods-e-wallets__card-text {
  font-size: 1rem;
  line-height: 1.7;
}

/* Steps List */
.page-payment-methods-e-wallets__steps-list {
  list-style: none;
  padding: 0;
  counter-reset: step-counter;
  max-width: 900px;
  margin: 40px auto;
}

.page-payment-methods-e-wallets__steps-list .page-payment-methods-e-wallets__list-item {
  position: relative;
  padding-left: 60px;
  margin-bottom: 30px;
  color: inherit;
}

.page-payment-methods-e-wallets__steps-list .page-payment-methods-e-wallets__list-item::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  background-color: var(--taya365-primary-color);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-payment-methods-e-wallets__steps-list .page-payment-methods-e-wallets__list-title {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: inherit;
}

.page-payment-methods-e-wallets__steps-list .page-payment-methods-e-wallets__list-text {
  font-size: 1rem;
  line-height: 1.7;
  color: inherit;
}

.page-payment-methods-e-wallets__steps-list .page-payment-methods-e-wallets__list-text a {
  color: var(--taya365-primary-color);
  text-decoration: underline;
}

.page-payment-methods-e-wallets__steps-list .page-payment-methods-e-wallets__list-text a:hover {
  color: var(--taya365-secondary-color);
}

/* Benefits List */
.page-payment-methods-e-wallets__benefits-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-payment-methods-e-wallets__benefits-list .page-payment-methods-e-wallets__list-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid #e0e0e0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #333333;
}

.page-payment-methods-e-wallets__benefits-list .page-payment-methods-e-wallets__list-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-payment-methods-e-wallets__benefits-list .page-payment-methods-e-wallets__list-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--taya365-primary-color);
}

.page-payment-methods-e-wallets__benefits-list .page-payment-methods-e-wallets__list-text {
  font-size: 1rem;
  line-height: 1.7;
}

.page-payment-methods-e-wallets__text-link {
  color: var(--taya365-primary-color);
  text-decoration: underline;
  font-weight: bold;
}

.page-payment-methods-e-wallets__text-link:hover {
  color: var(--taya365-secondary-color);
}

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

.page-payment-methods-e-wallets__feature-item {
  background-color: var(--taya365-card-bg);
  color: var(--taya365-text-main);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--taya365-border-color);
}

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

.page-payment-methods-e-wallets__feature-text {
  font-size: 1rem;
  line-height: 1.7;
}

.page-payment-methods-e-wallets__feature-text a {
  color: var(--taya365-primary-color);
  text-decoration: underline;
}

.page-payment-methods-e-wallets__feature-text a:hover {
  color: var(--taya365-secondary-color);
}

/* Tips List */
.page-payment-methods-e-wallets__tips-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-payment-methods-e-wallets__tips-list .page-payment-methods-e-wallets__list-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid #e0e0e0;
  color: #333333;
}

.page-payment-methods-e-wallets__tips-list .page-payment-methods-e-wallets__list-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--taya365-primary-color);
}

.page-payment-methods-e-wallets__tips-list .page-payment-methods-e-wallets__list-text {
  font-size: 1rem;
  line-height: 1.7;
}

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

.page-payment-methods-e-wallets__faq-item {
  background-color: var(--taya365-card-bg);
  border: 1px solid var(--taya365-border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--taya365-text-main);
}

.page-payment-methods-e-wallets__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--taya365-primary-color);
  background-color: var(--taya365-card-bg);
  transition: background-color 0.3s ease;
}

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

.page-payment-methods-e-wallets__faq-question h3 {
  margin: 0;
  flex-grow: 1;
  color: inherit;
}

.page-payment-methods-e-wallets__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  transition: transform 0.3s ease;
  color: var(--taya365-secondary-color);
}

.page-payment-methods-e-wallets__faq-item.active .page-payment-methods-e-wallets__faq-toggle {
  transform: rotate(45deg);
}

.page-payment-methods-e-wallets__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--taya365-text-main);
}

.page-payment-methods-e-wallets__faq-item.active .page-payment-methods-e-wallets__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to accommodate content */
  padding: 15px 25px 25px;
}

.page-payment-methods-e-wallets__faq-answer p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
}

.page-payment-methods-e-wallets__faq-answer a {
  color: var(--taya365-primary-color);
  text-decoration: underline;
}

.page-payment-methods-e-wallets__faq-answer a:hover {
  color: var(--taya365-secondary-color);
}

/* CTA Final Section */
.page-payment-methods-e-wallets__cta-final {
  padding-bottom: 80px;
  text-align: center;
}

.page-payment-methods-e-wallets__cta-final .page-payment-methods-e-wallets__section-title {
  color: #333333;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-payment-methods-e-wallets__hero-section {
    padding-bottom: 40px;
  }

  .page-payment-methods-e-wallets__main-title {
    font-size: 2.5rem;
  }

  .page-payment-methods-e-wallets__section-title {
    font-size: 1.8rem;
  }

  .page-payment-methods-e-wallets__cards-grid,
  .page-payment-methods-e-wallets__benefits-list,
  .page-payment-methods-e-wallets__security-features,
  .page-payment-methods-e-wallets__tips-list {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }

  .page-payment-methods-e-wallets__card,
  .page-payment-methods-e-wallets__feature-item,
  .page-payment-methods-e-wallets__benefits-list .page-payment-methods-e-wallets__list-item,
  .page-payment-methods-e-wallets__tips-list .page-payment-methods-e-wallets__list-item {
    padding: 25px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-offset: 100px; /* Mobile offset */
  }

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

  .page-payment-methods-e-wallets__hero-section {
    padding-top: var(--header-offset, 100px) !important;
    padding-bottom: 30px;
  }

  .page-payment-methods-e-wallets__hero-content-wrapper {
    padding: 0 15px;
  }

  .page-payment-methods-e-wallets__main-title {
    font-size: 2rem;
  }

  .page-payment-methods-e-wallets__subtitle {
    font-size: 1rem;
  }

  .page-payment-methods-e-wallets__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-payment-methods-e-wallets__btn-primary,
  .page-payment-methods-e-wallets__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-e-wallets__section {
    padding: 40px 0;
  }

  .page-payment-methods-e-wallets__container {
    padding: 0 15px;
  }

  .page-payment-methods-e-wallets__section-title {
    font-size: 1.6rem;
    margin-bottom: 30px;
  }

  .page-payment-methods-e-wallets__text-block {
    font-size: 0.95rem;
  }

  .page-payment-methods-e-wallets__cards-grid,
  .page-payment-methods-e-wallets__benefits-list,
  .page-payment-methods-e-wallets__security-features,
  .page-payment-methods-e-wallets__tips-list {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .page-payment-methods-e-wallets__card,
  .page-payment-methods-e-wallets__feature-item,
  .page-payment-methods-e-wallets__benefits-list .page-payment-methods-e-wallets__list-item,
  .page-payment-methods-e-wallets__tips-list .page-payment-methods-e-wallets__list-item {
    padding: 20px;
  }

  .page-payment-methods-e-wallets__card-title,
  .page-payment-methods-e-wallets__list-title,
  .page-payment-methods-e-wallets__feature-title {
    font-size: 1.3rem;
  }

  .page-payment-methods-e-wallets__faq-question {
    font-size: 1.1rem;
    padding: 15px 20px;
  }

  .page-payment-methods-e-wallets__faq-answer {
    padding: 0 20px;
  }

  .page-payment-methods-e-wallets__faq-item.active .page-payment-methods-e-wallets__faq-answer {
    padding: 10px 20px 20px;
  }

  .page-payment-methods-e-wallets__steps-list .page-payment-methods-e-wallets__list-item {
    padding-left: 50px;
  }

  .page-payment-methods-e-wallets__steps-list .page-payment-methods-e-wallets__list-item::before {
    width: 35px;
    height: 35px;
    font-size: 1.1rem;
  }

  /* Mobile image responsiveness */
  .page-payment-methods-e-wallets img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-payment-methods-e-wallets__section,
  .page-payment-methods-e-wallets__card,
  .page-payment-methods-e-wallets__container,
  .page-payment-methods-e-wallets__hero-content-wrapper,
  .page-payment-methods-e-wallets__cta-buttons,
  .page-payment-methods-e-wallets__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    /* padding-left and padding-right are handled by .page-payment-methods-e-wallets__container and other specific elements */
  }
}