/* ============================================
   БАЗОВЫЕ СТИЛИ
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: #2d3748;
    background: #f7fafc;
    padding: 20px;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* ============================================
   ШАПКА
   ============================================ */
.header {
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 2px solid #edf2f7;
    margin-bottom: 25px;
}

.header h1 {
    font-size: 2rem;
    color: #2b6cb0;
    font-weight: 700;
}

/* ============================================
   МОБИЛЬНАЯ НАВИГАЦИЯ ПО ДНЯМ (вверху) - скрыта на десктопе
   ============================================ */
.mobile-day-select {
    display: none !important;
    padding: 10px 0 15px 0;
    border-bottom: 1px solid #edf2f7;
    margin-bottom: 15px;
}

.mobile-day-select form {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.mobile-day-select .day-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mobile-day-select label {
    font-weight: 600;
    color: #4a5568;
}

.mobile-day-select input[type="number"] {
    width: 70px;
    padding: 6px 10px;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    font-size: 1rem;
    text-align: center;
}

.mobile-day-select input[type="number"]:focus {
    outline: none;
    border-color: #2b6cb0;
}

.mobile-day-select .total-days {
    color: #718096;
    font-size: 0.9rem;
}

/* ============================================
   НАВИГАЦИЯ (десктоп)
   ============================================ */
.controls {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #edf2f7;
    margin-bottom: 25px;
}

/* Мобильные контролы скрыты на десктопе */
.mobile-controls {
    display: none;
}

.mobile-progress {
    display: none;
}

.book-select {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.book-btn {
    padding: 8px 18px;
    background: #edf2f7;
    color: #4a5568;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.2s;
    border: 2px solid transparent;
    cursor: pointer;
    font-family: inherit;
    text-decoration: none;
    display: inline-block;
}

.book-btn:hover {
    background: #e2e8f0;
}

.book-btn.active {
    background: #2b6cb0;
    color: white;
    border-color: #2b6cb0;
}

.day-select {
    display: flex;
    align-items: center;
    gap: 10px;
}

.day-select form {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.day-select label {
    font-weight: 600;
    color: #4a5568;
}

.day-select input[type="number"] {
    width: 80px;
    padding: 6px 10px;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    font-size: 1rem;
    text-align: center;
}

.day-select input[type="number"]:focus {
    outline: none;
    border-color: #2b6cb0;
}

.day-select .total-days {
    color: #718096;
    font-size: 0.9rem;
}

.go-btn {
    padding: 6px 16px;
    background: #2b6cb0;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.2s;
    font-family: inherit;
}

.go-btn:hover {
    background: #1a4f7a;
}

/* ============================================
   НАВИГАЦИЯ ПО ДНЯМ
   ============================================ */
.day-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #2b6cb0;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.nav-btn:hover {
    background: #1a4f7a;
    transform: scale(1.05);
}

.nav-btn.disabled {
    background: #e2e8f0;
    color: #a0aec0;
    cursor: not-allowed;
}

/* ============================================
   ПРОГРЕСС
   ============================================ */
.progress-section {
    margin-bottom: 25px;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    color: #4a5568;
    margin-bottom: 8px;
}

.progress-info strong {
    color: #2b6cb0;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #edf2f7;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #48bb78, #2b6cb0);
    border-radius: 4px;
    transition: width 0.5s ease;
}

/* ============================================
   СТИХИ
   ============================================ */
.verses-section {
    margin-bottom: 30px;
}

/* ============================================
   ВЕСЬ ОТРЫВОК ЦЕЛИКОМ
   ============================================ */
.passage-block {
    padding: 20px 24px;
    background: #f7fafc;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    margin-bottom: 20px;
}

.passage-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e2e8f0;
}

.passage-label {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2d3748;
    white-space: nowrap;
}

.passage-range {
    font-size: 0.95rem;
    color: #2b6cb0;
    font-weight: 600;
    white-space: nowrap;
}

.passage-words-count {
    font-size: 0.85rem;
    color: #718096;
    background: #edf2f7;
    padding: 4px 14px;
    border-radius: 20px;
    font-weight: 500;
    white-space: nowrap;
}

.passage-eng {
    font-size: 1rem;
    line-height: 1.9;
    color: #2d3748;
    margin-bottom: 15px;
    padding: 8px 0;
}

.passage-rus {
    margin-top: 5px;
}

/* ============================================
   ПОДСКАЗКИ ДЛЯ СТИХОВ
   ============================================ */
.verse-hint {
    margin: 20px 0;
    border: 2px solid #f6ad55;
    border-radius: 12px;
    overflow: hidden;
    background: #fffff0;
}

.hint-header {
    padding: 12px 18px;
    background: #f6ad55;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.hint-title {
    font-weight: 700;
    color: #744210;
    font-size: 1rem;
}

.hint-toggle {
    background: rgba(255,255,255,0.3);
    border: 1px solid #744210;
    color: #744210;
    padding: 4px 14px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.2s;
}

.hint-toggle:hover {
    background: rgba(255,255,255,0.5);
}

.hint-content {
    display: none;
    padding: 18px 20px;
    line-height: 1.8;
}

.hint-content.open {
    display: block;
}

.hint-content ul {
    padding-left: 25px;
    margin: 10px 0;
}

.hint-content li {
    margin-bottom: 5px;
}

.hint-content a {
    color: #2b6cb0;
    text-decoration: none;
}

.hint-content a:hover {
    text-decoration: underline;
}

/* ============================================
   МЕДИА-ССЫЛКИ (СЛУШАЕМ + СМОТРИМ)
   ============================================ */
.media-links {
    margin-top: 15px;
    padding: 12px 18px;
    background: #ebf8ff;
    border-radius: 10px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
}

.media-label {
    font-weight: 600;
    color: #2b6cb0;
    font-size: 0.95rem;
}

.media-link {
    padding: 4px 16px;
    background: white;
    color: #2b6cb0;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid #bee3f8;
    transition: all 0.2s;
}

.media-link:hover {
    background: #2b6cb0;
    color: white;
    border-color: #2b6cb0;
    transform: scale(1.02);
}

.media-link.film-link {
    background: #fff5f5;
    border-color: #feb2b2;
    color: #c53030;
}

.media-link.film-link:hover {
    background: #c53030;
    color: white;
    border-color: #c53030;
}

/* ============================================
   ПЕРЕКЛЮЧАТЕЛЬ (только кнопки по центру)
   ============================================ */
.mode-switcher-wrapper {
    display: flex;
    justify-content: center;
    margin: 20px 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #edf2f7;
}

.mode-switcher {
    display: flex;
    gap: 8px;
}

.mode-btn {
    padding: 6px 20px;
    background: #edf2f7;
    color: #4a5568;
    border: 2px solid transparent;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.9rem;
    font-family: inherit;
}

.mode-btn:hover {
    background: #e2e8f0;
}

.mode-btn.active {
    background: #2b6cb0;
    color: white;
    border-color: #2b6cb0;
}

/* ============================================
   БЛОКИ РЕЖИМОВ (СКРЫТИЕ/ПОКАЗ)
   ============================================ */
.mode-block {
    display: none;
}

.mode-block.active {
    display: block;
}

/* ============================================
   СПИСКИ СЛОВ (единый стиль для обоих блоков)
   ============================================ */
.words-list,
.check-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 8px;
}

