/* faq.css */
.page-faq {
    background-color: #F4F7FB; /* Background color */
    color: #1F2D3D; /* Text Main */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-bottom: 40px; /* Ensure some space at the bottom */
}

.page-faq__hero-section {
    display: flex;
    flex-direction: column; /* Ensure image then content on mobile */
    align-items: center;
    text-align: center;
    padding: 10px 20px 40px; /* Small top padding, good bottom padding */
    max-width: 1390px; /* Boxed feel */
    margin: 0 auto;
    gap: 30px;
}

.page-faq__hero-image-wrapper {
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
}

.page-faq__hero-image {
    width: 100%;
    height: auto; /* Responsive height */
    display: block;
    aspect-ratio: 16 / 9; /* For a 1920x1080 image */
    object-fit: cover;
    object-position: center;
    min-width: 200px; /* Ensure minimum size */
    min-height: 200px;
}

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

.page-faq__main-title {
    font-size: clamp(1.8rem, 4.5vw, 2.8rem); /* Adjusted for FAQ H1 */
    font-weight: 700;
    line-height: 1.2;
    color: #000000; /* Custom Color_1776249996415 */
    margin-bottom: 20px;
}

.page-faq__description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #1F2D3D; /* Text Main */
}

.page-faq__cta-button {
    display: inline-block;
    padding: 12px 25px;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button gradient */
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 10px rgba(47, 107, 255, 0.3); /* Subtle shadow */
}

.page-faq__cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(47, 107, 255, 0.4);
}

.page-faq__faq-section {
    max-width: 1000px;
    margin: 40px auto;
    padding: 20px;
    background-color: #FFFFFF; /* Card BG */
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.page-faq__section-title {
    font-size: clamp(1.5rem, 3.5vw, 2.2rem); /* H2 size */
    font-weight: 700;
    color: #000000; /* Custom Color_1776249996415 */
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    position: relative;
}

.page-faq__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #2F6BFF; /* Primary color */
    border-radius: 2px;
}

.page-faq__faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.page-faq__accordion-item {
    border: 1px solid #D6E2FF; /* Border color */
    border-radius: 8px;
    overflow: hidden;
    background-color: #FFFFFF;
}

.page-faq__accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    background-color: #F4F7FB; /* Slightly off-white for header */
    font-size: clamp(1rem, 2.5vw, 1.15rem); /* H3 size */
    font-weight: 600;
    color: #1F2D3D; /* Text Main */
    transition: background-color 0.3s ease;
}

.page-faq__accordion-header:hover {
    background-color: #E8EEF5;
}

.page-faq__accordion-header::after {
    content: '+';
    font-size: 1.5rem;
    color: #2F6BFF; /* Primary color */
    transition: transform 0.3s ease;
}

.page-faq__accordion-item.active .page-faq__accordion-header::after {
    transform: rotate(45deg);
}

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

.page-faq__accordion-item.active .page-faq__accordion-content {
    max-height: 300px; /* Adjust as needed, large enough to contain content */
    padding: 15px 25px 20px;
}

.page-faq__accordion-content p {
    margin-bottom: 10px;
    color: #1F2D3D;
}

.page-faq__accordion-content p:last-child {
    margin-bottom: 0;
}

.page-faq__inline-link {
    color: #2F6BFF; /* Primary color for inline links */
    text-decoration: underline;
    font-weight: 500;
}

.page-faq__inline-link:hover {
    color: #6FA3FF; /* Auxiliary color on hover */
}

.page-faq__game-list {
    list-style: disc inside;
    margin-left: 20px;
    margin-top: 10px;
}

.page-faq__game-list li {
    margin-bottom: 5px;
}

.page-faq__game-list a {
    color: #2F6BFF;
    text-decoration: none;
}

.page-faq__game-list a:hover {
    text-decoration: underline;
}

.page-faq__support-section {
    display: flex;
    flex-direction: column; /* Default to column for mobile */
    align-items: center;
    gap: 40px;
    max-width: 1200px;
    margin: 60px auto;
    padding: 40px 20px;
    background-color: #FFFFFF; /* Card BG */
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.page-faq__support-content {
    max-width: 600px;
}

.page-faq__support-image-wrapper {
    width: 100%;
    max-width: 800px; /* Adjust max width for image */
    overflow: hidden;
    border-radius: 12px;
}

.page-faq__support-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
    min-width: 200px; /* Ensure minimum size */
    min-height: 200px;
    filter: none; /* No filter */
}

/* Desktop styles */
@media (min-width: 768px) {
    .page-faq__hero-section {
        padding-top: 20px; /* Slightly more top padding on desktop */
        flex-direction: column; /* Still column for hero, as per image-then-text rule */
    }

    .page-faq__hero-content {
        order: 2; /* Content after image */
    }

    .page-faq__hero-image-wrapper {
        order: 1; /* Image first */
    }

    .page-faq__support-section {
        flex-direction: row; /* Row for desktop */
        text-align: left;
        padding: 60px;
    }

    .page-faq__support-section:nth-child(even) { /* Alternate image/text order */
        flex-direction: row-reverse;
    }

    .page-faq__support-content {
        flex: 1;
        padding-right: 30px;
    }

    .page-faq__support-image-wrapper {
        flex: 1;
        max-width: 50%; /* Image takes half width */
    }
}

/* Mobile specific rules for images */
@media (max-width: 767px) {
    .page-faq__hero-image,
    .page-faq__support-image {
        max-width: 100%;
        height: auto;
    }
    .page-faq__hero-section,
    .page-faq__faq-section,
    .page-faq__support-section {
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-faq__accordion-header,
    .page-faq__accordion-content {
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-faq__accordion-item.active .page-faq__accordion-content {
        padding: 15px 15px 20px;
    }
    .page-faq__support-content {
        padding-right: 0; /* Remove desktop specific padding */
    }
}