* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui, sans-serif;
}

body {
    background: #000;
    color: #0f0;
    min-height: 100vh;
    overflow-x: hidden;
}

.app-container {
    position: relative;
    width: 100vw;
    height: 100vh;
}

.slide {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.85)), url('img/fon.jpg') center/cover no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.center-info {
    max-width: 820px;
    width: 100%;
    padding: 0 20px;
}

.line {
    width: 160px;
    height: 3px;
    margin: 25px auto;
    background: linear-gradient(90deg, transparent, #0f0, transparent);
    box-shadow: 0 0 15px #0f0;
}

.info-title {
    font-size: clamp(1.2rem, 3.5vw, 2rem);
    font-weight: 900;
    letter-spacing: 5px;
    color: #0f8;
    text-shadow: 0 0 10px #0f0, 0 0 20px #0f0, 0 0 40px #080;
    animation: neon-glow 2s infinite alternate;
}

.info-text {
    font-size: clamp(0.8rem, 2.5vw, 1rem);
    line-height: 1.8;
    letter-spacing: 2px;
    color: #0c0;
    text-shadow: 0 0 6px #0f0;
    margin: 20px 0 40px;
}

.info-text strong {
    color: #0f8;
}

.info-text span {
    font-size: 0.9rem;
    opacity: 0.8;
}

@keyframes neon-glow {
    from { text-shadow: 0 0 10px #0f0, 0 0 20px #0f0, 0 0 30px #080; }
    to   { text-shadow: 0 0 20px #0f0, 0 0 40px #0f0, 0 0 60px #0f8; }
}

.categories-container {
    margin-top: 50px;
    width: 100%;
    max-width: 700px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 35px;
}

.category-btn {
    background: rgba(0, 20, 0, 0.6);
    border: 2px solid #0a0;
    color: #0f0;
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 2px;
    padding: 16px 48px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.25s ease;
    text-shadow: 0 0 8px #0f0;
    box-shadow: 0 0 20px rgba(0,255,0,0.25);
    width: 100%;
    max-width: 420px;
}

.category-btn:hover {
    background: rgba(0, 40, 0, 0.8);
    box-shadow: 0 0 40px rgba(0,255,0,0.6);
    transform: translateY(-3px);
}

.motto {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #0c0;
    text-align: center;
    max-width: 640px;
    margin-top: 20px;
}

.motto strong {
    color: #0f8;
}

/* Аккордеон внутри модалки */
.vacancies-accordion {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 25px;
}

.accordion-item {
    background: rgba(0, 20, 0, 0.5);
    border: 1px solid #0a0;
    border-radius: 10px;
    overflow: hidden;
}

.accordion-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 28px;
    font-size: 1.4rem;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    color: #0f0;
    cursor: pointer;
}

.accordion-btn i {
    transition: transform 0.3s;
}

.accordion-btn.active i {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 28px;
    color: #0c0;
    font-size: 1.05rem;
    line-height: 1.7;
}

.accordion-content.active {
    max-height: 700px; /* под самый длинный */
    padding: 24px 28px;
}

.more-btn {
    display: inline-block;
    margin-top: 16px;
    padding: 10px 24px;
    background: rgba(0,100,0,0.4);
    border: 1px solid #0a0;
    color: #0f0;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.25s;
}

.more-btn:hover {
    background: rgba(0,140,0,0.6);
    box-shadow: 0 0 20px #0f0;
}

/* Модалка общая */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.88);
    backdrop-filter: blur(6px);
    z-index: 100;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: rgba(5, 25, 5, 0.92);
    border: 2px solid #0a0;
    border-radius: 16px;
    max-width: 620px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 32px;
    position: relative;
    box-shadow: 0 0 60px rgba(0,255,0,0.3);
}

.close-modal {
    position: absolute;
    top: 16px;
    right: 24px;
    font-size: 2.8rem;
    color: #0c0;
    cursor: pointer;
}

.modal-content h3 {
    color: #0f8;
    margin-bottom: 20px;
    font-size: 2rem;
    text-align: center;
}

.modal-links a {
    color: #0f0;
    font-size: 1.2rem;
    display: block;
    margin: 16px 0;
    text-decoration: none;
}

.modal-links a:hover {
    color: #0f8;
    text-shadow: 0 0 12px #0f0;
}

/* Адаптив */
@media (max-width: 600px) {
    .info-title { font-size: 1.5rem; letter-spacing: 3px; }
    .category-btn { font-size: 1.4rem; padding: 14px 32px; max-width: 90%; }
    .modal-content { padding: 24px 20px; }
    .accordion-btn { font-size: 1.25rem; padding: 16px 20px; }
}
/* ... весь предыдущий CSS остаётся без изменений ... */

/* Новые стили для финального вопроса под кнопками */
.final-question {
    font-size: 1.3rem;
    line-height: 1.6;
    color: #0f8;
    text-align: center;
    margin-top: 10px;
    text-shadow: 0 0 10px #0f0;
    max-width: 90%;
}

.final-question strong {
    color: #0f0;
}

/* Текст внизу модалок */
.modal-footer-text {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(0,255,0,0.15);
    font-size: 1.05rem;
    line-height: 1.7;
    color: #0c0;
    text-align: center;
    opacity: 0.9;
}

.modal-footer-text br {
    margin-bottom: 8px;
}

/* Немного отступов для модалок на мобильных */
@media (max-width: 600px) {
    .modal-footer-text {
        margin-top: 30px;
        font-size: 1rem;
    }
    .final-question {
        font-size: 1.15rem;
    }
}
/* Блок с двумя кнопками внизу модалки вакансий */
.vacancy-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 32px 0 24px;
    padding: 0 10px;
}

.action-btn {
    display: block;
    padding: 16px 32px;
    font-size: 1.25rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.25s ease;
    border: 2px solid #0a0;
    color: #0f0;
    background: rgba(0, 40, 0, 0.5);
    box-shadow: 0 0 15px rgba(0,255,0,0.2);
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 35px rgba(0,255,0,0.5);
    background: rgba(0, 80, 0, 0.7);
}

/* Стили для конкретных кнопок (можно отличать визуально) */
.bot-btn {
    border-color: #0f8;
    color: #0f8;
    text-shadow: 0 0 8px #0f8;
}

.bot-btn:hover {
    background: rgba(0, 120, 0, 0.7);
    box-shadow: 0 0 40px #0f8;
}

.ls-btn {
    border-color: #0f0;
    background: rgba(0, 60, 0, 0.6);
}

.ls-btn:hover {
    background: rgba(0, 100, 0, 0.8);
}

/* Адаптив для кнопок */
@media (max-width: 500px) {
    .action-btn {
        font-size: 1.1rem;
        padding: 14px 24px;
    }
    .vacancy-actions {
        gap: 12px;
        margin: 28px 0 20px;
    }
}