/* style/payment-methods-crypto.css */

/* Base styles for the page */
.page-payment-methods-crypto {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
}

/* --- Color Contrast & Background Handling --- */
/* Body background is var(--dark-background), implying dark. So main text should be light. */
/* Sections with specific background colors will override this. */
.page-payment-methods-crypto__dark-bg {
  background-color: #26A9E0; /* Brand primary color */
  color: #ffffff; /* Light text for dark background */
}

.page-payment-methods-crypto__light-bg {
  background-color: #ffffff; /* Auxiliary color / White background */
  color: #333333; /* Dark text for light background */
}

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

/* Hero Section */
.page-payment-methods-crypto__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
}

.page-payment-methods-crypto__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 30px; /* Space between image and content */
}

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

.page-payment-methods-crypto__hero-content {
  position: relative; /* Ensure content is above any potential background elements */
  z-index: 2;
  max-width: 800px;
  padding: 20px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.2); /* Slightly transparent background for readability */
}

.page-payment-methods-crypto__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: #ffffff;
  font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size for H1 */
}

.page-payment-methods-crypto__hero-description {
  font-size: 1.15rem;
  margin-bottom: 30px;
  color: #f0f0f0;
}

/* Section Titles and Descriptions */
.page-payment-methods-crypto__section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 20px;
  text-align: center;
  line-height: 1.3;
}

.page-payment-methods-crypto__section-description {
  font-size: 1rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

/* Buttons */
.page-payment-methods-crypto__btn-primary,
.page-payment-methods-crypto__btn-secondary,
.page-payment-methods-crypto__cta-button {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow word breaking */
}

.page-payment-methods-crypto__btn-primary {
  background-color: #26A9E0; /* Brand primary color */
  color: #ffffff; /* White text */
  border: 2px solid #26A9E0;
  margin-right: 15px;
}

.page-payment-methods-crypto__btn-primary:hover {
  background-color: #1a8cc7;
  border-color: #1a8cc7;
}

.page-payment-methods-crypto__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0; /* Brand primary color text */
  border: 2px solid #26A9E0;
}

.page-payment-methods-crypto__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #1a8cc7;
  border-color: #1a8cc7;
}

.page-payment-methods-crypto__inline-link {
  color: #26A9E0;
  text-decoration: underline;
}

.page-payment-methods-crypto__inline-link:hover {
  color: #1a8cc7;
}

/* Benefits Section */
.page-payment-methods-crypto__benefits-section {
  padding: 60px 0;
}

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

.page-payment-methods-crypto__benefit-card {
  background-color: #ffffff; /* White background for card */
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #333333; /* Dark text for light card background */
}

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

.page-payment-methods-crypto__card-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  display: block;
  margin: 0 auto 20px auto;
  border-radius: 8px;
  min-width: 200px;
  min-height: 200px;
}

.page-payment-methods-crypto__card-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #26A9E0; /* Brand color for titles */
}

.page-payment-methods-crypto__card-text {
  font-size: 1rem;
  color: #555555;
}

/* Supported Crypto Section */
.page-payment-methods-crypto__supported-crypto-section {
  padding: 60px 0;
  text-align: center;
}

.page-payment-methods-crypto__supported-crypto-section .page-payment-methods-crypto__section-title,
.page-payment-methods-crypto__supported-crypto-section .page-payment-methods-crypto__section-description {
  color: #ffffff;
}

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

.page-payment-methods-crypto__crypto-item {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for dark background */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  color: #ffffff;
}

.page-payment-methods-crypto__crypto-name {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #ffffff;
}

.page-payment-methods-crypto__crypto-desc {
  font-size: 1rem;
  color: #e0e0e0;
}

/* Deposit Guide Section */
.page-payment-methods-crypto__deposit-guide-section {
  padding: 60px 0;
}

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

.page-payment-methods-crypto__step-item {
  background-color: #f9f9f9;
  border-left: 5px solid #26A9E0;
  border-radius: 8px;
  padding: 25px;
  color: #333333; /* Dark text for light background */
  position: relative;
  padding-top: 60px; /* Space for step number */
}

.page-payment-methods-crypto__step-number {
  position: absolute;
  top: 15px;
  left: 25px;
  background-color: #26A9E0;
  color: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
}

.page-payment-methods-crypto__step-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-payment-methods-crypto__step-text {
  font-size: 1rem;
  color: #555555;
}

.page-payment-methods-crypto__guide-image-wrapper {
  margin-top: 60px;
  text-align: center;
}

.page-payment-methods-crypto__guide-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

/* Important Notes Section */
.page-payment-methods-crypto__important-notes-section {
  padding: 60px 0;
}

.page-payment-methods-crypto__important-notes-section .page-payment-methods-crypto__section-title,
.page-payment-methods-crypto__important-notes-section .page-payment-methods-crypto__section-description {
  color: #ffffff;
}

