.page-payment-methods-guide {
  --primary-color: #F2C14E;
  --secondary-color: #FFD36B;
  --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  --card-bg: #111111;
  --bg-color-main: #0A0A0A;
  --text-main: #FFF6D6;
  --border-color: #3A2A12;
  --glow-color: #FFD36B;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main); /* Default text color for dark background */
  background-color: var(--bg-color-main); /* Ensure main content area respects overall background */
}

/* Ensure body padding-top is handled by shared.css */

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

.page-payment-methods-guide__section {
  padding: 60px 0;
  text-align: center;
}

.page-payment-methods-guide__dark-section {
  background-color: var(--bg-color-main);
  color: var(--text-main);
}

.page-payment-methods-guide__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-payment-methods-guide__text-contrast-fix {
  color: #333333 !important;
}

.page-payment-methods-guide__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 10px; /* Small top padding for first content module */
}

.page-payment-methods-guide__hero-image-wrapper {
  width: 100%;
  height: 500px; /* Fixed height for hero image */
  overflow: hidden;
  position: relative;
}

.page-payment-methods-guide__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-payment-methods-guide__hero-content {
  position: relative;
  z-index: 1;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -100px; /* Pull content up slightly over image for visual flow, NOT overlapping text on image */
  background-color: var(--card-bg);
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  color: var(--text-main);
}

.page-payment-methods-guide__main-title {
  font-size: clamp(2em, 3.5vw, 2.8em);
  font-weight: 700;
  line-height: 1.2;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-payment-methods-guide__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: var(--text-main);
}

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

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

.page-payment-methods-guide__btn-primary {
  background: var(--button-gradient);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(255, 211, 107, 0.4);
}

.page-payment-methods-guide__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 211, 107, 0.6);
}

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

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

.page-payment-methods-guide__btn-small {
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-payment-methods-guide__section-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.page-payment-methods-guide__section-intro {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: var(--text-main);
}

.page-payment-methods-guide__light-bg .page-payment-methods-guide__section-title,
.page-payment-methods-guide__light-bg .page-payment-methods-guide__section-intro {
  color: #333333;
}

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

.page-payment-methods-guide__card {
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  border: 1px solid var(--border-color);
}

.page-payment-methods-guide__dark-bg-card {
  background-color: var(--card-bg);
  color: var(--text-main);
}

.page-payment-methods-guide__light-bg-card {
  background-color: #ffffff;
  color: #333333;
  border: 1px solid #e0e0e0;
}

.page-payment-methods-guide__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  min-width: 200px; /* Minimum size for content images */
  min-height: 200px;
}

.page-payment-methods-guide__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.page-payment-methods-guide__light-bg-card .page-payment-methods-guide__card-title {
  color: var(--primary-color);
}

.page-payment-methods-guide__card p {
  font-size: 1em;
  margin-bottom: 20px;
  color: var(--text-main);
}

.page-payment-methods-guide__light-bg-card p {
  color: #333333;
}

.page-payment-methods-guide__other-methods {
  margin-top: 40px;
  padding: 30px;
  border-radius: 10px;
  background-color: #ffffff;
  color: #333333;
  border: 1px solid #e0e0e0;
}

.page-payment-methods-guide__other-methods .page-payment-methods-guide__card-title {
  color: var(--primary-color);
}

.page-payment-methods-guide__other-methods p {
  color: #333333;
}

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

.page-payment-methods-guide__step-card {
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  border: 1px solid var(--border-color);
}

.page-payment-methods-guide__step-card .page-payment-methods-guide__card-title {
  color: var(--secondary-color);
}

.page-payment-methods-guide__light-bg .page-payment-methods-guide__step-card {
  background-color: #ffffff;
  color: #333333;
  border: 1px solid #e0e0e0;
}

.page-payment-methods-guide__light-bg .page-payment-methods-guide__step-card .page-payment-methods-guide__card-title {
  color: var(--primary-color);
}

.page-payment-methods-guide__light-bg .page-payment-methods-guide__step-card p {
  color: #333333;
}

