/* Kartlarla Cümleler Özel Stilleri */

.game-controls {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.game-controls select {
    padding: 10px 15px;
    border: 2px solid #3498db;
    border-radius: 6px;
    font-size: 16px;
    background-color: white;
}

.game-controls .btn {
    padding: 10px 20px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.game-controls .btn:hover {
    background-color: #2980b9;
}

.sentence-area {
    margin-bottom: 15px;
}

.sentence-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 15px;
}

.sentence-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.sentence-english {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 8px;
}

.sentence-turkish {
    font-size: 16px;
    opacity: 0.9;
}

.speaker-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 18px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.sentence-card:hover .speaker-icon {
    opacity: 1;
}

.flashcards-area {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin: 10px 0;
    min-height: 60px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 12px;
    border: 2px dashed #dee2e6;
}

.word-card {
    background: linear-gradient(135deg, #74b9ff 0%, #0984e3 100%);
    color: white;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(116, 185, 255, 0.3);
    user-select: none;
    font-size: 14px;
}

.word-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(116, 185, 255, 0.4);
    background: linear-gradient(135deg, #74b9ff 0%, #0077cc 100%);
}

.word-card.used {
    opacity: 0.4;
    transform: scale(0.95);
    cursor: not-allowed;
}

.user-sentence {
    background-color: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 15px;
}

.user-sentence h3 {
    color: #2c3e50;
    margin-bottom: 12px;
    font-size: 18px;
}

.answer-area {
    min-height: 70px;
    border: 3px dashed #bdc3c7;
    padding: 15px;
    margin: 12px 0;
    border-radius: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    background-color: #f8f9fa;
    transition: border-color 0.3s ease;
}

.answer-area:hover {
    border-color: #3498db;
}

.answer-word {
    background: linear-gradient(135deg, #00b894 0%, #00a382 100%);
    color: white;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: move;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 184, 148, 0.3);
    user-select: none;
    font-size: 14px;
}

.answer-word:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 184, 148, 0.4);
    background: linear-gradient(135deg, #00b894 0%, #008f72 100%);
}

.answer-word.dragging {
    opacity: 0.7;
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 184, 148, 0.5);
}

.action-buttons {
    display: flex;
    gap: 12px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.action-buttons .btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.action-buttons .btn:first-child {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
}

.action-buttons .btn:first-child:hover {
    background: linear-gradient(135deg, #2980b9 0%, #1c6ea4 100%);
    transform: translateY(-2px);
}

.action-buttons .btn.speak-btn {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    color: white;
}

.action-buttons .btn.speak-btn:hover {
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
    transform: translateY(-2px);
}

.action-buttons .btn.secondary {
    background: linear-gradient(135deg, #95a5a6 0%, #7f8c8d 100%);
    color: white;
}

.action-buttons .btn.secondary:hover {
    background: linear-gradient(135deg, #7f8c8d 0%, #6c7b7d 100%);
    transform: translateY(-2px);
}

.feedback {
    padding: 15px;
    border-radius: 12px;
    margin-top: 15px;
    text-align: center;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.feedback.correct {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    border: 2px solid #c3e6cb;
}

.feedback.incorrect {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
    border: 2px solid #f5c6cb;
}

/* Kompakt düzen için ek stiller */
.compact-layout {
    padding: 1rem !important;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .game-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .game-controls select {
        width: 100%;
    }
    
    .sentence-card {
        padding: 15px;
    }
    
    .sentence-english {
        font-size: 18px;
    }
    
    .sentence-turkish {
        font-size: 14px;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .action-buttons .btn {
        width: 100%;
    }
    
    .word-card, .answer-word {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .flashcards-area {
        padding: 12px;
    }
    
    .user-sentence {
        padding: 15px;
    }
    
    .answer-area {
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .sentence-card {
        padding: 12px;
    }
    
    .sentence-english {
        font-size: 16px;
    }
    
    .sentence-turkish {
        font-size: 13px;
    }
    
    .flashcards-area {
        padding: 10px;
        gap: 8px;
    }
    
    .user-sentence {
        padding: 12px;
    }
    
    .answer-area {
        padding: 10px;
        min-height: 60px;
    }
    
    .feedback {
        padding: 12px;
        font-size: 14px;
    }
}