.page-payment-methods {
  font-family: Arial, sans-serif;
  color: #333333; /* Default text color for light body background */
  background: #F4F7FB; /* Custom background color */
}

.page-payment-methods__hero-section {
  position: relative;
  padding: 10px 0 40px; /* Small top padding, larger bottom padding */
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #ffffff;
  overflow: hidden;
}

.page-payment-methods__hero-image-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.page-payment-methods__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2; /* Subtle overlay for image */
}

.page-payment-methods__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: 40px 20px;
}

.page-payment-methods__main-title {
  font-size: 42px;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-payment-methods__description {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

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

.page-payment-methods__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #ffffff;
  border: 2px solid #2F6BFF;
}

.page-payment-methods__btn-primary:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
  transform: translateY(-2px);
}

.page-payment-methods__btn-secondary {
  background: #ffffff;
  color: #2F6BFF;
  border: 2px solid #2F6BFF;
}

.page-payment-methods__btn-secondary:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
}

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

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

.page-payment-methods__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: #1F2D3D;
}

.page-payment-methods__text-block {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #1F2D3D;
}

.page-payment-methods__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.page-payment-methods__card {
  background: #FFFFFF;
  border: 1px solid #D6E2FF;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #1F2D3D;
}

.page-payment-methods__card-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #2F6BFF;
}

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

.page-payment-methods__card-text {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-payment-methods__list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
  text-align: left;
}

.page-payment-methods__list li {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 8px;
  position: relative;
  padding-left: 25px;
}

.page-payment-methods__list li::before {
  content: '✓';
  color: #2F6BFF;
  position: absolute;
  left: 0;
  font-weight: bold;
}

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

.page-payment-methods__step-item {
  background: #FFFFFF;
  border: 1px solid #D6E2FF;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  color: #1F2D3D;
}

.page-payment-methods__step-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #2F6BFF;
}

.page-payment-methods__step-item p {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 10px;
}

.page-payment-methods__security-section {
  background: #2F6BFF;
  color: #ffffff;
}

.page-payment-methods__security-section .page-payment-methods__section-title {
  color: #ffffff;
}

.page-payment-methods__security-section .page-payment-methods__text-block {
  color: #f0f0f0;
}

.page-payment-methods__security-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 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;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__feature-icon {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-payment-methods__feature-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-payment-methods__feature-item p {
  font-size: 15px;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-payment-methods__tips-section {
  background: #F4F7FB;
}

.page-payment-methods__checklist {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}

.page-payment-methods__checklist li {
  font-size: 16px;
  line-height: 1.6;
  position: relative;
  padding-left: 35px;
  color: #1F2D3D;
}

.page-payment-methods__checkmark {
  position: absolute;
  left: 0;
  top: 0;
  font-size: 20px;
  color: #2F6BFF;
  font-weight: bold;
}

/* FAQ styles */
details.page-payment-methods__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #D6E2FF;
  overflow: hidden;
  background: #FFFFFF;
  color: #1F2D3D;
}
details.page-payment-methods__faq-item summary.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-payment-methods__faq-item summary.page-payment-methods__faq-question::-webkit-details-marker {
  display: none;
}
details.page-payment-methods__faq-item summary.page-payment-methods__faq-question:hover {
  background: #f5f5f5;
}
.page-payment-methods__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #1F2D3D;
}
.page-payment-methods__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #2F6BFF;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-payment-methods__faq-item .page-payment-methods__faq-answer {
  padding: 0 20px 20px;
  background: #F4F7FB;
  border-radius: 0 0 5px 5px;
  color: #1F2D3D;
}
.page-payment-methods__faq-answer p {
  margin-bottom: 0;
}

