/* ===== faq.css: стили для страницы FAQ ===== */
.faq-container {
    max-width: 900px;
    margin: 3rem auto;
    padding: 0 1rem;
    background-color: rgba(26, 26, 46, 0.85);
    border-radius: 12px;
    border: 1px solid var(--secondary);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
}

.faq-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--accent);
}

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

.faq-item {
    border: 1px solid var(--primary);
    border-radius: 8px;
    overflow: hidden;
    background-color: rgba(22, 22, 35, 0.9);
    transition: all 0.3s ease;
}

.faq-question {
    width: 100%;
    padding: 1rem 1.5rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    color: var(--light);
    cursor: pointer;
    position: relative;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--accent);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    background-color: rgba(20, 20, 30, 0.95);
    padding: 0 1.5rem;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 1rem 1.5rem;
    max-height: 300px;
}

.faq-answer p {
    font-size: 0.95rem;
    color: var(--light);
    opacity: 0.9;
    line-height: 1.5;
}
