/* style/faq.css */
.page-faq {
    font-family: Arial, sans-serif;
    color: #333;
    line-height: 1.6;
}

.page-faq-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-faq-hero {
    background: linear-gradient(135deg, #0A2463, #3b5998);
    color: #FFFFFF;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-faq-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('[GALLERY:hero:kuwin_nổ_hũ,slot_game,abstract_background,gold_accents]') no-repeat center center/cover;
    opacity: 0.15;
    z-index: 0;
}

.page-faq-hero .page-faq-container {
    position: relative;
    z-index: 1;
}

.page-faq-title {
    font-size: 3.2em;
    margin-bottom: 15px;
    color: #FFD700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.page-faq-subtitle {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-faq-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-faq-btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    white-space: nowrap;
}

.page-faq-btn-primary {
    background-color: #FFD700;
    color: #0A2463;
    border: 2px solid #FFD700;
}

.page-faq-btn-primary:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
}

.page-faq-btn-secondary {
    background-color: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
}

.page-faq-btn-secondary:hover {
    background-color: rgba(255, 215, 0, 0.1);
    transform: translateY(-2px);
}

.page-faq-content {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.page-faq-section-title {
    font-size: 2.2em;
    color: #0A2463;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

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

.page-faq-accordion {
    margin-bottom: 40px;
}

.page-faq-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-faq-question {
    font-size: 1.4em;
    color: #0A2463;
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    background-color: #f0f4f8;
    transition: background-color 0.3s ease;
}

.page-faq-question:hover {
    background-color: #e0e6ec;
}

.page-faq-question::after {
    content: '+';
    font-size: 1.5em;
    font-weight: normal;
    transition: transform 0.3s ease;
    color: #FFD700;
}

.page-faq-item.active .page-faq-question::after {
    content: '-';
    transform: rotate(0deg);
}

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

.page-faq-item.active .page-faq-answer {
    max-height: 500px; /* Adjust as needed for content length */
    padding: 20px 25px;
}

.page-faq-answer p {
    margin-bottom: 15px;
    color: #555;
}

.page-faq-answer a {
    color: #0A2463;
    text-decoration: underline;
    font-weight: bold;
}

.page-faq-answer a:hover {
    color: #FFD700;
}

.page-faq-btn-small {
    padding: 10px 20px;
    font-size: 0.9em;
    margin-top: 10px;
}

.page-faq-image-section {
    text-align: center;
    margin: 60px 0;
}

.page-faq-image {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-faq-cta-bottom {
    background-color: #0A2463;
    color: #FFFFFF;
    padding: 50px 30px;
    border-radius: 15px;
    text-align: center;
    margin-top: 60px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.page-faq-cta-bottom .page-faq-section-title {
    color: #FFD700;
    margin-bottom: 20px;
}

.page-faq-cta-bottom .page-faq-section-title::after {
    background-color: #FFD700;
}

.page-faq-cta-bottom p {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #e0e0e0;
}

.page-faq-btn-large {
    padding: 18px 40px;
    font-size: 1.2em;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-faq-title {
        font-size: 2.5em;
    }
    .page-faq-subtitle {
        font-size: 1.1em;
    }
    .page-faq-cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-faq-btn {
        width: 80%;
        margin: 0 auto;
    }
    .page-faq-section-title {
        font-size: 1.8em;
    }
    .page-faq-question {
        font-size: 1.2em;
        padding: 15px 20px;
    }
    .page-faq-answer {
        padding: 15px 20px;
    }
    .page-faq-item.active .page-faq-answer {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-faq-title {
        font-size: 2em;
    }
    .page-faq-subtitle {
        font-size: 1em;
    }
    .page-faq-btn {
        width: 90%;
    }
    .page-faq-section-title {
        font-size: 1.6em;
    }
    .page-faq-question {
        font-size: 1.1em;
    }
    .page-faq-cta-bottom {
        padding: 30px 20px;
    }
}