/* style/payment-methods.css */

/* Base styles for the page */
.page-payment-methods {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
}

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

/* Section styling */
.page-payment-methods__section {
  padding: 60px 0;
  text-align: center;
}

.page-payment-methods__dark-bg {
  background-color: #1a1a1a; /* Slightly lighter than body for contrast */
  color: #ffffff;
}

.page-payment-methods__light-bg {
  background-color: #2a2a2a; /* Lighter background for contrast sections */
  color: #ffffff;
}

.page-payment-methods__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 30px;
  color: #26A9E0;
}

.page-payment-methods__text-block {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-payment-methods__inline-link {
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
}

.page-payment-methods__inline-link:hover {
  text-decoration: underline;
}

/* Hero Section */
.page-payment-methods__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  padding: 10px 0 60px 0; /* Small top padding, body handles main offset */
}

.page-payment-methods__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.4);
}

.page-payment-methods__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
  box-sizing: border-box;
}

.page-payment-methods__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-payment-methods__hero-description {
  font-size: 1.2rem;
  color: #f0f0f0;
  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: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.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-color: #26A9E0;
  color: #FFFFFF;
  border: 2px solid #26A9E0;
  margin: 0 10px;
}

.page-payment-methods__btn-primary:hover {
  background-color: #1e87c0;
  border-color: #1e87c0;
}

.page-payment-methods__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
  margin: 0 10px;
}

.page-payment-methods__btn-secondary:hover {
  background-color: #26A9E0;
  color: #FFFFFF;
}

.page-payment-methods__btn-login {
  background-color: #EA7C07;
  border-color: #EA7C07;
}

.page-payment-methods__btn-login:hover {
  background-color: #d16e06;
  border-color: #d16e06;
}

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

/* Image content */
.page-payment-methods__image-content {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 30px auto;
  display: block;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

.page-payment-methods__card {
  background: rgba(255, 255, 255, 0.08); /* Semi-transparent white on dark background */
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff;
}

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

.page-payment-methods__card-title {
  font-size: 1.8rem;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-payment-methods__card-description {
  font-size: 1rem;
  color: #e0e0e0;
  margin-bottom: 15px;
}

.page-payment-methods__card-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-payment-methods__card-list li {
  margin-bottom: 8px;
  color: #f0f0f0;
  font-size: 0.95rem;
}

.page-payment-methods__card-list li strong {
  color: #ffffff;
}

/* Numbered List (Guide) */
.page-payment-methods__numbered-list {
  list-style-type: none;
  counter-reset: guide-counter;
  padding: 0;
  margin: 40px auto;
  max-width: 800px;
  text-align: left;
}

.page-payment-methods__numbered-list li {
  counter-increment: guide-counter;
  margin-bottom: 30px;
  position: relative;
  padding-left: 60px;
  color: #f0f0f0;
}

.page-payment-methods__numbered-list li::before {
  content: counter(guide-counter);
  position: absolute;
  left: 0;
  top: 0;
  background-color: #26A9E0;
  color: #FFFFFF;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
}

.page-payment-methods__list-title {
  font-size: 1.6rem;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-payment-methods__numbered-list li p {
  font-size: 1.05rem;
  color: #e0e0e0;
}

/* Bullet List */
.page-payment-methods__bullet-list {
  list-style: none;
  padding: 0;
  margin: 40px auto;
  max-width: 800px;
  text-align: left;
}

.page-payment-methods__bullet-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 1.1rem;
  color: #f0f0f0;
}

.page-payment-methods__bullet-list li::before {
  content: '✔';
  position: absolute;
  left: 0;
  top: 0;
  color: #26A9E0;
  font-weight: bold;
  font-size: 1.2rem;
}

/* FAQ Section */
.page-payment-methods__faq-list {
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods__faq-item {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2rem;
  font-weight: 600;
  color: #26A9E0;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-payment-methods__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for Chrome/Safari */
}

.page-payment-methods__faq-question::marker {
  display: none; /* Hide default marker for Firefox */
}

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

.page-payment-methods__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 15px;
  color: #FFFFFF;
}

.page-payment-methods__faq-answer {
  padding: 20px;
  font-size: 1rem;
  color: #f0f0f0;
  text-align: left;
}

/* Details element specific styling */
details.page-payment-methods__faq-item[open] .page-payment-methods__faq-question {
  border-bottom: 1px solid transparent; /* Remove bottom border when open */
}

details.page-payment-methods__faq-item[open] .page-payment-methods__faq-toggle {
  content: '−'; /* Change to minus when open */
}

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

@media (max-width: 768px) {
  .page-payment-methods__section {
    padding: 40px 0;
  }
  .page-payment-methods__section-title {
    font-size: 1.8rem;
  }
  .page-payment-methods__hero-content {
    padding: 15px;
  }
  .page-payment-methods__hero-description {
    font-size: 1rem;
  }
  .page-payment-methods__btn-primary,
  .page-payment-methods__btn-secondary {
    font-size: 1rem;
    padding: 12px 20px;
    margin: 5px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-payment-methods__cta-container {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
  }
  .page-payment-methods__container {
    padding: 0 15px;
  }
  .page-payment-methods__image-content {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-payment-methods__card {
    padding: 20px;
  }
  .page-payment-methods__card-title {
    font-size: 1.5rem;
  }
  .page-payment-methods__numbered-list li {
    padding-left: 50px;
  }
  .page-payment-methods__numbered-list li::before {
    width: 35px;
    height: 35px;
    font-size: 1.2rem;
  }
  .page-payment-methods__list-title {
    font-size: 1.4rem;
  }
  .page-payment-methods__faq-question {
    font-size: 1rem;
    padding: 15px;
  }
  .page-payment-methods__faq-toggle {
    font-size: 1.5rem;
  }
  .page-payment-methods__faq-answer {
    padding: 15px;
  }
  .page-payment-methods__hero-section {
    padding-top: 10px !important;
  }
}

@media (max-width: 480px) {
  .page-payment-methods__section-title {
    font-size: 1.5rem;
  }
  .page-payment-methods__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }
  .page-payment-methods__text-block {
    font-size: 0.95rem;
  }
  .page-payment-methods__card-description,
  .page-payment-methods__card-list li {
    font-size: 0.9rem;
  }
  .page-payment-methods__numbered-list li p {
    font-size: 0.95rem;
  }
  .page-payment-methods__bullet-list li {
    font-size: 0.95rem;
  }
}