/* SV Loot FAQ Styling */
/* Color Scheme: Soft White (#f2f2f2) and Soft Black (#121314) */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --soft-white: #f2f2f2;
    --soft-black: #121314;
    --transition: all 0.3s ease;
    --gradient-primary: linear-gradient(135deg, #121314 0%, #2a2b2c 100%);
    --gradient-secondary: linear-gradient(135deg, #f2f2f2 0%, #e8e8e8 100%);
    --shadow-light: 0 4px 20px rgba(18, 19, 20, 0.1);
    --shadow-medium: 0 8px 30px rgba(18, 19, 20, 0.15);
    --shadow-heavy: 0 15px 50px rgba(18, 19, 20, 0.2);
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--soft-white);
    color: var(--soft-black);
    line-height: 1.6;
    overflow-x: hidden;
    overflow-y: auto;
}

/* Main Container */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 100px 1.5rem 2rem;
    min-height: 100vh;
}

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

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--soft-black);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.page-title i {
    color: var(--soft-black);
    font-size: 2.2rem;
}

.page-description {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
}

/* Search Section */
.search-section {
    margin-bottom: 3rem;
}

.search-container {
    max-width: 500px;
    margin: 0 auto;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 1rem;
    color: #666;
    font-size: 1.1rem;
    z-index: 2;
}

.search-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid rgba(18, 19, 20, 0.1);
    border-radius: 12px;
    font-size: 1rem;
    background: white;
    transition: var(--transition);
    font-family: inherit;
}

.search-input:focus {
    outline: none;
    border-color: var(--soft-black);
    box-shadow: 0 0 0 3px rgba(18, 19, 20, 0.1);
}

.search-input::placeholder {
    color: #999;
}

/* FAQ Section */
.faq-section {
    margin-bottom: 3rem;
}

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

/* FAQ Item */
.faq-item {
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    border: 1px solid rgba(18, 19, 20, 0.05);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-medium);
}

.faq-item.active {
    border-color: var(--soft-black);
}

/* FAQ Question */
.faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transition: var(--transition);
    background: white;
}

.faq-question:hover {
    background: rgba(18, 19, 20, 0.02);
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--soft-black);
    line-height: 1.4;
    flex: 1;
}

.faq-toggle-icon {
    font-size: 1.2rem;
    color: var(--soft-black);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-toggle-icon {
    transform: rotate(45deg);
}

/* FAQ Answer */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgba(18, 19, 20, 0.02);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-content {
    padding: 0 2rem 1.5rem;
}

.faq-answer-content p {
    color: #555;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 3rem 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    border: 1px solid rgba(18, 19, 20, 0.05);
}

.no-results-icon {
    font-size: 3rem;
    color: #ddd;
    margin-bottom: 1rem;
}

.no-results h3 {
    font-size: 1.3rem;
    color: var(--soft-black);
    margin-bottom: 0.5rem;
}

.no-results p {
    color: #666;
    font-size: 1rem;
}

/* Contact Section */
.contact-section {
    margin-top: 4rem;
}

.contact-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--shadow-light);
    border: 1px solid rgba(18, 19, 20, 0.05);
    text-align: center;
}

.contact-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-header i {
    font-size: 2rem;
    color: var(--soft-black);
}

.contact-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--soft-black);
}

.contact-card p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.btn-primary {
    background: var(--soft-black);
    color: white;
}

.btn-primary:hover {
    background: #2a2b2c;
    transform: translateY(-2px);
}

.btn-secondary {
    background: white;
    color: var(--soft-black);
    border: 2px solid rgba(18, 19, 20, 0.1);
}

.btn-secondary:hover {
    background: var(--soft-black);
    color: white;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .faq-container {
        padding: 90px 1rem 2rem;
    }
    
    .page-title {
        font-size: 2rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .faq-question {
        padding: 1.25rem 1.5rem;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
    
    .faq-answer-content {
        padding: 0 1.5rem 1.25rem;
    }
    
    .contact-card {
        padding: 2rem 1.5rem;
    }
    
    .contact-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-actions .btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .faq-question {
        padding: 1rem;
    }
    
    .faq-answer-content {
        padding: 0 1rem 1rem;
    }
    
    .contact-card {
        padding: 1.5rem 1rem;
    }
    
    .search-input {
        padding: 0.875rem 0.875rem 0.875rem 2.5rem;
        font-size: 0.95rem;
    }
    
    .search-icon {
        left: 0.875rem;
        font-size: 1rem;
    }
}

/* Search Highlighting */
.highlight {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    padding: 0.1rem 0.2rem;
    border-radius: 3px;
    font-weight: 600;
}
