/* style/payment-methods.css */

/* Base styles for the page */
.page-payment-methods {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #08160F; /* Custom background color */
    color: #F2FFF6; /* Main text color for dark background */
}

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

.page-payment-methods__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 60px;
    overflow: hidden; /* Ensure no overflow from image */
}

.page-payment-methods__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: brightness(0.5); /* Darken image for text readability */
}

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

.page-payment-methods__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive H1 font size */
    font-weight: 700;
    color: #F2FFF6;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-payment-methods__subtitle {
    font-size: 1.25rem;
    color: #A7D9B8;
    margin-bottom: 40px;
}

.page-payment-methods__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-payment-methods__btn-primary,
.page-payment-methods__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text breaking */
    box-sizing: border-box; /* Include padding in width */
    max-width: 100%; /* Ensure button doesn't exceed container */
}

.page-payment-methods__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Custom button color */
    color: #F2FFF6;
    border: 2px solid transparent;
}

.page-payment-methods__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

.page-payment-methods__btn-secondary {
    background: transparent;
    color: #57E38D; /* Glow color for secondary text */
    border: 2px solid #2E7A4E; /* Border color */
}

.page-payment-methods__btn-secondary:hover {
    background: rgba(87, 227, 141, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(87, 227, 141, 0.2);
}

.page-payment-methods__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: #F2C14E; /* Gold color for section titles */
    text-align: center;
    margin-bottom: 30px;
    font-weight: 700;
}

.page-payment-methods__description {
    font-size: 1.1rem;
    color: #A7D9B8; /* Secondary text color */
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px auto;
}

.page-payment-methods__overview-section,
.page-payment-methods__guide-section,
.page-payment-methods__cta-bottom-section {
    padding: 60px 0;
    background-color: #0A4B2C; /* Deep Green for dark sections */
    color: #F2FFF6;
}

.page-payment-methods__deposit-section,
.page-payment-methods__withdrawal-section,
.page-payment-methods__important-notes {
    padding: 60px 0;
    background-color: #11271B; /* Card BG color for light sections */
    color: #F2FFF6;
}

.page-payment-methods__dark-section {
    background-color: #0A4B2C;
    color: #F2FFF6;
}

.page-payment-methods__light-bg {
    background-color: #11271B;
    color: #F2FFF6;
}

.page-payment-methods__image-full {
    display: block;
    margin: 40px auto;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

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

.page-payment-methods__card {
    background-color: #0A4B2C; /* Deep Green for cards on lighter background */
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid #2E7A4E; /* Border color */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #F2FFF6;
}

.page-payment-methods__card-title {
    font-size: 1.5rem;
    color: #F2C14E; /* Gold color for card titles */
    margin-bottom: 15px;
    font-weight: 600;
}

.page-payment-methods__card-text {
    font-size: 1rem;
    color: #A7D9B8;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-payment-methods__card-list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
    color: #A7D9B8;
}

.page-payment-methods__card-list li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.page-payment-methods__card-list li::before {
    content: '•';
    color: #57E38D; /* Glow color for list bullets */
    position: absolute;
    left: 0;
    font-weight: bold;
}

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

.page-payment-methods__step-item {
    background-color: #11271B; /* Card BG color */
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid #2E7A4E;
}

.page-payment-methods__step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #F2FFF6;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    box-shadow: 0 0 15px rgba(42, 209, 111, 0.5);
}

.page-payment-methods__step-title {
    font-size: 1.4rem;
    color: #F2C14E;
    margin-bottom: 10px;
    font-weight: 600;
}

.page-payment-methods__step-text {
    font-size: 1rem;
    color: #A7D9B8;
}

.page-payment-methods__cta-buttons--center {
    margin-top: 40px;
}

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

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

.page-payment-methods__notes-list li {
    background-color: #0A4B2C;
    padding: 20px 25px;
    margin-bottom: 15px;
    border-radius: 8px;
    border-left: 5px solid #57E38D;
    color: #A7D9B8;
    font-size: 1.1rem;
    line-height: 1.5;
}

.page-payment-methods__notes-list li strong {
    color: #F2FFF6; /* Main text color */
}

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

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

.page-payment-methods__faq-item {
    background-color: #11271B; /* Card BG color */
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid #2E7A4E;
    overflow: hidden;
    color: #F2FFF6;
}

.page-payment-methods__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background-color: #0A4B2C; /* Deep Green */
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 600;
    color: #F2FFF6;
    transition: background-color 0.3s ease;
    list-style: none; /* Remove default summary marker */
}

