.page-payment-methods {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #FFF6D6; /* Text Main */
    background-color: #0A0A0A; /* Background */
}

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

/* Hero Section */
.page-payment-methods__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 10px; /* Small top padding, assuming body has padding-top from shared.css */
    padding-bottom: 50px;
    background-color: #0A0A0A;
}

.page-payment-methods__hero-image {
    width: 100%;
    max-height: 600px; /* Limit height for aesthetic */
    overflow: hidden;
    margin-bottom: 30px;
}

.page-payment-methods__hero-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover; /* Default for desktop */
    object-position: center;
    border-radius: 8px;
}

.page-payment-methods__main-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem); /* Responsive font size */
    font-weight: bold;
    color: #FFD36B; /* Glow color for highlight */
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(255, 211, 107, 0.5); /* Subtle glow */
}

.page-payment-methods__hero-description {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 30px;
    color: #FFF6D6;
}

.page-payment-methods__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    width: 100%;
    max-width: 600px; /* Constrain button group width */
    margin: 0 auto;
}

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

.page-payment-methods__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color */
    color: #111111; /* Dark text for contrast on bright button */
    border: none;
}

.page-payment-methods__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 211, 107, 0.4);
}

.page-payment-methods__btn-secondary {
    background: #111111; /* Card BG */
    color: #FFD36B; /* Glow */
    border: 2px solid #FFD36B; /* Glow */
}

.page-payment-methods__btn-secondary:hover {
    background: #FFD36B;
    color: #111111;
    border-color: #FFD36B;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 211, 107, 0.4);
}

/* General Section Styling */
.page-payment-methods__section-title {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    color: #F2C14E; /* Main color */
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
}

.page-payment-methods__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #FFD36B; /* Glow */
    border-radius: 2px;
}

.page-payment-methods__text-block {
    font-size: 1.05rem;
    margin-bottom: 20px;
    color: #FFF6D6;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-payment-methods__text-block .highlight {
    color: #FFD36B; /* Highlight keywords */
    font-weight: bold;
}

.page-payment-methods__text-block a {
    color: #FFD36B;
    text-decoration: underline;
}

.page-payment-methods__text-block a:hover {
    color: #F2C14E;
}

/* Methods Grid */
.page-payment-methods__methods-grid,
.page-payment-methods__security-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-payment-methods__method-card,
.page-payment-methods__feature-card {
    background-color: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border */
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #FFF6D6;
}

.page-payment-methods__method-card:hover,
.page-payment-methods__feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 211, 107, 0.2);
}

.page-payment-methods__method-card img,
.page-payment-methods__feature-card img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-bottom: 20px;
    border-radius: 8px;
    object-fit: cover;
    min-height: 200px; /* Min size */
}

.page-payment-methods__card-title {
    font-size: 1.4rem;
    color: #F2C14E; /* Main color */
    margin-bottom: 10px;
}

.page-payment-methods__card-description {
    font-size: 1rem;
    color: #FFF6D6;
    flex-grow: 1; /* Push content to bottom if needed */
}

/* Step List */
.page-payment-methods__step-list,
.page-payment-methods__method-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    margin-bottom: 30px;
}

.page-payment-methods__step-list .page-payment-methods__list-item,
.page-payment-methods__method-list .page-payment-methods__list-item {
    background-color: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border */
    border-left: 5px solid #F2C14E; /* Main color highlight */
    border-radius: 8px;
    padding: 20px 25px;
    margin-bottom: 15px;
    color: #FFF6D6;
    position: relative;
}

.page-payment-methods__step-list .page-payment-methods__list-item:last-child,
.page-payment-methods__method-list .page-payment-methods__list-item:last-child {
    margin-bottom: 0;
}

.page-payment-methods__list-title {
    font-size: 1.3rem;
    color: #FFD36B; /* Glow */
    margin-bottom: 10px;
}

.page-payment-methods__list-item p {
    font-size: 1rem;
    color: #FFF6D6;
    margin: 0;
}

.page-payment-methods__info-card {
    background-color: rgba(242, 193, 78, 0.1); /* Slightly transparent Main color */
    border-left: 5px solid #F2C14E;
    border-radius: 8px;
    padding: 20px;
    margin-top: 30px;
    color: #FFF6D6;
}

.page-payment-methods__info-card p {
    margin: 0;
}

/* FAQ Section */
.page-payment-methods__faq-section {
    padding-bottom: 50px;
}

.page-payment-methods__faq-list {
    margin-top: 40px;
}

