/* style/payment-methods.css */

:root {
  --page-payment-methods-primary-color: #113B7A;
  --page-payment-methods-secondary-color: #1D5FD1;
  --page-payment-methods-text-main: #F3F8FF;
  --page-payment-methods-text-secondary: #AFC4E8;
  --page-payment-methods-card-bg: #10233F;
  --page-payment-methods-border-color: #244D84;
  --page-payment-methods-glow-color: #4FA8FF;
  --page-payment-methods-gold-color: #F2C14E;
  --page-payment-methods-divider-color: #1B3357;
  --page-payment-methods-deep-navy: #08162B;
  --page-payment-methods-button-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
}

.page-payment-methods {
  font-family: Arial, sans-serif;
  color: var(--page-payment-methods-text-main);
  background-color: var(--page-payment-methods-deep-navy); /* Assumed from shared.css body background */
}

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

.page-payment-methods__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: 10px; /* Small top padding as body handles header offset */
  padding-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-payment-methods__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 600px; /* Limit height for hero image */
}

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

.page-payment-methods__hero-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--page-payment-methods-gold-color);
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-payment-methods__hero-description {
  font-size: 1.1rem;
  color: var(--page-payment-methods-text-secondary);
  margin-bottom: 30px;
  line-height: 1.6;
}

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

.page-payment-methods__btn-primary,
.page-payment-methods__btn-secondary {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-payment-methods__btn-primary {
  background: var(--page-payment-methods-button-gradient);
  color: var(--page-payment-methods-text-main);
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

.page-payment-methods__btn-secondary:hover {
  background: var(--page-payment-methods-gold-color);
  color: var(--page-payment-methods-deep-navy);
  transform: translateY(-2px);
}

.page-payment-methods__introduction-section,
.page-payment-methods__deposit-methods,
.page-payment-methods__withdrawal-methods,
.page-payment-methods__security-section,
.page-payment-methods__faq-section,
.page-payment-methods__conclusion-section {
  padding: 60px 0;
  margin-bottom: 0;
}

.page-payment-methods__dark-section {
  background-color: var(--page-payment-methods-deep-navy);
  color: var(--page-payment-methods-text-main);
}

.page-payment-methods__light-bg {
  background-color: #08162B; /* A slightly lighter dark for contrast */
  color: var(--page-payment-methods-text-main);
}

.page-payment-methods__section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--page-payment-methods-gold-color);
  text-align: center;
  margin-bottom: 30px;
  position: relative;
}

.page-payment-methods__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: var(--page-payment-methods-gold-color);
  margin: 15px auto 0;
}

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

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

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

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

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

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

.page-payment-methods__method-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

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

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

.page-payment-methods__btn-text {
  color: var(--page-payment-methods-glow-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.page-payment-methods__btn-text:hover {
  color: var(--page-payment-methods-gold-color);
  text-decoration: underline;
}

.page-payment-methods__cta-deposit,
.page-payment-methods__cta-withdrawal {
  display: flex;
  align-items: center;
  gap: 40px;
  background-color: var(--page-payment-methods-card-bg);
  border-radius: 12px;
  padding: 40px;
  margin-top: 60px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--page-payment-methods-border-color);
}

.page-payment-methods__cta-image {
  width: 45%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.page-payment-methods__cta-content {
  width: 55%;
}

.page-payment-methods__cta-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--page-payment-methods-gold-color);
  margin-bottom: 15px;
}

.page-payment-methods__cta-description {
  font-size: 1rem;
  color: var(--page-payment-methods-text-secondary);
  line-height: 1.6;
  margin-bottom: 25px;
}

.page-payment-methods__security-content {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-top: 40px;
}

.page-payment-methods__security-image {
  width: 40%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.page-payment-methods__security-text {
  width: 60%;
}

.page-payment-methods__security-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.page-payment-methods__security-list-item {
  font-size: 1rem;
  color: var(--page-payment-methods-text-secondary);
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
  line-height: 1.5;
}

.page-payment-methods__security-list-item::before {
  content: '✔';
  color: var(--page-payment-methods-gold-color);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-payment-methods__faq-list {
  margin-top: 40px;
}

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

.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--page-payment-methods-gold-color);
  background-color: var(--page-payment-methods-card-bg);
  list-style: none; /* For details/summary */
}

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

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

.page-payment-methods__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  margin-left: 15px;
  color: var(--page-payment-methods-glow-color);
}

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

