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

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    padding: 40px;
    max-width: 800px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #ffeaa7);
    background-size: 300% 100%;
    animation: gradient-shift 3s ease infinite;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

/* Кнопка возврата к главной */
.back-to-main-btn {
    position: absolute;
    top: -10px;
    left: -10px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 10px 12px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
}

.back-to-main-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    color: white;
}

/* Кнопка настроек */
.settings-btn {
    position: absolute;
    top: -10px;
    right: -10px;
    background: linear-gradient(135deg, #4ecdc4, #44a08d);
    color: white;
    border: none;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(78, 205, 196, 0.3);
    z-index: 10;
}

.settings-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(78, 205, 196, 0.4);
}

.title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.words-remaining {
    font-size: 1.2rem;
    font-weight: 600;
    color: #4a5568;
    padding: 12px 24px;
    background: linear-gradient(135deg, #f7fafc, #edf2f7);
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    height: 48px;
    display: flex;
    align-items: center;
}

.reset-btn {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    height: 48px;
    display: flex;
    align-items: center;
}

.reset-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
}

.game-area {
    text-align: center;
}

.word-card {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 40px;
    border-radius: 20px;
    margin-bottom: 30px;
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.word-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: shimmer 4s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(180deg); }
}

.english-word {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.word-actions {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.learned-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.learned-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.show-answer-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.show-answer-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.option-btn {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border: 2px solid #dee2e6;
    padding: 20px;
    border-radius: 16px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #495057;
    position: relative;
    overflow: hidden;
}

.option-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    transition: left 0.5s ease;
}

.option-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #4ecdc4, #44a08d);
    color: white;
    border-color: #4ecdc4;
}

.option-btn:hover::before {
    left: 100%;
}

.option-btn.correct {
    background: linear-gradient(135deg, #51cf66, #40c057);
    color: white;
    border-color: #51cf66;
    animation: correct-pulse 0.6s ease;
}

.option-btn.incorrect {
    background: linear-gradient(135deg, #868e96, #6c757d);
    color: white;
    border-color: #868e96;
    cursor: not-allowed;
    animation: incorrect-shake 0.6s ease;
}

@keyframes correct-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes incorrect-shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

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

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4ecdc4, #44a08d);
    border-radius: 4px;
    transition: width 0.3s ease;
    width: 0%;
}

/* Модальное окно */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: white;
    margin: 10% auto;
    padding: 40px;
    border-radius: 24px;
    max-width: 500px;
    text-align: center;
    position: relative;
    animation: modal-appear 0.5s ease;
    max-height: 90vh;
    overflow-y: auto;
}

@keyframes modal-appear {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(-50px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.victory-animation {
    font-size: 4rem;
    animation: victory-bounce 1s ease infinite;
    margin-bottom: 20px;
}

@keyframes victory-bounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.modal-content h2 {
    font-size: 2.5rem;
    color: #2d3748;
    margin-bottom: 15px;
}

.modal-content p {
    font-size: 1.2rem;
    color: #4a5568;
    margin-bottom: 30px;
}

.restart-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.restart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

/* Модальное окно подтверждения */
.confirm-modal {
    max-width: 600px;
}

.confirm-icon {
    font-size: 3rem;
    animation: confirm-pulse 2s ease infinite;
    margin-bottom: 20px;
}

@keyframes confirm-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.confirm-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.confirm-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 140px;
}

.confirm-yes {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
}

.confirm-yes:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
}

.confirm-no {
    background: linear-gradient(135deg, #6c757d, #495057);
    color: white;
}

.confirm-no:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(108, 117, 125, 0.4);
}

/* Загрузочный экран */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    color: white;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-top: 5px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-screen p {
    font-size: 1.2rem;
    font-weight: 500;
}

/* Адаптивность */
@media (max-width: 768px) {
    .container {
        padding: 20px;
        margin: 10px;
    }
    
    .title {
        font-size: 2rem;
    }
    
    .english-word {
        font-size: 2.2rem;
    }
    
    .options-grid {
        grid-template-columns: 1fr;
    }
    
    .stats {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .word-card {
        padding: 30px 20px;
    }
    
    .english-word {
        font-size: 1.8rem;
    }
    
    .option-btn {
        padding: 15px;
        font-size: 1rem;
    }
    
    .confirm-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .confirm-btn {
        width: 100%;
        max-width: 250px;
    }
}

/* Кнопка переключения режима */
.sequential-mode-btn {
    background: linear-gradient(135deg, #764ba2, #667eea);
    color: white;
    border: none;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(118, 75, 162, 0.3);
    position: relative;
    overflow: hidden;
    height: 48px;
    display: flex;
    align-items: center;
}

.sequential-mode-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(118, 75, 162, 0.4);
}

.sequential-mode-btn.active {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
}

/* Кнопки звука */
.sound-toggle-btn {
    background: linear-gradient(135deg, #4ecdc4, #44a08d);
    color: white;
    border: none;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(78, 205, 196, 0.3);
    position: relative;
    overflow: hidden;
    height: 48px;
    display: flex;
    align-items: center;
}

.sound-toggle-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(78, 205, 196, 0.4);
}

.sound-toggle-btn.muted {
    background: linear-gradient(135deg, #a0aec0, #718096);
    box-shadow: 0 4px 15px rgba(160, 174, 192, 0.3);
}

.sound-toggle-btn.muted:hover {
    box-shadow: 0 8px 25px rgba(160, 174, 192, 0.4);
}

.speak-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.speak-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

/* Модальное окно настроек - новый дизайн */
.settings-modal {
    max-width: 600px;
    width: 95%;
    max-height: 85vh;
    margin: 5% auto;
    overflow: hidden;
}

/* Главное меню настроек */
.settings-main-menu {
    padding: 30px;
    text-align: center;
}

.settings-main-menu h2 {
    color: #2d3748;
    margin-bottom: 30px;
    font-size: 2rem;
    font-weight: 700;
}

.settings-menu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.settings-menu-btn {
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 30px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.settings-menu-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    transition: left 0.5s ease;
}

.settings-menu-btn:hover::before {
    left: 100%;
}

.settings-menu-btn:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-color: #667eea;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.settings-menu-btn:hover h3,
.settings-menu-btn:hover p {
    color: white;
}

.settings-menu-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.settings-menu-btn h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 10px;
    transition: color 0.3s ease;
    position: relative;
    z-index: 1;
}

.settings-menu-btn p {
    font-size: 0.9rem;
    color: #718096;
    line-height: 1.4;
    transition: color 0.3s ease;
    position: relative;
    z-index: 1;
}

.settings-main-footer {
    border-top: 1px solid #e2e8f0;
    padding-top: 20px;
}

/* Панели настроек */
.settings-panel {
    animation: slideInRight 0.3s ease;
    max-height: 85vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.settings-panel-header {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 15px 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 12px 12px 0 0;
    flex-shrink: 0;
}

.back-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateX(-3px);
}

.settings-panel-header h2 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
}

