:root {
    --primary-color: #113B7A;
    --secondary-color: #1D5FD1;
    --button-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
    --card-bg: #10233F;
    --text-main: #F3F8FF;
    --text-secondary: #AFC4E8;
    --border-color: #244D84;
    --glow-color: #4FA8FF;
    --gold-color: #F2C14E;
    --divider-color: #1B3357;
    --deep-navy: #08162B;
}

.page-payment-methods {
    background-color: var(--deep-navy); /* Dark body background */
    color: var(--text-main); /* Light text for readability */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
}

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

.page-payment-methods__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 15px;
    background-color: var(--primary-color);
    border-radius: 10px;
    margin-bottom: 30px;
}

.page-payment-methods__hero-image-wrapper {
    width: 100%;
    max-width: 1200px;
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

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

.page-payment-methods__main-title {
    font-size: 48px;
    font-weight: bold;
    color: var(--gold-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-payment-methods__description {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

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

.page-payment-methods__btn-primary,
.page-payment-methods__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-payment-methods__btn-primary {
    background: var(--button-gradient);
    color: var(--text-main);
    border: 2px solid var(--glow-color);
}

.page-payment-methods__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

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

.page-payment-methods__btn-secondary:hover {
    background-color: var(--gold-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-payment-methods__btn-center {
    margin-top: 30px;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.page-payment-methods__section-title {
    font-size: 36px;
    font-weight: bold;
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    position: relative;
}

.page-payment-methods__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--gold-color);
    border-radius: 2px;
}

.page-payment-methods__text-block {
    font-size: 16px;
    color: var(--text-secondary);
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px;
}

.page-payment-methods__overview-section,
.page-payment-methods__deposit-section,
.page-payment-methods__withdrawal-section,
.page-payment-methods__guide-section {
    padding: 60px 0;
    background-color: var(--deep-navy);
}

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

.page-payment-methods__payment-icons-wrapper,
.page-payment-methods__deposit-image-wrapper,
.page-payment-methods__withdrawal-image-wrapper,
.page-payment-methods__security-image-wrapper {
    margin: 40px auto;
    max-width: 1000px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-payment-methods__overview-image,
.page-payment-methods__content-image {
    width: 100%;
    height: auto;
    display: block;
}

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

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

.page-payment-methods__method-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-payment-methods__card-title {
    font-size: 22px;
    font-weight: bold;
    color: var(--gold-color);
    margin-bottom: 15px;
}

.page-payment-methods__method-card p {
    font-size: 15px;
    color: var(--text-secondary);
}

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

.page-payment-methods__step-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__step-card ol,
.page-payment-methods__step-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.page-payment-methods__step-card li {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.page-payment-methods__step-card li::before {
    content: '•';
    color: var(--gold-color);
    position: absolute;
    left: 0;
    font-size: 20px;
    line-height: 1;
}

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

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

.page-payment-methods__step-title {
    font-size: 22px;
    font-weight: bold;
    color: var(--gold-color);
    margin-bottom: 15px;
}

.page-payment-methods__guide-step p {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.page-payment-methods__btn-text {
    color: var(--gold-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-payment-methods__btn-text:hover {
    color: var(--glow-color);
}

/* FAQ Styles */
.page-payment-methods__faq-section {
    padding: 60px 0;
    background-color: var(--deep-navy);
}

.page-payment-methods__faq-list {
    max-width: 900px;
    margin: 40px auto 0;
}

details.page-payment-methods__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg);
}
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: rgba(var(--primary-color), 0.5); /* Use rgba for hover effect */
}
.page-payment-methods__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--text-main);
}
.page-payment-methods__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--gold-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(var(--card-bg), 0.5); /* Slightly lighter background for answer */
  border-radius: 0 0 5px 5px;
  color: var(--text-secondary);
}
.page-payment-methods__faq-answer p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 15px;
}


/* --- Homepage Specific CSS (Verbatim from prompt) --- */
/* This section is included as per the explicit instruction in "返回格式"
   even though this is not the homepage. */

@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;
  }
}

/* General mobile responsive for images and containers */
@media (max-width: 768px) {
    .page-payment-methods__main-title {
        font-size: 32px;
    }
    .page-payment-methods__description {
        font-size: 16px;
    }
    .page-payment-methods__section-title {
        font-size: 28px;
    }
    .page-payment-methods__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }
    .page-payment-methods__btn-primary,
    .page-payment-methods__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 16px;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-payment-methods__container {
        padding: 15px;
    }
    .page-payment-methods img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-payment-methods__hero-section,
    .page-payment-methods__overview-section,
    .page-payment-methods__deposit-section,
    .page-payment-methods__withdrawal-section,
    .page-payment-methods__security-section,
    .page-payment-methods__guide-section,
    .page-payment-methods__faq-section,
    .page-payment-methods__methods-grid,
    .page-payment-methods__withdrawal-steps,
    .page-payment-methods__guide-steps {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-payment-methods__hero-section {
        padding: 20px 15px;
    }
    .page-payment-methods__hero-content {
        margin-bottom: 20px;
    }
    .page-payment-methods__hero-image-wrapper {
        margin-bottom: 20px;
    }
    .page-payment-methods__method-card,
    .page-payment-methods__step-card,
    .page-payment-methods__guide-step {
        padding: 20px;
    }
    .page-payment-methods__card-title,
    .page-payment-methods__step-title {
        font-size: 20px;
    }
    details.page-payment-methods__faq-item summary.page-payment-methods__faq-question { padding: 15px; }
    .page-payment-methods__faq-qtext { font-size: 16px; }
    .page-payment-methods__faq-toggle { font-size: 20px; width: 24px; }
    details.page-payment-methods__faq-item .page-payment-methods__faq-answer { padding: 0 15px 15px; }
}

/* --- Required Homepage CSS for specific elements (Verbatim from prompt) --- */
/* These elements are not present on this page, but the styles are required in the output. */
.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;}