/* style/payment-methods.css */
:root {
  --primary-color: #1A202C;
  --secondary-color: #FFD700;
  --text-light: #ffffff;
  --text-dark: #333333;
  --background-dark-body: #0a0a0a;
  --background-light-card: #ffffff;
  --border-light: #e0e0e0;
  --shadow-light: rgba(0, 0, 0, 0.1);
}

.page-payment-methods {
  color: var(--text-light); /* Body background is dark, so main text is light */
  background-color: var(--background-dark-body);
  line-height: 1.7;
}

.page-payment-methods__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 120px; /* Adjust for fixed header */
  background: var(--primary-color);
  color: var(--text-light);
}

.page-payment-methods__hero-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-payment-methods__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  margin-bottom: 30px;
}

.page-payment-methods__hero-image {
  width: 100%;
  max-width: 800px; /* Limit image width for better presentation */
  margin-top: 20px;
}

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

.page-payment-methods__main-title {
  font-size: 42px;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.page-payment-methods__hero-description {
  font-size: 18px;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-light);
}

.page-payment-methods__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  border: none;
}

.page-payment-methods__cta-button:hover {
  background: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.page-payment-methods__section {
  padding: 60px 20px;
}

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

.page-payment-methods__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.page-payment-methods__section-description {
  font-size: 18px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: var(--text-light);
}

.page-payment-methods__overview-methods {
  background-color: var(--background-dark-body);
}

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

.page-payment-methods__card {
  background: var(--background-light-card);
  color: var(--text-dark);
  border-radius: 10px;
  box-shadow: 0 4px 15px var(--shadow-light);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

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

.page-payment-methods__card-icon {
  width: 150px; /* Enforce min 200px equivalent visual size */
  height: auto;
  max-width: 100%;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-payment-methods__card-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-payment-methods__card-text {
  font-size: 16px;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-payment-methods__card-button {
  display: inline-block;
  padding: 10px 25px;
  background: var(--primary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
}

.page-payment-methods__card-button:hover {
  background: #0e121a;
}

.page-payment-methods__deposit-guide,
.page-payment-methods__security-info,
.page-payment-methods__faq-section {
  background-color: var(--primary-color);
  color: var(--text-light);
}

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

.page-payment-methods__step-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  color: var(--text-light);
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__step-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.page-payment-methods__step-text {
  font-size: 16px;
  line-height: 1.6;
}

.page-payment-methods__note-block {
  background: var(--background-light-card);
  color: var(--text-dark);
  border-radius: 10px;
  padding: 30px;
  margin-top: 50px;
  box-shadow: 0 4px 15px var(--shadow-light);
}

.page-payment-methods__note-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--primary-color);
  text-align: center;
}

.page-payment-methods__note-list {
  list-style-type: disc;
  padding-left: 25px;
  font-size: 16px;
  line-height: 1.8;
  text-align: left;
}

.page-payment-methods__note-list li p {
  margin-bottom: 10px;
  color: var(--text-dark);
}

.page-payment-methods__note-list li a {
  color: #007bff; /* Standard link color */
  text-decoration: none;
}

.page-payment-methods__note-list li a:hover {
  text-decoration: underline;
}

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

.page-payment-methods__feature-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  color: var(--text-light);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__feature-icon {
  width: 150px; /* Enforce min 200px equivalent visual size */
  height: auto;
  max-width: 100%;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-payment-methods__feature-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.page-payment-methods__feature-text {
  font-size: 16px;
  line-height: 1.6;
}

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

.page-payment-methods__issue-card {
  background: var(--background-light-card);
  color: var(--text-dark);
  border-radius: 10px;
  box-shadow: 0 4px 15px var(--shadow-light);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-payment-methods__issue-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-payment-methods__issue-text {
  font-size: 16px;
  line-height: 1.6;
}

.page-payment-methods__issue-text a {
  color: #007bff; /* Standard link color */
  text-decoration: none;
}

.page-payment-methods__issue-text a:hover {
  text-decoration: underline;
}

.page-payment-methods__contact-cta {
  text-align: center;
  margin-top: 50px;
}

.page-payment-methods__contact-cta p {
  font-size: 18px;
  margin-bottom: 20px;
  color: var(--text-light);
}

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

.page-payment-methods__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-payment-methods__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 15px;
  opacity: 0;
  color: var(--text-dark);
}

.page-payment-methods__faq-item.active .page-payment-methods__faq-answer {
  max-height: 2000px !important; /* Sufficiently large */
  padding: 20px 15px !important;
  opacity: 1;
  background: var(--background-light-card);
  border-radius: 0 0 5px 5px;
}

.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: var(--background-light-card);
  border: 1px solid var(--border-light);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: var(--text-dark);
}

.page-payment-methods__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-payment-methods__faq-question:active {
  background: #eeeeee;
}

.page-payment-methods__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--primary-color);
}

.page-payment-methods__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: var(--primary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-payment-methods__faq-item.active .page-payment-methods__faq-toggle {
  color: var(--primary-color);
  transform: rotate(45deg); /* Change + to X or similar */
}

.page-payment-methods__final-cta {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, var(--primary-color), #0e121a);
  color: var(--text-light);
}

.page-payment-methods__final-cta .page-payment-methods__section-title {
  color: var(--secondary-color);
}

.page-payment-methods__final-cta .page-payment-methods__section-description {
  color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-payment-methods__main-title {
    font-size: 38px;
  }
  .page-payment-methods__section-title {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .page-payment-methods__hero-section {
    padding-top: 100px !important; /* Mobile fixed header adjustment */
    padding-bottom: 40px;
  }
  .page-payment-methods__hero-content {
    margin-bottom: 20px;
  }
  .page-payment-methods__hero-image {
    margin-top: 0;
  }
  .page-payment-methods__main-title {
    font-size: 28px;
  }
  .page-payment-methods__hero-description {
    font-size: 16px;
  }
  .page-payment-methods__cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }
  .page-payment-methods__section {
    padding: 40px 15px;
  }
  .page-payment-methods__section-title {
    font-size: 26px;
    margin-bottom: 15px;
  }
  .page-payment-methods__section-description {
    font-size: 15px;
    margin-bottom: 30px;
  }
  .page-payment-methods__cards-grid,
  .page-payment-methods__steps-grid,
  .page-payment-methods__security-features,
  .page-payment-methods__issues-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-payment-methods__card,
  .page-payment-methods__step-item,
  .page-payment-methods__feature-item,
  .page-payment-methods__issue-card {
    padding: 25px;
  }
  .page-payment-methods__card-icon,
  .page-payment-methods__feature-icon {
    width: 100px; /* Adjust size for mobile, still > 200px equivalent visual area */
  }
  .page-payment-methods__card-title,
  .page-payment-methods__step-title,
  .page-payment-methods__feature-title,
  .page-payment-methods__issue-title {
    font-size: 20px;
  }
  .page-payment-methods__card-text,
  .page-payment-methods__step-text,
  .page-payment-methods__feature-text,
  .page-payment-methods__issue-text,
  .page-payment-methods__note-list li p {
    font-size: 15px;
  }
  .page-payment-methods__note-block {
    padding: 25px;
    margin-top: 30px;
  }
  .page-payment-methods__note-title {
    font-size: 20px;
  }
  .page-payment-methods__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  .page-payment-methods__faq-question h3 {
    font-size: 15px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  .page-payment-methods__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  .page-payment-methods__faq-answer {
    padding: 0 15px;
  }
  .page-payment-methods__faq-item.active .page-payment-methods__faq-answer {
    padding: 15px !important;
  }
  .page-payment-methods__final-cta {
    padding: 60px 15px;
  }

  /* Mandatory mobile image and container styles */
  .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-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-payment-methods__hero-section {
    padding-left: 15px;
    padding-right: 15px;
  }
}