/* Responsive styles */
@media (max-width: 1023px) {
  .page-payment-methods__home-hero {
    display: block !important;
    grid-template-columns: none !important;
    height: auto !important;
    max-height: none !important;
    overflow-x: hidden;
    box-sizing: border-box;
  }
  .page-payment-methods__hero-brand,
  .page-payment-methods__hero-jackpot {
    display: none !important;
  }
  .page-payment-methods__game-trial {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    overflow: hidden !important;
    margin: 0 auto;
    padding: 0 0 12px !important;
    box-sizing: border-box;
  }
  .page-payment-methods__game-trial-shell {
    height: auto !important;
    max-height: none !important;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-payment-methods__game-trial-topbar,
  .page-payment-methods__game-trial-bottombar {
    display: none !important;
  }
  .page-payment-methods__game-trial-viewport {
    position: relative;
    width: 100%;
    aspect-ratio: 1024 / 768;
    flex: none !important;
    min-height: 240px;
    max-height: none !important;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-payment-methods__game-trial-frame {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    max-width: 100%;
    border: none;
    z-index: 1;
    overflow: hidden;
  }
  .page-payment-methods__game-trial-overlay {
    z-index: 5 !important;
    pointer-events: auto !important;
  }
  .page-payment-methods__game-trial-start {
    z-index: 6 !important;
    pointer-events: auto !important;
    touch-action: manipulation;
  }
}

@media (min-width: 1024px) {
  .page-payment-methods__home-hero {
    display: grid;
    grid-template-columns: 26% 48% 26%;
    gap: 16px;
    align-items: stretch;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 10px 16px 24px;
    box-sizing: border-box;
  }
  .page-payment-methods__hero-brand,
  .page-payment-methods__hero-jackpot,
  .page-payment-methods__game-trial {
    height: 300px;
    max-height: 300px;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-payment-methods__game-trial {
    max-width: none !important;
    width: 100%;
    margin: 0;
    padding: 0;
  }
  .page-payment-methods__game-trial-shell {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 300px;
    box-sizing: border-box;
  }
  .page-payment-methods__game-trial-viewport {
    flex: 1;
    min-height: 0;
    position: relative;
    width: 100%;
  }
  .page-payment-methods__game-trial-frame {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    border: none;
  }
  .page-payment-methods__hero-jackpot-claim {
    background: #c62828 !important;
    color: #fff !important;
  }
}

@media (max-width: 768px) {
  .page-payment-methods {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-payment-methods__hero-content {
    padding: 30px 15px;
  }
  .page-payment-methods__main-title {
    font-size: 32px;
  }
  .page-payment-methods__description {
    font-size: 16px;
  }
  .page-payment-methods__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-payment-methods__btn-primary,
  .page-payment-methods__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 15px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-payment-methods__section {
    padding: 40px 0;
  }
  .page-payment-methods__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-payment-methods__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .page-payment-methods__text-block {
    font-size: 15px;
  }
  .page-payment-methods__grid,
  .page-payment-methods__steps-grid,
  .page-payment-methods__security-features {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-payment-methods__card,
  .page-payment-methods__step-item,
  .page-payment-methods__feature-item {
    padding: 20px;
  }
  .page-payment-methods__card-title,
  .page-payment-methods__step-title,
  .page-payment-methods__feature-title {
    font-size: 20px;
  }
  .page-payment-methods__card-text,
  .page-payment-methods__step-item p,
  .page-payment-methods__feature-item p,
  .page-payment-methods__list li,
  .page-payment-methods__checklist li {
    font-size: 14px;
  }
  .page-payment-methods__card-image,
  .page-payment-methods__feature-icon {
    min-width: 200px !important;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  details.page-payment-methods__faq-item summary.page-payment-methods__faq-question { padding: 15px; }
  .page-payment-methods__faq-qtext { font-size: 15px; }
  .page-payment-methods__faq-toggle {
    font-size: 20px;
    width: 24px;
    height: 24px;
  }
  details.page-payment-methods__faq-item .page-payment-methods__faq-answer { padding: 0 15px 15px; }

  /* General image and container rules for mobile */
  .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__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;
  }
  .page-payment-methods__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
  }
}

.page-payment-methods__game-trial-overlay{z-index:5;pointer-events:auto;}.page-payment-methods__game-trial-overlay.is-hidden{display:none!important;pointer-events:none!important;}.page-payment-methods__game-trial-start{z-index:6;pointer-events:auto;touch-action:manipulation;}.page-payment-methods__game-trial-shell{border:1px solid rgba(212,175,55,.45);border-radius:10px;overflow:hidden;}.page-payment-methods__reward-modal{position:fixed;inset:0;z-index:10000;}
.page-payment-methods__reward-modal.is-hidden { display: none !important; }
.page-payment-methods__reward-modal-close {
  background: #c62828;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
}
.page-payment-methods__reward-modal-close:hover { background: #a02020; }