/* style/payment-methods.css */

/* Ensure content starts below the fixed header */
.page-payment-methods {
    padding-top: var(--header-offset, 120px); /* Apply header offset */
    color: #333333; /* Dark text for light body background */
    background-color: #FFFFFF; /* Ensure page content background is white */
}

/* Hero Section */
.page-payment-methods__hero-section {
    position: relative;
    width: 100%;
    height: 600px; /* Fixed height for hero on desktop */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden; /* Ensure image doesn't overflow */
}

.page-payment-methods__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the entire hero section */
    z-index: 1;
}

.page-payment-methods__hero-container {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.6); /* Semi-transparent black overlay for text readability */
    border-radius: 10px;
    color: #FFFFFF; /* White text on dark overlay */
}

.page-payment-methods__hero-title {
    font-size: 3.2em;
    margin-bottom: 15px;
    line-height: 1.2;
    color: #FFFFFF;
}

.page-payment-methods__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    line-height: 1.6;
    color: #F0F0F0;
}

.page-payment-methods__hero-button {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin: 0 10px;
}

.page-payment-methods__hero-button--register {
    background-color: #FFFFFF; /* Register button color */
    color: #000000;
    border: 2px solid #FFFFFF;
}

.page-payment-methods__hero-button--register:hover {
    background-color: #F0F0F0;
    transform: translateY(-2px);
}

.page-payment-methods__hero-button--login {
    background-color: #FCBC45; /* Login button color */
    color: #000000;
    border: 2px solid #FCBC45;
}

.page-payment-methods__hero-button--login:hover {
    background-color: #E0A030;
    transform: translateY(-2px);
}


