/* Подключение кастомных шрифтов */
@font-face {
    font-family: 'Poppins-Bold';
    src: url('fonts/Poppins-Bold.woff') format('woff');
    font-weight: bold;
}

@font-face {
    font-family: 'Poppins-Regular';
    src: url('fonts/Poppins-Regular.woff') format('woff');
    font-weight: normal;
}


.faq-section {
    max-width: 900px;
    margin: 0 auto 80px;
    padding: 50px 20px;
    color: #fff;
    font-family: 'Poppins-Regular', sans-serif;
}

.section-title {
    font-family: 'Poppins-Bold', sans-serif;
    font-size: 36px;
    text-align: center;
    margin-bottom: 40px;
}

.faq-item {
    background: #14151b;
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0,0,0,0.3);
}

.faq-question {
    width: 100%;
    background: #1b1d23;
    border: none;
    padding: 20px;
    font-size: 20px;
    text-align: left;
    color: #fff;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Poppins-Bold', sans-serif;
}

.faq-question .arrow {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question .arrow {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    padding: 0 20px;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px; /* или auto, если JS подправить */
    padding: 20px;
    font-size: 18px;
    color: #cfcfcf;
}
/* Контейнер заголовка с кнопкой */
.faq-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 25px;
}

/* Защита от наложения */
.section-title {
    flex: 1;
    text-align: center;
}

/* Кнопка "Назад" в едином стиле */
.exit-btn {
    font-size: 16px;
    padding: 10px 24px;
    background: linear-gradient(135deg, #3a7bff, #295bff);
    border-radius: 12px;
    box-shadow: 0 0 22px rgba(50, 100, 255, 0.45);
    color: #fff;
    text-decoration: none;
    transition: 0.25s ease;
    white-space: nowrap;
}

.exit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(60, 120, 255, 0.6);
}
footer {
    background: #0b0c10;
    padding: 60px 20px;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #d0d0d0;
    font-size: 18px;
    text-decoration: none;
    font-weight: 500;
    transition: 0.2s ease;
}

.footer-links a:hover {
    color: #4c8dff;
}

.footer-copy {
    color: #888;
    font-size: 15px;
    opacity: 0.8;
}

/* Мобилки */
@media (max-width: 480px) {
    .faq-header {
        flex-direction: column;
        gap: 10px;
    }

    .section-title {
        width: 100%;
        text-align: center;
    }
}