details.page-payment-methods__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #3A2A12; /* Border */
  overflow: hidden;
  background: #111111; /* Card BG */
  color: #FFF6D6;
}
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: #FFF6D6;
}
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(242, 193, 78, 0.1); /* Slight hover effect with Main color */
}
.page-payment-methods__faq-qtext {
  flex: 1;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F2C14E; /* Main color */
}
.page-payment-methods__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFD36B; /* Glow 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: #0A0A0A; /* Background */
  border-radius: 0 0 5px 5px;
  color: #FFF6D6;
}
.page-payment-methods__faq-answer p {
    margin: 0;
    font-size: 1rem;
}

/* Bottom CTA Section */
.page-payment-methods__cta-bottom-section {
    text-align: center;
    padding-top: 50px;
    padding-bottom: 80px;
    background-color: #111111; /* Card BG */
    border-top: 1px solid #3A2A12;
}

/* Responsive Styles */
/* Mobile first approach, so most styles are for desktop and then adjusted for smaller screens */

@media (max-width: 1024px) {
    .page-payment-methods__container {
        padding: 20px 20px;
    }
    .page-payment-methods__hero-image {
        max-height: 500px;
    }
    .page-payment-methods__methods-grid,
    .page-payment-methods__security-features {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 849px) { /* Specific for HERO object-fit: contain */
    .page-payment-methods__hero-image img {
        object-fit: contain !important;
        aspect-ratio: unset !important;
        max-height: 400px; /* Adjust max height for contain */
    }
    .page-payment-methods__hero-section {
        padding-bottom: 30px;
    }
    .page-payment-methods__hero-image {
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .page-payment-methods__container {
        padding-left: 15px !important;
        padding-right: 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* HERO Section */
    .page-payment-methods__hero-section {
        padding-top: 10px !important; /* Ensure small top padding */
        padding-bottom: 30px;
    }
    .page-payment-methods__hero-image {
        margin-bottom: 15px;
    }
    .page-payment-methods__hero-image img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        object-fit: contain !important; /* Ensure contain on mobile */
        aspect-ratio: unset !important;
        max-height: 300px; /* Further limit max height */
    }
    .page-payment-methods__main-title {
        font-size: clamp(2rem, 7vw, 3rem); /* Smaller H1 for mobile */
        margin-bottom: 10px;
    }
    .page-payment-methods__hero-description {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    .page-payment-methods__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .page-payment-methods__btn-primary,
    .page-payment-methods__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px;
        font-size: 1rem;
    }

    /* All images within content area */
    .page-payment-methods img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
    }
    .page-payment-methods__methods-grid,
    .page-payment-methods__security-features {
        grid-template-columns: 1fr; /* Single column for cards */
        gap: 20px;
        padding-left: 15px;
        padding-right: 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow-x: hidden; /* Prevent horizontal scroll */
    }
    .page-payment-methods__method-card,
    .page-payment-methods__feature-card {
        padding: 20px;
    }
    .page-payment-methods__method-card img,
    .page-payment-methods__feature-card img {
        min- /* Smaller min height for mobile cards */
    }

    /* Section titles and text blocks */
    .page-payment-methods__section-title {
        font-size: clamp(1.5rem, 6vw, 2.2rem);
        margin-bottom: 20px;
        padding-bottom: 8px;
    }
    .page-payment-methods__section-title::after {
        width: 60px;
    }
    .page-payment-methods__text-block {
        font-size: 0.95rem;
        padding-left: 5px;
        padding-right: 5px;
    }

    /* Step and Method Lists */
    .page-payment-methods__step-list .page-payment-methods__list-item,
    .page-payment-methods__method-list .page-payment-methods__list-item {
        padding: 15px 20px;
        margin-bottom: 10px;
    }
    .page-payment-methods__list-title {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }
    .page-payment-methods__list-item p {
        font-size: 0.9rem;
    }

    /* FAQ Section */
    details.page-payment-methods__faq-item summary.page-payment-methods__faq-question {
        padding: 15px;
    }
    .page-payment-methods__faq-qtext {
        font-size: 1rem;
    }
    .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;
    }
    .page-payment-methods__faq-answer p {
        font-size: 0.95rem;
    }

    /* Content containers for anti-overflow */
    .page-payment-methods__introduction-section,
    .page-payment-methods__deposit-methods-section,
    .page-payment-methods__how-to-deposit-section,
    .page-payment-methods__withdrawal-methods-section,
    .page-payment-methods__how-to-withdraw-section,
    .page-payment-methods__security-section,
    .page-payment-methods__faq-section,
    .page-payment-methods__cta-bottom-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0;
        padding-right: 0;
        overflow-x: hidden;
    }
}