.page-payment-methods-guide__step-image {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-payment-methods-guide__cta-center {
  margin-top: 50px;
  text-align: center;
}

.page-payment-methods-guide__faq-list {
  max-width: 800px;
  margin: 40px auto 0 auto;
  text-align: left;
}

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

.page-payment-methods-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: #1a1a1a;
  transition: background-color 0.3s ease;
}

.page-payment-methods-guide__faq-question:hover {
  background-color: #2a2a2a;
}

.page-payment-methods-guide__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: var(--secondary-color);
}

.page-payment-methods-guide__faq-item.active .page-payment-methods-guide__faq-toggle {
  transform: rotate(45deg);
}

.page-payment-methods-guide__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--text-main);
}

.page-payment-methods-guide__faq-item.active .page-payment-methods-guide__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 20px 25px;
}

.page-payment-methods-guide__faq-answer p {
  margin: 0;
  color: var(--text-main);
}

.page-payment-methods-guide__conclusion-section .page-payment-methods-guide__cta-buttons {
  margin-top: 40px;
}

/* Floating buttons for mobile */
.page-payment-methods-guide__floating-buttons {
  display: none; /* Hidden by default, shown on mobile */
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(10, 10, 10, 0.95);
  padding: 10px 0;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
  justify-content: space-around;
  align-items: center;
}

.page-payment-methods-guide__floating-btn {
  flex: 1;
  margin: 0 5px;
  padding: 12px 10px;
  text-align: center;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  color: #ffffff;
  background: var(--button-gradient);
  box-shadow: 0 2px 8px rgba(255, 211, 107, 0.3);
  transition: transform 0.2s ease;
}

.page-payment-methods-guide__floating-btn:hover {
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-payment-methods-guide__hero-image-wrapper {
    height: 400px;
  }

  .page-payment-methods-guide__hero-content {
    margin-top: -80px;
    padding: 30px;
  }

  .page-payment-methods-guide__main-title {
    font-size: 2.2em;
  }

  .page-payment-methods-guide__section-title {
    font-size: 2em;
  }

  .page-payment-methods-guide__grid-3-col,
  .page-payment-methods-guide__steps-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .page-payment-methods-guide__hero-image-wrapper {
    height: 300px;
  }

  .page-payment-methods-guide__hero-content {
    margin-top: -60px;
    padding: 25px;
  }

  .page-payment-methods-guide__main-title {
    font-size: 1.8em;
  }

  .page-payment-methods-guide__hero-description {
    font-size: 1em;
  }

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

  .page-payment-methods-guide__btn-primary,
  .page-payment-methods-guide__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-payment-methods-guide__section-title {
    font-size: 1.8em;
  }

  .page-payment-methods-guide__section-intro {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-payment-methods-guide__grid-3-col,
  .page-payment-methods-guide__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-payment-methods-guide__card,
  .page-payment-methods-guide__step-card,
  .page-payment-methods-guide__other-methods {
    padding: 20px;
  }

  .page-payment-methods-guide__card-title {
    font-size: 1.3em;
  }

  .page-payment-methods-guide__card p {
    font-size: 0.9em;
  }

  /* Mobile image responsiveness */
  .page-payment-methods-guide img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-payment-methods-guide__section,
  .page-payment-methods-guide__card,
  .page-payment-methods-guide__container,
  .page-payment-methods-guide__cta-buttons,
  .page-payment-methods-guide__button-group,
  .page-payment-methods-guide__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-payment-methods-guide__hero-section {
    padding-top: 10px !important;
  }

  /* Floating buttons visible on mobile */
  .page-payment-methods-guide__floating-buttons {
    display: flex;
  }
}

@media (max-width: 480px) {
  .page-payment-methods-guide__main-title {
    font-size: 1.5em;
  }

  .page-payment-methods-guide__section-title {
    font-size: 1.6em;
  }

  .page-payment-methods-guide__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }

  .page-payment-methods-guide__faq-answer {
    padding: 15px 20px;
  }

  .page-payment-methods-guide__floating-btn {
    font-size: 0.9em;
    padding: 10px 8px;
  }
}