.settings-panel-content {
    padding: 25px;
    background: white;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    border-radius: 0 0 12px 12px;
}

.settings-panel-content p {
    color: #718096;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Стили для настроек словаря */
.custom-dictionary-input {
    width: 100%;
    min-height: 180px;
    max-height: 180px;
    padding: 15px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    line-height: 1.5;
    resize: none;
    transition: all 0.3s ease;
    background: #f8f9fa;
    flex: 1;
}

.custom-dictionary-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    background: white;
}

.settings-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: auto;
}

.apply-btn,
.reset-dictionary-btn {
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    flex: 1;
    min-width: 140px;
    max-width: 180px;
}

.apply-btn {
    background: linear-gradient(135deg, #48bb78, #38a169);
}

.apply-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(72, 187, 120, 0.4);
}

.reset-dictionary-btn {
    background: linear-gradient(135deg, #ed8936, #dd6b20);
}

.reset-dictionary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(237, 137, 54, 0.4);
}

/* Стили для настроек голоса */
.voice-settings {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
}

.voice-setting-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.voice-setting-group label {
    font-weight: 600;
    color: #4a5568;
    font-size: 0.95rem;
}

.voice-select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    background: #f8f9fa;
    cursor: pointer;
    transition: all 0.3s ease;
}

.voice-select:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    outline: none;
}

.api-key-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: white;
}

.api-key-input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    outline: none;
}

.voice-setting-group small {
    color: #718096;
    font-size: 0.8rem;
    margin-top: 5px;
    display: block;
}

.voice-setting-group small a {
    color: #667eea;
    text-decoration: none;
}

.voice-setting-group small a:hover {
    text-decoration: underline;
}

.voice-controls {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 18px;
    background: #f8f9fa;
    border-radius: 10px;
}

.voice-control {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.voice-control label {
    font-weight: 500;
    color: #4a5568;
    font-size: 0.9rem;
    text-align: center;
}

.voice-slider {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: #e2e8f0;
    outline: none;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    transition: background 0.3s ease;
}

.voice-slider:hover {
    background: #cbd5e0;
}

.voice-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(102, 126, 234, 0.3);
    transition: all 0.2s ease;
}

.voice-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 3px 12px rgba(102, 126, 234, 0.5);
}

.voice-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 6px rgba(102, 126, 234, 0.3);
}

.test-voice-btn {
    background: linear-gradient(135deg, #4ecdc4, #44a08d);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    align-self: center;
    min-width: 160px;
    margin-top: auto;
}

.test-voice-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(78, 205, 196, 0.4);
}

.close-settings-btn {
    background: linear-gradient(135deg, #a0aec0, #718096);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 10px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

.close-settings-btn:hover {
    background: linear-gradient(135deg, #718096, #4a5568);
    transform: translateY(-2px);
}

/* Анимации */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Модальное окно уведомлений */
.notification-modal {
    max-width: 400px;
    width: 90%;
    text-align: center;
}

.notification-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    animation: notification-bounce 0.6s ease;
}

@keyframes notification-bounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.notification-modal h2 {
    color: #2d3748;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.notification-modal p {
    color: #4a5568;
    margin-bottom: 25px;
    font-size: 1rem;
    line-height: 1.4;
}

.notification-ok-btn {
    background: linear-gradient(135deg, #4ecdc4, #44a08d);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    min-width: 100px;
}

.notification-ok-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(78, 205, 196, 0.4);
}

/* Адаптивность */
@media (max-width: 600px) {
    .settings-menu-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .settings-menu-btn {
        min-height: 140px;
        padding: 20px 15px;
    }
    
    .settings-menu-icon {
        font-size: 2.5rem;
        margin-bottom: 10px;
    }
    
    .settings-menu-btn h3 {
        font-size: 1.2rem;
    }
    
    .settings-panel-content {
        padding: 20px;
    }
    
    .voice-controls {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .settings-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .apply-btn,
    .reset-dictionary-btn {
        min-width: 200px;
    }
} 