.page-payment-methods {
  --primary-color: #F2C14E;
  --secondary-color: #FFD36B;
  --background-color: #0A0A0A;
  --card-bg-color: #111111;
  --text-main-color: #FFF6D6;
  --border-color: #3A2A12;
  --glow-color: #FFD36B;
  color: var(--text-main-color); /* Default text color for dark background */
  background-color: var(--background-color); /* Matches body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: 10px; /* Small top padding for first content block */
}

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

.page-payment-methods__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 20px;
  background: linear-gradient(180deg, var(--background-color) 0%, #1A1A1A 100%);
  border-bottom: 1px solid var(--border-color);
}

.page-payment-methods__hero-content {
  max-width: 800px;
  margin-bottom: 30px;
}

.page-payment-methods__main-title {
  font-size: 3.2em;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 15px;
  line-height: 1.2;
  text-shadow: 0 0 8px rgba(255, 211, 107, 0.6);
}

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

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

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

.page-payment-methods__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #1A1A1A;
  border: none;
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-payment-methods__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
}

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

.page-payment-methods__btn-secondary:hover {
  background: var(--secondary-color);
  color: var(--background-color);
  transform: translateY(-3px);
}

.page-payment-methods__hero-image-container {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-payment-methods__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-payment-methods__section-title {
  font-size: 2.5em;
  color: var(--primary-color);
  text-align: center;
  margin-top: 60px;
  margin-bottom: 30px;
  font-weight: 700;
  text-shadow: 0 0 5px rgba(242, 193, 78, 0.4);
}

.page-payment-methods__section-intro {
  font-size: 1.1em;
  color: var(--text-main-color);
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px;
}

.page-payment-methods__features-grid,
.page-payment-methods__methods-grid,
.page-payment-methods__process-steps {
  display: grid;
  gap: 30px;
  margin-bottom: 50px;
}

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

.page-payment-methods__methods-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.page-payment-methods__process-steps {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.page-payment-methods__feature-card,
.page-payment-methods__method-card,
.page-payment-methods__step-card {
  background-color: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-main-color);
}

.page-payment-methods__feature-card:hover,
.page-payment-methods__method-card:hover,
.page-payment-methods__step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

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

.page-payment-methods__feature-title,
.page-payment-methods__method-title,
.page-payment-methods__step-title {
  font-size: 1.6em;
  color: var(--secondary-color);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-payment-methods__feature-description,
.page-payment-methods__method-description,
.page-payment-methods__step-description {
  font-size: 1em;
  color: var(--text-main-color);
  margin-bottom: 15px;
}

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

.page-payment-methods__method-details li {
  margin-bottom: 8px;
  color: var(--text-main-color);
}

.page-payment-methods__method-details li strong {
  color: var(--primary-color);
}

.page-payment-methods__cta-center {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 60px;
}

.page-payment-methods__dark-section {
  background-color: var(--background-color);
  padding: 60px 20px;
  text-align: center;
}

.page-payment-methods__dark-section .page-payment-methods__section-title {
  color: var(--secondary-color);
}

.page-payment-methods__dark-section .page-payment-methods__section-intro {
  color: var(--text-main-color);
}

.page-payment-methods__footer {
  background-color: #050505;
  padding: 30px 20px;
  text-align: center;
  border-top: 1px solid var(--border-color);
}

.page-payment-methods__copyright {
  font-size: 0.9em;
  color: #666;
}

/* FAQ Styles */
details.page-payment-methods__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg-color);
}
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;
  color: var(--text-main-color);
}
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: rgba(255, 211, 107, 0.1);
}
.page-payment-methods__faq-qtext {
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--secondary-color);
}
.page-payment-methods__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  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: rgba(17, 17, 17, 0.8);
  border-radius: 0 0 5px 5px;
  color: var(--text-main-color);
}

/* Responsive Styles */
@media (max-width: 1023px) {
  /* Homepage game trial boilerplate - as per strict instruction */
  .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) {
  /* Homepage game trial boilerplate - as per strict instruction */
  .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__container {
    padding: 15px;
  }

  .page-payment-methods__hero-section {
    padding: 30px 15px;
  }

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

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

  .page-payment-methods__cta-group {
    flex-direction: column;
    gap: 15px;
  }

  .page-payment-methods__btn-primary,
  .page-payment-methods__btn-secondary {
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-payment-methods__section-title {
    font-size: 2em;
    margin-top: 40px;
    margin-bottom: 20px;
  }

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

  .page-payment-methods__features-grid,
  .page-payment-methods__methods-grid,
  .page-payment-methods__process-steps {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 30px;
  }

  .page-payment-methods__feature-card,
  .page-payment-methods__method-card,
  .page-payment-methods__step-card {
    padding: 20px;
  }

  .page-payment-methods__feature-title,
  .page-payment-methods__method-title,
  .page-payment-methods__step-title {
    font-size: 1.4em;
  }

  .page-payment-methods__feature-description,
  .page-payment-methods__method-description,
  .page-payment-methods__step-description {
    font-size: 0.9em;
  }

  .page-payment-methods__method-icon {
    max-height: 150px;
  }

  .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 {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  details.page-payment-methods__faq-item summary.page-payment-methods__faq-question {
    padding: 15px;
  }
  .page-payment-methods__faq-qtext {
    font-size: 1em;
  }
  .page-payment-methods__faq-answer {
    padding: 0 15px 15px;
  }

  /* Homepage specific media query elements - as per strict instruction */
  .page-payment-methods__promo-strip-track {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* ensure no horizontal scroll */
    overflow-x: hidden;
  }
  .page-payment-methods__promo-card {
    flex-direction: column; /* stack image and text */
    text-align: center;
  }
  .page-payment-methods__promo-card img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
  }
  .page-payment-methods__hot-games-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-payment-methods__hot-games-item-name,
  .page-payment-methods__hot-games-item-rtp,
  .page-payment-methods__hot-games-item-desc {
    display: none; /* hide for mobile */
  }
  .page-payment-methods__winner-ticker {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 999;
    padding: 8px 0;
  }
  body {
    padding-bottom: 40px; /* Adjust for fixed ticker */
  }
  .page-payment-methods__hero-brand {
    display: block; /* If hidden above 1023px, show for mobile */
    padding: 20px;
    text-align: center;
  }
}

/* Homepage specific elements - as per strict instruction */
.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-close{position:absolute;top:15px;right:15px;font-size:24px;color:#fff;cursor:pointer;background:none;border:none;}

/* General Page Elements */
.page-payment-methods__why-choose-section, .page-payment-methods__deposit-methods, .page-payment-methods__withdrawal-methods, .page-payment-methods__faq-section {
  padding: 60px 0;
}

.page-payment-methods__why-choose-section {
  background-color: #0A0A0A;
}

.page-payment-methods__deposit-methods {
  background: linear-gradient(180deg, #0A0A0A 0%, #1A1A1A 100%);
}

.page-payment-methods__withdrawal-methods {
  background-color: #0A0A0A;
}

.page-payment-methods__faq-section {
  background: linear-gradient(180deg, #1A1A1A 0%, #0A0A0A 100%);
}

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

.page-payment-methods__btn-group {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-payment-methods__btn-group a {
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

@media (max-width: 768px) {
  .page-payment-methods__btn-group {
    flex-direction: column;
    gap: 10px;
  }
  .page-payment-methods__btn-group a {
    width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}