/* style/payment-methods.css */

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

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

.page-payment-methods__section {
  padding: 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

/* Hero Section */
.page-payment-methods__hero-section {
  padding: 60px 20px 80px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  color: var(--page-payment-methods-text-main);
  background: var(--page-payment-methods-bg-color);
  text-align: center;
}

.page-payment-methods__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 20px;
  overflow: hidden;
}

.page-payment-methods__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
}

.page-payment-methods__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin-top: 20px;
}

.page-payment-methods__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: bold;
  color: var(--page-payment-methods-gold-color);
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.page-payment-methods__hero-description {
  font-size: 1.1rem;
  color: var(--page-payment-methods-text-secondary);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.page-payment-methods__btn-primary,
.page-payment-methods__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-payment-methods__btn-primary {
  background: var(--page-payment-methods-button-gradient);
  color: #ffffff;
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

.page-payment-methods__btn-secondary {
  background: transparent;
  color: var(--page-payment-methods-glow-color);
  border: 2px solid var(--page-payment-methods-glow-color);
  margin-left: 20px;
}

.page-payment-methods__btn-secondary:hover {
  background: var(--page-payment-methods-glow-color);
  color: var(--page-payment-methods-bg-color);
}

/* Section Titles */
.page-payment-methods__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: bold;
  color: var(--page-payment-methods-gold-color);
  margin-bottom: 40px;
  text-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.page-payment-methods__sub-title {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: bold;
  color: var(--page-payment-methods-glow-color);
  margin-top: 30px;
  margin-bottom: 20px;
  text-align: left;
}

/* Text Blocks */
.page-payment-methods__text-block {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: var(--page-payment-methods-text-main);
  text-align: left;
}

/* Grid Layouts */
.page-payment-methods__grid-3-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-payment-methods__grid-2-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

/* Cards */
.page-payment-methods__card {
  background-color: var(--page-payment-methods-card-bg);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  height: 100%;
  color: var(--page-payment-methods-text-main);
}

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

.page-payment-methods__card-text {
  font-size: 1rem;
  color: var(--page-payment-methods-text-secondary);
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-payment-methods__card-image {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: 10px;
  margin-top: auto; /* Pushes image to bottom if content is short */
}

.page-payment-methods__info-card {
  background-color: var(--page-payment-methods-card-bg);
  padding: 25px;
  border-radius: 12px;
  text-align: left;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.3);
  color: var(--page-payment-methods-text-main);
}

.page-payment-methods__info-card-title {
  font-size: 1.3rem;
  font-weight: bold;
  color: var(--page-payment-methods-glow-color);
  margin-bottom: 10px;
}

.page-payment-methods__info-card-text {
  font-size: 0.95rem;
  color: var(--page-payment-methods-text-secondary);
}

/* Lists */
.page-payment-methods__ordered-list,
.page-payment-methods__unordered-list {
  text-align: left;
  margin: 20px auto;
  padding-left: 25px;
  max-width: 800px;
  color: var(--page-payment-methods-text-main);
}

.page-payment-methods__ordered-list li,
.page-payment-methods__unordered-list li {
  margin-bottom: 10px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--page-payment-methods-text-secondary);
}

.page-payment-methods__ordered-list li strong,
.page-payment-methods__unordered-list li strong {
  color: var(--page-payment-methods-gold-color);
}

/* Content Images */
.page-payment-methods__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  max-width: 800px;
  min-width: 200px; /* Enforce min size */
}

/* FAQ Section */
.page-payment-methods__faq-section {
  background-color: var(--page-payment-methods-bg-color);
  color: var(--page-payment-methods-text-main);
}

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

.page-payment-methods__faq-item {
  background-color: var(--page-payment-methods-card-bg);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-payment-methods__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(--page-payment-methods-gold-color);
  transition: background-color 0.3s ease;
  list-style: none; /* For details tag */
}

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

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

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

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

/* CTA Section */
.page-payment-methods__cta-section {
  background-color: var(--page-payment-methods-deep-green);
  padding: 80px 20px;
  color: var(--page-payment-methods-text-main);
}

.page-payment-methods__cta-description {
  font-size: 1.2rem;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--page-payment-methods-text-secondary);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-payment-methods__hero-section {
    padding: 50px 20px 60px;
  }
  .page-payment-methods__section {
    padding: 50px 0;
  }
  .page-payment-methods__grid-3-col,
  .page-payment-methods__grid-2-col {
    grid-template-columns: 1fr;
  }
  .page-payment-methods__card-image {
    max-height: 200px;
  }
}

@media (max-width: 768px) {
  .page-payment-methods {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-payment-methods__hero-section {
    padding: 40px 15px 50px;
    padding-top: 10px !important;
  }

  .page-payment-methods__section {
    padding: 40px 0;
  }

  .page-payment-methods__container {
    padding: 0 15px;
  }

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

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

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

  .page-payment-methods__sub-title {
    font-size: 1.3rem;
  }

  .page-payment-methods__btn-primary,
  .page-payment-methods__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    margin: 10px 0 !important;
    padding: 12px 20px;
    font-size: 1rem;
  }

  .page-payment-methods__grid-3-col,
  .page-payment-methods__grid-2-col {
    gap: 20px;
  }

  .page-payment-methods__card,
  .page-payment-methods__info-card {
    padding: 20px;
  }

  .page-payment-methods__card-title {
    font-size: 1.3rem;
  }

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

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

  .page-payment-methods__cta-description {
    font-size: 1rem;
  }

  /* Mobile image and video 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__content-block,
  .page-payment-methods__faq-list {
    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-image-wrapper {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .page-payment-methods__ordered-list,
  .page-payment-methods__unordered-list {
    padding-left: 20px;
    max-width: 100%;
  }
  .page-payment-methods__ordered-list li,
  .page-payment-methods__unordered-list li {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .page-payment-methods__main-title {
    font-size: 1.7rem;
  }
  .page-payment-methods__section-title {
    font-size: 1.6rem;
  }
  .page-payment-methods__sub-title {
    font-size: 1.2rem;
  }
}