/* ========================================
   FAQ / Yardım Merkezi Stilleri
   ======================================== */

/* Font Ayarları - Store ve Leaderboards ile Uyumlu */
.faq-page-wrapper {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
        'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.faq-page-wrapper p,
.faq-page-wrapper span,
.faq-page-wrapper label,
.faq-page-wrapper input,
.faq-page-wrapper select,
.faq-page-wrapper textarea,
.faq-page-wrapper button,
.faq-page-wrapper a,
.faq-page-wrapper small,
.faq-page-wrapper strong {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
        'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
}

.faq-page-wrapper h1,
.faq-page-wrapper h2,
.faq-page-wrapper h3,
.faq-page-wrapper h4,
.faq-page-wrapper h5,
.faq-page-wrapper h6 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    letter-spacing: -0.025em;
}

/* Icon'ları koru */
.faq-page-wrapper i,
.faq-page-wrapper .fas,
.faq-page-wrapper .far,
.faq-page-wrapper .fab,
.faq-page-wrapper .fal,
.faq-page-wrapper .fad {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro", "Font Awesome 6 Brands" !important;
}

.faq-page-wrapper {
    padding: 3rem 0;
    background: linear-gradient(to bottom, #0f172a, #1e293b);
    min-height: 100vh;
}

/* Header */
.faq-header {
    text-align: center;
    margin-bottom: 3rem;
}

.faq-header h1 {
    font-size: 2.5rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 900;
    letter-spacing: -0.025em;
    color: var(--primary-color);
    margin: 0 0 0.5rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.faq-header h1 i {
    font-size: 2.5rem;
}

.faq-header p {
    font-size: 1.1rem;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.6;
}

/* Search Bar */
.faq-search-container {
    margin-bottom: 2.5rem;
}

.faq-search-form {
    display: flex;
    gap: 0.75rem;
    max-width: 800px;
    margin: 0 auto;
}

.faq-search-input {
    flex: 1;
    padding: 1rem 1.5rem;
    background: rgba(15, 23, 42, 0.6);
    border: 2px solid rgba(148, 163, 184, 0.2);
    border-radius: 12px;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.faq-search-input:focus {
    outline: none;
    border-color: rgba(148, 163, 184, 0.4);
    background: rgba(15, 23, 42, 0.8);
    box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.2);
}

.faq-search-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.faq-search-btn {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    border: none;
    border-radius: 12px;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1.2rem;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 60px;
}

.faq-search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.4);
}

/* Categories */
.faq-categories {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.faq-category-item {
    padding: 1rem 1.5rem;
    background: rgba(30, 41, 59, 0.6);
    border: 2px solid rgba(148, 163, 184, 0.2);
    border-radius: 12px;
    color: var(--text-color);
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    position: relative;
}

.faq-category-item i {
    font-size: 1.3rem;
    color: var(--category-color, #3498db);
}

.faq-category-item:hover {
    background: rgba(30, 41, 59, 0.75);
    border-color: rgba(148, 163, 184, 0.35);
    transform: translateY(-3px);
}

.faq-category-item.active {
    background: linear-gradient(135deg, var(--category-color, #3498db) 0%, var(--category-color, #3498db) 100%);
    border-color: var(--category-color, #3498db);
    color: #1a1a1a;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.faq-category-item.active i {
    color: #1a1a1a;
}

.category-count {
    font-size: 0.85rem;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
}

.faq-category-item.active .category-count {
    color: rgba(26, 26, 26, 0.7);
}

/* Section Title */
.faq-section-title {
    font-size: 1.3rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.faq-section-title i {
    font-size: 1.3rem;
}

/* Split View Container */
.faq-split-view {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

/* Left Panel: Articles List */
.faq-articles-panel {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    height: fit-content;
    max-height: 80vh;
    overflow-y: auto;
}

.faq-articles-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-article-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 8px;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.faq-article-item:hover {
    background: rgba(15, 23, 42, 0.8);
    border-color: rgba(148, 163, 184, 0.3);
    transform: translateX(5px);
}

.faq-article-item.active {
    background: rgba(218, 165, 32, 0.15);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.faq-article-item i {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.faq-article-item span {
    flex: 1;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Empty State */
.faq-empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: rgba(255, 255, 255, 0.5);
}

.faq-empty-state i {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: block;
    opacity: 0.5;
}

.faq-empty-state p {
    font-size: 1.1rem;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    margin: 0;
}

/* Right Panel: Article Detail */
.faq-article-panel {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 12px;
    padding: 2rem;
    height: fit-content;
    min-height: 400px;
}

.faq-article-detail {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.faq-article-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    flex-wrap: wrap;
}

.faq-article-breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.faq-article-breadcrumb a:hover {
    color: var(--primary-gold-dark);
    text-decoration: underline;
}

.faq-article-breadcrumb span {
    color: rgba(255, 255, 255, 0.4);
}

.faq-article-detail h2 {
    font-size: 2rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: var(--text-color);
    margin: 0 0 1.5rem 0;
    line-height: 1.3;
}

.faq-article-content {
    font-size: 1.05rem;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    flex: 1;
}

.faq-article-footer {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    margin-top: auto;
}

.faq-article-meta-info {
    margin-bottom: 1rem;
}

.faq-article-update {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

.faq-article-update i {
    font-size: 0.85rem;
}

.faq-helpful-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.faq-helpful-section > span {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
}

.faq-helpful-btn {
    padding: 0.75rem 1.5rem;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 8px;
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.faq-helpful-btn:hover {
    background: rgba(15, 23, 42, 0.8);
    border-color: rgba(148, 163, 184, 0.35);
    transform: translateY(-2px);
}

.faq-helpful-btn i {
    font-size: 1rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .faq-split-view {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .faq-articles-panel {
        max-height: 400px;
    }
    
    .faq-article-panel {
        min-height: auto;
    }
}

@media (max-width: 768px) {
    .faq-header h1 {
        font-size: 2rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .faq-search-form {
        flex-direction: column;
    }
    
    .faq-categories {
        justify-content: flex-start;
    }
    
    .faq-category-item {
        flex: 1;
        min-width: calc(50% - 0.5rem);
        justify-content: center;
    }
    
    .faq-articles-panel {
        padding: 1rem;
        max-height: 300px;
    }
    
    .faq-article-panel {
        padding: 1.5rem;
    }
    
    .faq-article-detail h2 {
        font-size: 1.5rem;
    }
    
    .faq-helpful-section {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .faq-helpful-btn {
        width: 100%;
        justify-content: center;
    }
}