/* General Section Styles */
.page-payment-methods__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.page-payment-methods__section-title {
    font-size: 2.5em;
    color: #000000;
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

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

.page-payment-methods__section-description {
    font-size: 1.1em;
    line-height: 1.7;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px auto;
    color: #555555;
}

/* Grid Layout for Cards */
.page-payment-methods__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

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

/* Card Styles */
.page-payment-methods__card,
.page-payment-methods__feature-card {
    background-color: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-payment-methods__card:hover,
.page-payment-methods__feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-payment-methods__card-image,
.page-payment-methods__feature-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    min-width: 200px; /* Ensure images are not too small */
    min-height: 200px;
}

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

.page-payment-methods__card-text,
.page-payment-methods__feature-text {
    font-size: 1em;
    line-height: 1.6;
    color: #666666;
    flex-grow: 1; /* Allow text to take available space */
}

.page-payment-methods__card-features {
    list-style: none;
    padding: 0;
    margin-top: 20px;
    text-align: left;
    width: 100%;
}

.page-payment-methods__card-features li {
    background-color: #F9F9F9;
    padding: 10px 15px;
    margin-bottom: 8px;
    border-radius: 5px;
    font-size: 0.95em;
    color: #444444;
    display: flex;
    align-items: center;
}

.page-payment-methods__card-features li::before {
    content: '✓';
    color: #FCBC45;
    font-weight: bold;
    margin-right: 10px;
}

/* Call to Action Area */
.page-payment-methods__cta-area {
    text-align: center;
    margin-top: 60px;
    padding: 30px;
    background-color: #F8F8F8;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.page-payment-methods__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background-color: #000000;
    color: #FFFFFF;
    font-size: 1.2em;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin: 10px;
}

.page-payment-methods__cta-button:hover {
    background-color: #333333;
    transform: translateY(-3px);
}

.page-payment-methods__cta-button--register {
    background-color: #FCBC45; /* Register button color */
    color: #000000;
}
.page-payment-methods__cta-button--register:hover {
    background-color: #E0A030;
}

.page-payment-methods__cta-button--secondary {
    background-color: #6c757d;
    color: #FFFFFF;
}

.page-payment-methods__cta-button--secondary:hover {
    background-color: #5a6268;
}

.page-payment-methods__cta-text {
    font-size: 1.1em;
    color: #555555;
    margin-top: 20px;
}

/* FAQ Section */
.page-payment-methods__faq-list {
    margin-top: 40px;
}

.page-payment-methods__faq-item {
    background-color: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.page-payment-methods__faq-question {
    font-size: 1.3em;
    color: #000000;
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #FDFDFD;
    margin: 0; /* Reset margin */
}

.page-payment-methods__faq-question::after {
    content: '+';
    font-size: 1.5em;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.page-payment-methods__faq-item.active .page-payment-methods__faq-question::after {
    transform: rotate(45deg);
}

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

.page-payment-methods__faq-item.active .page-payment-methods__faq-answer {
    max-height: 300px; /* Adjust as needed */
    padding: 15px 25px 25px 25px;
}

.page-payment-methods__faq-answer p {
    font-size: 1em;
    line-height: 1.7;
    color: #666666;
    margin-bottom: 0;
}

.page-payment-methods__responsible-gaming {
    background-color: #F0F0F0;
    padding: 60px 0;
}

.page-payment-methods__responsible-gaming .page-payment-methods__section-title {
    color: #000000;
}

.page-payment-methods__responsible-gaming .page-payment-methods__section-description {
    color: #444444;
}

.page-payment-methods__responsible-gaming .page-payment-methods__section-description a {
    color: #000000;
    text-decoration: underline;
    font-weight: bold;
}

.page-payment-methods__responsible-gaming .page-payment-methods__section-description a:hover {
    color: #FCBC45;
}


/* Responsive Design */
@media (max-width: 1024px) {
    .page-payment-methods__hero-title {
        font-size: 2.8em;
    }
    .page-payment-methods__hero-description {
        font-size: 1.1em;
    }
    .page-payment-methods__section-title {
        font-size: 2em;
    }
    .page-payment-methods__card-title,
    .page-payment-methods__feature-title {
        font-size: 1.6em;
    }
    .page-payment-methods__grid--two-columns {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-payment-methods {
        padding-top: var(--header-offset, 80px); /* Adjust for mobile header offset */
    }
    .page-payment-methods__hero-section {
        height: 450px; /* Smaller hero on mobile */
    }
    .page-payment-methods__hero-container {
        padding: 15px;
    }
    .page-payment-methods__hero-title {
        font-size: 2.2em;
    }
    .page-payment-methods__hero-description {
        font-size: 1em;
    }
    .page-payment-methods__hero-button {
        padding: 10px 20px;
        font-size: 1em;
        margin: 5px;
    }
    .page-payment-methods__section-title {
        font-size: 1.8em;
    }
    .page-payment-methods__section-description {
        font-size: 1em;
        margin-bottom: 30px;
    }
    .page-payment-methods__grid {
        grid-template-columns: 1fr; /* Single column layout for cards */
    }
    .page-payment-methods__grid--two-columns {
        grid-template-columns: 1fr; /* Single column layout for features */
    }
    .page-payment-methods__card-image,
    .page-payment-methods__feature-image {
        max-width: 100%; /* Ensure images don't overflow */
        height: auto;
        min-width: 200px;
        min-height: 200px;
    }
    /* Mobile content area images must be constrained */
    .page-payment-methods img {
        max-width: 100%;
        height: auto;
    }
    .page-payment-methods__cta-button {
        display: block;
        width: calc(100% - 20px); /* Full width with padding */
        margin: 10px auto;
    }
    .page-payment-methods__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-payment-methods__faq-answer {
        padding: 0 20px;
    }
    .page-payment-methods__faq-item.active .page-payment-methods__faq-answer {
        padding: 15px 20px 20px 20px;
    }
}

@media (max-width: 480px) {
    .page-payment-methods__hero-section {
        height: 400px;
    }
    .page-payment-methods__hero-title {
        font-size: 1.8em;
    }
    .page-payment-methods__hero-description {
        font-size: 0.9em;
    }
    .page-payment-methods__hero-button {
        padding: 8px 15px;
        font-size: 0.9em;
    }
    .page-payment-methods__section-title {
        font-size: 1.6em;
    }
    .page-payment-methods__card-title,
    .page-payment-methods__feature-title {
        font-size: 1.4em;
    }
}