/* Gaming Center FAQ Styles */

.gc-faq-wrapper {
    font-family: 'Cairo', sans-serif;
    background-color: #f8fafc;
    padding: 2rem 1rem 5rem;
    direction: rtl;
}

/* Hero Section */
.gc-faq-hero {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 4rem;
    padding: 4rem 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    border-radius: 1.5rem;
    text-align: center;
}

.gc-faq-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #f0f4ff;
    color: #2d358f;
    font-size: 0.875rem;
    font-weight: 700;
    border-radius: 9999px;
    border: 1px solid #c7d2fe;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    margin-bottom: 1.5rem;
}

.gc-faq-title {
    font-size: clamp(2rem, 5vw, 3.75rem);
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    max-width: 64rem;
    margin-left: auto;
    margin-right: auto;
}

.gc-text-primary {
    color: #2d358f;
}

.gc-faq-subtitle {
    color: #64748b;
    font-size: clamp(1rem, 2vw, 1.25rem);
    max-width: 42rem;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

.gc-faq-search-wrapper {
    width: 100%;
    max-width: 48rem;
    margin: 0 auto;
    position: relative;
}

.gc-faq-search-icon {
    position: absolute;
    top: 50%;
    right: 1.5rem;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
}

.gc-faq-search-input {
    width: 100%;
    padding: 1.25rem 4rem;
    border-radius: 1rem;
    background: white;
    border: 2px solid transparent;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    font-size: 1.25rem;
    outline: none;
    transition: all 0.3s ease;
    font-family: 'Cairo', sans-serif;
}

.gc-faq-search-input:focus {
    border-color: #2d358f;
    box-shadow: 0 0 0 4px rgba(45, 53, 143, 0.1);
}

.gc-faq-clear-search {
    position: absolute;
    top: 50%;
    left: 1.5rem;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
}

.gc-faq-clear-search:hover {
    color: #2d358f;
}

/* Categories */
.gc-faq-categories {
    width: 100%;
    max-width: 1200px;
    margin: -2rem auto 3rem;
    padding: 0 1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    position: relative;
    z-index: 10;
}

.gc-faq-category-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 700;
    border: 1px solid #e2e8f0;
    background: white;
    color: #475569;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    font-family: 'Cairo', sans-serif;
}

.gc-faq-category-btn:hover {
    border-color: #c7d2fe;
    background-color: #f0f4ff;
    transform: translateY(-2px);
}

.gc-faq-category-btn.active {
    background: #2d358f;
    color: white;
    border-color: #1e266d;
    transform: scale(1.05);
}

/* FAQ Main */
.gc-faq-main {
    width: 100%;
    max-width: 56rem;
    margin: 0 auto;
    padding: 0 1rem;
}

.gc-faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* FAQ Item */
.gc-faq-item {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.gc-faq-item:hover {
    border-color: #c7d2fe;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.gc-faq-item.active {
    border-color: #c7d2fe;
    box-shadow: 0 0 0 2px rgba(45, 53, 143, 0.2), 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transform: translateY(0);
}

.gc-faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: right;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Cairo', sans-serif;
}

.gc-faq-q-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.gc-faq-icon {
    padding: 0.5rem;
    border-radius: 0.5rem;
    background-color: #f1f5f9;
    color: #64748b;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.gc-faq-item.active .gc-faq-icon {
    background-color: #2d358f;
    color: white;
    transform: scale(1.05);
}

.gc-faq-item:hover .gc-faq-icon {
    background-color: #f0f4ff;
    color: #2d358f;
}

