/* style/payment-methods.css */

/* Custom Colors */
:root {
  --page-payment-methods-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --page-payment-methods-card-bg: #11271B;
  --page-payment-methods-bg: #08160F;
  --page-payment-methods-text-main: #F2FFF6;
  --page-payment-methods-text-secondary: #A7D9B8;
  --page-payment-methods-border: #2E7A4E;
  --page-payment-methods-glow: #57E38D;
  --page-payment-methods-gold: #F2C14E;
  --page-payment-methods-divider: #1E3A2A;
  --page-payment-methods-deep-green: #0A4B2C;
}

.page-payment-methods {
  background-color: var(--page-payment-methods-bg);
  color: var(--page-payment-methods-text-main);
  font-family: 'Arial', sans-serif;
}

.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;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 10px; /* Small decorative top padding */
  padding-bottom: 60px;
  overflow: hidden;
  background-color: var(--page-payment-methods-deep-green);
}

.page-payment-methods__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  margin-bottom: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

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

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

.page-payment-methods__description {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: var(--page-payment-methods-text-secondary);
  margin-bottom: 30px;
  line-height: 1.6;
}

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

.page-payment-methods__btn-primary,
.page-payment-methods__btn-secondary,
.page-payment-methods__btn-tertiary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
}

.page-payment-methods__btn-primary {
  background: var(--page-payment-methods-btn-gradient);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

.page-payment-methods__btn-secondary {
  background: transparent;
  color: var(--page-payment-methods-glow);
  border: 2px solid var(--page-payment-methods-glow);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__btn-secondary:hover {
  transform: translateY(-3px);
  background-color: rgba(87, 227, 141, 0.1);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-payment-methods__btn-tertiary {
  background-color: var(--page-payment-methods-deep-green);
  color: var(--page-payment-methods-text-main);
  border: 1px solid var(--page-payment-methods-border);
  padding: 10px 20px;
  font-size: 0.9rem;
  border-radius: 5px;
}

.page-payment-methods__btn-tertiary:hover {
  background-color: var(--page-payment-methods-border);
  color: #ffffff;
}

/* General Sections */
.page-payment-methods__intro-section,
.page-payment-methods__guide-section,
.page-payment-methods__notes-section,
.page-payment-methods__cta-section {
  padding: 60px 0;
}

.page-payment-methods__methods-section,
.page-payment-methods__security-section,
.page-payment-methods__faq-section {
  padding: 60px 0;
  background-color: var(--page-payment-methods-card-bg);
}

.page-payment-methods__section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: var(--page-payment-methods-text-main);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  line-height: 1.3;
}

.page-payment-methods__text-block {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--page-payment-methods-text-secondary);
  margin-bottom: 20px;
  text-align: justify;
}

.page-payment-methods__text-main {
  color: var(--page-payment-methods-text-main);
}

.page-payment-methods__text-secondary {
  color: var(--page-payment-methods-text-secondary);
}

/* Methods Grid */
.page-payment-methods__methods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-payment-methods__method-card {
  background-color: var(--page-payment-methods-card-bg);
  border: 1px solid var(--page-payment-methods-border);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-payment-methods__method-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-payment-methods__method-icon {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin: 0 auto 25px auto;
  border-radius: 8px;
  object-fit: cover;
  display: block;
}

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

.page-payment-methods__method-description {
  font-size: 0.95rem;
  color: var(--page-payment-methods-text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-payment-methods__method-details {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
  text-align: left;
}

.page-payment-methods__method-details li {
  font-size: 0.9rem;
  color: var(--page-payment-methods-text-secondary);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
}

.page-payment-methods__detail-icon {
  color: var(--page-payment-methods-glow);
  margin-right: 10px;
  font-weight: bold;
}

/* Step List */
.page-payment-methods__step-list {
  list-style: none;
  padding: 0;
  counter-reset: step-counter;
  max-width: 900px;
  margin: 0 auto;
}

.page-payment-methods__step-item {
  background-color: var(--page-payment-methods-card-bg);
  border: 1px solid var(--page-payment-methods-border);
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  position: relative;
  padding-left: 80px;
}

.page-payment-methods__step-item::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  position: absolute;
  left: 20px;
  top: 30px;
  background: var(--page-payment-methods-btn-gradient);
  color: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__step-title {
  font-size: 1.4rem;
  color: var(--page-payment-methods-text-main);
  margin-bottom: 10px;
  font-weight: 600;
}

/* Security Section */
.page-payment-methods__security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-payment-methods__security-item {
  background-color: var(--page-payment-methods-deep-green);
  border: 1px solid var(--page-payment-methods-border);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__security-icon {
  width: 100%;
  max-width: 150px;
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 8px;
  object-fit: cover;
}

.page-payment-methods__security-title {
  font-size: 1.3rem;
  color: var(--page-payment-methods-text-main);
  margin-bottom: 10px;
  font-weight: 600;
}

/* Notes Section */
.page-payment-methods__notes-list {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 0 auto;
}

.page-payment-methods__note-item {
  background-color: var(--page-payment-methods-deep-green);
  border-left: 5px solid var(--page-payment-methods-glow);
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--page-payment-methods-text-secondary);
  display: flex;
  align-items: flex-start;
}

.page-payment-methods__note-icon {
  color: var(--page-payment-methods-gold);
  font-size: 1.5rem;
  margin-right: 15px;
  flex-shrink: 0;
}

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

.page-payment-methods__faq-item {
  background-color: var(--page-payment-methods-deep-green);
  border: 1px solid var(--page-payment-methods-border);
  border-radius: 12px;
  margin-bottom: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.page-payment-methods__faq-item[open] .page-payment-methods__faq-question {
  background-color: var(--page-payment-methods-border);
}

.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15rem;
  color: var(--page-payment-methods-text-main);
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  list-style: none; /* Remove default marker */
}

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

.page-payment-methods__faq-question:hover {
  background-color: var(--page-payment-methods-border);
}

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

.page-payment-methods__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 15px;
  color: var(--page-payment-methods-glow);
  transition: transform 0.3s ease;
}

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

.page-payment-methods__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--page-payment-methods-text-secondary);
  border-top: 1px solid var(--page-payment-methods-divider);
}

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

/* Responsive Images & Videos (Global for page) */
.page-payment-methods img,
.page-payment-methods video,
.page-payment-methods__video {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-payment-methods__section,
.page-payment-methods__card,
.page-payment-methods__container,
.page-payment-methods__video-section,
.page-payment-methods__video-container,
.page-payment-methods__video-wrapper,
.page-payment-methods__cta-buttons,
.page-payment-methods__button-group,
.page-payment-methods__btn-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Mobile Specific Styles */
@media (max-width: 768px) {
  .page-payment-methods__hero-section {
    padding-bottom: 40px;
  }

  .page-payment-methods__hero-image {
    margin-bottom: 20px;
  }

  .page-payment-methods__main-title {
    font-size: 2rem;
  }

  .page-payment-methods__description {
    font-size: 0.95rem;
  }

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

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

  .page-payment-methods__intro-section,
  .page-payment-methods__guide-section,
  .page-payment-methods__notes-section,
  .page-payment-methods__cta-section,
  .page-payment-methods__methods-section,
  .page-payment-methods__security-section,
  .page-payment-methods__faq-section {
    padding: 40px 0;
  }

  .page-payment-methods__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

  .page-payment-methods__text-block {
    font-size: 0.95rem;
  }

  .page-payment-methods__methods-grid,
  .page-payment-methods__security-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-payment-methods__method-card,
  .page-payment-methods__security-item,
  .page-payment-methods__faq-item,
  .page-payment-methods__step-item {
    padding: 25px;
  }

  .page-payment-methods__step-item {
    padding-left: 70px;
  }

  .page-payment-methods__step-item::before {
    left: 15px;
    top: 25px;
    width: 35px;
    height: 35px;
    font-size: 1.3rem;
  }

  .page-payment-methods__method-icon,
  .page-payment-methods__security-icon {
    max-width: 180px;
    margin-bottom: 15px;
  }

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

  .page-payment-methods__faq-answer {
    padding: 0 20px 15px 20px;
  }

  /* Force responsive for all images, videos, and containers */
  .page-payment-methods img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-payment-methods video,
  .page-payment-methods__video {
    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__video-section,
  .page-payment-methods__video-container,
  .page-payment-methods__video-wrapper,
  .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;
    overflow: hidden !important;
  }

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