.page-payment-methods__faq-answer p {
  margin: 0;
}

.page-payment-methods__faq-cta {
  display: flex;
  align-items: center;
  gap: 40px;
  background-color: var(--page-payment-methods-card-bg);
  border-radius: 12px;
  padding: 40px;
  margin-top: 60px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--page-payment-methods-border-color);
}

.page-payment-methods__faq-image {
  width: 45%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.page-payment-methods__faq-cta-content {
  width: 55%;
}

.page-payment-methods__faq-cta-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--page-payment-methods-gold-color);
  margin-bottom: 15px;
}

.page-payment-methods__faq-cta-description {
  font-size: 1rem;
  color: var(--page-payment-methods-text-secondary);
  line-height: 1.6;
  margin-bottom: 25px;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-payment-methods__hero-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }

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

  .page-payment-methods__cta-deposit,
  .page-payment-methods__cta-withdrawal,
  .page-payment-methods__security-content,
  .page-payment-methods__faq-cta {
    flex-direction: column;
    text-align: center;
  }

  .page-payment-methods__cta-image,
  .page-payment-methods__cta-content,
  .page-payment-methods__security-image,
  .page-payment-methods__security-text,
  .page-payment-methods__faq-image,
  .page-payment-methods__faq-cta-content {
    width: 100%;
  }

  .page-payment-methods__cta-image,
  .page-payment-methods__security-image,
  .page-payment-methods__faq-image {
    max-width: 80%;
    margin: 0 auto 20px;
  }

  .page-payment-methods__security-list {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .page-payment-methods__hero-section {
    padding-top: 10px !important;
    padding-bottom: 30px;
  }

  .page-payment-methods__hero-title {
    font-size: 2rem !important;
  }

  .page-payment-methods__hero-description {
    font-size: 1rem !important;
    margin-bottom: 20px;
  }

  .page-payment-methods__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-payment-methods__btn-primary,
  .page-payment-methods__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 15px !important;
    font-size: 0.95rem !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-payment-methods__introduction-section,
  .page-payment-methods__deposit-methods,
  .page-payment-methods__withdrawal-methods,
  .page-payment-methods__security-section,
  .page-payment-methods__faq-section,
  .page-payment-methods__conclusion-section {
    padding: 40px 0;
  }

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

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

  .page-payment-methods__section-text {
    font-size: 0.95rem !important;
  }

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

  .page-payment-methods__method-card {
    padding: 25px;
  }

  .page-payment-methods__method-icon {
    width: 80px;
    height: 80px;
  }

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

  .page-payment-methods__cta-deposit,
  .page-payment-methods__cta-withdrawal,
  .page-payment-methods__security-content,
  .page-payment-methods__faq-cta {
    padding: 30px 20px;
    gap: 20px;
    margin-top: 40px;
  }

  .page-payment-methods__cta-image,
  .page-payment-methods__security-image,
  .page-payment-methods__faq-image {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 auto 15px;
  }

  .page-payment-methods__cta-title,
  .page-payment-methods__faq-cta-title {
    font-size: 1.5rem;
  }

  .page-payment-methods__cta-description,
  .page-payment-methods__faq-cta-description {
    font-size: 0.9rem;
  }

  .page-payment-methods__security-list-item {
    font-size: 0.95rem;
    padding-left: 20px;
  }

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

  .page-payment-methods__faq-toggle {
    font-size: 1.3rem;
  }

  .page-payment-methods__faq-answer {
    padding: 0 20px 15px;
    font-size: 0.9rem;
  }

  .page-payment-methods__conclusion-buttons {
    flex-direction: column;
    gap: 15px;
  }

  /* General image and container responsiveness */
  .page-payment-methods img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-payment-methods__section,
  .page-payment-methods__card,
  .page-payment-methods__container,
  .page-payment-methods__hero-buttons,
  .page-payment-methods__cta-buttons,
  .page-payment-methods__button-group,
  .page-payment-methods__btn-container,
  .page-payment-methods__conclusion-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important; /* Ensure buttons wrap if in flex container */
    gap: 10px; /* Ensure spacing for wrapped items */
  }

  /* If buttons are in a flex container and need to stack */
  .page-payment-methods__hero-buttons,
  .page-payment-methods__conclusion-buttons {
    display: flex;
    flex-direction: column;
  }
}