/* style/index-w88-payment-methods.css */

/* Base styles for the page content, ensuring light text on dark body background */
.page-index-w88-payment-methods {
    color: #ffffff; /* Light text for dark body background */
    background-color: #121212; /* Matching body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-bottom: 60px; /* Space above footer */
}

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

/* Section titles and subtitles */
.page-index-w88-payment-methods__section-title {
    font-size: 2.5em;
    color: #017439; /* Brand color for titles */
    text-align: center;
    margin-bottom: 40px;
    margin-top: 60px;
    font-weight: bold;
}

.page-index-w88-payment-methods__subsection-title {
    font-size: 1.8em;
    color: #ffffff;
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-index-w88-payment-methods__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

/* Links within text */
.page-index-w88-payment-methods a {
    color: #017439; /* Brand color for links */
    text-decoration: none;
    font-weight: bold;
}

.page-index-w88-payment-methods a:hover {
    text-decoration: underline;
}

/* Hero Section */
.page-index-w88-payment-methods__hero-section {
    position: relative;
    padding: 120px 20px 80px; /* Adjust for header offset, then add more padding */
    background-color: #017439; /* Main brand color for hero background */
    text-align: center;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.page-index-w88-payment-methods__hero-title {
    font-size: 3.5em;
    color: #FFFF00; /* Register/Login font color for highlight */
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
}

.page-index-w88-payment-methods__hero-description {
    font-size: 1.3em;
    color: #ffffff;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* CTA Buttons */
.page-index-w88-payment-methods__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

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

.page-index-w88-payment-methods__btn-primary {
    background-color: #C30808; /* Register button color */
    color: #FFFF00; /* Register font color */
    border: 2px solid #C30808;
}

.page-index-w88-payment-methods__btn-primary:hover {
    background-color: #a00606;
    border-color: #a00606;
}

.page-index-w88-payment-methods__btn-secondary {
    background-color: transparent;
    color: #FFFF00; /* Login font color */
    border: 2px solid #C30808; /* Login button color */
}

.page-index-w88-payment-methods__btn-secondary:hover {
    background-color: #C30808;
    color: #ffffff;
}

/* Dark background sections */
.page-index-w88-payment-methods__dark-bg {
    background-color: #017439; /* Main brand color */
    color: #ffffff;
    padding: 60px 20px;
}

/* Intro Section */
.page-index-w88-payment-methods__intro-section {
    padding: 60px 20px;
    background-color: #121212; /* Body background color */
}

/* Card Grid for payment methods */
.page-index-w88-payment-methods__card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-index-w88-payment-methods__card {
    background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white for cards on dark background */
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    color: #ffffff; /* Light text for card content */
    height: 100%; /* Ensure cards have equal height */
    box-sizing: border-box;
}

.page-index-w88-payment-methods__card-title {
    font-size: 1.5em;
    color: #FFFF00; /* Highlight color for card titles */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-index-w88-payment-methods__card-subtitle {
    font-size: 1.2em;
    color: #017439; /* Brand color for subtitles */
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-index-w88-payment-methods__card-text {
    margin-bottom: 15px;
    text-align: justify;
    flex-grow: 1; /* Make text block grow to fill space */
}

.page-index-w88-payment-methods__card-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    min-height: 200px; /* Minimum image size */
}

/* Lists */
.page-index-w88-payment-methods__unordered-list,
.page-index-w88-payment-methods__ordered-list {
    list-style-position: inside;
    margin-bottom: 20px;
    padding-left: 20px;
}

.page-index-w88-payment-methods__unordered-list li,
.page-index-w88-payment-methods__ordered-list li {
    margin-bottom: 10px;
    text-align: justify;
}

/* Images */
.page-index-w88-payment-methods__image-full {
    width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 10px;
    object-fit: cover;
    min-height: 200px; /* Minimum image size */
}

.page-index-w88-payment-methods__image-half {
    width: 100%; /* Full width on smaller screens */
    max-width: 600px; /* Max width on larger screens */
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 10px;
    object-fit: cover;
    min-height: 200px; /* Minimum image size */
}

/* Video Section */
.page-index-w88-payment-methods__video-section {
    padding: 60px 20px;
    text-align: center;
}

.page-index-w88-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;
}

.page-index-w88-payment-methods__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    cursor: pointer; /* Indicate clickability */
}

.page-index-w88-payment-methods__cta-buttons--video {
    margin-top: 20px;
}

/* FAQ Section */
.page-index-w88-payment-methods__faq-section {
    padding: 60px 20px;
    background-color: #121212; /* Body background color */
}

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

.page-index-w88-payment-methods__faq-item {
    background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for FAQ item */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-index-w88-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.08); /* Slightly darker for question header */
    transition: background-color 0.3s ease;
}

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

.page-index-w88-payment-methods__faq-question h3 {
    margin: 0;
    font-size: 1.2em;
    color: #ffffff;
    font-weight: bold;
}

.page-index-w88-payment-methods__faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    color: #017439; /* Brand color for toggle icon */
    transition: transform 0.3s ease;
}