/* style/faq.css */

/* Base Styles for FAQ Page */
.page-faq {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f8f9fa;
}

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

.page-faq-section {
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.page-faq-section:nth-of-type(even) {
    background-color: #e9ecef;
}

.page-faq-section-title {
    font-size: 2.5em;
    color: #007BFF;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-faq-btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    border: none;
}

.page-faq-btn-primary {
    background-color: #007BFF;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
}

.page-faq-btn-primary:hover {
    background-color: #0056b3;
    box-shadow: 0 6px 15px rgba(0, 123, 255, 0.4);
}

.page-faq-btn-secondary {
    background-color: #FFC107;
    color: #333;
    box-shadow: 0 4px 10px rgba(255, 193, 7, 0.3);
}

.page-faq-btn-secondary:hover {
    background-color: #e0a800;
    color: #000;
    box-shadow: 0 6px 15px rgba(255, 193, 7, 0.4);
}

.page-faq-link {
    color: #007BFF;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-faq-link:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Hero Section */
.page-faq-hero {
    position: relative;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    overflow: hidden;
}

.page-faq-hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.page-faq-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.8), rgba(255, 193, 7, 0.6));
    z-index: 2;
}

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

.page-faq-hero-title {
    font-size: 3.5em;
    margin-bottom: 15px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-faq-hero-subtitle {
    font-size: 1.3em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-faq-hero .page-faq-btn {
    font-size: 1.1em;
    padding: 15px 35px;
}

/* Accordion Styles */
.page-faq-accordion {
    max-width: 900px;
    margin: 0 auto;
}

.page-faq-accordion-item {
    background-color: #ffffff;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid #dee2e6;
}

.page-faq-accordion-header {
    display: block;
    padding: 20px 25px;
    font-size: 1.25em;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    position: relative;
    transition: background-color 0.3s ease;
    border-bottom: 1px solid transparent;
}

.page-faq-accordion-header:hover {
    background-color: #f1f1f1;
}

.page-faq-accordion-header::after {
    content: '+';
    position: absolute;
    right: 25px;
    font-size: 1.5em;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
    color: #007BFF;
}

.page-faq-accordion-item[open] .page-faq-accordion-header::after {
    content: '-';
    transform: translateY(-50%) rotate(180deg);
}

.page-faq-accordion-item[open] .page-faq-accordion-header {
    border-bottom: 1px solid #dee2e6;
    background-color: #f1f1f1;
}

.page-faq-accordion-content {
    padding: 15px 25px 20px;
    font-size: 1.1em;
    color: #555;
    border-top: 1px solid #eee;
}

.page-faq-accordion-content p {
    margin-bottom: 10px;
}

/* Sections with images */
.page-faq-account-management, .page-faq-games {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 80px 0;
}

.page-faq-account-management .page-faq-container, .page-faq-games .page-faq-container {
    flex: 1;
}

.page-faq-section-img {
    width: 45%;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-faq-account-management {
    flex-direction: row-reverse; /* Image on left, content on right */
}

/* Contact CTA Section */
.page-faq-contact-cta {
    background-color: #007BFF;
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.page-faq-contact-content {
    position: relative;
    z-index: 2;
    flex: 1;
    text-align: left;
}

.page-faq-contact-title {
    font-size: 2.8em;
    margin-bottom: 15px;
    font-weight: bold;
    color: #ffffff;
}

.page-faq-contact-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 700px;
}

.page-faq-contact-img {
    position: relative;
    width: 40%;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

/* Floating CTA Button */
.page-faq-floating-cta {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 1000;
}

.page-faq-floating-btn {
    background-color: #FFC107;
    color: #333;
    display: flex;
    align-items: center;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.page-faq-floating-btn:hover {
    background-color: #e0a800;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

.page-faq-floating-icon {
    font-size: 1.5em;
    margin-right: 10px;
    line-height: 1;
}

.page-faq-floating-text {
    white-space: nowrap;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-faq-hero-title {
        font-size: 2.8em;
    }
    .page-faq-hero-subtitle {
        font-size: 1.1em;
    }
    .page-faq-section-title {
        font-size: 2em;
    }
    .page-faq-accordion-header {
        font-size: 1.1em;
        padding: 18px 20px;
    }
    .page-faq-accordion-header::after {
        right: 20px;
    }
    .page-faq-accordion-content {
        font-size: 1em;
        padding: 12px 20px 15px;
    }
    .page-faq-account-management, .page-faq-games, .page-faq-contact-cta {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    .page-faq-section-img, .page-faq-contact-img {
        width: 80%;
        margin-top: 30px;
    }
    .page-faq-contact-content {
        text-align: center;
    }
    .page-faq-contact-description {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .page-faq-hero {
        height: 350px;
    }
    .page-faq-hero-title {
        font-size: 2.2em;
    }
    .page-faq-hero-subtitle {
        font-size: 1em;
    }
    .page-faq-hero .page-faq-btn {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-faq-section {
        padding: 40px 0;
    }
    .page-faq-section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-faq-contact-title {
        font-size: 2.2em;
    }
    .page-faq-contact-description {
        font-size: 1em;
    }
    .page-faq-floating-btn {
        padding: 8px 15px;
        font-size: 0.9em;
    }
    .page-faq-floating-icon {
        font-size: 1.2em;
        margin-right: 8px;
    }
}

@media (max-width: 576px) {
    .page-faq-hero {
        height: 300px;
    }
    .page-faq-hero-title {
        font-size: 1.8em;
    }
    .page-faq-hero-subtitle {
        font-size: 0.9em;
    }
    .page-faq-accordion-header {
        font-size: 1em;
        padding: 15px;
    }
    .page-faq-accordion-header::after {
        right: 15px;
        font-size: 1.2em;
    }
    .page-faq-accordion-content {
        padding: 10px 15px 15px;
        font-size: 0.9em;
    }
    .page-faq-section-img, .page-faq-contact-img {
        width: 90%;
    }
    .page-faq-contact-title {
        font-size: 1.8em;
    }
    .page-faq-contact-description {
        font-size: 0.9em;
    }
    .page-faq-floating-cta {
        bottom: 15px;
        right: 15px;
    }
    .page-faq-floating-btn {
        padding: 6px 12px;
        font-size: 0.8em;
    }
    .page-faq-floating-icon {
        font-size: 1em;
        margin-right: 6px;
    }
}