.gc-faq-q-text {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 700;
    color: #1e293b;
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.gc-faq-item.active .gc-faq-q-text {
    color: #2d358f;
}

.gc-faq-chevron {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        color 0.3s ease;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gc-faq-item.active .gc-faq-chevron {
    transform: rotate(180deg);
    color: #2d358f;
}

/* FAQ Answer */
.gc-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    padding-top: 0;
}

.gc-faq-item.active .gc-faq-answer {
    max-height: 2000px;
    opacity: 1;
    padding-top: 0.5rem;
}

.gc-faq-answer-inner {
    padding: 0 1.5rem 1.5rem;
    border-top: 1px solid #f1f5f9;
}

.gc-faq-answer-content {
    background-color: rgba(248, 250, 252, 0.5);
    border-radius: 0.75rem;
    padding: 1rem;
    color: #475569;
    line-height: 1.8;
    font-size: 1rem;
    border: 1px solid #e2e8f0;
}

.gc-faq-answer-content p {
    margin-bottom: 1rem;
}

.gc-faq-answer-content p:last-child {
    margin-bottom: 0;
}

.gc-faq-meta {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.gc-faq-category-tag {
    padding: 0.25rem 0.75rem;
    background-color: #cbd5e1;
    color: #475569;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* No Results */
.gc-faq-no-results {
    background: white;
    border-radius: 1.5rem;
    padding: 3rem;
    text-align: center;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.gc-faq-no-results-icon {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    background-color: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: #94a3b8;
}

.gc-faq-no-results-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.gc-faq-no-results-text {
    color: #64748b;
    margin-bottom: 1.5rem;
}

.gc-faq-reset-btn {
    color: #2d358f;
    font-weight: 700;
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: underline;
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
}

/* CTA Section */
.gc-faq-cta {
    width: 100%;
    max-width: 1200px;
    margin: 6rem auto 0;
    padding: 0 1rem;
}

.gc-faq-cta-inner {
    background-color: #0f172a;
    border-radius: 2.5rem;
    padding: 3rem 2rem;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    box-shadow: 0 20px 25px -5px rgba(15, 23, 42, 0.4);
}

@media (min-width: 768px) {
    .gc-faq-cta-inner {
        flex-direction: row;
        align-items: center;
        padding: 3rem;
    }
}

.gc-faq-cta-bg-1,
.gc-faq-cta-bg-2 {
    position: absolute;
    width: 16rem;
    height: 16rem;
    background-color: rgba(45, 53, 143, 0.1);
    filter: blur(100px);
    border-radius: 50%;
}

.gc-faq-cta-bg-1 {
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
}

.gc-faq-cta-bg-2 {
    bottom: 0;
    right: 0;
    transform: translate(50%, 50%);
}

.gc-faq-cta-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

@media (min-width: 768px) {
    .gc-faq-cta-content {
        text-align: right;
    }
}

.gc-faq-cta-title {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 900;
    color: white;
    margin-bottom: 1rem;
}

.gc-faq-cta-text {
    color: #94a3b8;
    font-size: clamp(1rem, 2vw, 1.25rem);
    max-width: 28rem;
}

.gc-faq-cta-buttons {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 640px) {
    .gc-faq-cta-buttons {
        flex-direction: row;
    }
}

.gc-faq-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 1rem;
    font-weight: 700;
    transition: transform 0.3s;
    text-decoration: none;
    font-family: 'Cairo', sans-serif;
}

.gc-faq-btn:hover {
    transform: scale(1.05);
}

.gc-faq-btn-whatsapp {
    background-color: #25D366;
    color: white;
}

.gc-faq-btn-phone {
    background-color: white;
    color: #0f172a;
}

.gc-faq-btn-builder {
    background: linear-gradient(135deg, #2d358f 0%, #91288d 100%) !important;
    color: white;
    box-shadow: 0 0 15px rgba(145, 40, 141, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.gc-faq-btn-builder:hover {
    box-shadow: 0 0 25px rgba(145, 40, 141, 0.6);
    filter: brightness(1.1);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2d358f;
}

/* Responsive */
@media (max-width: 640px) {
    .gc-faq-hero {
        padding: 2rem 1rem;
    }

    .gc-faq-search-input {
        padding: 1rem 3rem;
        font-size: 1rem;
    }

    .gc-faq-category-btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }

    .gc-faq-question {
        padding: 1rem;
    }

    .gc-faq-answer-inner {
        padding: 0 1rem 1rem;
    }
}

/* Hide element utility */
.gc-hidden {
    display: none !important;
}