/* style/payment-methods.css */
.page-payment-methods {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: transparent; /* body background is handled by shared.css */
}

.page-payment-methods__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
    text-align: center;
    overflow: hidden;
    background-color: #017439; /* Brand color for hero section */
}

.page-payment-methods__hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.page-payment-methods__main-title {
    font-size: 3.2em;
    color: #FFFF00; /* Highlighted for key title */
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-payment-methods__intro-description {
    font-size: 1.2em;
    color: #ffffff;
    margin-bottom: 30px;
}

.page-payment-methods__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Blend with background color */
    z-index: 1;
}

.page-payment-methods__section {
    padding: 60px 20px;
    background-color: #1a1a2e; /* Inherit body background or use a slightly different dark tone */
    color: #ffffff;
}

.page-payment-methods__section:nth-of-type(even) {
    background-color: #0d0d1e; /* Slightly different dark background for contrast */
}

.page-payment-methods__dark-bg {
    background-color: #017439; /* Brand primary color for dark sections */
    color: #ffffff;
}

.page-payment-methods__container {
    max-width: 1200px;
    margin: 0 auto;
}

.page-payment-methods__section-title {
    font-size: 2.5em;
    color: #FFFF00; /* Highlighted titles */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.page-payment-methods__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #FFFF00;
    margin: 15px auto 0;
}

.page-payment-methods__text-block {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

.page-payment-methods__btn-primary {
    display: inline-block;
    background-color: #C30808; /* Register/Login button color */
    color: #FFFF00; /* Register/Login font color */
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-payment-methods__btn-primary:hover {
    background-color: #a30707;
    transform: translateY(-2px);
}

.page-payment-methods__btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: #FFFF00;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
    border: 2px solid #FFFF00;
    cursor: pointer;
}

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

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

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

.page-payment-methods__card {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for dark background */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    color: #ffffff;
}

.page-payment-methods__card:hover {
    transform: translateY(-5px);
}

.page-payment-methods__card-title {
    font-size: 1.8em;
    color: #FFFF00;
    margin-bottom: 15px;
}

.page-payment-methods__card-text {
    font-size: 1em;
    color: #f0f0f0;
}

.page-payment-methods__content-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.page-payment-methods__guide-steps {
    flex: 1;
    min-width: 300px;
}

.page-payment-methods__guide-image {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
    margin: 0; /* Override default margin for flex item */
}

.page-payment-methods__step-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.page-payment-methods__step-number {
    background-color: #FFFF00;
    color: #017439;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3em;
    font-weight: bold;
    flex-shrink: 0;
    margin-right: 15px;
}

.page-payment-methods__step-title {
    font-size: 1.5em;
    color: #FFFF00;
    margin-top: 5px;
    margin-bottom: 5px;
}

.page-payment-methods__step-text {
    color: #f0f0f0;
}

.page-payment-methods__step-text a {
    color: #FFFF00;
    text-decoration: underline;
}

.page-payment-methods__security-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    text-align: center;
}

.page-payment-methods__security-list li {
    font-size: 1.1em;
    color: #f0f0f0;
    margin-bottom: 10px;
    position: relative;
    padding-left: 30px;
    display: inline-block; /* For better spacing on desktop */
    margin: 0 15px 10px;
}

.page-payment-methods__security-list li::before {
    content: '✅';
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.2em;
}

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

.page-payment-methods__video-section {
    padding-top: var(--header-offset, 120px); /* Ensures video is not hidden by fixed header */
    background-color: #017439;
    text-align: center;
}

.page-payment-methods__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-payment-methods__video-link {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.page-payment-methods__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

.page-payment-methods__video-caption {
    margin-top: 20px;
    font-style: italic;
    color: #f0f0f0;
}

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

.page-payment-methods__faq-item {
    background-color: rgba(255, 255, 255, 0.1); /* Light background for contrast */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: #ffffff;
}

.page-payment-methods__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.05);
    transition: background-color 0.3s ease;
}

.page-payment-methods__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.page-payment-methods__faq-title {
    font-size: 1.3em;
    color: #FFFF00;
    margin: 0;
    flex-grow: 1;
}

.page-payment-methods__faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    color: #FFFF00;
    margin-left: 20px;
    transition: transform 0.3s ease;
}

.page-payment-methods__faq-item.active .page-payment-methods__faq-toggle {
    transform: rotate(45deg); /* Plus to X */
}

.page-payment-methods__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #f0f0f0;
}

.page-payment-methods__faq-item.active .page-payment-methods__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 15px 25px 25px;
}

.page-payment-methods__contact-section {
    text-align: center;
    background-color: #017439;
}

.page-payment-methods__contact-buttons {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-payment-methods__main-title {
        font-size: 2.8em;
    }

    .page-payment-methods__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-payment-methods__hero-section {
        min-height: 450px;
        padding-top: var(--header-offset, 120px) !important;
    }

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

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

    .page-payment-methods__section {
        padding: 40px 15px;
    }

    .page-payment-methods__section-title {
        font-size: 1.8em;
    }

    .page-payment-methods__text-block {
        font-size: 0.95em;
    }

    .page-payment-methods__btn-primary,
    .page-payment-methods__btn-secondary {
        padding: 12px 25px;
        font-size: 1em;
    }

    .page-payment-methods__method-grid,
    .page-payment-methods__info-grid {
        grid-template-columns: 1fr;
    }

    .page-payment-methods__content-wrapper {
        flex-direction: column;
    }

    .page-payment-methods__guide-steps,
    .page-payment-methods__guide-image {
        width: 100%;
        max-width: 100%;
        margin: 0;
    }

    .page-payment-methods__security-list li {
        display: block;
        text-align: left;
        padding-left: 30px;
        margin: 0 0 10px;
    }

    .page-payment-methods__video-section {
        padding-top: var(--header-offset, 120px) !important;
    }

    .page-payment-methods__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-payment-methods__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-payment-methods__image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
        padding: 0 15px; /* Add padding to prevent image from touching screen edges */
    }

    .page-payment-methods__faq-title {
        font-size: 1.1em;
    }

    .page-payment-methods__faq-question,
    .page-payment-methods__faq-answer {
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-payment-methods__faq-item.active .page-payment-methods__faq-answer {
        padding: 15px 15px 25px;
    }

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

    .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;
        margin-left: 0;
    }

    .page-payment-methods__cta-button {
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-payment-methods__container {
        padding-left: 0;
        padding-right: 0;
    }

    .page-payment-methods__section,
    .page-payment-methods__card,
    .page-payment-methods__container,
    .page-payment-methods__video-section,
    .page-payment-methods__video-container,
    .page-payment-methods__video-wrapper,
    .page-payment-methods__contact-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}

@media (max-width: 480px) {
    .page-payment-methods__main-title {
        font-size: 1.8em;
    }

    .page-payment-methods__section-title {
        font-size: 1.5em;
    }

    .page-payment-methods__faq-title {
        font-size: 1em;
    }
}