.page-payment-methods__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for webkit browsers */
}

.page-payment-methods__faq-question:hover {
    background-color: #13994A; /* Slightly lighter green on hover */
}

.page-payment-methods__faq-qtext {
    flex-grow: 1;
    color: #F2C14E; /* Gold color for FAQ questions */
}

.page-payment-methods__faq-toggle {
    font-size: 1.8rem;
    line-height: 1;
    margin-left: 15px;
    color: #57E38D; /* Glow color */
}

.page-payment-methods__faq-answer {
    padding: 0 25px;
    max-height: 0; /* Default hidden state for JS fallback, handled by details[open] for native */
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    color: #A7D9B8;
    background-color: #11271B; /* Card BG */
}

.page-payment-methods__faq-item[open] .page-payment-methods__faq-answer {
    max-height: 500px; /* Adjust as needed for content */
    padding: 20px 25px;
}

.page-payment-methods__faq-answer p {
    margin: 0;
    font-size: 1rem;
    color: #A7D9B8;
}

.page-payment-methods__cta-bottom-section {
    text-align: center;
    padding: 80px 0;
}

.page-payment-methods__cta-content {
    max-width: 800px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-payment-methods__main-title {
        font-size: clamp(2rem, 6vw, 3rem);
    }

    .page-payment-methods__section-title {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
    }
}

@media (max-width: 768px) {
    .page-payment-methods__hero-section {
        padding-bottom: 40px;
    }

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

    .page-payment-methods__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
        margin-bottom: 15px;
    }

    .page-payment-methods__subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
    }

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

    .page-payment-methods__btn-primary,
    .page-payment-methods__btn-secondary {
        width: 100% !important; /* Enforce full width on mobile */
        max-width: 100% !important;
        padding: 12px 20px;
    }
    
    .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;
      overflow: hidden !important;
      flex-wrap: wrap !important;
      gap: 10px;
    }

    .page-payment-methods__overview-section,
    .page-payment-methods__deposit-section,
    .page-payment-methods__withdrawal-section,
    .page-payment-methods__guide-section,
    .page-payment-methods__important-notes,
    .page-payment-methods__faq-section,
    .page-payment-methods__cta-bottom-section {
        padding: 40px 0;
    }

    .page-payment-methods__container {
        padding: 0 15px;
    }

    .page-payment-methods__section-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
        margin-bottom: 20px;
    }

    .page-payment-methods__description {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }

    .page-payment-methods__cards-grid,
    .page-payment-methods__guide-steps {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-payment-methods__image-full {
        margin: 20px auto;
    }

    .page-payment-methods__notes-list li {
        font-size: 1rem;
        padding: 15px 20px;
    }

    .page-payment-methods__faq-question {
        font-size: 1.1rem;
        padding: 15px 20px;
    }

    .page-payment-methods__faq-answer {
        padding: 15px 20px;
    }
    
    /* Mobile image responsive adaptation */
    .page-payment-methods img {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    
    /* All containers that might hold images or other content */
    .page-payment-methods__section,
    .page-payment-methods__card,
    .page-payment-methods__container,
    .page-payment-methods__hero-section,
    .page-payment-methods__overview-section,
    .page-payment-methods__deposit-section,
    .page-payment-methods__withdrawal-section,
    .page-payment-methods__guide-section,
    .page-payment-methods__important-notes,
    .page-payment-methods__faq-section,
    .page-payment-methods__cta-bottom-section,
    .page-payment-methods__step-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    /* Video section top padding for mobile (no video on this page, but keeping rule for general compliance) */
    .page-payment-methods__video-section {
        padding-top: 10px !important;
    }
    .page-payment-methods video,
    .page-payment-methods__video {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    .page-payment-methods__video-section,
    .page-payment-methods__video-container,
    .page-payment-methods__video-wrapper {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
      overflow: hidden !important;
    }
}

/* Ensure no filter on images */
.page-payment-methods img {
    filter: none; /* Reset any potential inherited filter */
}
.page-payment-methods__hero-image {
    filter: brightness(0.5); /* This is allowed as it's for background visibility, not color change */
}

/* Contrast fix for specific text elements if needed, though colors are chosen for contrast */
.page-payment-methods__text-main {
    color: #F2FFF6;
}
.page-payment-methods__text-secondary {
    color: #A7D9B8;
}