.page-payment-methods-crypto__notes-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods-crypto__note-item {
  background-color: rgba(255, 255, 255, 0.15); /* Slightly lighter for notes */
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  font-size: 1.05rem;
  line-height: 1.8;
  color: #ffffff;
}

.page-payment-methods-crypto__note-item strong {
  color: #f0f0f0;
}

/* FAQ Section */
.page-payment-methods-crypto__faq-section {
  padding: 60px 0;
}

.page-payment-methods-crypto__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods-crypto__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #333333; /* Dark text for light background */
}

.page-payment-methods-crypto__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 1.1rem;
  color: #26A9E0;
  position: relative;
}

.page-payment-methods-crypto__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-payment-methods-crypto__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.page-payment-methods-crypto__faq-toggle {
  font-size: 1.5rem;
  font-weight: 700;
  color: #26A9E0;
  margin-left: 15px;
}

.page-payment-methods-crypto__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1rem;
  line-height: 1.7;
  color: #555555;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-payment-methods-crypto__faq-item[open] .page-payment-methods-crypto__faq-answer {
  max-height: 500px; /* Adjust as needed */
  padding-top: 10px;
}

.page-payment-methods-crypto__faq-image-wrapper {
  margin-top: 60px;
  text-align: center;
}

.page-payment-methods-crypto__faq-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

/* CTA Section */
.page-payment-methods-crypto__cta-section {
  padding: 60px 0;
  text-align: center;
}

.page-payment-methods-crypto__cta-section .page-payment-methods-crypto__section-title,
.page-payment-methods-crypto__cta-section .page-payment-methods-crypto__section-description {
  color: #ffffff;
}

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

/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .page-payment-methods-crypto__hero-content {
    padding: 15px;
  }
  .page-payment-methods-crypto__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
  .page-payment-methods-crypto__hero-description {
    font-size: 1.1rem;
  }
}

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

  /* General content area padding for mobile */
  .page-payment-methods-crypto__container,
  .page-payment-methods-crypto__hero-section,
  .page-payment-methods-crypto__benefits-section,
  .page-payment-methods-crypto__supported-crypto-section,
  .page-payment-methods-crypto__deposit-guide-section,
  .page-payment-methods-crypto__important-notes-section,
  .page-payment-methods-crypto__faq-section,
  .page-payment-methods-crypto__cta-section {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden;
  }

  .page-payment-methods-crypto__hero-section {
    padding-top: 10px !important; /* body handles --header-offset, this is decorative */
    padding-bottom: 40px !important;
  }

  .page-payment-methods-crypto__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    margin-bottom: 15px;
  }

  .page-payment-methods-crypto__hero-description {
    font-size: 1rem;
    margin-bottom: 25px;
  }

  .page-payment-methods-crypto__section-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
    margin-bottom: 15px;
  }

  .page-payment-methods-crypto__section-description {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }

  /* Images responsiveness */
  .page-payment-methods-crypto img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Card images */
  .page-payment-methods-crypto__card-image,
  .page-payment-methods-crypto__guide-image,
  .page-payment-methods-crypto__faq-image {
    min-width: unset !important; /* Allow smaller display if needed, but still >200px */
    min-height: unset !important;
  }

  /* Buttons responsiveness */
  .page-payment-methods-crypto__btn-primary,
  .page-payment-methods-crypto__btn-secondary,
  .page-payment-methods-crypto__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px !important;
    margin: 0 !important; /* Remove horizontal margins */
  }

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

  .page-payment-methods-crypto__benefits-grid,
  .page-payment-methods-crypto__crypto-list,
  .page-payment-methods-crypto__guide-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-payment-methods-crypto__benefit-card,
  .page-payment-methods-crypto__crypto-item,
  .page-payment-methods-crypto__step-item,
  .page-payment-methods-crypto__note-item,
  .page-payment-methods-crypto__faq-item {
    padding: 20px;
  }

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

  .page-payment-methods-crypto__crypto-name {
    font-size: 1.4rem;
  }

  .page-payment-methods-crypto__step-number {
    width: 35px;
    height: 35px;
    font-size: 1.1rem;
  }

  .page-payment-methods-crypto__step-title {
    font-size: 1.2rem;
  }

  .page-payment-methods-crypto__faq-item summary {
    font-size: 1rem;
    padding: 15px;
  }

  .page-payment-methods-crypto__faq-answer {
    padding: 0 15px 15px 15px;
  }
}

@media (max-width: 480px) {
  .page-payment-methods-crypto__hero-section {
    padding: 40px 10px;
    padding-top: 10px !important;
  }
  .page-payment-methods-crypto__hero-content {
    padding: 10px;
  }
  .page-payment-methods-crypto__main-title {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }
  .page-payment-methods-crypto__section-title {
    font-size: clamp(1.4rem, 6vw, 1.8rem);
  }
  .page-payment-methods-crypto__btn-primary,
  .page-payment-methods-crypto__btn-secondary,
  .page-payment-methods-crypto__cta-button {
    font-size: 0.9rem;
  }
}