/* 
 * Toonz Gaming FAQ - Dark Elegant Accordion Styling
 */

.toonz-gaming-faq-wrapper {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-color: #0b0c10;
    display: flex;
    align-items: center;
    color: #fff;
    font-family: 'Outfit', 'Inter', sans-serif;
    padding: 100px 0;
    box-sizing: border-box;
    overflow: hidden;
}

/* --- Parallax Background --- */
.gfq-bg-visual {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.gfq-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
    display: block;
}

/* Gradient overlay on the left to ensure text readability against complex background */
.gfq-overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.6) 60%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
    pointer-events: none;
}

.gfq-container {
    position: relative;
    z-index: 2;
    width: 100%;
    margin: 0 auto;
    padding: 0 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

/* --- Left Column: Content --- */
.gfq-content-col {
    display: flex;
    flex-direction: column;
    max-width: 750px;
}

/* --- Headline --- */
.gfq-headline {
    font-size: 54px;
    font-weight: 500;
    line-height: 1.1;
    margin: 0 0 20px 0;
    color: #fff;
    letter-spacing: 2px;
}

.gfq-headline .accent {
    color: #C49767;
    font-weight: 700;
}

/* --- Divider --- */
.gfq-divider {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    width: 100%;
    max-width: 300px;
    gap: 15px;
}

.gfq-divider-line {
    height: 1px;
    flex: 1;
    background: linear-gradient(to right, rgba(196, 151, 103, 0), #C49767, rgba(196, 151, 103, 0));
}

.gfq-divider-diamond {
    width: 8px;
    height: 8px;
    border: 1px solid #C49767;
    transform: rotate(45deg);
}

/* --- Accordion --- */
.gfq-accordion {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.gfq-accordion-item {
    background: rgba(15, 15, 20, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

.gfq-accordion-item:hover {
    border-color: rgba(196, 151, 103, 0.4);
    background: rgba(20, 20, 25, 0.85);
}

/* Active State Glow */
.gfq-accordion-item.is-active {
    border-color: rgba(196, 151, 103, 0.6);
    box-shadow: 0 0 25px rgba(196, 151, 103, 0.15);
}

/* --- Accordion Header --- */
.gfq-accordion-header {
    display: flex;
    align-items: center;
    padding: 25px 30px;
    cursor: pointer;
    user-select: none;
}

.gfq-accordion-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 25px;
    flex-shrink: 0;
    transition: border-color 0.3s ease;
}

.gfq-accordion-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    /* Pseudo gold tint fallback */
}

.gfq-accordion-icon i,
.gfq-accordion-icon svg {
    font-size: 24px;
    color: #C49767;
    fill: #C49767;
}

.gfq-accordion-title {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin: 0;
    flex: 1;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.gfq-accordion-arrow {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 20px;
    color: #C49767;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    font-size: 14px;
}

.gfq-accordion-item.is-active .gfq-accordion-arrow {
    transform: rotate(90deg);
}

/* --- Accordion Content --- */
.gfq-accordion-content {
    height: 0;
    overflow: hidden;
}

.gfq-accordion-content-inner {
    padding: 0 30px 25px 98px;
    /* 30px right, 25 bottom, 98px left (align with title: 48 icon + 25 gap + 25 padding) */
}

.gfq-accordion-desc {
    font-size: 15px;
    color: #aaa;
    line-height: 1.6;
    margin: 0;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .gfq-container {
        grid-template-columns: 1fr;
    }

    .gfq-overlay-gradient {
        width: 100%;
        background: rgba(0, 0, 0, 0.75);
    }

    .gfq-headline {
        font-size: 42px;
    }
}

@media (max-width: 768px) {
    .gfq-headline {
        font-size: 32px;
    }

    .gfq-accordion-header {
        padding: 20px;
    }

    .gfq-accordion-icon {
        margin-right: 15px;
    }

    .gfq-accordion-content-inner {
        padding: 0 20px 20px 83px;
    }
}