/* ============================================
   ЕДИНЫЙ СТИЛЬ ДЛЯ ВСЕХ КЛИКАБЕЛЬНЫХ БЛОКОВ
   ============================================ */
.word-item,
.check-item {
    padding: 10px 14px;
    background: #f7fafc;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}

.word-item:hover,
.check-item:hover {
    border-color: #2b6cb0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(43, 108, 176, 0.1);
}

/* Активное состояние (нажато) - светло-зеленый фон */
.word-item.active,
.check-item.active {
    background: #f0fff4;
    border-color: #48bb78;
}

/* ============================================
   СТИЛЬ ДЛЯ СЛОВ (ВКЛАДКА "СЛОВА")
   ============================================ */
.word-item .word-content {
    display: inline;
}

.word-item .word-eng {
    display: inline;
    transition: all 0.3s ease;
}

.word-item .word-eng .word-text {
    font-size: 1.05rem;
    font-weight: 600;
    color: #2d3748;
    transition: all 0.3s ease;
}

.word-item.active .word-eng .word-text {
    color: #718096;
}

.word-item.active .word-eng {
    text-decoration: line-through;
    color: #718096;
}

.word-item .word-translation {
    display: inline;
}

.word-item .word-answer {
    display: none;
    color: #2b6cb0;
    font-weight: 600;
    font-size: 0.95rem;
}

.word-item.active .word-answer {
    display: inline;
}

/* Ссылки на словари (появляются при открытии блока) */
.word-dict-links {
    display: none;
    font-size: 0.75rem;
    color: #a0aec0;
    width: 100%;
    margin-top: 4px;
    padding-top: 4px;
    border-top: 1px dashed #e2e8f0;
}

.word-item.active .word-dict-links {
    display: block;
}

.dict-label {
    color: #718096;
    margin-right: 4px;
}

.dict-link {
    color: #2b6cb0;
    text-decoration: none;
    margin-right: 8px;
    font-weight: 500;
}

.dict-link:hover {
    text-decoration: underline;
}

/* Топ-слова */
.word-item.top-word {
    background: #ebf8ff;
    border-color: #bee3f8;
}

.word-item.top-word.active {
    background: #f0fff4;
    border-color: #48bb78;
}

.top-badge {
    color: #f6ad55;
    font-size: 0.9rem;
}

.frequency-badge {
    font-size: 0.7rem;
    background: #edf2f7;
    color: #718096;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 400;
}

/* ============================================
   СТИЛЬ ДЛЯ ПРОВЕРКИ (ВКЛАДКА "ПРОВЕРКА")
   ============================================ */
.check-item .check-russian {
    font-size: 0.95rem;
    color: #2d3748;
    transition: all 0.3s ease;
}

.check-item .check-answer {
    display: none;
    color: #2b6cb0;
    font-weight: 600;
    font-size: 0.95rem;
    margin-left: 8px;
}

.check-item.active .check-russian {
    text-decoration: line-through;
    color: #718096;
}

.check-item.active .check-answer {
    display: inline;
}

/* ============================================
   ОБЩАЯ ИНСТРУКЦИЯ
   ============================================ */
.check-instruction {
    color: #718096;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

/* ============================================
   ОБРАТНАЯ ПРОВЕРКА
   ============================================ */
.check-section {
    margin-bottom: 30px;
    padding-top: 20px;
    border-top: 2px solid #edf2f7;
}

.check-section h3 {
    color: #2d3748;
    margin-bottom: 8px;
    font-size: 1.2rem;
}

/* ============================================
   НОВЫЕ СЛОВА
   ============================================ */
.words-section {
    margin-bottom: 30px;
}

.words-section h3 {
    color: #2d3748;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.note {
    margin-top: 10px;
    padding: 10px 16px;
    background: #fffff0;
    border-left: 4px solid #f6ad55;
    border-radius: 6px;
    font-size: 0.9rem;
    color: #744210;
}

/* ============================================
   СПОЙЛЕРЫ
   ============================================ */
.spoiler-trigger {
    background: none;
    border: none;
    color: #2b6cb0;
    cursor: pointer;
    font-size: 0.9rem;
    text-decoration: underline;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background 0.2s;
}

.spoiler-trigger:hover {
    background: #ebf4ff;
}

.spoiler-content {
    display: none;
    margin-top: 8px;
    padding: 10px 15px;
    background: #edf2f7;
    border-radius: 6px;
    color: #2d3748;
}

.spoiler-content.open {
    display: block;
}

/* ============================================
   СПОЙЛЕР ДЛЯ ВСЕГО БЛОКА FAQ
   ============================================ */
.faq-section {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 2px solid #edf2f7;
}

.faq-section-toggle {
    width: 100%;
    padding: 12px 20px;
    background: linear-gradient(135deg, #ebf8ff 0%, #f0f4ff 100%);
    border: 2px solid #bee3f8;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2b6cb0;
    cursor: pointer;
    text-align: left;
    transition: all 0.3s;
}

.faq-section-toggle:hover {
    background: linear-gradient(135deg, #d4e2fc 0%, #e8f0ff 100%);
}

/* Убираем второй треугольник */
.faq-section-toggle::after {
    display: none;
}

.faq-section-content {
    display: none;
    padding: 20px;
    background: #f7fafc;
    border-radius: 0 0 10px 10px;
    border: 2px solid #bee3f8;
    border-top: none;
}

.faq-section.active .faq-section-content {
    display: block;
}

/* ============================================
   ГРУППЫ FAQ
   ============================================ */
.faq-group {
    margin-bottom: 25px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
}

.faq-group:last-child {
    margin-bottom: 0;
}

.faq-group-title {
    color: #2b6cb0;
    font-size: 1.1rem;
    margin: 0;
    padding: 15px 20px 8px 20px;
    border-bottom: 2px solid #ebf8ff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-item {
    margin: 0 10px 10px 10px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
}

.faq-item:last-child {
    margin-bottom: 15px;
}

.faq-question {
    width: 100%;
    padding: 15px 20px;
    background: #f7fafc;
    border: none;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: #2d3748;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-question:hover {
    background: #edf2f7;
}

.faq-question::after {
    content: '▼';
    margin-left: auto;
    font-size: 0.8rem;
    color: #718096;
    transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    padding: 20px 25px;
    background: white;
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-answer ul,
.faq-answer ol {
    padding-left: 25px;
    margin: 10px 0;
}

.faq-answer li {
    margin-bottom: 6px;
}

.faq-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 15px 0 5px;
    border: 1px solid #e2e8f0;
}

.image-caption {
    font-size: 0.85rem;
    color: #718096;
    text-align: center;
}

.algorithm-visual {
    margin-top: 15px;
}

.resource-image {
    margin-top: 10px;
}

/* ============================================
   ПОДВАЛ
   ============================================ */
.footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #edf2f7;
    text-align: center;
    color: #718096;
    font-size: 0.9rem;
}

.footer a {
    color: #2b6cb0;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.footer-small {
    font-size: 0.8rem;
    margin-top: 4px;
}

/* ============================================
   ОШИБКИ
   ============================================ */
.error-message {
    padding: 30px;
    text-align: center;
    background: #fed7d7;
    border-radius: 10px;
    color: #9b2c2c;
}

.error-message a {
    color: #2b6cb0;
}

/* ============================================
   АДАПТИВНОСТЬ (МОБИЛЬНЫЕ УСТРОЙСТВА)
   ============================================ */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    /* Показываем мобильную навигацию по дням вверху */
    .mobile-day-select {
        display: block !important;
    }
    
    /* Скрываем десктопные контролы и прогресс */
    .desktop-controls,
    .desktop-progress {
        display: none !important;
    }
    
    /* Показываем мобильные контролы и прогресс */
    .mobile-controls,
    .mobile-progress {
        display: block !important;
    }
    
    .mobile-controls {
        border-bottom: none;
        border-top: 1px solid #edf2f7;
        margin-top: 20px;
        padding: 20px 0;
        margin-bottom: 0;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    
    .mobile-controls .book-select {
        order: 2;
        justify-content: center;
    }
    
    .mobile-controls .day-select {
        order: 1;
        justify-content: center;
    }
    
    .mobile-progress {
        margin-bottom: 0;
        margin-top: 15px;
    }
    
    .controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .book-select {
        justify-content: center;
    }
    
    .day-select {
        justify-content: center;
    }
    
    .day-select form {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    /* Увеличение шрифта для мобильных */
    body {
        font-size: 16px;
    }
    
    .header h1 {
        font-size: 1.5rem;
    }
    
    .day-header h2 {
        font-size: 1.2rem;
    }
    
    .passage-block {
        padding: 15px 18px;
    }
    
    .passage-header {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 6px 12px;
    }
    
    .passage-label,
    .passage-range,
    .passage-words-count {
        white-space: nowrap;
    }
    
    .passage-eng {
        font-size: 1rem;
        line-height: 1.8;
    }
    
    .progress-info {
        flex-direction: column;
        text-align: center;
        gap: 4px;
    }
    
    .day-nav {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hint-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .words-list,
    .check-list {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 6px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
        font-size: 16px;
    }
    
    .container {
        padding: 12px;
        border-radius: 10px;
    }
    
    .book-btn {
        font-size: 0.85rem;
        padding: 6px 12px;
    }
    
    .words-list,
    .check-list {
        grid-template-columns: 1fr;
        gap: 6px;
    }
    
    .passage-block {
        padding: 12px 14px;
    }
    
    .passage-header {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 4px 8px;
    }
    
    .passage-label {
        font-size: 0.95rem;
    }
    
    .passage-range {
        font-size: 0.85rem;
    }
    
    .passage-words-count {
        font-size: 0.75rem;
        padding: 2px 10px;
    }
    
    .passage-eng {
        font-size: 0.9rem;
        line-height: 1.7;
    }
    
    .media-links {
        padding: 10px 14px;
    }
    
    .media-link {
        font-size: 0.8rem;
        padding: 3px 12px;
    }
    
    .faq-question {
        font-size: 0.9rem;
        padding: 12px 15px;
    }
    
    .faq-answer {
        padding: 15px;
    }
    
    .mode-btn {
        padding: 6px 16px;
        font-size: 0.85rem;
    }
    
    .nav-btn {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
    
    .hint-title {
        font-size: 0.9rem;
    }
    
    .word-item,
    .check-item {
        padding: 10px 12px;
    }
    
    .word-item .word-eng .word-text {
        font-size: 0.95rem;
    }
}

/* ============================================
   КНОПКА ОФЛАЙН-ЗАГРУЗКИ
   ============================================ */
.offline-download-section {
    text-align: center;
    margin: 20px 0;
    padding: 20px;
    background: linear-gradient(135deg, #f0fff4 0%, #ebf8ff 100%);
    border: 2px dashed #48bb78;
    border-radius: 12px;
}

.offline-btn {
    padding: 12px 24px;
    background: #48bb78;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
    box-shadow: 0 4px 12px rgba(72, 187, 120, 0.3);
}

.offline-btn:hover:not(:disabled) {
    background: #38a169;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(72, 187, 120, 0.4);
}

.offline-btn:disabled {
    background: #cbd5e0;
    color: #718096;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.offline-btn.done {
    background: #2b6cb0;
}

.offline-btn.done:hover {
    background: #2b6cb0;
}

.offline-status {
    margin-top: 12px;
    font-size: 0.9rem;
    color: #4a5568;
    min-height: 20px;
}

.offline-status.success {
    color: #38a169;
    font-weight: 600;
}

.offline-status.error {
    color: #e53e3e;
    font-weight: 600;
}

/* ============================================
   КЛИКАБЕЛЬНЫЕ КАРТИНКИ (открываются на весь экран)
   ============================================ */
.image-link {
    display: block;
    position: relative;
    text-decoration: none;
    cursor: zoom-in;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.image-link:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(43, 108, 176, 0.2);
}

.image-link:active {
    transform: scale(0.98);
}

.image-link .faq-image {
    display: block;
    width: 100%;
    height: auto;
    transition: opacity 0.3s;
}

.image-link:hover .faq-image {
    opacity: 0.95;
}

/* Иконка "увеличить" при наведении */
.image-link::after {
    content: '🔍';
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.9);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.image-link:hover::after {
    opacity: 1;
}