.page-payment-methods {
  color: #404040;
  background-color: #F3F3F3;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

.page-payment-methods__hero-section {
  position: relative;
  overflow: hidden;
  padding-top: var(--header-offset, 120px);
  background-color: #025BE8;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-payment-methods__hero-image-wrapper {
  width: 100%;
  max-height: 675px;
  overflow: hidden;
}

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

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

.page-payment-methods__hero-title {
  font-size: clamp(2em, 4vw, 3.5em);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

.page-payment-methods__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods__hero-cta {
  display: inline-block;
  background-color: #1266EC;
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-payment-methods__hero-cta:hover {
  background-color: #004dcc;
}

.page-payment-methods__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: #025BE8;
  text-align: center;
  margin-bottom: 40px;
  padding-top: 60px;
}

.page-payment-methods__section-text {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #404040;
}

.page-payment-methods__why-payments-matter {
  padding: 80px 0;
  background-color: #ffffff;
}

.page-payment-methods__benefits-list {
  list-style: none;
  padding: 0;
  margin: 40px auto 0 auto;
  max-width: 800px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.page-payment-methods__benefits-item {
  background-color: #E5EEFD;
  padding: 20px;
  border-radius: 8px;
  flex: 1 1 calc(50% - 20px);
  box-sizing: border-box;
  text-align: left;
  color: #404040;
  min-width: 280px;
}

.page-payment-methods__benefits-item strong {
  color: #025BE8;
}

.page-payment-methods__deposit-methods, .page-payment-methods__withdrawal-methods {
  padding: 80px 0;
  background-color: #F3F3F3;
}

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

.page-payment-methods__method-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #404040;
}

.page-payment-methods__method-icon {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
  max-width: 100%;
  display: block;
}

.page-payment-methods__method-title {
  font-size: 1.8em;
  color: #025BE8;
  margin-bottom: 15px;
}

.page-payment-methods__method-description {
  font-size: 1em;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-payment-methods__method-details-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  width: 100%;
  text-align: left;
}

.page-payment-methods__method-detail {
  font-size: 0.95em;
  margin-bottom: 5px;
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  border-bottom: 1px dotted #e0e0e0;
}

.page-payment-methods__method-detail:last-child {
  border-bottom: none;
}

.page-payment-methods__method-detail strong {
  color: #025BE8;
}

.page-payment-methods__method-cta {
  display: inline-block;
  background-color: #025BE8;
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  margin-top: auto;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-payment-methods__method-cta:hover {
  background-color: #004dcc;
}

.page-payment-methods__how-to-deposit, .page-payment-methods__how-to-withdraw {
  padding: 80px 0;
  background-color: #ffffff;
}

.page-payment-methods__steps-list {
  list-style: none;
  padding: 0;
  margin: 40px auto 0 auto;
  max-width: 900px;
}

.page-payment-methods__steps-item {
  background-color: #E5EEFD;
  border-left: 5px solid #025BE8;
  padding: 25px;
  margin-bottom: 25px;
  border-radius: 8px;
  color: #404040;
  position: relative;
  padding-left: 40px;
}

.page-payment-methods__steps-item::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  background-color: #025BE8;
  color: #ffffff;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  position: absolute;
  left: -15px;
  top: 25px;
  font-size: 0.9em;
}

.page-payment-methods__steps-item strong {
  color: #025BE8;
  display: block;
  margin-bottom: 10px;
  font-size: 1.2em;
}

.page-payment-methods__step-image {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  margin-top: 20px;
  border-radius: 8px;
  max-width: 100%;
  display: block;
}

.page-payment-methods__cta-button {
  display: block;
  width: fit-content;
  margin: 40px auto 0 auto;
  background-color: #1266EC;
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-payment-methods__cta-button:hover {
  background-color: #004dcc;
}

.page-payment-methods__security-fairness, .page-payment-methods__responsible-gaming {
  padding: 80px 0;
  background-color: #F3F3F3;
}

.page-payment-methods__security-image {
  width: 100%;
  height: auto;
  max-width: 800px;
  margin: 40px auto 0 auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  max-height: 450px;
  object-fit: cover;
}

.page-payment-methods__faq-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.page-payment-methods__faq-item {
  background-color: #E5EEFD;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  color: #404040;
}

.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #025BE8;
  color: #ffffff;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

.page-payment-methods__faq-question:hover {
  background-color: #004dcc;
}

.page-payment-methods__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

.page-payment-methods__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: #ffffff;
  color: #404040;
}

.page-payment-methods__faq-item.active .page-payment-methods__faq-answer {
  max-height: 1000px !important;
  padding: 15px 25px;
}

.page-payment-methods__faq-answer p {
  margin: 0;
  padding: 10px 0;
  text-align: left;
}

.page-payment-methods__cta-final {
  padding: 80px 0;
  background-color: #025BE8;
  color: #ffffff;
  text-align: center;
}

.page-payment-methods__cta-final .page-payment-methods__section-title {
  color: #ffffff;
}

.page-payment-methods__cta-final .page-payment-methods__section-text {
  color: #ffffff;
}

.page-payment-methods__cta-final .page-payment-methods__cta-button {
  background-color: #1266EC;
  color: #ffffff;
}

.page-payment-methods__cta-final .page-payment-methods__cta-button:hover {
  background-color: #004dcc;
}

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

@media (max-width: 768px) {
  .page-payment-methods {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-payment-methods__hero-section {
    padding-top: var(--header-offset, 100px) !important;
  }
  .page-payment-methods__hero-content {
    padding: 30px 15px;
  }
  .page-payment-methods__hero-title {
    font-size: clamp(1.5em, 6vw, 2.5em);
  }
  .page-payment-methods__hero-description {
    font-size: 1em;
  }
  .page-payment-methods__hero-cta {
    padding: 12px 25px;
    width: 100%;
  }

  .page-payment-methods__section-title {
    font-size: 1.8em;
    padding-top: 40px;
    margin-bottom: 30px;
  }
  .page-payment-methods__section-text {
    font-size: 1em;
    padding: 0 15px;
  }

  .page-payment-methods__why-payments-matter, .page-payment-methods__deposit-methods, .page-payment-methods__withdrawal-methods, .page-payment-methods__how-to-deposit, .page-payment-methods__how-to-withdraw, .page-payment-methods__security-fairness, .page-payment-methods__responsible-gaming, .page-payment-methods__faq-section, .page-payment-methods__cta-final {
    padding: 60px 0;
  }

  .page-payment-methods__benefits-list {
    margin-top: 30px;
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
  .page-payment-methods__benefits-item {
    flex: 1 1 100%;
    padding: 15px;
  }

  .page-payment-methods__method-cards {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
    padding: 0 15px;
  }
  .page-payment-methods__method-card {
    padding: 20px;
  }
  .page-payment-methods__method-icon {
    max-height: 150px;
  }
  .page-payment-methods__method-title {
    font-size: 1.5em;
  }
  .page-payment-methods__method-cta {
    padding: 10px 20px;
    width: 100%;
  }

  .page-payment-methods__steps-list {
    margin-top: 30px;
    padding: 0 15px;
  }
  .page-payment-methods__steps-item {
    padding: 20px 15px 20px 35px;
    margin-bottom: 20px;
  }
  .page-payment-methods__steps-item::before {
    left: -10px;
    top: 20px;
  }
  .page-payment-methods__steps-item strong {
    font-size: 1.1em;
  }
  .page-payment-methods__step-image {
    margin-top: 15px;
    max-height: 300px;
  }

  .page-payment-methods__cta-button {
    margin-top: 30px auto 0 auto;
    width: 100%;
    padding: 12px 25px;
  }

  .page-payment-methods__security-image {
    margin-top: 30px auto 0 auto;
    max-height: 300px;
  }

  .page-payment-methods__faq-item {
    margin-bottom: 10px;
  }
  .page-payment-methods__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }
  .page-payment-methods__faq-answer {
    padding: 0 20px;
  }
  .page-payment-methods__faq-item.active .page-payment-methods__faq-answer {
    padding: 10px 20px;
  }

  /* Force responsive image and button 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__method-cards,
  .page-payment-methods__method-card,
  .page-payment-methods__benefits-list,
  .page-payment-methods__steps-list,
  .page-payment-methods__faq-section,
  .page-payment-methods__cta-final {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-payment-methods__cta-button,
  .page-payment-methods__btn-primary,
  .page-payment-methods__btn-secondary,
  .page-payment-methods a[class*="button"],
  .page-payment-methods a[class*="btn"],
  .page-payment-methods__method-cta {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-payment-methods__cta-buttons,
  .page-payment-methods__button-group,
  .page-payment-methods__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  
  .page-payment-methods__cta-buttons {
    display: flex;
    flex-direction: column;
  }
}