/* style/faq.css */
.page-faq {
    color: #333333; /* Deep dark text for light body background */
    padding-top: var(--header-offset, 120px);
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.page-faq__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-faq__hero-section {
    background: linear-gradient(135deg, #0A2463, #E3B505);
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-faq__hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('[GALLERY:hero_bg:1920x1080:online_betting,casino_lobby,luxury,excitement]');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 1;
}

.page-faq__hero-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #ffffff;
    position: relative;
    z-index: 2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-faq__hero-description {
    font-size: 1.1em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
}

.page-faq__hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    position: relative;
    z-index: 2;
}

.page-faq__button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-size: 1em;
    border: none;
    cursor: pointer;
}

.page-faq__button--primary {
    background-color: #E3B505;
    color: #0A2463;
}

.page-faq__button--primary:hover {
    background-color: #f5cb42;
    transform: translateY(-2px);
}

.page-faq__button--secondary {
    background-color: #0A2463;
    color: #ffffff;
    border: 2px solid #E3B505;
}

.page-faq__button--secondary:hover {
    background-color: #1a3c7c;
    transform: translateY(-2px);
}

.page-faq__content-area {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.page-faq__faq-list {
    margin-bottom: 60px;
}

.page-faq__faq-category {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    padding: 30px;
}

.page-faq__category-title {
    font-size: 2em;
    color: #0A2463;
    margin-bottom: 25px;
    border-bottom: 3px solid #E3B505;
    padding-bottom: 15px;
    text-align: center;
}

.page-faq__accordion-item {
    border-bottom: 1px solid #eee;
}

.page-faq__accordion-item:last-child {
    border-bottom: none;
}

.page-faq__accordion-header {
    width: 100%;
    background-color: transparent;
    border: none;
    text-align: left;
    padding: 20px 0;
    font-size: 1.15em;
    font-weight: bold;
    color: #0A2463;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

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

.page-faq__accordion-header::after {
    content: '+';
    font-size: 1.2em;
    color: #E3B505;
    transition: transform 0.3s ease;
}

.page-faq__accordion-header.active::after {
    content: '-';
    transform: rotate(180deg);
}

.page-faq__accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    padding-bottom: 0;
}

.page-faq__accordion-body.active {
    max-height: 500px; /* Adjust as needed for content */
    padding-bottom: 20px;
}

.page-faq__accordion-body p {
    margin-bottom: 15px;
    color: #555555;
}

.page-faq__link-inline {
    color: #0A2463;
    text-decoration: underline;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-faq__link-inline:hover {
    color: #E3B505;
}

.page-faq__cta-section {
    background-color: #0A2463;
    color: #ffffff;
    padding: 50px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.page-faq__cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('[GALLERY:support_illustration:800x600:customer_support,help,professional_agent]');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: 1;
}

.page-faq__cta-title {
    font-size: 2.2em;
    margin-bottom: 15px;
    color: #E3B505;
    position: relative;
    z-index: 2;
}

.page-faq__cta-description {
    font-size: 1.1em;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-faq__hero-title {
        font-size: 2em;
    }

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

    .page-faq__hero-actions {
        flex-direction: column;
        gap: 15px;
    }

    .page-faq__button {
        width: 100%;
        max-width: 280px;
    }

    .page-faq__category-title {
        font-size: 1.6em;
    }

    .page-faq__accordion-header {
        font-size: 1em;
        padding: 15px 0;
    }

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

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

    .page-faq__faq-category {
        padding: 20px;
    }
}

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

    .page-faq__hero-description {
        font-size: 0.9em;
    }

    .page-faq__button {
        padding: 10px 20px;
        font-size: 0.9em;
    }

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